2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blobcf9150386ef47c93d9b07224d5d513b6c78ad40c
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 powf declaration" >&5
16120 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16122 if test "${glibcxx_cv_func_powf_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 powf(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_powf_use=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16176 glibcxx_cv_func_powf_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_powf_use" >&5
16190 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16192 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16194 for ac_func in powf
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 _powf declaration" >&5
16303 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16304 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16305 if test "${glibcxx_cv_func__powf_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 _powf(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__powf_use=yes
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 glibcxx_cv_func__powf_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__powf_use" >&5
16373 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16377 for ac_func in _powf
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 sqrtf declaration" >&5
16489 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16490 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16491 if test "${glibcxx_cv_func_sqrtf_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>
16510 #ifdef HAVE_IEEEFP_H
16511 #include <ieeefp.h>
16512 #endif
16515 main ()
16517 sqrtf(0);
16519 return 0;
16521 _ACEOF
16522 rm -f conftest.$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_cxx_werror_flag"
16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try='test -s conftest.$ac_objext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 glibcxx_cv_func_sqrtf_use=yes
16545 else
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.$ac_ext >&5
16549 glibcxx_cv_func_sqrtf_use=no
16551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16552 ac_ext=c
16553 ac_cpp='$CPP $CPPFLAGS'
16554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16563 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16565 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16567 for ac_func in sqrtf
16569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16570 echo "$as_me:$LINENO: checking for $ac_func" >&5
16571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16572 if eval "test \"\${$as_ac_var+set}\" = set"; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 if test x$gcc_no_link = xyes; then
16576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16578 { (exit 1); exit 1; }; }
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16588 #define $ac_func innocuous_$ac_func
16590 /* System header to define __stub macros and hopefully few prototypes,
16591 which can conflict with char $ac_func (); below.
16592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16593 <limits.h> exists even on freestanding compilers. */
16595 #ifdef __STDC__
16596 # include <limits.h>
16597 #else
16598 # include <assert.h>
16599 #endif
16601 #undef $ac_func
16603 /* Override any gcc2 internal prototype to avoid an error. */
16604 #ifdef __cplusplus
16605 extern "C"
16607 #endif
16608 /* We use char because int might match the return type of a gcc2
16609 builtin and then its argument prototype would still apply. */
16610 char $ac_func ();
16611 /* The GNU C library defines this for functions which it implements
16612 to always fail with ENOSYS. Some functions are actually named
16613 something starting with __ and the normal name is an alias. */
16614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16615 choke me
16616 #else
16617 char (*f) () = $ac_func;
16618 #endif
16619 #ifdef __cplusplus
16621 #endif
16624 main ()
16626 return f != $ac_func;
16628 return 0;
16630 _ACEOF
16631 rm -f conftest.$ac_objext conftest$ac_exeext
16632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16633 (eval $ac_link) 2>conftest.er1
16634 ac_status=$?
16635 grep -v '^ *+' conftest.er1 >conftest.err
16636 rm -f conftest.er1
16637 cat conftest.err >&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } &&
16640 { ac_try='test -z "$ac_c_werror_flag"
16641 || test ! -s conftest.err'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; } &&
16647 { ac_try='test -s conftest$ac_exeext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16650 ac_status=$?
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16653 eval "$as_ac_var=yes"
16654 else
16655 echo "$as_me: failed program was:" >&5
16656 sed 's/^/| /' conftest.$ac_ext >&5
16658 eval "$as_ac_var=no"
16660 rm -f conftest.err conftest.$ac_objext \
16661 conftest$ac_exeext conftest.$ac_ext
16663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16665 if test `eval echo '${'$as_ac_var'}'` = yes; then
16666 cat >>confdefs.h <<_ACEOF
16667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16668 _ACEOF
16671 done
16673 else
16675 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16676 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16677 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16678 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16684 ac_ext=cc
16685 ac_cpp='$CXXCPP $CPPFLAGS'
16686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <math.h>
16697 #ifdef HAVE_IEEEFP_H
16698 #include <ieeefp.h>
16699 #endif
16702 main ()
16704 _sqrtf(0);
16706 return 0;
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try='test -z "$ac_cxx_werror_flag"
16719 || test ! -s conftest.err'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try='test -s conftest.$ac_objext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 glibcxx_cv_func__sqrtf_use=yes
16732 else
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16736 glibcxx_cv_func__sqrtf_use=no
16738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16739 ac_ext=c
16740 ac_cpp='$CPP $CPPFLAGS'
16741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16750 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16752 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16754 for ac_func in _sqrtf
16756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16757 echo "$as_me:$LINENO: checking for $ac_func" >&5
16758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16759 if eval "test \"\${$as_ac_var+set}\" = set"; then
16760 echo $ECHO_N "(cached) $ECHO_C" >&6
16761 else
16762 if test x$gcc_no_link = xyes; then
16763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16765 { (exit 1); exit 1; }; }
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16775 #define $ac_func innocuous_$ac_func
16777 /* System header to define __stub macros and hopefully few prototypes,
16778 which can conflict with char $ac_func (); below.
16779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16780 <limits.h> exists even on freestanding compilers. */
16782 #ifdef __STDC__
16783 # include <limits.h>
16784 #else
16785 # include <assert.h>
16786 #endif
16788 #undef $ac_func
16790 /* Override any gcc2 internal prototype to avoid an error. */
16791 #ifdef __cplusplus
16792 extern "C"
16794 #endif
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16797 char $ac_func ();
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16802 choke me
16803 #else
16804 char (*f) () = $ac_func;
16805 #endif
16806 #ifdef __cplusplus
16808 #endif
16811 main ()
16813 return f != $ac_func;
16815 return 0;
16817 _ACEOF
16818 rm -f conftest.$ac_objext conftest$ac_exeext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16820 (eval $ac_link) 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag"
16828 || test ! -s conftest.err'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; } &&
16834 { ac_try='test -s conftest$ac_exeext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 eval "$as_ac_var=yes"
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16845 eval "$as_ac_var=no"
16847 rm -f conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16852 if test `eval echo '${'$as_ac_var'}'` = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16855 _ACEOF
16858 done
16865 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16866 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16868 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 else
16874 ac_ext=cc
16875 ac_cpp='$CXXCPP $CPPFLAGS'
16876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 #include <math.h>
16888 main ()
16890 sincosf(0, 0, 0);
16892 return 0;
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_cxx_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 glibcxx_cv_func_sincosf_use=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 glibcxx_cv_func_sincosf_use=no
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16936 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16940 for ac_func in sincosf
16942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16943 echo "$as_me:$LINENO: checking for $ac_func" >&5
16944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16945 if eval "test \"\${$as_ac_var+set}\" = set"; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 if test x$gcc_no_link = xyes; then
16949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16951 { (exit 1); exit 1; }; }
16953 cat >conftest.$ac_ext <<_ACEOF
16954 /* confdefs.h. */
16955 _ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16961 #define $ac_func innocuous_$ac_func
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char $ac_func (); below.
16965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16966 <limits.h> exists even on freestanding compilers. */
16968 #ifdef __STDC__
16969 # include <limits.h>
16970 #else
16971 # include <assert.h>
16972 #endif
16974 #undef $ac_func
16976 /* Override any gcc2 internal prototype to avoid an error. */
16977 #ifdef __cplusplus
16978 extern "C"
16980 #endif
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16983 char $ac_func ();
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16988 choke me
16989 #else
16990 char (*f) () = $ac_func;
16991 #endif
16992 #ifdef __cplusplus
16994 #endif
16997 main ()
16999 return f != $ac_func;
17001 return 0;
17003 _ACEOF
17004 rm -f conftest.$ac_objext conftest$ac_exeext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17006 (eval $ac_link) 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest$ac_exeext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17026 eval "$as_ac_var=yes"
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17031 eval "$as_ac_var=no"
17033 rm -f conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17038 if test `eval echo '${'$as_ac_var'}'` = yes; then
17039 cat >>confdefs.h <<_ACEOF
17040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17041 _ACEOF
17044 done
17046 else
17048 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17049 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17050 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17051 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 else
17057 ac_ext=cc
17058 ac_cpp='$CXXCPP $CPPFLAGS'
17059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 #include <math.h>
17071 main ()
17073 _sincosf(0, 0, 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__sincosf_use=yes
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
17119 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17121 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17123 for ac_func in _sincosf
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 finitef declaration" >&5
17235 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17236 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17237 if test "${glibcxx_cv_func_finitef_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>
17256 #ifdef HAVE_IEEEFP_H
17257 #include <ieeefp.h>
17258 #endif
17261 main ()
17263 finitef(0);
17265 return 0;
17267 _ACEOF
17268 rm -f conftest.$ac_objext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17270 (eval $ac_compile) 2>conftest.er1
17271 ac_status=$?
17272 grep -v '^ *+' conftest.er1 >conftest.err
17273 rm -f conftest.er1
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try='test -z "$ac_cxx_werror_flag"
17278 || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try='test -s conftest.$ac_objext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17287 ac_status=$?
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 glibcxx_cv_func_finitef_use=yes
17291 else
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.$ac_ext >&5
17295 glibcxx_cv_func_finitef_use=no
17297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17298 ac_ext=c
17299 ac_cpp='$CPP $CPPFLAGS'
17300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17309 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17311 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17313 for ac_func in finitef
17315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17316 echo "$as_me:$LINENO: checking for $ac_func" >&5
17317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17318 if eval "test \"\${$as_ac_var+set}\" = set"; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 if test x$gcc_no_link = xyes; then
17322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17324 { (exit 1); exit 1; }; }
17326 cat >conftest.$ac_ext <<_ACEOF
17327 /* confdefs.h. */
17328 _ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17334 #define $ac_func innocuous_$ac_func
17336 /* System header to define __stub macros and hopefully few prototypes,
17337 which can conflict with char $ac_func (); below.
17338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17339 <limits.h> exists even on freestanding compilers. */
17341 #ifdef __STDC__
17342 # include <limits.h>
17343 #else
17344 # include <assert.h>
17345 #endif
17347 #undef $ac_func
17349 /* Override any gcc2 internal prototype to avoid an error. */
17350 #ifdef __cplusplus
17351 extern "C"
17353 #endif
17354 /* We use char because int might match the return type of a gcc2
17355 builtin and then its argument prototype would still apply. */
17356 char $ac_func ();
17357 /* The GNU C library defines this for functions which it implements
17358 to always fail with ENOSYS. Some functions are actually named
17359 something starting with __ and the normal name is an alias. */
17360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17361 choke me
17362 #else
17363 char (*f) () = $ac_func;
17364 #endif
17365 #ifdef __cplusplus
17367 #endif
17370 main ()
17372 return f != $ac_func;
17374 return 0;
17376 _ACEOF
17377 rm -f conftest.$ac_objext conftest$ac_exeext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17379 (eval $ac_link) 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try='test -z "$ac_c_werror_flag"
17387 || test ! -s conftest.err'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try='test -s conftest$ac_exeext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 eval "$as_ac_var=yes"
17400 else
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17404 eval "$as_ac_var=no"
17406 rm -f conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17411 if test `eval echo '${'$as_ac_var'}'` = yes; then
17412 cat >>confdefs.h <<_ACEOF
17413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17414 _ACEOF
17417 done
17419 else
17421 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17422 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17423 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17424 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 else
17430 ac_ext=cc
17431 ac_cpp='$CXXCPP $CPPFLAGS'
17432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #include <math.h>
17443 #ifdef HAVE_IEEEFP_H
17444 #include <ieeefp.h>
17445 #endif
17448 main ()
17450 _finitef(0);
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_cxx_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 glibcxx_cv_func__finitef_use=yes
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17482 glibcxx_cv_func__finitef_use=no
17484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17496 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17498 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17500 for ac_func in _finitef
17502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17503 echo "$as_me:$LINENO: checking for $ac_func" >&5
17504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17505 if eval "test \"\${$as_ac_var+set}\" = set"; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 else
17508 if test x$gcc_no_link = xyes; then
17509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17511 { (exit 1); exit 1; }; }
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17521 #define $ac_func innocuous_$ac_func
17523 /* System header to define __stub macros and hopefully few prototypes,
17524 which can conflict with char $ac_func (); below.
17525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17526 <limits.h> exists even on freestanding compilers. */
17528 #ifdef __STDC__
17529 # include <limits.h>
17530 #else
17531 # include <assert.h>
17532 #endif
17534 #undef $ac_func
17536 /* Override any gcc2 internal prototype to avoid an error. */
17537 #ifdef __cplusplus
17538 extern "C"
17540 #endif
17541 /* We use char because int might match the return type of a gcc2
17542 builtin and then its argument prototype would still apply. */
17543 char $ac_func ();
17544 /* The GNU C library defines this for functions which it implements
17545 to always fail with ENOSYS. Some functions are actually named
17546 something starting with __ and the normal name is an alias. */
17547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17548 choke me
17549 #else
17550 char (*f) () = $ac_func;
17551 #endif
17552 #ifdef __cplusplus
17554 #endif
17557 main ()
17559 return f != $ac_func;
17561 return 0;
17563 _ACEOF
17564 rm -f conftest.$ac_objext conftest$ac_exeext
17565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17566 (eval $ac_link) 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try='test -z "$ac_c_werror_flag"
17574 || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 eval "$as_ac_var=yes"
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 eval "$as_ac_var=no"
17593 rm -f conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17598 if test `eval echo '${'$as_ac_var'}'` = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17601 _ACEOF
17604 done
17611 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17612 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17613 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 else
17619 ac_ext=cc
17620 ac_cpp='$CXXCPP $CPPFLAGS'
17621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <math.h>
17633 main ()
17635 `for x in acosl asinl atanl \
17636 cosl sinl tanl \
17637 coshl sinhl tanhl; do echo "$x (0);"; done`
17639 return 0;
17641 _ACEOF
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_cxx_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 glibcxx_cv_func_long_double_trig_use=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 glibcxx_cv_func_long_double_trig_use=no
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672 ac_ext=c
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17681 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17682 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17692 for ac_func in acosl asinl atanl \
17693 cosl sinl tanl \
17694 coshl sinhl tanhl
17696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17697 echo "$as_me:$LINENO: checking for $ac_func" >&5
17698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17699 if eval "test \"\${$as_ac_var+set}\" = set"; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702 if test x$gcc_no_link = xyes; then
17703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17705 { (exit 1); exit 1; }; }
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17715 #define $ac_func innocuous_$ac_func
17717 /* System header to define __stub macros and hopefully few prototypes,
17718 which can conflict with char $ac_func (); below.
17719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17720 <limits.h> exists even on freestanding compilers. */
17722 #ifdef __STDC__
17723 # include <limits.h>
17724 #else
17725 # include <assert.h>
17726 #endif
17728 #undef $ac_func
17730 /* Override any gcc2 internal prototype to avoid an error. */
17731 #ifdef __cplusplus
17732 extern "C"
17734 #endif
17735 /* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17737 char $ac_func ();
17738 /* The GNU C library defines this for functions which it implements
17739 to always fail with ENOSYS. Some functions are actually named
17740 something starting with __ and the normal name is an alias. */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 choke me
17743 #else
17744 char (*f) () = $ac_func;
17745 #endif
17746 #ifdef __cplusplus
17748 #endif
17751 main ()
17753 return f != $ac_func;
17755 return 0;
17757 _ACEOF
17758 rm -f conftest.$ac_objext conftest$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760 (eval $ac_link) 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -z "$ac_c_werror_flag"
17768 || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try='test -s conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 eval "$as_ac_var=yes"
17781 else
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17785 eval "$as_ac_var=no"
17787 rm -f conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17792 if test `eval echo '${'$as_ac_var'}'` = yes; then
17793 cat >>confdefs.h <<_ACEOF
17794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 _ACEOF
17798 done
17803 echo "$as_me:$LINENO: checking for long double round functions" >&5
17804 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17805 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 else
17811 ac_ext=cc
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17817 cat >conftest.$ac_ext <<_ACEOF
17818 /* confdefs.h. */
17819 _ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h. */
17823 #include <math.h>
17825 main ()
17827 `for x in ceill floorl; do echo "$x (0);"; done`
17829 return 0;
17831 _ACEOF
17832 rm -f conftest.$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -z "$ac_cxx_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17845 ac_status=$?
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest.$ac_objext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17851 ac_status=$?
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 glibcxx_cv_func_long_double_round_use=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 glibcxx_cv_func_long_double_round_use=no
17861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862 ac_ext=c
17863 ac_cpp='$CPP $CPPFLAGS'
17864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17871 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17872 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17875 for ac_func in ceill floorl
17877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17878 echo "$as_me:$LINENO: checking for $ac_func" >&5
17879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17880 if eval "test \"\${$as_ac_var+set}\" = set"; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 if test x$gcc_no_link = xyes; then
17884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17886 { (exit 1); exit 1; }; }
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17896 #define $ac_func innocuous_$ac_func
17898 /* System header to define __stub macros and hopefully few prototypes,
17899 which can conflict with char $ac_func (); below.
17900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17901 <limits.h> exists even on freestanding compilers. */
17903 #ifdef __STDC__
17904 # include <limits.h>
17905 #else
17906 # include <assert.h>
17907 #endif
17909 #undef $ac_func
17911 /* Override any gcc2 internal prototype to avoid an error. */
17912 #ifdef __cplusplus
17913 extern "C"
17915 #endif
17916 /* We use char because int might match the return type of a gcc2
17917 builtin and then its argument prototype would still apply. */
17918 char $ac_func ();
17919 /* The GNU C library defines this for functions which it implements
17920 to always fail with ENOSYS. Some functions are actually named
17921 something starting with __ and the normal name is an alias. */
17922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 choke me
17924 #else
17925 char (*f) () = $ac_func;
17926 #endif
17927 #ifdef __cplusplus
17929 #endif
17932 main ()
17934 return f != $ac_func;
17936 return 0;
17938 _ACEOF
17939 rm -f conftest.$ac_objext conftest$ac_exeext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17941 (eval $ac_link) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
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); }; } &&
17955 { ac_try='test -s conftest$ac_exeext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 eval "$as_ac_var=yes"
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17966 eval "$as_ac_var=no"
17968 rm -f conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17973 if test `eval echo '${'$as_ac_var'}'` = yes; then
17974 cat >>confdefs.h <<_ACEOF
17975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17976 _ACEOF
17979 done
17985 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
17986 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
17987 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
17988 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
17989 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 else
17994 ac_ext=cc
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 #include <math.h>
18007 #ifdef HAVE_IEEEFP_H
18008 #include <ieeefp.h>
18009 #endif
18012 main ()
18014 isnanl(0);
18016 return 0;
18018 _ACEOF
18019 rm -f conftest.$ac_objext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18021 (eval $ac_compile) 2>conftest.er1
18022 ac_status=$?
18023 grep -v '^ *+' conftest.er1 >conftest.err
18024 rm -f conftest.er1
18025 cat conftest.err >&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } &&
18028 { ac_try='test -z "$ac_cxx_werror_flag"
18029 || test ! -s conftest.err'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; } &&
18035 { ac_try='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041 glibcxx_cv_func_isnanl_use=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18046 glibcxx_cv_func_isnanl_use=no
18048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18049 ac_ext=c
18050 ac_cpp='$CPP $CPPFLAGS'
18051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18060 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18062 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18064 for ac_func in isnanl
18066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18067 echo "$as_me:$LINENO: checking for $ac_func" >&5
18068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18069 if eval "test \"\${$as_ac_var+set}\" = set"; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072 if test x$gcc_no_link = xyes; then
18073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18075 { (exit 1); exit 1; }; }
18077 cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h. */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18085 #define $ac_func innocuous_$ac_func
18087 /* System header to define __stub macros and hopefully few prototypes,
18088 which can conflict with char $ac_func (); below.
18089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18090 <limits.h> exists even on freestanding compilers. */
18092 #ifdef __STDC__
18093 # include <limits.h>
18094 #else
18095 # include <assert.h>
18096 #endif
18098 #undef $ac_func
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 #ifdef __cplusplus
18102 extern "C"
18104 #endif
18105 /* We use char because int might match the return type of a gcc2
18106 builtin and then its argument prototype would still apply. */
18107 char $ac_func ();
18108 /* The GNU C library defines this for functions which it implements
18109 to always fail with ENOSYS. Some functions are actually named
18110 something starting with __ and the normal name is an alias. */
18111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18112 choke me
18113 #else
18114 char (*f) () = $ac_func;
18115 #endif
18116 #ifdef __cplusplus
18118 #endif
18121 main ()
18123 return f != $ac_func;
18125 return 0;
18127 _ACEOF
18128 rm -f conftest.$ac_objext conftest$ac_exeext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18130 (eval $ac_link) 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } &&
18137 { ac_try='test -z "$ac_c_werror_flag"
18138 || test ! -s conftest.err'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18141 ac_status=$?
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; } &&
18144 { ac_try='test -s conftest$ac_exeext'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18147 ac_status=$?
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; }; then
18150 eval "$as_ac_var=yes"
18151 else
18152 echo "$as_me: failed program was:" >&5
18153 sed 's/^/| /' conftest.$ac_ext >&5
18155 eval "$as_ac_var=no"
18157 rm -f conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18162 if test `eval echo '${'$as_ac_var'}'` = yes; then
18163 cat >>confdefs.h <<_ACEOF
18164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18165 _ACEOF
18168 done
18170 else
18172 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18173 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18174 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18175 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18176 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 else
18181 ac_ext=cc
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 cat >conftest.$ac_ext <<_ACEOF
18188 /* confdefs.h. */
18189 _ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193 #include <math.h>
18194 #ifdef HAVE_IEEEFP_H
18195 #include <ieeefp.h>
18196 #endif
18199 main ()
18201 _isnanl(0);
18203 return 0;
18205 _ACEOF
18206 rm -f conftest.$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18209 ac_status=$?
18210 grep -v '^ *+' conftest.er1 >conftest.err
18211 rm -f conftest.er1
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -z "$ac_cxx_werror_flag"
18216 || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18219 ac_status=$?
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try='test -s conftest.$ac_objext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18228 glibcxx_cv_func__isnanl_use=yes
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18233 glibcxx_cv_func__isnanl_use=no
18235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18236 ac_ext=c
18237 ac_cpp='$CPP $CPPFLAGS'
18238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18247 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18249 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18251 for ac_func in _isnanl
18253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18254 echo "$as_me:$LINENO: checking for $ac_func" >&5
18255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18256 if eval "test \"\${$as_ac_var+set}\" = set"; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259 if test x$gcc_no_link = xyes; then
18260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18262 { (exit 1); exit 1; }; }
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18272 #define $ac_func innocuous_$ac_func
18274 /* System header to define __stub macros and hopefully few prototypes,
18275 which can conflict with char $ac_func (); below.
18276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18277 <limits.h> exists even on freestanding compilers. */
18279 #ifdef __STDC__
18280 # include <limits.h>
18281 #else
18282 # include <assert.h>
18283 #endif
18285 #undef $ac_func
18287 /* Override any gcc2 internal prototype to avoid an error. */
18288 #ifdef __cplusplus
18289 extern "C"
18291 #endif
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18294 char $ac_func ();
18295 /* The GNU C library defines this for functions which it implements
18296 to always fail with ENOSYS. Some functions are actually named
18297 something starting with __ and the normal name is an alias. */
18298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18299 choke me
18300 #else
18301 char (*f) () = $ac_func;
18302 #endif
18303 #ifdef __cplusplus
18305 #endif
18308 main ()
18310 return f != $ac_func;
18312 return 0;
18314 _ACEOF
18315 rm -f conftest.$ac_objext conftest$ac_exeext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18317 (eval $ac_link) 2>conftest.er1
18318 ac_status=$?
18319 grep -v '^ *+' conftest.er1 >conftest.err
18320 rm -f conftest.er1
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try='test -s conftest$ac_exeext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 eval "$as_ac_var=yes"
18338 else
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18342 eval "$as_ac_var=no"
18344 rm -f conftest.err conftest.$ac_objext \
18345 conftest$ac_exeext conftest.$ac_ext
18347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18349 if test `eval echo '${'$as_ac_var'}'` = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18352 _ACEOF
18355 done
18362 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18363 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18364 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18365 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18371 ac_ext=cc
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #include <math.h>
18384 #ifdef HAVE_IEEEFP_H
18385 #include <ieeefp.h>
18386 #endif
18389 main ()
18391 isinfl(0);
18393 return 0;
18395 _ACEOF
18396 rm -f conftest.$ac_objext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18398 (eval $ac_compile) 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } &&
18405 { ac_try='test -z "$ac_cxx_werror_flag"
18406 || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 glibcxx_cv_func_isinfl_use=yes
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18423 glibcxx_cv_func_isinfl_use=no
18425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18426 ac_ext=c
18427 ac_cpp='$CPP $CPPFLAGS'
18428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18437 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18439 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18441 for ac_func in isinfl
18443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18444 echo "$as_me:$LINENO: checking for $ac_func" >&5
18445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18446 if eval "test \"\${$as_ac_var+set}\" = set"; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449 if test x$gcc_no_link = xyes; then
18450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18452 { (exit 1); exit 1; }; }
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18462 #define $ac_func innocuous_$ac_func
18464 /* System header to define __stub macros and hopefully few prototypes,
18465 which can conflict with char $ac_func (); below.
18466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18467 <limits.h> exists even on freestanding compilers. */
18469 #ifdef __STDC__
18470 # include <limits.h>
18471 #else
18472 # include <assert.h>
18473 #endif
18475 #undef $ac_func
18477 /* Override any gcc2 internal prototype to avoid an error. */
18478 #ifdef __cplusplus
18479 extern "C"
18481 #endif
18482 /* We use char because int might match the return type of a gcc2
18483 builtin and then its argument prototype would still apply. */
18484 char $ac_func ();
18485 /* The GNU C library defines this for functions which it implements
18486 to always fail with ENOSYS. Some functions are actually named
18487 something starting with __ and the normal name is an alias. */
18488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18489 choke me
18490 #else
18491 char (*f) () = $ac_func;
18492 #endif
18493 #ifdef __cplusplus
18495 #endif
18498 main ()
18500 return f != $ac_func;
18502 return 0;
18504 _ACEOF
18505 rm -f conftest.$ac_objext conftest$ac_exeext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18507 (eval $ac_link) 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -z "$ac_c_werror_flag"
18515 || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18518 ac_status=$?
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try='test -s conftest$ac_exeext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 eval "$as_ac_var=yes"
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 eval "$as_ac_var=no"
18534 rm -f conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18539 if test `eval echo '${'$as_ac_var'}'` = yes; then
18540 cat >>confdefs.h <<_ACEOF
18541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18542 _ACEOF
18545 done
18547 else
18549 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18550 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18551 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18552 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18558 ac_ext=cc
18559 ac_cpp='$CXXCPP $CPPFLAGS'
18560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <math.h>
18571 #ifdef HAVE_IEEEFP_H
18572 #include <ieeefp.h>
18573 #endif
18576 main ()
18578 _isinfl(0);
18580 return 0;
18582 _ACEOF
18583 rm -f conftest.$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_cxx_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 glibcxx_cv_func__isinfl_use=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 glibcxx_cv_func__isinfl_use=no
18612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18613 ac_ext=c
18614 ac_cpp='$CPP $CPPFLAGS'
18615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18624 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18626 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18628 for ac_func in _isinfl
18630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18631 echo "$as_me:$LINENO: checking for $ac_func" >&5
18632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18633 if eval "test \"\${$as_ac_var+set}\" = set"; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 else
18636 if test x$gcc_no_link = xyes; then
18637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18639 { (exit 1); exit 1; }; }
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18649 #define $ac_func innocuous_$ac_func
18651 /* System header to define __stub macros and hopefully few prototypes,
18652 which can conflict with char $ac_func (); below.
18653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18654 <limits.h> exists even on freestanding compilers. */
18656 #ifdef __STDC__
18657 # include <limits.h>
18658 #else
18659 # include <assert.h>
18660 #endif
18662 #undef $ac_func
18664 /* Override any gcc2 internal prototype to avoid an error. */
18665 #ifdef __cplusplus
18666 extern "C"
18668 #endif
18669 /* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
18671 char $ac_func ();
18672 /* The GNU C library defines this for functions which it implements
18673 to always fail with ENOSYS. Some functions are actually named
18674 something starting with __ and the normal name is an alias. */
18675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18676 choke me
18677 #else
18678 char (*f) () = $ac_func;
18679 #endif
18680 #ifdef __cplusplus
18682 #endif
18685 main ()
18687 return f != $ac_func;
18689 return 0;
18691 _ACEOF
18692 rm -f conftest.$ac_objext conftest$ac_exeext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18694 (eval $ac_link) 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try='test -z "$ac_c_werror_flag"
18702 || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try='test -s conftest$ac_exeext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18711 ac_status=$?
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 eval "$as_ac_var=yes"
18715 else
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18719 eval "$as_ac_var=no"
18721 rm -f conftest.err conftest.$ac_objext \
18722 conftest$ac_exeext conftest.$ac_ext
18724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18726 if test `eval echo '${'$as_ac_var'}'` = yes; then
18727 cat >>confdefs.h <<_ACEOF
18728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18729 _ACEOF
18732 done
18739 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18740 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18741 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18742 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18748 ac_ext=cc
18749 ac_cpp='$CXXCPP $CPPFLAGS'
18750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <math.h>
18762 main ()
18764 copysignl(0, 0);
18766 return 0;
18768 _ACEOF
18769 rm -f conftest.$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try='test -z "$ac_cxx_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 glibcxx_cv_func_copysignl_use=yes
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 glibcxx_cv_func_copysignl_use=no
18798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18799 ac_ext=c
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18810 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18812 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18814 for ac_func in copysignl
18816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18817 echo "$as_me:$LINENO: checking for $ac_func" >&5
18818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18819 if eval "test \"\${$as_ac_var+set}\" = set"; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 else
18822 if test x$gcc_no_link = xyes; then
18823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18825 { (exit 1); exit 1; }; }
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18835 #define $ac_func innocuous_$ac_func
18837 /* System header to define __stub macros and hopefully few prototypes,
18838 which can conflict with char $ac_func (); below.
18839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18840 <limits.h> exists even on freestanding compilers. */
18842 #ifdef __STDC__
18843 # include <limits.h>
18844 #else
18845 # include <assert.h>
18846 #endif
18848 #undef $ac_func
18850 /* Override any gcc2 internal prototype to avoid an error. */
18851 #ifdef __cplusplus
18852 extern "C"
18854 #endif
18855 /* We use char because int might match the return type of a gcc2
18856 builtin and then its argument prototype would still apply. */
18857 char $ac_func ();
18858 /* The GNU C library defines this for functions which it implements
18859 to always fail with ENOSYS. Some functions are actually named
18860 something starting with __ and the normal name is an alias. */
18861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18862 choke me
18863 #else
18864 char (*f) () = $ac_func;
18865 #endif
18866 #ifdef __cplusplus
18868 #endif
18871 main ()
18873 return f != $ac_func;
18875 return 0;
18877 _ACEOF
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18880 (eval $ac_link) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag"
18888 || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest$ac_exeext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 eval "$as_ac_var=yes"
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18905 eval "$as_ac_var=no"
18907 rm -f conftest.err conftest.$ac_objext \
18908 conftest$ac_exeext conftest.$ac_ext
18910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18912 if test `eval echo '${'$as_ac_var'}'` = yes; then
18913 cat >>confdefs.h <<_ACEOF
18914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18915 _ACEOF
18918 done
18920 else
18922 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18923 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18924 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18925 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18931 ac_ext=cc
18932 ac_cpp='$CXXCPP $CPPFLAGS'
18933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937 cat >conftest.$ac_ext <<_ACEOF
18938 /* confdefs.h. */
18939 _ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 #include <math.h>
18945 main ()
18947 _copysignl(0, 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__copysignl_use=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 glibcxx_cv_func__copysignl_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__copysignl_use" >&5
18993 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
18995 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
18997 for ac_func in _copysignl
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 atan2l declaration" >&5
19109 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19110 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19111 if test "${glibcxx_cv_func_atan2l_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 atan2l(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_atan2l_use=yes
19161 else
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.$ac_ext >&5
19165 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
19179 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19181 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19183 for ac_func in atan2l
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 _atan2l declaration" >&5
19292 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19294 if test "${glibcxx_cv_func__atan2l_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 _atan2l(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__atan2l_use=yes
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19348 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
19362 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19364 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19366 for ac_func in _atan2l
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 expl declaration" >&5
19478 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19479 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19480 if test "${glibcxx_cv_func_expl_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>
19499 #ifdef HAVE_IEEEFP_H
19500 #include <ieeefp.h>
19501 #endif
19504 main ()
19506 expl(0);
19508 return 0;
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>conftest.er1
19514 ac_status=$?
19515 grep -v '^ *+' conftest.er1 >conftest.err
19516 rm -f conftest.er1
19517 cat conftest.err >&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try='test -z "$ac_cxx_werror_flag"
19521 || test ! -s conftest.err'
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19523 (eval $ac_try) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); }; } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 glibcxx_cv_func_expl_use=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 glibcxx_cv_func_expl_use=no
19540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19541 ac_ext=c
19542 ac_cpp='$CPP $CPPFLAGS'
19543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19552 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19554 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19556 for ac_func in expl
19558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19559 echo "$as_me:$LINENO: checking for $ac_func" >&5
19560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19561 if eval "test \"\${$as_ac_var+set}\" = set"; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19567 { (exit 1); exit 1; }; }
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19577 #define $ac_func innocuous_$ac_func
19579 /* System header to define __stub macros and hopefully few prototypes,
19580 which can conflict with char $ac_func (); below.
19581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19582 <limits.h> exists even on freestanding compilers. */
19584 #ifdef __STDC__
19585 # include <limits.h>
19586 #else
19587 # include <assert.h>
19588 #endif
19590 #undef $ac_func
19592 /* Override any gcc2 internal prototype to avoid an error. */
19593 #ifdef __cplusplus
19594 extern "C"
19596 #endif
19597 /* We use char because int might match the return type of a gcc2
19598 builtin and then its argument prototype would still apply. */
19599 char $ac_func ();
19600 /* The GNU C library defines this for functions which it implements
19601 to always fail with ENOSYS. Some functions are actually named
19602 something starting with __ and the normal name is an alias. */
19603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19604 choke me
19605 #else
19606 char (*f) () = $ac_func;
19607 #endif
19608 #ifdef __cplusplus
19610 #endif
19613 main ()
19615 return f != $ac_func;
19617 return 0;
19619 _ACEOF
19620 rm -f conftest.$ac_objext conftest$ac_exeext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19622 (eval $ac_link) 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try='test -z "$ac_c_werror_flag"
19630 || test ! -s conftest.err'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try='test -s conftest$ac_exeext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19642 eval "$as_ac_var=yes"
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 eval "$as_ac_var=no"
19649 rm -f conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19654 if test `eval echo '${'$as_ac_var'}'` = yes; then
19655 cat >>confdefs.h <<_ACEOF
19656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19657 _ACEOF
19660 done
19662 else
19664 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19665 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19666 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19667 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19673 ac_ext=cc
19674 ac_cpp='$CXXCPP $CPPFLAGS'
19675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 #include <math.h>
19686 #ifdef HAVE_IEEEFP_H
19687 #include <ieeefp.h>
19688 #endif
19691 main ()
19693 _expl(0);
19695 return 0;
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19700 (eval $ac_compile) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_cxx_werror_flag"
19708 || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest.$ac_objext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 glibcxx_cv_func__expl_use=yes
19721 else
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19725 glibcxx_cv_func__expl_use=no
19727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19728 ac_ext=c
19729 ac_cpp='$CPP $CPPFLAGS'
19730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19739 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19741 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19743 for ac_func in _expl
19745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19746 echo "$as_me:$LINENO: checking for $ac_func" >&5
19747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19748 if eval "test \"\${$as_ac_var+set}\" = set"; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 else
19751 if test x$gcc_no_link = xyes; then
19752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19754 { (exit 1); exit 1; }; }
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19764 #define $ac_func innocuous_$ac_func
19766 /* System header to define __stub macros and hopefully few prototypes,
19767 which can conflict with char $ac_func (); below.
19768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19769 <limits.h> exists even on freestanding compilers. */
19771 #ifdef __STDC__
19772 # include <limits.h>
19773 #else
19774 # include <assert.h>
19775 #endif
19777 #undef $ac_func
19779 /* Override any gcc2 internal prototype to avoid an error. */
19780 #ifdef __cplusplus
19781 extern "C"
19783 #endif
19784 /* We use char because int might match the return type of a gcc2
19785 builtin and then its argument prototype would still apply. */
19786 char $ac_func ();
19787 /* The GNU C library defines this for functions which it implements
19788 to always fail with ENOSYS. Some functions are actually named
19789 something starting with __ and the normal name is an alias. */
19790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19791 choke me
19792 #else
19793 char (*f) () = $ac_func;
19794 #endif
19795 #ifdef __cplusplus
19797 #endif
19800 main ()
19802 return f != $ac_func;
19804 return 0;
19806 _ACEOF
19807 rm -f conftest.$ac_objext conftest$ac_exeext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19809 (eval $ac_link) 2>conftest.er1
19810 ac_status=$?
19811 grep -v '^ *+' conftest.er1 >conftest.err
19812 rm -f conftest.er1
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try='test -z "$ac_c_werror_flag"
19817 || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try='test -s conftest$ac_exeext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 eval "$as_ac_var=yes"
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 eval "$as_ac_var=no"
19836 rm -f conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext conftest.$ac_ext
19839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19841 if test `eval echo '${'$as_ac_var'}'` = yes; then
19842 cat >>confdefs.h <<_ACEOF
19843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19844 _ACEOF
19847 done
19854 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19855 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19856 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19857 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 else
19863 ac_ext=cc
19864 ac_cpp='$CXXCPP $CPPFLAGS'
19865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19869 cat >conftest.$ac_ext <<_ACEOF
19870 /* confdefs.h. */
19871 _ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 #include <math.h>
19876 #ifdef HAVE_IEEEFP_H
19877 #include <ieeefp.h>
19878 #endif
19881 main ()
19883 fabsl(0);
19885 return 0;
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_cxx_werror_flag"
19898 || test ! -s conftest.err'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; } &&
19904 { ac_try='test -s conftest.$ac_objext'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19907 ac_status=$?
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 glibcxx_cv_func_fabsl_use=yes
19911 else
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.$ac_ext >&5
19915 glibcxx_cv_func_fabsl_use=no
19917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19918 ac_ext=c
19919 ac_cpp='$CPP $CPPFLAGS'
19920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19929 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19931 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19933 for ac_func in fabsl
19935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19936 echo "$as_me:$LINENO: checking for $ac_func" >&5
19937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19938 if eval "test \"\${$as_ac_var+set}\" = set"; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 else
19941 if test x$gcc_no_link = xyes; then
19942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944 { (exit 1); exit 1; }; }
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19954 #define $ac_func innocuous_$ac_func
19956 /* System header to define __stub macros and hopefully few prototypes,
19957 which can conflict with char $ac_func (); below.
19958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19959 <limits.h> exists even on freestanding compilers. */
19961 #ifdef __STDC__
19962 # include <limits.h>
19963 #else
19964 # include <assert.h>
19965 #endif
19967 #undef $ac_func
19969 /* Override any gcc2 internal prototype to avoid an error. */
19970 #ifdef __cplusplus
19971 extern "C"
19973 #endif
19974 /* We use char because int might match the return type of a gcc2
19975 builtin and then its argument prototype would still apply. */
19976 char $ac_func ();
19977 /* The GNU C library defines this for functions which it implements
19978 to always fail with ENOSYS. Some functions are actually named
19979 something starting with __ and the normal name is an alias. */
19980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19981 choke me
19982 #else
19983 char (*f) () = $ac_func;
19984 #endif
19985 #ifdef __cplusplus
19987 #endif
19990 main ()
19992 return f != $ac_func;
19994 return 0;
19996 _ACEOF
19997 rm -f conftest.$ac_objext conftest$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>conftest.er1
20000 ac_status=$?
20001 grep -v '^ *+' conftest.er1 >conftest.err
20002 rm -f conftest.er1
20003 cat conftest.err >&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try='test -s conftest$ac_exeext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20016 ac_status=$?
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 eval "$as_ac_var=yes"
20020 else
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20024 eval "$as_ac_var=no"
20026 rm -f conftest.err conftest.$ac_objext \
20027 conftest$ac_exeext conftest.$ac_ext
20029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20031 if test `eval echo '${'$as_ac_var'}'` = yes; then
20032 cat >>confdefs.h <<_ACEOF
20033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20034 _ACEOF
20037 done
20039 else
20041 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20042 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20043 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20044 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 else
20050 ac_ext=cc
20051 ac_cpp='$CXXCPP $CPPFLAGS'
20052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20056 cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 #include <math.h>
20063 #ifdef HAVE_IEEEFP_H
20064 #include <ieeefp.h>
20065 #endif
20068 main ()
20070 _fabsl(0);
20072 return 0;
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_cxx_werror_flag"
20085 || test ! -s conftest.err'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } &&
20091 { ac_try='test -s conftest.$ac_objext'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; }; then
20097 glibcxx_cv_func__fabsl_use=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 glibcxx_cv_func__fabsl_use=no
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 ac_ext=c
20106 ac_cpp='$CPP $CPPFLAGS'
20107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20116 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20118 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20120 for ac_func in _fabsl
20122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20123 echo "$as_me:$LINENO: checking for $ac_func" >&5
20124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20125 if eval "test \"\${$as_ac_var+set}\" = set"; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20141 #define $ac_func innocuous_$ac_func
20143 /* System header to define __stub macros and hopefully few prototypes,
20144 which can conflict with char $ac_func (); below.
20145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20146 <limits.h> exists even on freestanding compilers. */
20148 #ifdef __STDC__
20149 # include <limits.h>
20150 #else
20151 # include <assert.h>
20152 #endif
20154 #undef $ac_func
20156 /* Override any gcc2 internal prototype to avoid an error. */
20157 #ifdef __cplusplus
20158 extern "C"
20160 #endif
20161 /* We use char because int might match the return type of a gcc2
20162 builtin and then its argument prototype would still apply. */
20163 char $ac_func ();
20164 /* The GNU C library defines this for functions which it implements
20165 to always fail with ENOSYS. Some functions are actually named
20166 something starting with __ and the normal name is an alias. */
20167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20168 choke me
20169 #else
20170 char (*f) () = $ac_func;
20171 #endif
20172 #ifdef __cplusplus
20174 #endif
20177 main ()
20179 return f != $ac_func;
20181 return 0;
20183 _ACEOF
20184 rm -f conftest.$ac_objext conftest$ac_exeext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186 (eval $ac_link) 2>conftest.er1
20187 ac_status=$?
20188 grep -v '^ *+' conftest.er1 >conftest.err
20189 rm -f conftest.er1
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try='test -z "$ac_c_werror_flag"
20194 || test ! -s conftest.err'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; } &&
20200 { ac_try='test -s conftest$ac_exeext'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20203 ac_status=$?
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; }; then
20206 eval "$as_ac_var=yes"
20207 else
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.$ac_ext >&5
20211 eval "$as_ac_var=no"
20213 rm -f conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20218 if test `eval echo '${'$as_ac_var'}'` = yes; then
20219 cat >>confdefs.h <<_ACEOF
20220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20221 _ACEOF
20224 done
20231 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20232 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20233 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20234 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 else
20240 ac_ext=cc
20241 ac_cpp='$CXXCPP $CPPFLAGS'
20242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 #include <math.h>
20254 main ()
20256 fmodl(0, 0);
20258 return 0;
20260 _ACEOF
20261 rm -f conftest.$ac_objext
20262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20263 (eval $ac_compile) 2>conftest.er1
20264 ac_status=$?
20265 grep -v '^ *+' conftest.er1 >conftest.err
20266 rm -f conftest.er1
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } &&
20270 { ac_try='test -z "$ac_cxx_werror_flag"
20271 || test ! -s conftest.err'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20274 ac_status=$?
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; } &&
20277 { ac_try='test -s conftest.$ac_objext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20280 ac_status=$?
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 glibcxx_cv_func_fmodl_use=yes
20284 else
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20288 glibcxx_cv_func_fmodl_use=no
20290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20291 ac_ext=c
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20302 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20304 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20306 for ac_func in fmodl
20308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20309 echo "$as_me:$LINENO: checking for $ac_func" >&5
20310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20311 if eval "test \"\${$as_ac_var+set}\" = set"; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 else
20314 if test x$gcc_no_link = xyes; then
20315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20317 { (exit 1); exit 1; }; }
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20327 #define $ac_func innocuous_$ac_func
20329 /* System header to define __stub macros and hopefully few prototypes,
20330 which can conflict with char $ac_func (); below.
20331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20332 <limits.h> exists even on freestanding compilers. */
20334 #ifdef __STDC__
20335 # include <limits.h>
20336 #else
20337 # include <assert.h>
20338 #endif
20340 #undef $ac_func
20342 /* Override any gcc2 internal prototype to avoid an error. */
20343 #ifdef __cplusplus
20344 extern "C"
20346 #endif
20347 /* We use char because int might match the return type of a gcc2
20348 builtin and then its argument prototype would still apply. */
20349 char $ac_func ();
20350 /* The GNU C library defines this for functions which it implements
20351 to always fail with ENOSYS. Some functions are actually named
20352 something starting with __ and the normal name is an alias. */
20353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20354 choke me
20355 #else
20356 char (*f) () = $ac_func;
20357 #endif
20358 #ifdef __cplusplus
20360 #endif
20363 main ()
20365 return f != $ac_func;
20367 return 0;
20369 _ACEOF
20370 rm -f conftest.$ac_objext conftest$ac_exeext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20372 (eval $ac_link) 2>conftest.er1
20373 ac_status=$?
20374 grep -v '^ *+' conftest.er1 >conftest.err
20375 rm -f conftest.er1
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try='test -z "$ac_c_werror_flag"
20380 || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20383 ac_status=$?
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try='test -s conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 eval "$as_ac_var=yes"
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 eval "$as_ac_var=no"
20399 rm -f conftest.err conftest.$ac_objext \
20400 conftest$ac_exeext conftest.$ac_ext
20402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20404 if test `eval echo '${'$as_ac_var'}'` = yes; then
20405 cat >>confdefs.h <<_ACEOF
20406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20407 _ACEOF
20410 done
20412 else
20414 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20415 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20416 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20417 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20423 ac_ext=cc
20424 ac_cpp='$CXXCPP $CPPFLAGS'
20425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 #include <math.h>
20437 main ()
20439 _fmodl(0, 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__fmodl_use=yes
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
20485 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20487 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20489 for ac_func in _fmodl
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 frexpl declaration" >&5
20601 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20602 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20603 if test "${glibcxx_cv_func_frexpl_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 frexpl(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_frexpl_use=yes
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20657 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
20671 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20673 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20675 for ac_func in frexpl
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 _frexpl declaration" >&5
20784 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20785 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20786 if test "${glibcxx_cv_func__frexpl_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 _frexpl(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__frexpl_use=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
20854 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20856 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20858 for ac_func in _frexpl
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 hypotl declaration" >&5
20970 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
20971 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
20972 if test "${glibcxx_cv_func_hypotl_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 hypotl(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_hypotl_use=yes
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21026 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
21040 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21042 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21044 for ac_func in hypotl
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 _hypotl declaration" >&5
21153 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21154 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21155 if test "${glibcxx_cv_func__hypotl_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 _hypotl(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__hypotl_use=yes
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21209 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
21223 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21225 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21227 for ac_func in _hypotl
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 ldexpl declaration" >&5
21339 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21340 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21341 if test "${glibcxx_cv_func_ldexpl_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 ldexpl(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_ldexpl_use=yes
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
21409 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21411 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21413 for ac_func in ldexpl
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 _ldexpl declaration" >&5
21522 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21523 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21524 if test "${glibcxx_cv_func__ldexpl_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 _ldexpl(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__ldexpl_use=yes
21574 else
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21578 glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
21592 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21594 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21596 for ac_func in _ldexpl
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 logl declaration" >&5
21708 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21710 if test "${glibcxx_cv_func_logl_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>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21734 main ()
21736 logl(0);
21738 return 0;
21740 _ACEOF
21741 rm -f conftest.$ac_objext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21743 (eval $ac_compile) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_cxx_werror_flag"
21751 || test ! -s conftest.err'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 glibcxx_cv_func_logl_use=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 glibcxx_cv_func_logl_use=no
21770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21782 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21784 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21786 for ac_func in logl
21788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21789 echo "$as_me:$LINENO: checking for $ac_func" >&5
21790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21791 if eval "test \"\${$as_ac_var+set}\" = set"; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 else
21794 if test x$gcc_no_link = xyes; then
21795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21797 { (exit 1); exit 1; }; }
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21807 #define $ac_func innocuous_$ac_func
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func (); below.
21811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21812 <limits.h> exists even on freestanding compilers. */
21814 #ifdef __STDC__
21815 # include <limits.h>
21816 #else
21817 # include <assert.h>
21818 #endif
21820 #undef $ac_func
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21826 #endif
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21829 char $ac_func ();
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21834 choke me
21835 #else
21836 char (*f) () = $ac_func;
21837 #endif
21838 #ifdef __cplusplus
21840 #endif
21843 main ()
21845 return f != $ac_func;
21847 return 0;
21849 _ACEOF
21850 rm -f conftest.$ac_objext conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 eval "$as_ac_var=yes"
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21877 eval "$as_ac_var=no"
21879 rm -f conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21884 if test `eval echo '${'$as_ac_var'}'` = yes; then
21885 cat >>confdefs.h <<_ACEOF
21886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21887 _ACEOF
21890 done
21892 else
21894 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21895 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21896 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21897 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 else
21903 ac_ext=cc
21904 ac_cpp='$CXXCPP $CPPFLAGS'
21905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <math.h>
21916 #ifdef HAVE_IEEEFP_H
21917 #include <ieeefp.h>
21918 #endif
21921 main ()
21923 _logl(0);
21925 return 0;
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_cxx_werror_flag"
21938 || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 glibcxx_cv_func__logl_use=yes
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21955 glibcxx_cv_func__logl_use=no
21957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
21969 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
21971 if test x$glibcxx_cv_func__logl_use = x"yes"; then
21973 for ac_func in _logl
21975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21976 echo "$as_me:$LINENO: checking for $ac_func" >&5
21977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21978 if eval "test \"\${$as_ac_var+set}\" = set"; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981 if test x$gcc_no_link = xyes; then
21982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21984 { (exit 1); exit 1; }; }
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21994 #define $ac_func innocuous_$ac_func
21996 /* System header to define __stub macros and hopefully few prototypes,
21997 which can conflict with char $ac_func (); below.
21998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21999 <limits.h> exists even on freestanding compilers. */
22001 #ifdef __STDC__
22002 # include <limits.h>
22003 #else
22004 # include <assert.h>
22005 #endif
22007 #undef $ac_func
22009 /* Override any gcc2 internal prototype to avoid an error. */
22010 #ifdef __cplusplus
22011 extern "C"
22013 #endif
22014 /* We use char because int might match the return type of a gcc2
22015 builtin and then its argument prototype would still apply. */
22016 char $ac_func ();
22017 /* The GNU C library defines this for functions which it implements
22018 to always fail with ENOSYS. Some functions are actually named
22019 something starting with __ and the normal name is an alias. */
22020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22021 choke me
22022 #else
22023 char (*f) () = $ac_func;
22024 #endif
22025 #ifdef __cplusplus
22027 #endif
22030 main ()
22032 return f != $ac_func;
22034 return 0;
22036 _ACEOF
22037 rm -f conftest.$ac_objext conftest$ac_exeext
22038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22039 (eval $ac_link) 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try='test -z "$ac_c_werror_flag"
22047 || test ! -s conftest.err'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22050 ac_status=$?
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; } &&
22053 { ac_try='test -s conftest$ac_exeext'
22054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055 (eval $ac_try) 2>&5
22056 ac_status=$?
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; }; then
22059 eval "$as_ac_var=yes"
22060 else
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22064 eval "$as_ac_var=no"
22066 rm -f conftest.err conftest.$ac_objext \
22067 conftest$ac_exeext conftest.$ac_ext
22069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22071 if test `eval echo '${'$as_ac_var'}'` = yes; then
22072 cat >>confdefs.h <<_ACEOF
22073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22074 _ACEOF
22077 done
22084 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22085 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22086 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22087 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22093 ac_ext=cc
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 #include <math.h>
22106 #ifdef HAVE_IEEEFP_H
22107 #include <ieeefp.h>
22108 #endif
22111 main ()
22113 log10l(0);
22115 return 0;
22117 _ACEOF
22118 rm -f conftest.$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120 (eval $ac_compile) 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_cxx_werror_flag"
22128 || test ! -s conftest.err'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest.$ac_objext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 glibcxx_cv_func_log10l_use=yes
22141 else
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22145 glibcxx_cv_func_log10l_use=no
22147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22148 ac_ext=c
22149 ac_cpp='$CPP $CPPFLAGS'
22150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22159 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22161 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22163 for ac_func in log10l
22165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22166 echo "$as_me:$LINENO: checking for $ac_func" >&5
22167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22168 if eval "test \"\${$as_ac_var+set}\" = set"; then
22169 echo $ECHO_N "(cached) $ECHO_C" >&6
22170 else
22171 if test x$gcc_no_link = xyes; then
22172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22174 { (exit 1); exit 1; }; }
22176 cat >conftest.$ac_ext <<_ACEOF
22177 /* confdefs.h. */
22178 _ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22184 #define $ac_func innocuous_$ac_func
22186 /* System header to define __stub macros and hopefully few prototypes,
22187 which can conflict with char $ac_func (); below.
22188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22189 <limits.h> exists even on freestanding compilers. */
22191 #ifdef __STDC__
22192 # include <limits.h>
22193 #else
22194 # include <assert.h>
22195 #endif
22197 #undef $ac_func
22199 /* Override any gcc2 internal prototype to avoid an error. */
22200 #ifdef __cplusplus
22201 extern "C"
22203 #endif
22204 /* We use char because int might match the return type of a gcc2
22205 builtin and then its argument prototype would still apply. */
22206 char $ac_func ();
22207 /* The GNU C library defines this for functions which it implements
22208 to always fail with ENOSYS. Some functions are actually named
22209 something starting with __ and the normal name is an alias. */
22210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22211 choke me
22212 #else
22213 char (*f) () = $ac_func;
22214 #endif
22215 #ifdef __cplusplus
22217 #endif
22220 main ()
22222 return f != $ac_func;
22224 return 0;
22226 _ACEOF
22227 rm -f conftest.$ac_objext conftest$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>conftest.er1
22230 ac_status=$?
22231 grep -v '^ *+' conftest.er1 >conftest.err
22232 rm -f conftest.er1
22233 cat conftest.err >&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try='test -z "$ac_c_werror_flag"
22237 || test ! -s conftest.err'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; } &&
22243 { ac_try='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 eval "$as_ac_var=yes"
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22254 eval "$as_ac_var=no"
22256 rm -f conftest.err conftest.$ac_objext \
22257 conftest$ac_exeext conftest.$ac_ext
22259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22261 if test `eval echo '${'$as_ac_var'}'` = yes; then
22262 cat >>confdefs.h <<_ACEOF
22263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22264 _ACEOF
22267 done
22269 else
22271 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22272 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22273 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22274 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 else
22280 ac_ext=cc
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286 cat >conftest.$ac_ext <<_ACEOF
22287 /* confdefs.h. */
22288 _ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 #include <math.h>
22293 #ifdef HAVE_IEEEFP_H
22294 #include <ieeefp.h>
22295 #endif
22298 main ()
22300 _log10l(0);
22302 return 0;
22304 _ACEOF
22305 rm -f conftest.$ac_objext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22307 (eval $ac_compile) 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -z "$ac_cxx_werror_flag"
22315 || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 glibcxx_cv_func__log10l_use=yes
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22332 glibcxx_cv_func__log10l_use=no
22334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22346 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22348 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22350 for ac_func in _log10l
22352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22353 echo "$as_me:$LINENO: checking for $ac_func" >&5
22354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22355 if eval "test \"\${$as_ac_var+set}\" = set"; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 else
22358 if test x$gcc_no_link = xyes; then
22359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22361 { (exit 1); exit 1; }; }
22363 cat >conftest.$ac_ext <<_ACEOF
22364 /* confdefs.h. */
22365 _ACEOF
22366 cat confdefs.h >>conftest.$ac_ext
22367 cat >>conftest.$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22371 #define $ac_func innocuous_$ac_func
22373 /* System header to define __stub macros and hopefully few prototypes,
22374 which can conflict with char $ac_func (); below.
22375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22376 <limits.h> exists even on freestanding compilers. */
22378 #ifdef __STDC__
22379 # include <limits.h>
22380 #else
22381 # include <assert.h>
22382 #endif
22384 #undef $ac_func
22386 /* Override any gcc2 internal prototype to avoid an error. */
22387 #ifdef __cplusplus
22388 extern "C"
22390 #endif
22391 /* We use char because int might match the return type of a gcc2
22392 builtin and then its argument prototype would still apply. */
22393 char $ac_func ();
22394 /* The GNU C library defines this for functions which it implements
22395 to always fail with ENOSYS. Some functions are actually named
22396 something starting with __ and the normal name is an alias. */
22397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22398 choke me
22399 #else
22400 char (*f) () = $ac_func;
22401 #endif
22402 #ifdef __cplusplus
22404 #endif
22407 main ()
22409 return f != $ac_func;
22411 return 0;
22413 _ACEOF
22414 rm -f conftest.$ac_objext conftest$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try='test -z "$ac_c_werror_flag"
22424 || test ! -s conftest.err'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22427 ac_status=$?
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; } &&
22430 { ac_try='test -s conftest$ac_exeext'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22433 ac_status=$?
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; }; then
22436 eval "$as_ac_var=yes"
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22441 eval "$as_ac_var=no"
22443 rm -f conftest.err conftest.$ac_objext \
22444 conftest$ac_exeext conftest.$ac_ext
22446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22448 if test `eval echo '${'$as_ac_var'}'` = yes; then
22449 cat >>confdefs.h <<_ACEOF
22450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22451 _ACEOF
22454 done
22461 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22462 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22463 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22464 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 else
22470 ac_ext=cc
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22476 cat >conftest.$ac_ext <<_ACEOF
22477 /* confdefs.h. */
22478 _ACEOF
22479 cat confdefs.h >>conftest.$ac_ext
22480 cat >>conftest.$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22482 #include <math.h>
22484 main ()
22486 modfl(0, 0);
22488 return 0;
22490 _ACEOF
22491 rm -f conftest.$ac_objext
22492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22493 (eval $ac_compile) 2>conftest.er1
22494 ac_status=$?
22495 grep -v '^ *+' conftest.er1 >conftest.err
22496 rm -f conftest.er1
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } &&
22500 { ac_try='test -z "$ac_cxx_werror_flag"
22501 || test ! -s conftest.err'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; } &&
22507 { ac_try='test -s conftest.$ac_objext'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; }; then
22513 glibcxx_cv_func_modfl_use=yes
22514 else
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.$ac_ext >&5
22518 glibcxx_cv_func_modfl_use=no
22520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22532 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22534 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22536 for ac_func in modfl
22538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22539 echo "$as_me:$LINENO: checking for $ac_func" >&5
22540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22541 if eval "test \"\${$as_ac_var+set}\" = set"; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 if test x$gcc_no_link = xyes; then
22545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22547 { (exit 1); exit 1; }; }
22549 cat >conftest.$ac_ext <<_ACEOF
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22557 #define $ac_func innocuous_$ac_func
22559 /* System header to define __stub macros and hopefully few prototypes,
22560 which can conflict with char $ac_func (); below.
22561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22562 <limits.h> exists even on freestanding compilers. */
22564 #ifdef __STDC__
22565 # include <limits.h>
22566 #else
22567 # include <assert.h>
22568 #endif
22570 #undef $ac_func
22572 /* Override any gcc2 internal prototype to avoid an error. */
22573 #ifdef __cplusplus
22574 extern "C"
22576 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22579 char $ac_func ();
22580 /* The GNU C library defines this for functions which it implements
22581 to always fail with ENOSYS. Some functions are actually named
22582 something starting with __ and the normal name is an alias. */
22583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22584 choke me
22585 #else
22586 char (*f) () = $ac_func;
22587 #endif
22588 #ifdef __cplusplus
22590 #endif
22593 main ()
22595 return f != $ac_func;
22597 return 0;
22599 _ACEOF
22600 rm -f conftest.$ac_objext conftest$ac_exeext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22602 (eval $ac_link) 2>conftest.er1
22603 ac_status=$?
22604 grep -v '^ *+' conftest.er1 >conftest.err
22605 rm -f conftest.er1
22606 cat conftest.err >&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try='test -z "$ac_c_werror_flag"
22610 || test ! -s conftest.err'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; } &&
22616 { ac_try='test -s conftest$ac_exeext'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 eval "$as_ac_var=yes"
22623 else
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22627 eval "$as_ac_var=no"
22629 rm -f conftest.err conftest.$ac_objext \
22630 conftest$ac_exeext conftest.$ac_ext
22632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22634 if test `eval echo '${'$as_ac_var'}'` = yes; then
22635 cat >>confdefs.h <<_ACEOF
22636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22637 _ACEOF
22640 done
22642 else
22644 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22645 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22647 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22653 ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <math.h>
22667 main ()
22669 _modfl(0, 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__modfl_use=yes
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 glibcxx_cv_func__modfl_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__modfl_use" >&5
22715 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22717 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22719 for ac_func in _modfl
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 powl declaration" >&5
22831 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22832 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22833 if test "${glibcxx_cv_func_powl_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 powl(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_powl_use=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22887 glibcxx_cv_func_powl_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_powl_use" >&5
22901 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22905 for ac_func in powl
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 _powl declaration" >&5
23014 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23015 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23016 if test "${glibcxx_cv_func__powl_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 _powl(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__powl_use=yes
23066 else
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.$ac_ext >&5
23070 glibcxx_cv_func__powl_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__powl_use" >&5
23084 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23088 for ac_func in _powl
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 sqrtl declaration" >&5
23200 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23201 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23202 if test "${glibcxx_cv_func_sqrtl_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>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23226 main ()
23228 sqrtl(0);
23230 return 0;
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23235 (eval $ac_compile) 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -z "$ac_cxx_werror_flag"
23243 || test ! -s conftest.err'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; } &&
23249 { ac_try='test -s conftest.$ac_objext'
23250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23251 (eval $ac_try) 2>&5
23252 ac_status=$?
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); }; }; then
23255 glibcxx_cv_func_sqrtl_use=yes
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23260 glibcxx_cv_func_sqrtl_use=no
23262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23263 ac_ext=c
23264 ac_cpp='$CPP $CPPFLAGS'
23265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23274 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23276 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23278 for ac_func in sqrtl
23280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23281 echo "$as_me:$LINENO: checking for $ac_func" >&5
23282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23283 if eval "test \"\${$as_ac_var+set}\" = set"; then
23284 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 else
23286 if test x$gcc_no_link = xyes; then
23287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23289 { (exit 1); exit 1; }; }
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23299 #define $ac_func innocuous_$ac_func
23301 /* System header to define __stub macros and hopefully few prototypes,
23302 which can conflict with char $ac_func (); below.
23303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23304 <limits.h> exists even on freestanding compilers. */
23306 #ifdef __STDC__
23307 # include <limits.h>
23308 #else
23309 # include <assert.h>
23310 #endif
23312 #undef $ac_func
23314 /* Override any gcc2 internal prototype to avoid an error. */
23315 #ifdef __cplusplus
23316 extern "C"
23318 #endif
23319 /* We use char because int might match the return type of a gcc2
23320 builtin and then its argument prototype would still apply. */
23321 char $ac_func ();
23322 /* The GNU C library defines this for functions which it implements
23323 to always fail with ENOSYS. Some functions are actually named
23324 something starting with __ and the normal name is an alias. */
23325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23326 choke me
23327 #else
23328 char (*f) () = $ac_func;
23329 #endif
23330 #ifdef __cplusplus
23332 #endif
23335 main ()
23337 return f != $ac_func;
23339 return 0;
23341 _ACEOF
23342 rm -f conftest.$ac_objext conftest$ac_exeext
23343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23344 (eval $ac_link) 2>conftest.er1
23345 ac_status=$?
23346 grep -v '^ *+' conftest.er1 >conftest.err
23347 rm -f conftest.er1
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } &&
23351 { ac_try='test -z "$ac_c_werror_flag"
23352 || test ! -s conftest.err'
23353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23354 (eval $ac_try) 2>&5
23355 ac_status=$?
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; } &&
23358 { ac_try='test -s conftest$ac_exeext'
23359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360 (eval $ac_try) 2>&5
23361 ac_status=$?
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); }; }; then
23364 eval "$as_ac_var=yes"
23365 else
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23369 eval "$as_ac_var=no"
23371 rm -f conftest.err conftest.$ac_objext \
23372 conftest$ac_exeext conftest.$ac_ext
23374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23376 if test `eval echo '${'$as_ac_var'}'` = yes; then
23377 cat >>confdefs.h <<_ACEOF
23378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23379 _ACEOF
23382 done
23384 else
23386 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23387 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23388 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23389 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 else
23395 ac_ext=cc
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 #include <math.h>
23408 #ifdef HAVE_IEEEFP_H
23409 #include <ieeefp.h>
23410 #endif
23413 main ()
23415 _sqrtl(0);
23417 return 0;
23419 _ACEOF
23420 rm -f conftest.$ac_objext
23421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23422 (eval $ac_compile) 2>conftest.er1
23423 ac_status=$?
23424 grep -v '^ *+' conftest.er1 >conftest.err
23425 rm -f conftest.er1
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } &&
23429 { ac_try='test -z "$ac_cxx_werror_flag"
23430 || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest.$ac_objext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 glibcxx_cv_func__sqrtl_use=yes
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23447 glibcxx_cv_func__sqrtl_use=no
23449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23450 ac_ext=c
23451 ac_cpp='$CPP $CPPFLAGS'
23452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23461 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23463 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23465 for ac_func in _sqrtl
23467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23468 echo "$as_me:$LINENO: checking for $ac_func" >&5
23469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23470 if eval "test \"\${$as_ac_var+set}\" = set"; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473 if test x$gcc_no_link = xyes; then
23474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23476 { (exit 1); exit 1; }; }
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23486 #define $ac_func innocuous_$ac_func
23488 /* System header to define __stub macros and hopefully few prototypes,
23489 which can conflict with char $ac_func (); below.
23490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23491 <limits.h> exists even on freestanding compilers. */
23493 #ifdef __STDC__
23494 # include <limits.h>
23495 #else
23496 # include <assert.h>
23497 #endif
23499 #undef $ac_func
23501 /* Override any gcc2 internal prototype to avoid an error. */
23502 #ifdef __cplusplus
23503 extern "C"
23505 #endif
23506 /* We use char because int might match the return type of a gcc2
23507 builtin and then its argument prototype would still apply. */
23508 char $ac_func ();
23509 /* The GNU C library defines this for functions which it implements
23510 to always fail with ENOSYS. Some functions are actually named
23511 something starting with __ and the normal name is an alias. */
23512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23513 choke me
23514 #else
23515 char (*f) () = $ac_func;
23516 #endif
23517 #ifdef __cplusplus
23519 #endif
23522 main ()
23524 return f != $ac_func;
23526 return 0;
23528 _ACEOF
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23531 (eval $ac_link) 2>conftest.er1
23532 ac_status=$?
23533 grep -v '^ *+' conftest.er1 >conftest.err
23534 rm -f conftest.er1
23535 cat conftest.err >&5
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); } &&
23538 { ac_try='test -z "$ac_c_werror_flag"
23539 || test ! -s conftest.err'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23542 ac_status=$?
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; } &&
23545 { ac_try='test -s conftest$ac_exeext'
23546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23547 (eval $ac_try) 2>&5
23548 ac_status=$?
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; }; then
23551 eval "$as_ac_var=yes"
23552 else
23553 echo "$as_me: failed program was:" >&5
23554 sed 's/^/| /' conftest.$ac_ext >&5
23556 eval "$as_ac_var=no"
23558 rm -f conftest.err conftest.$ac_objext \
23559 conftest$ac_exeext conftest.$ac_ext
23561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23563 if test `eval echo '${'$as_ac_var'}'` = yes; then
23564 cat >>confdefs.h <<_ACEOF
23565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23566 _ACEOF
23569 done
23576 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23577 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23578 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23579 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 else
23585 ac_ext=cc
23586 ac_cpp='$CXXCPP $CPPFLAGS'
23587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23591 cat >conftest.$ac_ext <<_ACEOF
23592 /* confdefs.h. */
23593 _ACEOF
23594 cat confdefs.h >>conftest.$ac_ext
23595 cat >>conftest.$ac_ext <<_ACEOF
23596 /* end confdefs.h. */
23597 #include <math.h>
23599 main ()
23601 sincosl(0, 0, 0);
23603 return 0;
23605 _ACEOF
23606 rm -f conftest.$ac_objext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23608 (eval $ac_compile) 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try='test -z "$ac_cxx_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try='test -s conftest.$ac_objext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23625 ac_status=$?
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 glibcxx_cv_func_sincosl_use=yes
23629 else
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.$ac_ext >&5
23633 glibcxx_cv_func_sincosl_use=no
23635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23636 ac_ext=c
23637 ac_cpp='$CPP $CPPFLAGS'
23638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23647 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23649 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23651 for ac_func in sincosl
23653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23654 echo "$as_me:$LINENO: checking for $ac_func" >&5
23655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23656 if eval "test \"\${$as_ac_var+set}\" = set"; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23659 if test x$gcc_no_link = xyes; then
23660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23662 { (exit 1); exit 1; }; }
23664 cat >conftest.$ac_ext <<_ACEOF
23665 /* confdefs.h. */
23666 _ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23672 #define $ac_func innocuous_$ac_func
23674 /* System header to define __stub macros and hopefully few prototypes,
23675 which can conflict with char $ac_func (); below.
23676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23677 <limits.h> exists even on freestanding compilers. */
23679 #ifdef __STDC__
23680 # include <limits.h>
23681 #else
23682 # include <assert.h>
23683 #endif
23685 #undef $ac_func
23687 /* Override any gcc2 internal prototype to avoid an error. */
23688 #ifdef __cplusplus
23689 extern "C"
23691 #endif
23692 /* We use char because int might match the return type of a gcc2
23693 builtin and then its argument prototype would still apply. */
23694 char $ac_func ();
23695 /* The GNU C library defines this for functions which it implements
23696 to always fail with ENOSYS. Some functions are actually named
23697 something starting with __ and the normal name is an alias. */
23698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23699 choke me
23700 #else
23701 char (*f) () = $ac_func;
23702 #endif
23703 #ifdef __cplusplus
23705 #endif
23708 main ()
23710 return f != $ac_func;
23712 return 0;
23714 _ACEOF
23715 rm -f conftest.$ac_objext conftest$ac_exeext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 (eval $ac_link) 2>conftest.er1
23718 ac_status=$?
23719 grep -v '^ *+' conftest.er1 >conftest.err
23720 rm -f conftest.er1
23721 cat conftest.err >&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -z "$ac_c_werror_flag"
23725 || test ! -s conftest.err'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23728 ac_status=$?
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; } &&
23731 { ac_try='test -s conftest$ac_exeext'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23734 ac_status=$?
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; }; then
23737 eval "$as_ac_var=yes"
23738 else
23739 echo "$as_me: failed program was:" >&5
23740 sed 's/^/| /' conftest.$ac_ext >&5
23742 eval "$as_ac_var=no"
23744 rm -f conftest.err conftest.$ac_objext \
23745 conftest$ac_exeext conftest.$ac_ext
23747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23749 if test `eval echo '${'$as_ac_var'}'` = yes; then
23750 cat >>confdefs.h <<_ACEOF
23751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23752 _ACEOF
23755 done
23757 else
23759 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23760 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23761 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23762 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23768 ac_ext=cc
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780 #include <math.h>
23782 main ()
23784 _sincosl(0, 0, 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__sincosl_use=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
23830 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23832 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23834 for ac_func in _sincosl
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 finitel declaration" >&5
23946 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23947 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23948 if test "${glibcxx_cv_func_finitel_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>
23967 #ifdef HAVE_IEEEFP_H
23968 #include <ieeefp.h>
23969 #endif
23972 main ()
23974 finitel(0);
23976 return 0;
23978 _ACEOF
23979 rm -f conftest.$ac_objext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23981 (eval $ac_compile) 2>conftest.er1
23982 ac_status=$?
23983 grep -v '^ *+' conftest.er1 >conftest.err
23984 rm -f conftest.er1
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } &&
23988 { ac_try='test -z "$ac_cxx_werror_flag"
23989 || test ! -s conftest.err'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; } &&
23995 { ac_try='test -s conftest.$ac_objext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 glibcxx_cv_func_finitel_use=yes
24002 else
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24006 glibcxx_cv_func_finitel_use=no
24008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24009 ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24020 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24022 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24024 for ac_func in finitel
24026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24027 echo "$as_me:$LINENO: checking for $ac_func" >&5
24028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24029 if eval "test \"\${$as_ac_var+set}\" = set"; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 else
24032 if test x$gcc_no_link = xyes; then
24033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24035 { (exit 1); exit 1; }; }
24037 cat >conftest.$ac_ext <<_ACEOF
24038 /* confdefs.h. */
24039 _ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24045 #define $ac_func innocuous_$ac_func
24047 /* System header to define __stub macros and hopefully few prototypes,
24048 which can conflict with char $ac_func (); below.
24049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24050 <limits.h> exists even on freestanding compilers. */
24052 #ifdef __STDC__
24053 # include <limits.h>
24054 #else
24055 # include <assert.h>
24056 #endif
24058 #undef $ac_func
24060 /* Override any gcc2 internal prototype to avoid an error. */
24061 #ifdef __cplusplus
24062 extern "C"
24064 #endif
24065 /* We use char because int might match the return type of a gcc2
24066 builtin and then its argument prototype would still apply. */
24067 char $ac_func ();
24068 /* The GNU C library defines this for functions which it implements
24069 to always fail with ENOSYS. Some functions are actually named
24070 something starting with __ and the normal name is an alias. */
24071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24072 choke me
24073 #else
24074 char (*f) () = $ac_func;
24075 #endif
24076 #ifdef __cplusplus
24078 #endif
24081 main ()
24083 return f != $ac_func;
24085 return 0;
24087 _ACEOF
24088 rm -f conftest.$ac_objext conftest$ac_exeext
24089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24090 (eval $ac_link) 2>conftest.er1
24091 ac_status=$?
24092 grep -v '^ *+' conftest.er1 >conftest.err
24093 rm -f conftest.er1
24094 cat conftest.err >&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } &&
24097 { ac_try='test -z "$ac_c_werror_flag"
24098 || test ! -s conftest.err'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; } &&
24104 { ac_try='test -s conftest$ac_exeext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110 eval "$as_ac_var=yes"
24111 else
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24115 eval "$as_ac_var=no"
24117 rm -f conftest.err conftest.$ac_objext \
24118 conftest$ac_exeext conftest.$ac_ext
24120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24122 if test `eval echo '${'$as_ac_var'}'` = yes; then
24123 cat >>confdefs.h <<_ACEOF
24124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24125 _ACEOF
24128 done
24130 else
24132 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24133 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24134 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24135 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24141 ac_ext=cc
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #include <math.h>
24154 #ifdef HAVE_IEEEFP_H
24155 #include <ieeefp.h>
24156 #endif
24159 main ()
24161 _finitel(0);
24163 return 0;
24165 _ACEOF
24166 rm -f conftest.$ac_objext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24168 (eval $ac_compile) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_cxx_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try='test -s conftest.$ac_objext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 glibcxx_cv_func__finitel_use=yes
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24193 glibcxx_cv_func__finitel_use=no
24195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24196 ac_ext=c
24197 ac_cpp='$CPP $CPPFLAGS'
24198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24207 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24211 for ac_func in _finitel
24213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24214 echo "$as_me:$LINENO: checking for $ac_func" >&5
24215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24216 if eval "test \"\${$as_ac_var+set}\" = set"; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 else
24219 if test x$gcc_no_link = xyes; then
24220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24222 { (exit 1); exit 1; }; }
24224 cat >conftest.$ac_ext <<_ACEOF
24225 /* confdefs.h. */
24226 _ACEOF
24227 cat confdefs.h >>conftest.$ac_ext
24228 cat >>conftest.$ac_ext <<_ACEOF
24229 /* end confdefs.h. */
24230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24232 #define $ac_func innocuous_$ac_func
24234 /* System header to define __stub macros and hopefully few prototypes,
24235 which can conflict with char $ac_func (); below.
24236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24237 <limits.h> exists even on freestanding compilers. */
24239 #ifdef __STDC__
24240 # include <limits.h>
24241 #else
24242 # include <assert.h>
24243 #endif
24245 #undef $ac_func
24247 /* Override any gcc2 internal prototype to avoid an error. */
24248 #ifdef __cplusplus
24249 extern "C"
24251 #endif
24252 /* We use char because int might match the return type of a gcc2
24253 builtin and then its argument prototype would still apply. */
24254 char $ac_func ();
24255 /* The GNU C library defines this for functions which it implements
24256 to always fail with ENOSYS. Some functions are actually named
24257 something starting with __ and the normal name is an alias. */
24258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24259 choke me
24260 #else
24261 char (*f) () = $ac_func;
24262 #endif
24263 #ifdef __cplusplus
24265 #endif
24268 main ()
24270 return f != $ac_func;
24272 return 0;
24274 _ACEOF
24275 rm -f conftest.$ac_objext conftest$ac_exeext
24276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24277 (eval $ac_link) 2>conftest.er1
24278 ac_status=$?
24279 grep -v '^ *+' conftest.er1 >conftest.err
24280 rm -f conftest.er1
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try='test -z "$ac_c_werror_flag"
24285 || test ! -s conftest.err'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24288 ac_status=$?
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; } &&
24291 { ac_try='test -s conftest$ac_exeext'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; }; then
24297 eval "$as_ac_var=yes"
24298 else
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24302 eval "$as_ac_var=no"
24304 rm -f conftest.err conftest.$ac_objext \
24305 conftest$ac_exeext conftest.$ac_ext
24307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24309 if test `eval echo '${'$as_ac_var'}'` = yes; then
24310 cat >>confdefs.h <<_ACEOF
24311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24312 _ACEOF
24315 done
24323 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24324 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24325 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24331 ac_ext=cc
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24337 cat >conftest.$ac_ext <<_ACEOF
24338 /* confdefs.h. */
24339 _ACEOF
24340 cat confdefs.h >>conftest.$ac_ext
24341 cat >>conftest.$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24343 #include <math.h>
24345 main ()
24347 `for x in _acosf _asinf _atanf \
24348 _cosf _sinf _tanf \
24349 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24351 return 0;
24353 _ACEOF
24354 rm -f conftest.$ac_objext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24356 (eval $ac_compile) 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } &&
24363 { ac_try='test -z "$ac_cxx_werror_flag"
24364 || test ! -s conftest.err'
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); }; } &&
24370 { ac_try='test -s conftest.$ac_objext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 glibcxx_cv_func__float_trig_use=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24381 glibcxx_cv_func__float_trig_use=no
24383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24384 ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24393 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24394 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24404 for ac_func in _acosf _asinf _atanf \
24405 _cosf _sinf _tanf \
24406 _coshf _sinhf _tanhf
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24411 if eval "test \"\${$as_ac_var+set}\" = set"; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 if test x$gcc_no_link = xyes; then
24415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24417 { (exit 1); exit 1; }; }
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24427 #define $ac_func innocuous_$ac_func
24429 /* System header to define __stub macros and hopefully few prototypes,
24430 which can conflict with char $ac_func (); below.
24431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24432 <limits.h> exists even on freestanding compilers. */
24434 #ifdef __STDC__
24435 # include <limits.h>
24436 #else
24437 # include <assert.h>
24438 #endif
24440 #undef $ac_func
24442 /* Override any gcc2 internal prototype to avoid an error. */
24443 #ifdef __cplusplus
24444 extern "C"
24446 #endif
24447 /* We use char because int might match the return type of a gcc2
24448 builtin and then its argument prototype would still apply. */
24449 char $ac_func ();
24450 /* The GNU C library defines this for functions which it implements
24451 to always fail with ENOSYS. Some functions are actually named
24452 something starting with __ and the normal name is an alias. */
24453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24454 choke me
24455 #else
24456 char (*f) () = $ac_func;
24457 #endif
24458 #ifdef __cplusplus
24460 #endif
24463 main ()
24465 return f != $ac_func;
24467 return 0;
24469 _ACEOF
24470 rm -f conftest.$ac_objext conftest$ac_exeext
24471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24472 (eval $ac_link) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } &&
24479 { ac_try='test -z "$ac_c_werror_flag"
24480 || test ! -s conftest.err'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; } &&
24486 { ac_try='test -s conftest$ac_exeext'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; }; then
24492 eval "$as_ac_var=yes"
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24497 eval "$as_ac_var=no"
24499 rm -f conftest.err conftest.$ac_objext \
24500 conftest$ac_exeext conftest.$ac_ext
24502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24504 if test `eval echo '${'$as_ac_var'}'` = yes; then
24505 cat >>confdefs.h <<_ACEOF
24506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24510 done
24515 echo "$as_me:$LINENO: checking for _float round functions" >&5
24516 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24517 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 else
24523 ac_ext=cc
24524 ac_cpp='$CXXCPP $CPPFLAGS'
24525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24529 cat >conftest.$ac_ext <<_ACEOF
24530 /* confdefs.h. */
24531 _ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 #include <math.h>
24537 main ()
24539 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24541 return 0;
24543 _ACEOF
24544 rm -f conftest.$ac_objext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24546 (eval $ac_compile) 2>conftest.er1
24547 ac_status=$?
24548 grep -v '^ *+' conftest.er1 >conftest.err
24549 rm -f conftest.er1
24550 cat conftest.err >&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try='test -z "$ac_cxx_werror_flag"
24554 || test ! -s conftest.err'
24555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556 (eval $ac_try) 2>&5
24557 ac_status=$?
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); }; } &&
24560 { ac_try='test -s conftest.$ac_objext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 glibcxx_cv_func__float_round_use=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24571 glibcxx_cv_func__float_round_use=no
24573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24574 ac_ext=c
24575 ac_cpp='$CPP $CPPFLAGS'
24576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24583 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24584 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24587 for ac_func in _ceilf _floorf
24589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24590 echo "$as_me:$LINENO: checking for $ac_func" >&5
24591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24592 if eval "test \"\${$as_ac_var+set}\" = set"; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 else
24595 if test x$gcc_no_link = xyes; then
24596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24598 { (exit 1); exit 1; }; }
24600 cat >conftest.$ac_ext <<_ACEOF
24601 /* confdefs.h. */
24602 _ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24608 #define $ac_func innocuous_$ac_func
24610 /* System header to define __stub macros and hopefully few prototypes,
24611 which can conflict with char $ac_func (); below.
24612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24613 <limits.h> exists even on freestanding compilers. */
24615 #ifdef __STDC__
24616 # include <limits.h>
24617 #else
24618 # include <assert.h>
24619 #endif
24621 #undef $ac_func
24623 /* Override any gcc2 internal prototype to avoid an error. */
24624 #ifdef __cplusplus
24625 extern "C"
24627 #endif
24628 /* We use char because int might match the return type of a gcc2
24629 builtin and then its argument prototype would still apply. */
24630 char $ac_func ();
24631 /* The GNU C library defines this for functions which it implements
24632 to always fail with ENOSYS. Some functions are actually named
24633 something starting with __ and the normal name is an alias. */
24634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24635 choke me
24636 #else
24637 char (*f) () = $ac_func;
24638 #endif
24639 #ifdef __cplusplus
24641 #endif
24644 main ()
24646 return f != $ac_func;
24648 return 0;
24650 _ACEOF
24651 rm -f conftest.$ac_objext conftest$ac_exeext
24652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24653 (eval $ac_link) 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } &&
24660 { ac_try='test -z "$ac_c_werror_flag"
24661 || test ! -s conftest.err'
24662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 (eval $ac_try) 2>&5
24664 ac_status=$?
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); }; } &&
24667 { ac_try='test -s conftest$ac_exeext'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24670 ac_status=$?
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; }; then
24673 eval "$as_ac_var=yes"
24674 else
24675 echo "$as_me: failed program was:" >&5
24676 sed 's/^/| /' conftest.$ac_ext >&5
24678 eval "$as_ac_var=no"
24680 rm -f conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24685 if test `eval echo '${'$as_ac_var'}'` = yes; then
24686 cat >>confdefs.h <<_ACEOF
24687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24688 _ACEOF
24691 done
24697 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24698 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24699 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24705 ac_ext=cc
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711 cat >conftest.$ac_ext <<_ACEOF
24712 /* confdefs.h. */
24713 _ACEOF
24714 cat confdefs.h >>conftest.$ac_ext
24715 cat >>conftest.$ac_ext <<_ACEOF
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 `for x in _acosl _asinl _atanl \
24722 _cosl _sinl _tanl \
24723 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24725 return 0;
24727 _ACEOF
24728 rm -f conftest.$ac_objext
24729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24730 (eval $ac_compile) 2>conftest.er1
24731 ac_status=$?
24732 grep -v '^ *+' conftest.er1 >conftest.err
24733 rm -f conftest.er1
24734 cat conftest.err >&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); } &&
24737 { ac_try='test -z "$ac_cxx_werror_flag"
24738 || test ! -s conftest.err'
24739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24740 (eval $ac_try) 2>&5
24741 ac_status=$?
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); }; } &&
24744 { ac_try='test -s conftest.$ac_objext'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24747 ac_status=$?
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; }; then
24750 glibcxx_cv_func__long_double_trig_use=yes
24751 else
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24755 glibcxx_cv_func__long_double_trig_use=no
24757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24758 ac_ext=c
24759 ac_cpp='$CPP $CPPFLAGS'
24760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24767 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24768 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24778 for ac_func in _acosl _asinl _atanl \
24779 _cosl _sinl _tanl \
24780 _coshl _sinhl _tanhl
24782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24783 echo "$as_me:$LINENO: checking for $ac_func" >&5
24784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24785 if eval "test \"\${$as_ac_var+set}\" = set"; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788 if test x$gcc_no_link = xyes; then
24789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24791 { (exit 1); exit 1; }; }
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24801 #define $ac_func innocuous_$ac_func
24803 /* System header to define __stub macros and hopefully few prototypes,
24804 which can conflict with char $ac_func (); below.
24805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24806 <limits.h> exists even on freestanding compilers. */
24808 #ifdef __STDC__
24809 # include <limits.h>
24810 #else
24811 # include <assert.h>
24812 #endif
24814 #undef $ac_func
24816 /* Override any gcc2 internal prototype to avoid an error. */
24817 #ifdef __cplusplus
24818 extern "C"
24820 #endif
24821 /* We use char because int might match the return type of a gcc2
24822 builtin and then its argument prototype would still apply. */
24823 char $ac_func ();
24824 /* The GNU C library defines this for functions which it implements
24825 to always fail with ENOSYS. Some functions are actually named
24826 something starting with __ and the normal name is an alias. */
24827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24828 choke me
24829 #else
24830 char (*f) () = $ac_func;
24831 #endif
24832 #ifdef __cplusplus
24834 #endif
24837 main ()
24839 return f != $ac_func;
24841 return 0;
24843 _ACEOF
24844 rm -f conftest.$ac_objext conftest$ac_exeext
24845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24846 (eval $ac_link) 2>conftest.er1
24847 ac_status=$?
24848 grep -v '^ *+' conftest.er1 >conftest.err
24849 rm -f conftest.er1
24850 cat conftest.err >&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); } &&
24853 { ac_try='test -z "$ac_c_werror_flag"
24854 || test ! -s conftest.err'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24857 ac_status=$?
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; } &&
24860 { ac_try='test -s conftest$ac_exeext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 eval "$as_ac_var=yes"
24867 else
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24871 eval "$as_ac_var=no"
24873 rm -f conftest.err conftest.$ac_objext \
24874 conftest$ac_exeext conftest.$ac_ext
24876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24878 if test `eval echo '${'$as_ac_var'}'` = yes; then
24879 cat >>confdefs.h <<_ACEOF
24880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24881 _ACEOF
24884 done
24889 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24890 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24891 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24892 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 else
24897 ac_ext=cc
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909 #include <math.h>
24911 main ()
24913 `for x in _ceill _floorl; do echo "$x (0);"; done`
24915 return 0;
24917 _ACEOF
24918 rm -f conftest.$ac_objext
24919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24920 (eval $ac_compile) 2>conftest.er1
24921 ac_status=$?
24922 grep -v '^ *+' conftest.er1 >conftest.err
24923 rm -f conftest.er1
24924 cat conftest.err >&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); } &&
24927 { ac_try='test -z "$ac_cxx_werror_flag"
24928 || test ! -s conftest.err'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; } &&
24934 { ac_try='test -s conftest.$ac_objext'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; }; then
24940 glibcxx_cv_func__long_double_round_use=yes
24941 else
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.$ac_ext >&5
24945 glibcxx_cv_func__long_double_round_use=no
24947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24957 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24958 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24961 for ac_func in _ceill _floorl
24963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24964 echo "$as_me:$LINENO: checking for $ac_func" >&5
24965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24966 if eval "test \"\${$as_ac_var+set}\" = set"; then
24967 echo $ECHO_N "(cached) $ECHO_C" >&6
24968 else
24969 if test x$gcc_no_link = xyes; then
24970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24972 { (exit 1); exit 1; }; }
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24982 #define $ac_func innocuous_$ac_func
24984 /* System header to define __stub macros and hopefully few prototypes,
24985 which can conflict with char $ac_func (); below.
24986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24987 <limits.h> exists even on freestanding compilers. */
24989 #ifdef __STDC__
24990 # include <limits.h>
24991 #else
24992 # include <assert.h>
24993 #endif
24995 #undef $ac_func
24997 /* Override any gcc2 internal prototype to avoid an error. */
24998 #ifdef __cplusplus
24999 extern "C"
25001 #endif
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25004 char $ac_func ();
25005 /* The GNU C library defines this for functions which it implements
25006 to always fail with ENOSYS. Some functions are actually named
25007 something starting with __ and the normal name is an alias. */
25008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25009 choke me
25010 #else
25011 char (*f) () = $ac_func;
25012 #endif
25013 #ifdef __cplusplus
25015 #endif
25018 main ()
25020 return f != $ac_func;
25022 return 0;
25024 _ACEOF
25025 rm -f conftest.$ac_objext conftest$ac_exeext
25026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25027 (eval $ac_link) 2>conftest.er1
25028 ac_status=$?
25029 grep -v '^ *+' conftest.er1 >conftest.err
25030 rm -f conftest.er1
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } &&
25034 { ac_try='test -z "$ac_c_werror_flag"
25035 || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 eval "$as_ac_var=yes"
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25052 eval "$as_ac_var=no"
25054 rm -f conftest.err conftest.$ac_objext \
25055 conftest$ac_exeext conftest.$ac_ext
25057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25059 if test `eval echo '${'$as_ac_var'}'` = yes; then
25060 cat >>confdefs.h <<_ACEOF
25061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25062 _ACEOF
25065 done
25070 LIBS="$ac_save_LIBS"
25071 CXXFLAGS="$ac_save_CXXFLAGS"
25075 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25076 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25077 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25078 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25084 ac_ext=cc
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25090 cat >conftest.$ac_ext <<_ACEOF
25091 /* confdefs.h. */
25092 _ACEOF
25093 cat confdefs.h >>conftest.$ac_ext
25094 cat >>conftest.$ac_ext <<_ACEOF
25095 /* end confdefs.h. */
25096 #include <math.h>
25098 main ()
25100 __builtin_abs(0);
25102 return 0;
25104 _ACEOF
25105 rm -f conftest.$ac_objext
25106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25107 (eval $ac_compile) 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } &&
25114 { ac_try='test -z "$ac_cxx_werror_flag"
25115 || test ! -s conftest.err'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; } &&
25121 { ac_try='test -s conftest.$ac_objext'
25122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25123 (eval $ac_try) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); }; }; then
25127 glibcxx_cv_func___builtin_abs_use=yes
25128 else
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25132 glibcxx_cv_func___builtin_abs_use=no
25134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25135 ac_ext=c
25136 ac_cpp='$CPP $CPPFLAGS'
25137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25146 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25147 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25148 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25149 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25150 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25151 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 else
25155 if test x$gcc_no_link = xyes; then
25156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25158 { (exit 1); exit 1; }; }
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 #include <math.h>
25168 main ()
25170 __builtin_abs(0);
25172 return 0;
25174 _ACEOF
25175 rm -f conftest.$ac_objext conftest$ac_exeext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25177 (eval $ac_link) 2>conftest.er1
25178 ac_status=$?
25179 grep -v '^ *+' conftest.er1 >conftest.err
25180 rm -f conftest.er1
25181 cat conftest.err >&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try='test -z "$ac_c_werror_flag"
25185 || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25188 ac_status=$?
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try='test -s conftest$ac_exeext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 glibcxx_cv_func___builtin_abs_link=yes
25198 else
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.$ac_ext >&5
25202 glibcxx_cv_func___builtin_abs_link=no
25204 rm -f conftest.err conftest.$ac_objext \
25205 conftest$ac_exeext conftest.$ac_ext
25210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25211 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25213 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25215 cat >>confdefs.h <<\_ACEOF
25216 #define HAVE___BUILTIN_ABS 1
25217 _ACEOF
25224 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25225 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25226 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25227 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25228 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 else
25233 ac_ext=cc
25234 ac_cpp='$CXXCPP $CPPFLAGS'
25235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25239 cat >conftest.$ac_ext <<_ACEOF
25240 /* confdefs.h. */
25241 _ACEOF
25242 cat confdefs.h >>conftest.$ac_ext
25243 cat >>conftest.$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25245 #include <math.h>
25247 main ()
25249 __builtin_fabsf(0);
25251 return 0;
25253 _ACEOF
25254 rm -f conftest.$ac_objext
25255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25256 (eval $ac_compile) 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } &&
25263 { ac_try='test -z "$ac_cxx_werror_flag"
25264 || test ! -s conftest.err'
25265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25266 (eval $ac_try) 2>&5
25267 ac_status=$?
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); }; } &&
25270 { ac_try='test -s conftest.$ac_objext'
25271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25272 (eval $ac_try) 2>&5
25273 ac_status=$?
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); }; }; then
25276 glibcxx_cv_func___builtin_fabsf_use=yes
25277 else
25278 echo "$as_me: failed program was:" >&5
25279 sed 's/^/| /' conftest.$ac_ext >&5
25281 glibcxx_cv_func___builtin_fabsf_use=no
25283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25284 ac_ext=c
25285 ac_cpp='$CPP $CPPFLAGS'
25286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25295 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25296 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25297 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25298 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25299 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25300 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 else
25304 if test x$gcc_no_link = xyes; then
25305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25307 { (exit 1); exit 1; }; }
25309 cat >conftest.$ac_ext <<_ACEOF
25310 /* confdefs.h. */
25311 _ACEOF
25312 cat confdefs.h >>conftest.$ac_ext
25313 cat >>conftest.$ac_ext <<_ACEOF
25314 /* end confdefs.h. */
25315 #include <math.h>
25317 main ()
25319 __builtin_fabsf(0);
25321 return 0;
25323 _ACEOF
25324 rm -f conftest.$ac_objext conftest$ac_exeext
25325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25326 (eval $ac_link) 2>conftest.er1
25327 ac_status=$?
25328 grep -v '^ *+' conftest.er1 >conftest.err
25329 rm -f conftest.er1
25330 cat conftest.err >&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } &&
25333 { ac_try='test -z "$ac_c_werror_flag"
25334 || test ! -s conftest.err'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25337 ac_status=$?
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; } &&
25340 { ac_try='test -s conftest$ac_exeext'
25341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25342 (eval $ac_try) 2>&5
25343 ac_status=$?
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); }; }; then
25346 glibcxx_cv_func___builtin_fabsf_link=yes
25347 else
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.$ac_ext >&5
25351 glibcxx_cv_func___builtin_fabsf_link=no
25353 rm -f conftest.err conftest.$ac_objext \
25354 conftest$ac_exeext conftest.$ac_ext
25359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25360 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25362 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25364 cat >>confdefs.h <<\_ACEOF
25365 #define HAVE___BUILTIN_FABSF 1
25366 _ACEOF
25373 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25374 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25375 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25376 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25377 echo $ECHO_N "(cached) $ECHO_C" >&6
25378 else
25382 ac_ext=cc
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388 cat >conftest.$ac_ext <<_ACEOF
25389 /* confdefs.h. */
25390 _ACEOF
25391 cat confdefs.h >>conftest.$ac_ext
25392 cat >>conftest.$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25394 #include <math.h>
25396 main ()
25398 __builtin_fabs(0);
25400 return 0;
25402 _ACEOF
25403 rm -f conftest.$ac_objext
25404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25405 (eval $ac_compile) 2>conftest.er1
25406 ac_status=$?
25407 grep -v '^ *+' conftest.er1 >conftest.err
25408 rm -f conftest.er1
25409 cat conftest.err >&5
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); } &&
25412 { ac_try='test -z "$ac_cxx_werror_flag"
25413 || test ! -s conftest.err'
25414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25415 (eval $ac_try) 2>&5
25416 ac_status=$?
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; } &&
25419 { ac_try='test -s conftest.$ac_objext'
25420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421 (eval $ac_try) 2>&5
25422 ac_status=$?
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; }; then
25425 glibcxx_cv_func___builtin_fabs_use=yes
25426 else
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.$ac_ext >&5
25430 glibcxx_cv_func___builtin_fabs_use=no
25432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25433 ac_ext=c
25434 ac_cpp='$CPP $CPPFLAGS'
25435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25444 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25445 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25446 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25447 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25448 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25449 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25450 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 else
25453 if test x$gcc_no_link = xyes; then
25454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25456 { (exit 1); exit 1; }; }
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h. */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 #include <math.h>
25466 main ()
25468 __builtin_fabs(0);
25470 return 0;
25472 _ACEOF
25473 rm -f conftest.$ac_objext conftest$ac_exeext
25474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25475 (eval $ac_link) 2>conftest.er1
25476 ac_status=$?
25477 grep -v '^ *+' conftest.er1 >conftest.err
25478 rm -f conftest.er1
25479 cat conftest.err >&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } &&
25482 { ac_try='test -z "$ac_c_werror_flag"
25483 || test ! -s conftest.err'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25486 ac_status=$?
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; } &&
25489 { ac_try='test -s conftest$ac_exeext'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25492 ac_status=$?
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; }; then
25495 glibcxx_cv_func___builtin_fabs_link=yes
25496 else
25497 echo "$as_me: failed program was:" >&5
25498 sed 's/^/| /' conftest.$ac_ext >&5
25500 glibcxx_cv_func___builtin_fabs_link=no
25502 rm -f conftest.err conftest.$ac_objext \
25503 conftest$ac_exeext conftest.$ac_ext
25508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25509 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25511 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25513 cat >>confdefs.h <<\_ACEOF
25514 #define HAVE___BUILTIN_FABS 1
25515 _ACEOF
25522 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25523 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25524 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25525 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 else
25531 ac_ext=cc
25532 ac_cpp='$CXXCPP $CPPFLAGS'
25533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25537 cat >conftest.$ac_ext <<_ACEOF
25538 /* confdefs.h. */
25539 _ACEOF
25540 cat confdefs.h >>conftest.$ac_ext
25541 cat >>conftest.$ac_ext <<_ACEOF
25542 /* end confdefs.h. */
25543 #include <math.h>
25545 main ()
25547 __builtin_fabsl(0);
25549 return 0;
25551 _ACEOF
25552 rm -f conftest.$ac_objext
25553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25554 (eval $ac_compile) 2>conftest.er1
25555 ac_status=$?
25556 grep -v '^ *+' conftest.er1 >conftest.err
25557 rm -f conftest.er1
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } &&
25561 { ac_try='test -z "$ac_cxx_werror_flag"
25562 || test ! -s conftest.err'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25565 ac_status=$?
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; } &&
25568 { ac_try='test -s conftest.$ac_objext'
25569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25570 (eval $ac_try) 2>&5
25571 ac_status=$?
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); }; }; then
25574 glibcxx_cv_func___builtin_fabsl_use=yes
25575 else
25576 echo "$as_me: failed program was:" >&5
25577 sed 's/^/| /' conftest.$ac_ext >&5
25579 glibcxx_cv_func___builtin_fabsl_use=no
25581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25582 ac_ext=c
25583 ac_cpp='$CPP $CPPFLAGS'
25584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25593 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25594 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25595 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25596 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25597 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25598 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25602 if test x$gcc_no_link = xyes; then
25603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25605 { (exit 1); exit 1; }; }
25607 cat >conftest.$ac_ext <<_ACEOF
25608 /* confdefs.h. */
25609 _ACEOF
25610 cat confdefs.h >>conftest.$ac_ext
25611 cat >>conftest.$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25613 #include <math.h>
25615 main ()
25617 __builtin_fabsl(0);
25619 return 0;
25621 _ACEOF
25622 rm -f conftest.$ac_objext conftest$ac_exeext
25623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25624 (eval $ac_link) 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } &&
25631 { ac_try='test -z "$ac_c_werror_flag"
25632 || test ! -s conftest.err'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; } &&
25638 { ac_try='test -s conftest$ac_exeext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25641 ac_status=$?
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 glibcxx_cv_func___builtin_fabsl_link=yes
25645 else
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25649 glibcxx_cv_func___builtin_fabsl_link=no
25651 rm -f conftest.err conftest.$ac_objext \
25652 conftest$ac_exeext conftest.$ac_ext
25657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25658 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25660 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25662 cat >>confdefs.h <<\_ACEOF
25663 #define HAVE___BUILTIN_FABSL 1
25664 _ACEOF
25671 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25672 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25673 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25674 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25675 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 else
25680 ac_ext=cc
25681 ac_cpp='$CXXCPP $CPPFLAGS'
25682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25686 cat >conftest.$ac_ext <<_ACEOF
25687 /* confdefs.h. */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692 #include <math.h>
25694 main ()
25696 __builtin_labs(0);
25698 return 0;
25700 _ACEOF
25701 rm -f conftest.$ac_objext
25702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25703 (eval $ac_compile) 2>conftest.er1
25704 ac_status=$?
25705 grep -v '^ *+' conftest.er1 >conftest.err
25706 rm -f conftest.er1
25707 cat conftest.err >&5
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); } &&
25710 { ac_try='test -z "$ac_cxx_werror_flag"
25711 || test ! -s conftest.err'
25712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713 (eval $ac_try) 2>&5
25714 ac_status=$?
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); }; } &&
25717 { ac_try='test -s conftest.$ac_objext'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25720 ac_status=$?
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; }; then
25723 glibcxx_cv_func___builtin_labs_use=yes
25724 else
25725 echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.$ac_ext >&5
25728 glibcxx_cv_func___builtin_labs_use=no
25730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25731 ac_ext=c
25732 ac_cpp='$CPP $CPPFLAGS'
25733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25742 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25743 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25744 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25745 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25746 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25747 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25751 if test x$gcc_no_link = xyes; then
25752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25754 { (exit 1); exit 1; }; }
25756 cat >conftest.$ac_ext <<_ACEOF
25757 /* confdefs.h. */
25758 _ACEOF
25759 cat confdefs.h >>conftest.$ac_ext
25760 cat >>conftest.$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25762 #include <math.h>
25764 main ()
25766 __builtin_labs(0);
25768 return 0;
25770 _ACEOF
25771 rm -f conftest.$ac_objext conftest$ac_exeext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25773 (eval $ac_link) 2>conftest.er1
25774 ac_status=$?
25775 grep -v '^ *+' conftest.er1 >conftest.err
25776 rm -f conftest.er1
25777 cat conftest.err >&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } &&
25780 { ac_try='test -z "$ac_c_werror_flag"
25781 || test ! -s conftest.err'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25784 ac_status=$?
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; } &&
25787 { ac_try='test -s conftest$ac_exeext'
25788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789 (eval $ac_try) 2>&5
25790 ac_status=$?
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); }; }; then
25793 glibcxx_cv_func___builtin_labs_link=yes
25794 else
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.$ac_ext >&5
25798 glibcxx_cv_func___builtin_labs_link=no
25800 rm -f conftest.err conftest.$ac_objext \
25801 conftest$ac_exeext conftest.$ac_ext
25806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25807 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25809 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25811 cat >>confdefs.h <<\_ACEOF
25812 #define HAVE___BUILTIN_LABS 1
25813 _ACEOF
25821 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25822 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25823 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25824 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25825 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 else
25830 ac_ext=cc
25831 ac_cpp='$CXXCPP $CPPFLAGS'
25832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842 #include <math.h>
25844 main ()
25846 __builtin_sqrtf(0);
25848 return 0;
25850 _ACEOF
25851 rm -f conftest.$ac_objext
25852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25853 (eval $ac_compile) 2>conftest.er1
25854 ac_status=$?
25855 grep -v '^ *+' conftest.er1 >conftest.err
25856 rm -f conftest.er1
25857 cat conftest.err >&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } &&
25860 { ac_try='test -z "$ac_cxx_werror_flag"
25861 || test ! -s conftest.err'
25862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25863 (eval $ac_try) 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; } &&
25867 { ac_try='test -s conftest.$ac_objext'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25870 ac_status=$?
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; }; then
25873 glibcxx_cv_func___builtin_sqrtf_use=yes
25874 else
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25878 glibcxx_cv_func___builtin_sqrtf_use=no
25880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25881 ac_ext=c
25882 ac_cpp='$CPP $CPPFLAGS'
25883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25891 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25892 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25893 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25894 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25895 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25896 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25897 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25898 echo $ECHO_N "(cached) $ECHO_C" >&6
25899 else
25901 if test x$gcc_no_link = xyes; then
25902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25904 { (exit 1); exit 1; }; }
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_sqrtf(0);
25918 return 0;
25920 _ACEOF
25921 rm -f conftest.$ac_objext conftest$ac_exeext
25922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25923 (eval $ac_link) 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_c_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_exeext'
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_sqrtf_link=yes
25944 else
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.$ac_ext >&5
25948 glibcxx_cv_func___builtin_sqrtf_link=no
25950 rm -f conftest.err conftest.$ac_objext \
25951 conftest$ac_exeext conftest.$ac_ext
25956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25957 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25959 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25961 cat >>confdefs.h <<\_ACEOF
25962 #define HAVE___BUILTIN_SQRTF 1
25963 _ACEOF
25970 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25971 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25972 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25973 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
25974 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 else
25979 ac_ext=cc
25980 ac_cpp='$CXXCPP $CPPFLAGS'
25981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25985 cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h. */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991 #include <math.h>
25993 main ()
25995 __builtin_sqrt(0);
25997 return 0;
25999 _ACEOF
26000 rm -f conftest.$ac_objext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26002 (eval $ac_compile) 2>conftest.er1
26003 ac_status=$?
26004 grep -v '^ *+' conftest.er1 >conftest.err
26005 rm -f conftest.er1
26006 cat conftest.err >&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); } &&
26009 { ac_try='test -z "$ac_cxx_werror_flag"
26010 || test ! -s conftest.err'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26013 ac_status=$?
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; } &&
26016 { ac_try='test -s conftest.$ac_objext'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; }; then
26022 glibcxx_cv_func___builtin_sqrt_use=yes
26023 else
26024 echo "$as_me: failed program was:" >&5
26025 sed 's/^/| /' conftest.$ac_ext >&5
26027 glibcxx_cv_func___builtin_sqrt_use=no
26029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26030 ac_ext=c
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26041 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26042 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26043 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26044 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26045 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26046 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 else
26050 if test x$gcc_no_link = xyes; then
26051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26053 { (exit 1); exit 1; }; }
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_sqrt(0);
26067 return 0;
26069 _ACEOF
26070 rm -f conftest.$ac_objext conftest$ac_exeext
26071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26072 (eval $ac_link) 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_c_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_exeext'
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_sqrt_link=yes
26093 else
26094 echo "$as_me: failed program was:" >&5
26095 sed 's/^/| /' conftest.$ac_ext >&5
26097 glibcxx_cv_func___builtin_sqrt_link=no
26099 rm -f conftest.err conftest.$ac_objext \
26100 conftest$ac_exeext conftest.$ac_ext
26105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26108 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26110 cat >>confdefs.h <<\_ACEOF
26111 #define HAVE___BUILTIN_SQRT 1
26112 _ACEOF
26119 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26120 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26121 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26122 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26123 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 else
26128 ac_ext=cc
26129 ac_cpp='$CXXCPP $CPPFLAGS'
26130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134 cat >conftest.$ac_ext <<_ACEOF
26135 /* confdefs.h. */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140 #include <math.h>
26142 main ()
26144 __builtin_sqrtl(0);
26146 return 0;
26148 _ACEOF
26149 rm -f conftest.$ac_objext
26150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26151 (eval $ac_compile) 2>conftest.er1
26152 ac_status=$?
26153 grep -v '^ *+' conftest.er1 >conftest.err
26154 rm -f conftest.er1
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } &&
26158 { ac_try='test -z "$ac_cxx_werror_flag"
26159 || test ! -s conftest.err'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26162 ac_status=$?
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; } &&
26165 { ac_try='test -s conftest.$ac_objext'
26166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26167 (eval $ac_try) 2>&5
26168 ac_status=$?
26169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26170 (exit $ac_status); }; }; then
26171 glibcxx_cv_func___builtin_sqrtl_use=yes
26172 else
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26176 glibcxx_cv_func___builtin_sqrtl_use=no
26178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26179 ac_ext=c
26180 ac_cpp='$CPP $CPPFLAGS'
26181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26189 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26190 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26191 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26192 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26193 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26194 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26195 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26196 echo $ECHO_N "(cached) $ECHO_C" >&6
26197 else
26199 if test x$gcc_no_link = xyes; then
26200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26202 { (exit 1); exit 1; }; }
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26210 #include <math.h>
26212 main ()
26214 __builtin_sqrtl(0);
26216 return 0;
26218 _ACEOF
26219 rm -f conftest.$ac_objext conftest$ac_exeext
26220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26221 (eval $ac_link) 2>conftest.er1
26222 ac_status=$?
26223 grep -v '^ *+' conftest.er1 >conftest.err
26224 rm -f conftest.er1
26225 cat conftest.err >&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); } &&
26228 { ac_try='test -z "$ac_c_werror_flag"
26229 || test ! -s conftest.err'
26230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231 (eval $ac_try) 2>&5
26232 ac_status=$?
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); }; } &&
26235 { ac_try='test -s conftest$ac_exeext'
26236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26237 (eval $ac_try) 2>&5
26238 ac_status=$?
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); }; }; then
26241 glibcxx_cv_func___builtin_sqrtl_link=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26246 glibcxx_cv_func___builtin_sqrtl_link=no
26248 rm -f conftest.err conftest.$ac_objext \
26249 conftest$ac_exeext conftest.$ac_ext
26254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26257 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26259 cat >>confdefs.h <<\_ACEOF
26260 #define HAVE___BUILTIN_SQRTL 1
26261 _ACEOF
26269 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26270 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26271 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26272 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26278 ac_ext=cc
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <math.h>
26292 main ()
26294 __builtin_sinf(0);
26296 return 0;
26298 _ACEOF
26299 rm -f conftest.$ac_objext
26300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26301 (eval $ac_compile) 2>conftest.er1
26302 ac_status=$?
26303 grep -v '^ *+' conftest.er1 >conftest.err
26304 rm -f conftest.er1
26305 cat conftest.err >&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); } &&
26308 { ac_try='test -z "$ac_cxx_werror_flag"
26309 || test ! -s conftest.err'
26310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311 (eval $ac_try) 2>&5
26312 ac_status=$?
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); }; } &&
26315 { ac_try='test -s conftest.$ac_objext'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26318 ac_status=$?
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26321 glibcxx_cv_func___builtin_sinf_use=yes
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26326 glibcxx_cv_func___builtin_sinf_use=no
26328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26329 ac_ext=c
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26340 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26341 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26342 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26343 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26344 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26345 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26349 if test x$gcc_no_link = xyes; then
26350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26352 { (exit 1); exit 1; }; }
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <math.h>
26362 main ()
26364 __builtin_sinf(0);
26366 return 0;
26368 _ACEOF
26369 rm -f conftest.$ac_objext conftest$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_c_werror_flag"
26379 || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest$ac_exeext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 glibcxx_cv_func___builtin_sinf_link=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26396 glibcxx_cv_func___builtin_sinf_link=no
26398 rm -f conftest.err conftest.$ac_objext \
26399 conftest$ac_exeext conftest.$ac_ext
26404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26405 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26407 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define HAVE___BUILTIN_SINF 1
26411 _ACEOF
26418 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26419 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26420 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26421 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26427 ac_ext=cc
26428 ac_cpp='$CXXCPP $CPPFLAGS'
26429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433 cat >conftest.$ac_ext <<_ACEOF
26434 /* confdefs.h. */
26435 _ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26439 #include <math.h>
26441 main ()
26443 __builtin_sin(0);
26445 return 0;
26447 _ACEOF
26448 rm -f conftest.$ac_objext
26449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26450 (eval $ac_compile) 2>conftest.er1
26451 ac_status=$?
26452 grep -v '^ *+' conftest.er1 >conftest.err
26453 rm -f conftest.er1
26454 cat conftest.err >&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); } &&
26457 { ac_try='test -z "$ac_cxx_werror_flag"
26458 || test ! -s conftest.err'
26459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460 (eval $ac_try) 2>&5
26461 ac_status=$?
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; } &&
26464 { ac_try='test -s conftest.$ac_objext'
26465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 (eval $ac_try) 2>&5
26467 ac_status=$?
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; }; then
26470 glibcxx_cv_func___builtin_sin_use=yes
26471 else
26472 echo "$as_me: failed program was:" >&5
26473 sed 's/^/| /' conftest.$ac_ext >&5
26475 glibcxx_cv_func___builtin_sin_use=no
26477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26478 ac_ext=c
26479 ac_cpp='$CPP $CPPFLAGS'
26480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26489 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26490 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26491 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26492 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26493 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26494 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26496 else
26498 if test x$gcc_no_link = xyes; then
26499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26501 { (exit 1); exit 1; }; }
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509 #include <math.h>
26511 main ()
26513 __builtin_sin(0);
26515 return 0;
26517 _ACEOF
26518 rm -f conftest.$ac_objext conftest$ac_exeext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>conftest.er1
26521 ac_status=$?
26522 grep -v '^ *+' conftest.er1 >conftest.err
26523 rm -f conftest.er1
26524 cat conftest.err >&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try='test -z "$ac_c_werror_flag"
26528 || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest$ac_exeext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 glibcxx_cv_func___builtin_sin_link=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26545 glibcxx_cv_func___builtin_sin_link=no
26547 rm -f conftest.err conftest.$ac_objext \
26548 conftest$ac_exeext conftest.$ac_ext
26553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26554 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26556 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26558 cat >>confdefs.h <<\_ACEOF
26559 #define HAVE___BUILTIN_SIN 1
26560 _ACEOF
26567 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26568 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26569 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26570 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26571 echo $ECHO_N "(cached) $ECHO_C" >&6
26572 else
26576 ac_ext=cc
26577 ac_cpp='$CXXCPP $CPPFLAGS'
26578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26582 cat >conftest.$ac_ext <<_ACEOF
26583 /* confdefs.h. */
26584 _ACEOF
26585 cat confdefs.h >>conftest.$ac_ext
26586 cat >>conftest.$ac_ext <<_ACEOF
26587 /* end confdefs.h. */
26588 #include <math.h>
26590 main ()
26592 __builtin_sinl(0);
26594 return 0;
26596 _ACEOF
26597 rm -f conftest.$ac_objext
26598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26599 (eval $ac_compile) 2>conftest.er1
26600 ac_status=$?
26601 grep -v '^ *+' conftest.er1 >conftest.err
26602 rm -f conftest.er1
26603 cat conftest.err >&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); } &&
26606 { ac_try='test -z "$ac_cxx_werror_flag"
26607 || test ! -s conftest.err'
26608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609 (eval $ac_try) 2>&5
26610 ac_status=$?
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; } &&
26613 { ac_try='test -s conftest.$ac_objext'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26616 ac_status=$?
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; }; then
26619 glibcxx_cv_func___builtin_sinl_use=yes
26620 else
26621 echo "$as_me: failed program was:" >&5
26622 sed 's/^/| /' conftest.$ac_ext >&5
26624 glibcxx_cv_func___builtin_sinl_use=no
26626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26627 ac_ext=c
26628 ac_cpp='$CPP $CPPFLAGS'
26629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26637 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26638 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26639 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26640 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26641 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26642 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26643 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26645 else
26647 if test x$gcc_no_link = xyes; then
26648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26650 { (exit 1); exit 1; }; }
26652 cat >conftest.$ac_ext <<_ACEOF
26653 /* confdefs.h. */
26654 _ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658 #include <math.h>
26660 main ()
26662 __builtin_sinl(0);
26664 return 0;
26666 _ACEOF
26667 rm -f conftest.$ac_objext conftest$ac_exeext
26668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26669 (eval $ac_link) 2>conftest.er1
26670 ac_status=$?
26671 grep -v '^ *+' conftest.er1 >conftest.err
26672 rm -f conftest.er1
26673 cat conftest.err >&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } &&
26676 { ac_try='test -z "$ac_c_werror_flag"
26677 || test ! -s conftest.err'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; } &&
26683 { ac_try='test -s conftest$ac_exeext'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26686 ac_status=$?
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 glibcxx_cv_func___builtin_sinl_link=yes
26690 else
26691 echo "$as_me: failed program was:" >&5
26692 sed 's/^/| /' conftest.$ac_ext >&5
26694 glibcxx_cv_func___builtin_sinl_link=no
26696 rm -f conftest.err conftest.$ac_objext \
26697 conftest$ac_exeext conftest.$ac_ext
26702 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26703 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26705 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26707 cat >>confdefs.h <<\_ACEOF
26708 #define HAVE___BUILTIN_SINL 1
26709 _ACEOF
26717 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26718 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26719 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26720 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26726 ac_ext=cc
26727 ac_cpp='$CXXCPP $CPPFLAGS'
26728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26732 cat >conftest.$ac_ext <<_ACEOF
26733 /* confdefs.h. */
26734 _ACEOF
26735 cat confdefs.h >>conftest.$ac_ext
26736 cat >>conftest.$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26738 #include <math.h>
26740 main ()
26742 __builtin_cosf(0);
26744 return 0;
26746 _ACEOF
26747 rm -f conftest.$ac_objext
26748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26749 (eval $ac_compile) 2>conftest.er1
26750 ac_status=$?
26751 grep -v '^ *+' conftest.er1 >conftest.err
26752 rm -f conftest.er1
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } &&
26756 { ac_try='test -z "$ac_cxx_werror_flag"
26757 || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try='test -s conftest.$ac_objext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 glibcxx_cv_func___builtin_cosf_use=yes
26770 else
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.$ac_ext >&5
26774 glibcxx_cv_func___builtin_cosf_use=no
26776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26777 ac_ext=c
26778 ac_cpp='$CPP $CPPFLAGS'
26779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26788 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26789 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26790 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26791 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26792 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26793 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 else
26797 if test x$gcc_no_link = xyes; then
26798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26800 { (exit 1); exit 1; }; }
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808 #include <math.h>
26810 main ()
26812 __builtin_cosf(0);
26814 return 0;
26816 _ACEOF
26817 rm -f conftest.$ac_objext conftest$ac_exeext
26818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26819 (eval $ac_link) 2>conftest.er1
26820 ac_status=$?
26821 grep -v '^ *+' conftest.er1 >conftest.err
26822 rm -f conftest.er1
26823 cat conftest.err >&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } &&
26826 { ac_try='test -z "$ac_c_werror_flag"
26827 || test ! -s conftest.err'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26830 ac_status=$?
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; } &&
26833 { ac_try='test -s conftest$ac_exeext'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; }; then
26839 glibcxx_cv_func___builtin_cosf_link=yes
26840 else
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.$ac_ext >&5
26844 glibcxx_cv_func___builtin_cosf_link=no
26846 rm -f conftest.err conftest.$ac_objext \
26847 conftest$ac_exeext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26853 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26855 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26857 cat >>confdefs.h <<\_ACEOF
26858 #define HAVE___BUILTIN_COSF 1
26859 _ACEOF
26866 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26867 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26868 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26869 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26875 ac_ext=cc
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat >conftest.$ac_ext <<_ACEOF
26882 /* confdefs.h. */
26883 _ACEOF
26884 cat confdefs.h >>conftest.$ac_ext
26885 cat >>conftest.$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 #include <math.h>
26889 main ()
26891 __builtin_cos(0);
26893 return 0;
26895 _ACEOF
26896 rm -f conftest.$ac_objext
26897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26898 (eval $ac_compile) 2>conftest.er1
26899 ac_status=$?
26900 grep -v '^ *+' conftest.er1 >conftest.err
26901 rm -f conftest.er1
26902 cat conftest.err >&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try='test -z "$ac_cxx_werror_flag"
26906 || test ! -s conftest.err'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26909 ac_status=$?
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; } &&
26912 { ac_try='test -s conftest.$ac_objext'
26913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26914 (eval $ac_try) 2>&5
26915 ac_status=$?
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 glibcxx_cv_func___builtin_cos_use=yes
26919 else
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26923 glibcxx_cv_func___builtin_cos_use=no
26925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26926 ac_ext=c
26927 ac_cpp='$CPP $CPPFLAGS'
26928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26936 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26937 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26938 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26939 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26940 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26941 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26942 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26943 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 else
26946 if test x$gcc_no_link = xyes; then
26947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949 { (exit 1); exit 1; }; }
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 #include <math.h>
26959 main ()
26961 __builtin_cos(0);
26963 return 0;
26965 _ACEOF
26966 rm -f conftest.$ac_objext conftest$ac_exeext
26967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26968 (eval $ac_link) 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } &&
26975 { ac_try='test -z "$ac_c_werror_flag"
26976 || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest$ac_exeext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 glibcxx_cv_func___builtin_cos_link=yes
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26993 glibcxx_cv_func___builtin_cos_link=no
26995 rm -f conftest.err conftest.$ac_objext \
26996 conftest$ac_exeext conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27002 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27004 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE___BUILTIN_COS 1
27008 _ACEOF
27015 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27016 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27017 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27018 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 else
27024 ac_ext=cc
27025 ac_cpp='$CXXCPP $CPPFLAGS'
27026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27030 cat >conftest.$ac_ext <<_ACEOF
27031 /* confdefs.h. */
27032 _ACEOF
27033 cat confdefs.h >>conftest.$ac_ext
27034 cat >>conftest.$ac_ext <<_ACEOF
27035 /* end confdefs.h. */
27036 #include <math.h>
27038 main ()
27040 __builtin_cosl(0);
27042 return 0;
27044 _ACEOF
27045 rm -f conftest.$ac_objext
27046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27047 (eval $ac_compile) 2>conftest.er1
27048 ac_status=$?
27049 grep -v '^ *+' conftest.er1 >conftest.err
27050 rm -f conftest.er1
27051 cat conftest.err >&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try='test -z "$ac_cxx_werror_flag"
27055 || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27058 ac_status=$?
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try='test -s conftest.$ac_objext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 glibcxx_cv_func___builtin_cosl_use=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27072 glibcxx_cv_func___builtin_cosl_use=no
27074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27075 ac_ext=c
27076 ac_cpp='$CPP $CPPFLAGS'
27077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27085 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27086 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27087 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27088 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27089 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27090 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27091 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27092 echo $ECHO_N "(cached) $ECHO_C" >&6
27093 else
27095 if test x$gcc_no_link = xyes; then
27096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27098 { (exit 1); exit 1; }; }
27100 cat >conftest.$ac_ext <<_ACEOF
27101 /* confdefs.h. */
27102 _ACEOF
27103 cat confdefs.h >>conftest.$ac_ext
27104 cat >>conftest.$ac_ext <<_ACEOF
27105 /* end confdefs.h. */
27106 #include <math.h>
27108 main ()
27110 __builtin_cosl(0);
27112 return 0;
27114 _ACEOF
27115 rm -f conftest.$ac_objext conftest$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 glibcxx_cv_func___builtin_cosl_link=yes
27138 else
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.$ac_ext >&5
27142 glibcxx_cv_func___builtin_cosl_link=no
27144 rm -f conftest.err conftest.$ac_objext \
27145 conftest$ac_exeext conftest.$ac_ext
27150 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27151 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27153 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27155 cat >>confdefs.h <<\_ACEOF
27156 #define HAVE___BUILTIN_COSL 1
27157 _ACEOF
27166 echo "$as_me:$LINENO: checking for main in -lm" >&5
27167 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27168 if test "${ac_cv_lib_m_main+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27171 ac_check_lib_save_LIBS=$LIBS
27172 LIBS="-lm $LIBS"
27173 if test x$gcc_no_link = xyes; then
27174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27176 { (exit 1); exit 1; }; }
27178 cat >conftest.$ac_ext <<_ACEOF
27179 /* confdefs.h. */
27180 _ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27187 main ()
27189 main ();
27191 return 0;
27193 _ACEOF
27194 rm -f conftest.$ac_objext conftest$ac_exeext
27195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27196 (eval $ac_link) 2>conftest.er1
27197 ac_status=$?
27198 grep -v '^ *+' conftest.er1 >conftest.err
27199 rm -f conftest.er1
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } &&
27203 { ac_try='test -z "$ac_c_werror_flag"
27204 || test ! -s conftest.err'
27205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27206 (eval $ac_try) 2>&5
27207 ac_status=$?
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); }; } &&
27210 { ac_try='test -s conftest$ac_exeext'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27213 ac_status=$?
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; }; then
27216 ac_cv_lib_m_main=yes
27217 else
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27221 ac_cv_lib_m_main=no
27223 rm -f conftest.err conftest.$ac_objext \
27224 conftest$ac_exeext conftest.$ac_ext
27225 LIBS=$ac_check_lib_save_LIBS
27227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27228 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27229 if test $ac_cv_lib_m_main = yes; then
27230 cat >>confdefs.h <<_ACEOF
27231 #define HAVE_LIBM 1
27232 _ACEOF
27234 LIBS="-lm $LIBS"
27239 for ac_func in copysignf
27241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27242 echo "$as_me:$LINENO: checking for $ac_func" >&5
27243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27244 if eval "test \"\${$as_ac_var+set}\" = set"; then
27245 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 else
27247 if test x$gcc_no_link = xyes; then
27248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27250 { (exit 1); exit 1; }; }
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27260 #define $ac_func innocuous_$ac_func
27262 /* System header to define __stub macros and hopefully few prototypes,
27263 which can conflict with char $ac_func (); below.
27264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27265 <limits.h> exists even on freestanding compilers. */
27267 #ifdef __STDC__
27268 # include <limits.h>
27269 #else
27270 # include <assert.h>
27271 #endif
27273 #undef $ac_func
27275 /* Override any gcc2 internal prototype to avoid an error. */
27276 #ifdef __cplusplus
27277 extern "C"
27279 #endif
27280 /* We use char because int might match the return type of a gcc2
27281 builtin and then its argument prototype would still apply. */
27282 char $ac_func ();
27283 /* The GNU C library defines this for functions which it implements
27284 to always fail with ENOSYS. Some functions are actually named
27285 something starting with __ and the normal name is an alias. */
27286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27287 choke me
27288 #else
27289 char (*f) () = $ac_func;
27290 #endif
27291 #ifdef __cplusplus
27293 #endif
27296 main ()
27298 return f != $ac_func;
27300 return 0;
27302 _ACEOF
27303 rm -f conftest.$ac_objext conftest$ac_exeext
27304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27305 (eval $ac_link) 2>conftest.er1
27306 ac_status=$?
27307 grep -v '^ *+' conftest.er1 >conftest.err
27308 rm -f conftest.er1
27309 cat conftest.err >&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } &&
27312 { ac_try='test -z "$ac_c_werror_flag"
27313 || test ! -s conftest.err'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27316 ac_status=$?
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; } &&
27319 { ac_try='test -s conftest$ac_exeext'
27320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321 (eval $ac_try) 2>&5
27322 ac_status=$?
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); }; }; then
27325 eval "$as_ac_var=yes"
27326 else
27327 echo "$as_me: failed program was:" >&5
27328 sed 's/^/| /' conftest.$ac_ext >&5
27330 eval "$as_ac_var=no"
27332 rm -f conftest.err conftest.$ac_objext \
27333 conftest$ac_exeext conftest.$ac_ext
27335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27337 if test `eval echo '${'$as_ac_var'}'` = yes; then
27338 cat >>confdefs.h <<_ACEOF
27339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27340 _ACEOF
27342 else
27343 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27345 done
27349 for ac_func in __signbit
27351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27352 echo "$as_me:$LINENO: checking for $ac_func" >&5
27353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27354 if eval "test \"\${$as_ac_var+set}\" = set"; then
27355 echo $ECHO_N "(cached) $ECHO_C" >&6
27356 else
27357 if test x$gcc_no_link = xyes; then
27358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27360 { (exit 1); exit 1; }; }
27362 cat >conftest.$ac_ext <<_ACEOF
27363 /* confdefs.h. */
27364 _ACEOF
27365 cat confdefs.h >>conftest.$ac_ext
27366 cat >>conftest.$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27370 #define $ac_func innocuous_$ac_func
27372 /* System header to define __stub macros and hopefully few prototypes,
27373 which can conflict with char $ac_func (); below.
27374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27375 <limits.h> exists even on freestanding compilers. */
27377 #ifdef __STDC__
27378 # include <limits.h>
27379 #else
27380 # include <assert.h>
27381 #endif
27383 #undef $ac_func
27385 /* Override any gcc2 internal prototype to avoid an error. */
27386 #ifdef __cplusplus
27387 extern "C"
27389 #endif
27390 /* We use char because int might match the return type of a gcc2
27391 builtin and then its argument prototype would still apply. */
27392 char $ac_func ();
27393 /* The GNU C library defines this for functions which it implements
27394 to always fail with ENOSYS. Some functions are actually named
27395 something starting with __ and the normal name is an alias. */
27396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27397 choke me
27398 #else
27399 char (*f) () = $ac_func;
27400 #endif
27401 #ifdef __cplusplus
27403 #endif
27406 main ()
27408 return f != $ac_func;
27410 return 0;
27412 _ACEOF
27413 rm -f conftest.$ac_objext conftest$ac_exeext
27414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27415 (eval $ac_link) 2>conftest.er1
27416 ac_status=$?
27417 grep -v '^ *+' conftest.er1 >conftest.err
27418 rm -f conftest.er1
27419 cat conftest.err >&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); } &&
27422 { ac_try='test -z "$ac_c_werror_flag"
27423 || test ! -s conftest.err'
27424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425 (eval $ac_try) 2>&5
27426 ac_status=$?
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; } &&
27429 { ac_try='test -s conftest$ac_exeext'
27430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27431 (eval $ac_try) 2>&5
27432 ac_status=$?
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); }; }; then
27435 eval "$as_ac_var=yes"
27436 else
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.$ac_ext >&5
27440 eval "$as_ac_var=no"
27442 rm -f conftest.err conftest.$ac_objext \
27443 conftest$ac_exeext conftest.$ac_ext
27445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27447 if test `eval echo '${'$as_ac_var'}'` = yes; then
27448 cat >>confdefs.h <<_ACEOF
27449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27450 _ACEOF
27452 else
27453 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27455 done
27459 for ac_func in __signbitf
27461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27462 echo "$as_me:$LINENO: checking for $ac_func" >&5
27463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27464 if eval "test \"\${$as_ac_var+set}\" = set"; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 else
27467 if test x$gcc_no_link = xyes; then
27468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27470 { (exit 1); exit 1; }; }
27472 cat >conftest.$ac_ext <<_ACEOF
27473 /* confdefs.h. */
27474 _ACEOF
27475 cat confdefs.h >>conftest.$ac_ext
27476 cat >>conftest.$ac_ext <<_ACEOF
27477 /* end confdefs.h. */
27478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27480 #define $ac_func innocuous_$ac_func
27482 /* System header to define __stub macros and hopefully few prototypes,
27483 which can conflict with char $ac_func (); below.
27484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27485 <limits.h> exists even on freestanding compilers. */
27487 #ifdef __STDC__
27488 # include <limits.h>
27489 #else
27490 # include <assert.h>
27491 #endif
27493 #undef $ac_func
27495 /* Override any gcc2 internal prototype to avoid an error. */
27496 #ifdef __cplusplus
27497 extern "C"
27499 #endif
27500 /* We use char because int might match the return type of a gcc2
27501 builtin and then its argument prototype would still apply. */
27502 char $ac_func ();
27503 /* The GNU C library defines this for functions which it implements
27504 to always fail with ENOSYS. Some functions are actually named
27505 something starting with __ and the normal name is an alias. */
27506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27507 choke me
27508 #else
27509 char (*f) () = $ac_func;
27510 #endif
27511 #ifdef __cplusplus
27513 #endif
27516 main ()
27518 return f != $ac_func;
27520 return 0;
27522 _ACEOF
27523 rm -f conftest.$ac_objext conftest$ac_exeext
27524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27525 (eval $ac_link) 2>conftest.er1
27526 ac_status=$?
27527 grep -v '^ *+' conftest.er1 >conftest.err
27528 rm -f conftest.er1
27529 cat conftest.err >&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } &&
27532 { ac_try='test -z "$ac_c_werror_flag"
27533 || test ! -s conftest.err'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27536 ac_status=$?
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; } &&
27539 { ac_try='test -s conftest$ac_exeext'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27542 ac_status=$?
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; }; then
27545 eval "$as_ac_var=yes"
27546 else
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27550 eval "$as_ac_var=no"
27552 rm -f conftest.err conftest.$ac_objext \
27553 conftest$ac_exeext conftest.$ac_ext
27555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27557 if test `eval echo '${'$as_ac_var'}'` = yes; then
27558 cat >>confdefs.h <<_ACEOF
27559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27560 _ACEOF
27562 else
27563 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27565 done
27568 if test x$ac_cv_func_copysignl = x"yes"; then
27570 for ac_func in __signbitl
27572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27573 echo "$as_me:$LINENO: checking for $ac_func" >&5
27574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27575 if eval "test \"\${$as_ac_var+set}\" = set"; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 if test x$gcc_no_link = xyes; then
27579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27581 { (exit 1); exit 1; }; }
27583 cat >conftest.$ac_ext <<_ACEOF
27584 /* confdefs.h. */
27585 _ACEOF
27586 cat confdefs.h >>conftest.$ac_ext
27587 cat >>conftest.$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27591 #define $ac_func innocuous_$ac_func
27593 /* System header to define __stub macros and hopefully few prototypes,
27594 which can conflict with char $ac_func (); below.
27595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27596 <limits.h> exists even on freestanding compilers. */
27598 #ifdef __STDC__
27599 # include <limits.h>
27600 #else
27601 # include <assert.h>
27602 #endif
27604 #undef $ac_func
27606 /* Override any gcc2 internal prototype to avoid an error. */
27607 #ifdef __cplusplus
27608 extern "C"
27610 #endif
27611 /* We use char because int might match the return type of a gcc2
27612 builtin and then its argument prototype would still apply. */
27613 char $ac_func ();
27614 /* The GNU C library defines this for functions which it implements
27615 to always fail with ENOSYS. Some functions are actually named
27616 something starting with __ and the normal name is an alias. */
27617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27618 choke me
27619 #else
27620 char (*f) () = $ac_func;
27621 #endif
27622 #ifdef __cplusplus
27624 #endif
27627 main ()
27629 return f != $ac_func;
27631 return 0;
27633 _ACEOF
27634 rm -f conftest.$ac_objext conftest$ac_exeext
27635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27636 (eval $ac_link) 2>conftest.er1
27637 ac_status=$?
27638 grep -v '^ *+' conftest.er1 >conftest.err
27639 rm -f conftest.er1
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } &&
27643 { ac_try='test -z "$ac_c_werror_flag"
27644 || test ! -s conftest.err'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; } &&
27650 { ac_try='test -s conftest$ac_exeext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656 eval "$as_ac_var=yes"
27657 else
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27661 eval "$as_ac_var=no"
27663 rm -f conftest.err conftest.$ac_objext \
27664 conftest$ac_exeext conftest.$ac_ext
27666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27668 if test `eval echo '${'$as_ac_var'}'` = yes; then
27669 cat >>confdefs.h <<_ACEOF
27670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27671 _ACEOF
27673 else
27674 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27676 done
27680 # Used in libmath/Makefile.am.
27681 if test -n "$LIBMATHOBJS"; then
27682 need_libmath=yes
27688 enable_iconv=no
27689 # Only continue checking if the ISO C99 headers exist and support is on.
27690 if test x"$enable_wchar_t" = xyes; then
27692 # Use iconv for wchar_t to char conversions. As such, check for
27693 # X/Open Portability Guide, version 2 features (XPG2).
27694 if test "${ac_cv_header_iconv_h+set}" = set; then
27695 echo "$as_me:$LINENO: checking for iconv.h" >&5
27696 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
27697 if test "${ac_cv_header_iconv_h+set}" = set; then
27698 echo $ECHO_N "(cached) $ECHO_C" >&6
27700 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
27701 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
27702 else
27703 # Is the header compilable?
27704 echo "$as_me:$LINENO: checking iconv.h usability" >&5
27705 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
27706 cat >conftest.$ac_ext <<_ACEOF
27707 /* confdefs.h. */
27708 _ACEOF
27709 cat confdefs.h >>conftest.$ac_ext
27710 cat >>conftest.$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27712 $ac_includes_default
27713 #include <iconv.h>
27714 _ACEOF
27715 rm -f conftest.$ac_objext
27716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27717 (eval $ac_compile) 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } &&
27724 { ac_try='test -z "$ac_c_werror_flag"
27725 || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try='test -s conftest.$ac_objext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 ac_header_compiler=yes
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27742 ac_header_compiler=no
27744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27746 echo "${ECHO_T}$ac_header_compiler" >&6
27748 # Is the header present?
27749 echo "$as_me:$LINENO: checking iconv.h presence" >&5
27750 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
27751 cat >conftest.$ac_ext <<_ACEOF
27752 /* confdefs.h. */
27753 _ACEOF
27754 cat confdefs.h >>conftest.$ac_ext
27755 cat >>conftest.$ac_ext <<_ACEOF
27756 /* end confdefs.h. */
27757 #include <iconv.h>
27758 _ACEOF
27759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27761 ac_status=$?
27762 grep -v '^ *+' conftest.er1 >conftest.err
27763 rm -f conftest.er1
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } >/dev/null; then
27767 if test -s conftest.err; then
27768 ac_cpp_err=$ac_c_preproc_warn_flag
27769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27770 else
27771 ac_cpp_err=
27773 else
27774 ac_cpp_err=yes
27776 if test -z "$ac_cpp_err"; then
27777 ac_header_preproc=yes
27778 else
27779 echo "$as_me: failed program was:" >&5
27780 sed 's/^/| /' conftest.$ac_ext >&5
27782 ac_header_preproc=no
27784 rm -f conftest.err conftest.$ac_ext
27785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27786 echo "${ECHO_T}$ac_header_preproc" >&6
27788 # So? What about this header?
27789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27790 yes:no: )
27791 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
27792 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27793 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
27794 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
27795 ac_header_preproc=yes
27797 no:yes:* )
27798 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
27799 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
27800 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
27801 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
27802 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
27803 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
27804 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
27805 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
27806 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
27807 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
27808 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
27809 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
27811 cat <<\_ASBOX
27812 ## ----------------------------------------- ##
27813 ## Report this to the package-unused lists. ##
27814 ## ----------------------------------------- ##
27815 _ASBOX
27817 sed "s/^/$as_me: WARNING: /" >&2
27819 esac
27820 echo "$as_me:$LINENO: checking for iconv.h" >&5
27821 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
27822 if test "${ac_cv_header_iconv_h+set}" = set; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 else
27825 ac_cv_header_iconv_h=$ac_header_preproc
27827 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
27828 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
27831 if test $ac_cv_header_iconv_h = yes; then
27832 ac_has_iconv_h=yes
27833 else
27834 ac_has_iconv_h=no
27838 if test "${ac_cv_header_langinfo_h+set}" = set; then
27839 echo "$as_me:$LINENO: checking for langinfo.h" >&5
27840 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
27841 if test "${ac_cv_header_langinfo_h+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
27845 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
27846 else
27847 # Is the header compilable?
27848 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
27849 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
27850 cat >conftest.$ac_ext <<_ACEOF
27851 /* confdefs.h. */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856 $ac_includes_default
27857 #include <langinfo.h>
27858 _ACEOF
27859 rm -f conftest.$ac_objext
27860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27861 (eval $ac_compile) 2>conftest.er1
27862 ac_status=$?
27863 grep -v '^ *+' conftest.er1 >conftest.err
27864 rm -f conftest.er1
27865 cat conftest.err >&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); } &&
27868 { ac_try='test -z "$ac_c_werror_flag"
27869 || test ! -s conftest.err'
27870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27871 (eval $ac_try) 2>&5
27872 ac_status=$?
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); }; } &&
27875 { ac_try='test -s conftest.$ac_objext'
27876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877 (eval $ac_try) 2>&5
27878 ac_status=$?
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; }; then
27881 ac_header_compiler=yes
27882 else
27883 echo "$as_me: failed program was:" >&5
27884 sed 's/^/| /' conftest.$ac_ext >&5
27886 ac_header_compiler=no
27888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27890 echo "${ECHO_T}$ac_header_compiler" >&6
27892 # Is the header present?
27893 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
27894 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
27895 cat >conftest.$ac_ext <<_ACEOF
27896 /* confdefs.h. */
27897 _ACEOF
27898 cat confdefs.h >>conftest.$ac_ext
27899 cat >>conftest.$ac_ext <<_ACEOF
27900 /* end confdefs.h. */
27901 #include <langinfo.h>
27902 _ACEOF
27903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27905 ac_status=$?
27906 grep -v '^ *+' conftest.er1 >conftest.err
27907 rm -f conftest.er1
27908 cat conftest.err >&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); } >/dev/null; then
27911 if test -s conftest.err; then
27912 ac_cpp_err=$ac_c_preproc_warn_flag
27913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27914 else
27915 ac_cpp_err=
27917 else
27918 ac_cpp_err=yes
27920 if test -z "$ac_cpp_err"; then
27921 ac_header_preproc=yes
27922 else
27923 echo "$as_me: failed program was:" >&5
27924 sed 's/^/| /' conftest.$ac_ext >&5
27926 ac_header_preproc=no
27928 rm -f conftest.err conftest.$ac_ext
27929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27930 echo "${ECHO_T}$ac_header_preproc" >&6
27932 # So? What about this header?
27933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27934 yes:no: )
27935 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
27936 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27937 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
27938 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
27939 ac_header_preproc=yes
27941 no:yes:* )
27942 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
27943 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
27944 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
27945 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
27946 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
27947 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
27948 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
27949 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
27950 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
27951 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
27952 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
27953 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
27955 cat <<\_ASBOX
27956 ## ----------------------------------------- ##
27957 ## Report this to the package-unused lists. ##
27958 ## ----------------------------------------- ##
27959 _ASBOX
27961 sed "s/^/$as_me: WARNING: /" >&2
27963 esac
27964 echo "$as_me:$LINENO: checking for langinfo.h" >&5
27965 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
27966 if test "${ac_cv_header_langinfo_h+set}" = set; then
27967 echo $ECHO_N "(cached) $ECHO_C" >&6
27968 else
27969 ac_cv_header_langinfo_h=$ac_header_preproc
27971 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
27972 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
27975 if test $ac_cv_header_langinfo_h = yes; then
27976 ac_has_langinfo_h=yes
27977 else
27978 ac_has_langinfo_h=no
27983 # Check for existence of libiconv.a providing XPG2 wchar_t support.
27984 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
27985 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
27986 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27989 ac_check_lib_save_LIBS=$LIBS
27990 LIBS="-liconv $LIBS"
27991 if test x$gcc_no_link = xyes; then
27992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27994 { (exit 1); exit 1; }; }
27996 cat >conftest.$ac_ext <<_ACEOF
27997 /* confdefs.h. */
27998 _ACEOF
27999 cat confdefs.h >>conftest.$ac_ext
28000 cat >>conftest.$ac_ext <<_ACEOF
28001 /* end confdefs.h. */
28003 /* Override any gcc2 internal prototype to avoid an error. */
28004 #ifdef __cplusplus
28005 extern "C"
28006 #endif
28007 /* We use char because int might match the return type of a gcc2
28008 builtin and then its argument prototype would still apply. */
28009 char iconv ();
28011 main ()
28013 iconv ();
28015 return 0;
28017 _ACEOF
28018 rm -f conftest.$ac_objext conftest$ac_exeext
28019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28020 (eval $ac_link) 2>conftest.er1
28021 ac_status=$?
28022 grep -v '^ *+' conftest.er1 >conftest.err
28023 rm -f conftest.er1
28024 cat conftest.err >&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); } &&
28027 { ac_try='test -z "$ac_c_werror_flag"
28028 || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try='test -s conftest$ac_exeext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040 ac_cv_lib_iconv_iconv=yes
28041 else
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28045 ac_cv_lib_iconv_iconv=no
28047 rm -f conftest.err conftest.$ac_objext \
28048 conftest$ac_exeext conftest.$ac_ext
28049 LIBS=$ac_check_lib_save_LIBS
28051 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28052 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28053 if test $ac_cv_lib_iconv_iconv = yes; then
28054 LIBICONV="-liconv"
28057 ac_save_LIBS="$LIBS"
28058 LIBS="$LIBS $LIBICONV"
28065 for ac_func in iconv_open iconv_close iconv nl_langinfo
28067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28068 echo "$as_me:$LINENO: checking for $ac_func" >&5
28069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28070 if eval "test \"\${$as_ac_var+set}\" = set"; then
28071 echo $ECHO_N "(cached) $ECHO_C" >&6
28072 else
28073 if test x$gcc_no_link = xyes; then
28074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28076 { (exit 1); exit 1; }; }
28078 cat >conftest.$ac_ext <<_ACEOF
28079 /* confdefs.h. */
28080 _ACEOF
28081 cat confdefs.h >>conftest.$ac_ext
28082 cat >>conftest.$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28086 #define $ac_func innocuous_$ac_func
28088 /* System header to define __stub macros and hopefully few prototypes,
28089 which can conflict with char $ac_func (); below.
28090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28091 <limits.h> exists even on freestanding compilers. */
28093 #ifdef __STDC__
28094 # include <limits.h>
28095 #else
28096 # include <assert.h>
28097 #endif
28099 #undef $ac_func
28101 /* Override any gcc2 internal prototype to avoid an error. */
28102 #ifdef __cplusplus
28103 extern "C"
28105 #endif
28106 /* We use char because int might match the return type of a gcc2
28107 builtin and then its argument prototype would still apply. */
28108 char $ac_func ();
28109 /* The GNU C library defines this for functions which it implements
28110 to always fail with ENOSYS. Some functions are actually named
28111 something starting with __ and the normal name is an alias. */
28112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28113 choke me
28114 #else
28115 char (*f) () = $ac_func;
28116 #endif
28117 #ifdef __cplusplus
28119 #endif
28122 main ()
28124 return f != $ac_func;
28126 return 0;
28128 _ACEOF
28129 rm -f conftest.$ac_objext conftest$ac_exeext
28130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28131 (eval $ac_link) 2>conftest.er1
28132 ac_status=$?
28133 grep -v '^ *+' conftest.er1 >conftest.err
28134 rm -f conftest.er1
28135 cat conftest.err >&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); } &&
28138 { ac_try='test -z "$ac_c_werror_flag"
28139 || test ! -s conftest.err'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; } &&
28145 { ac_try='test -s conftest$ac_exeext'
28146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28147 (eval $ac_try) 2>&5
28148 ac_status=$?
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); }; }; then
28151 eval "$as_ac_var=yes"
28152 else
28153 echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.$ac_ext >&5
28156 eval "$as_ac_var=no"
28158 rm -f conftest.err conftest.$ac_objext \
28159 conftest$ac_exeext conftest.$ac_ext
28161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28163 if test `eval echo '${'$as_ac_var'}'` = yes; then
28164 cat >>confdefs.h <<_ACEOF
28165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28166 _ACEOF
28167 ac_XPG2funcs=yes
28168 else
28169 ac_XPG2funcs=no
28171 done
28174 LIBS="$ac_save_LIBS"
28176 if test x"$ac_has_iconv_h" = xyes &&
28177 test x"$ac_has_langinfo_h" = xyes &&
28178 test x"$ac_XPG2funcs" = xyes;
28179 then
28181 cat >>confdefs.h <<\_ACEOF
28182 #define _GLIBCXX_USE_ICONV 1
28183 _ACEOF
28185 enable_iconv=yes
28188 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28189 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28190 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28191 echo "${ECHO_T}$enable_iconv" >&6
28194 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28195 ac_save_CXXFLAGS="$CXXFLAGS"
28196 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28199 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28200 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28201 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28202 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 else
28208 ac_ext=cc
28209 ac_cpp='$CXXCPP $CPPFLAGS'
28210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28214 cat >conftest.$ac_ext <<_ACEOF
28215 /* confdefs.h. */
28216 _ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28220 #include <stdlib.h>
28222 main ()
28224 strtold(0, 0);
28226 return 0;
28228 _ACEOF
28229 rm -f conftest.$ac_objext
28230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28231 (eval $ac_compile) 2>conftest.er1
28232 ac_status=$?
28233 grep -v '^ *+' conftest.er1 >conftest.err
28234 rm -f conftest.er1
28235 cat conftest.err >&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } &&
28238 { ac_try='test -z "$ac_cxx_werror_flag"
28239 || test ! -s conftest.err'
28240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28241 (eval $ac_try) 2>&5
28242 ac_status=$?
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); }; } &&
28245 { ac_try='test -s conftest.$ac_objext'
28246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28247 (eval $ac_try) 2>&5
28248 ac_status=$?
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; }; then
28251 glibcxx_cv_func_strtold_use=yes
28252 else
28253 echo "$as_me: failed program was:" >&5
28254 sed 's/^/| /' conftest.$ac_ext >&5
28256 glibcxx_cv_func_strtold_use=no
28258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28259 ac_ext=c
28260 ac_cpp='$CPP $CPPFLAGS'
28261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28270 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28271 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28273 for ac_func in strtold
28275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28276 echo "$as_me:$LINENO: checking for $ac_func" >&5
28277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28278 if eval "test \"\${$as_ac_var+set}\" = set"; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28280 else
28281 if test x$gcc_no_link = xyes; then
28282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28284 { (exit 1); exit 1; }; }
28286 cat >conftest.$ac_ext <<_ACEOF
28287 /* confdefs.h. */
28288 _ACEOF
28289 cat confdefs.h >>conftest.$ac_ext
28290 cat >>conftest.$ac_ext <<_ACEOF
28291 /* end confdefs.h. */
28292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28294 #define $ac_func innocuous_$ac_func
28296 /* System header to define __stub macros and hopefully few prototypes,
28297 which can conflict with char $ac_func (); below.
28298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28299 <limits.h> exists even on freestanding compilers. */
28301 #ifdef __STDC__
28302 # include <limits.h>
28303 #else
28304 # include <assert.h>
28305 #endif
28307 #undef $ac_func
28309 /* Override any gcc2 internal prototype to avoid an error. */
28310 #ifdef __cplusplus
28311 extern "C"
28313 #endif
28314 /* We use char because int might match the return type of a gcc2
28315 builtin and then its argument prototype would still apply. */
28316 char $ac_func ();
28317 /* The GNU C library defines this for functions which it implements
28318 to always fail with ENOSYS. Some functions are actually named
28319 something starting with __ and the normal name is an alias. */
28320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28321 choke me
28322 #else
28323 char (*f) () = $ac_func;
28324 #endif
28325 #ifdef __cplusplus
28327 #endif
28330 main ()
28332 return f != $ac_func;
28334 return 0;
28336 _ACEOF
28337 rm -f conftest.$ac_objext conftest$ac_exeext
28338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28339 (eval $ac_link) 2>conftest.er1
28340 ac_status=$?
28341 grep -v '^ *+' conftest.er1 >conftest.err
28342 rm -f conftest.er1
28343 cat conftest.err >&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); } &&
28346 { ac_try='test -z "$ac_c_werror_flag"
28347 || test ! -s conftest.err'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28350 ac_status=$?
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; } &&
28353 { ac_try='test -s conftest$ac_exeext'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28356 ac_status=$?
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28359 eval "$as_ac_var=yes"
28360 else
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.$ac_ext >&5
28364 eval "$as_ac_var=no"
28366 rm -f conftest.err conftest.$ac_objext \
28367 conftest$ac_exeext conftest.$ac_ext
28369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28371 if test `eval echo '${'$as_ac_var'}'` = yes; then
28372 cat >>confdefs.h <<_ACEOF
28373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28374 _ACEOF
28377 done
28382 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28383 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28384 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28385 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28386 echo $ECHO_N "(cached) $ECHO_C" >&6
28387 else
28391 ac_ext=cc
28392 ac_cpp='$CXXCPP $CPPFLAGS'
28393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28397 cat >conftest.$ac_ext <<_ACEOF
28398 /* confdefs.h. */
28399 _ACEOF
28400 cat confdefs.h >>conftest.$ac_ext
28401 cat >>conftest.$ac_ext <<_ACEOF
28402 /* end confdefs.h. */
28403 #include <stdlib.h>
28405 main ()
28407 strtof(0, 0);
28409 return 0;
28411 _ACEOF
28412 rm -f conftest.$ac_objext
28413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28414 (eval $ac_compile) 2>conftest.er1
28415 ac_status=$?
28416 grep -v '^ *+' conftest.er1 >conftest.err
28417 rm -f conftest.er1
28418 cat conftest.err >&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } &&
28421 { ac_try='test -z "$ac_cxx_werror_flag"
28422 || test ! -s conftest.err'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; } &&
28428 { ac_try='test -s conftest.$ac_objext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 glibcxx_cv_func_strtof_use=yes
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28439 glibcxx_cv_func_strtof_use=no
28441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28453 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28454 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28456 for ac_func in strtof
28458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28459 echo "$as_me:$LINENO: checking for $ac_func" >&5
28460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28461 if eval "test \"\${$as_ac_var+set}\" = set"; then
28462 echo $ECHO_N "(cached) $ECHO_C" >&6
28463 else
28464 if test x$gcc_no_link = xyes; then
28465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28467 { (exit 1); exit 1; }; }
28469 cat >conftest.$ac_ext <<_ACEOF
28470 /* confdefs.h. */
28471 _ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28477 #define $ac_func innocuous_$ac_func
28479 /* System header to define __stub macros and hopefully few prototypes,
28480 which can conflict with char $ac_func (); below.
28481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28482 <limits.h> exists even on freestanding compilers. */
28484 #ifdef __STDC__
28485 # include <limits.h>
28486 #else
28487 # include <assert.h>
28488 #endif
28490 #undef $ac_func
28492 /* Override any gcc2 internal prototype to avoid an error. */
28493 #ifdef __cplusplus
28494 extern "C"
28496 #endif
28497 /* We use char because int might match the return type of a gcc2
28498 builtin and then its argument prototype would still apply. */
28499 char $ac_func ();
28500 /* The GNU C library defines this for functions which it implements
28501 to always fail with ENOSYS. Some functions are actually named
28502 something starting with __ and the normal name is an alias. */
28503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28504 choke me
28505 #else
28506 char (*f) () = $ac_func;
28507 #endif
28508 #ifdef __cplusplus
28510 #endif
28513 main ()
28515 return f != $ac_func;
28517 return 0;
28519 _ACEOF
28520 rm -f conftest.$ac_objext conftest$ac_exeext
28521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28522 (eval $ac_link) 2>conftest.er1
28523 ac_status=$?
28524 grep -v '^ *+' conftest.er1 >conftest.err
28525 rm -f conftest.er1
28526 cat conftest.err >&5
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); } &&
28529 { ac_try='test -z "$ac_c_werror_flag"
28530 || test ! -s conftest.err'
28531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532 (eval $ac_try) 2>&5
28533 ac_status=$?
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); }; } &&
28536 { ac_try='test -s conftest$ac_exeext'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28542 eval "$as_ac_var=yes"
28543 else
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28547 eval "$as_ac_var=no"
28549 rm -f conftest.err conftest.$ac_objext \
28550 conftest$ac_exeext conftest.$ac_ext
28552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28554 if test `eval echo '${'$as_ac_var'}'` = yes; then
28555 cat >>confdefs.h <<_ACEOF
28556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28557 _ACEOF
28560 done
28565 CXXFLAGS="$ac_save_CXXFLAGS"
28568 # For showmanyc_helper().
28571 for ac_header in sys/ioctl.h sys/filio.h
28573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28575 echo "$as_me:$LINENO: checking for $ac_header" >&5
28576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28582 else
28583 # Is the header compilable?
28584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592 $ac_includes_default
28593 #include <$ac_header>
28594 _ACEOF
28595 rm -f conftest.$ac_objext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28597 (eval $ac_compile) 2>conftest.er1
28598 ac_status=$?
28599 grep -v '^ *+' conftest.er1 >conftest.err
28600 rm -f conftest.er1
28601 cat conftest.err >&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try='test -z "$ac_c_werror_flag"
28605 || test ! -s conftest.err'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28608 ac_status=$?
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; } &&
28611 { ac_try='test -s conftest.$ac_objext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28617 ac_header_compiler=yes
28618 else
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28622 ac_header_compiler=no
28624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28626 echo "${ECHO_T}$ac_header_compiler" >&6
28628 # Is the header present?
28629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28631 cat >conftest.$ac_ext <<_ACEOF
28632 /* confdefs.h. */
28633 _ACEOF
28634 cat confdefs.h >>conftest.$ac_ext
28635 cat >>conftest.$ac_ext <<_ACEOF
28636 /* end confdefs.h. */
28637 #include <$ac_header>
28638 _ACEOF
28639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28641 ac_status=$?
28642 grep -v '^ *+' conftest.er1 >conftest.err
28643 rm -f conftest.er1
28644 cat conftest.err >&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } >/dev/null; then
28647 if test -s conftest.err; then
28648 ac_cpp_err=$ac_c_preproc_warn_flag
28649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28650 else
28651 ac_cpp_err=
28653 else
28654 ac_cpp_err=yes
28656 if test -z "$ac_cpp_err"; then
28657 ac_header_preproc=yes
28658 else
28659 echo "$as_me: failed program was:" >&5
28660 sed 's/^/| /' conftest.$ac_ext >&5
28662 ac_header_preproc=no
28664 rm -f conftest.err conftest.$ac_ext
28665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28666 echo "${ECHO_T}$ac_header_preproc" >&6
28668 # So? What about this header?
28669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28670 yes:no: )
28671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28675 ac_header_preproc=yes
28677 no:yes:* )
28678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28691 cat <<\_ASBOX
28692 ## ----------------------------------------- ##
28693 ## Report this to the package-unused lists. ##
28694 ## ----------------------------------------- ##
28695 _ASBOX
28697 sed "s/^/$as_me: WARNING: /" >&2
28699 esac
28700 echo "$as_me:$LINENO: checking for $ac_header" >&5
28701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 eval "$as_ac_Header=\$ac_header_preproc"
28707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28712 cat >>confdefs.h <<_ACEOF
28713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28714 _ACEOF
28718 done
28721 if test "${glibcxx_cv_POLL+set}" = set; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28723 else
28725 if test x$gcc_no_link = xyes; then
28726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28728 { (exit 1); exit 1; }; }
28730 cat >conftest.$ac_ext <<_ACEOF
28731 /* confdefs.h. */
28732 _ACEOF
28733 cat confdefs.h >>conftest.$ac_ext
28734 cat >>conftest.$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736 #include <poll.h>
28738 main ()
28740 struct pollfd pfd[1];
28741 pfd[0].events = POLLIN;
28742 poll(pfd, 1, 0);
28744 return 0;
28746 _ACEOF
28747 rm -f conftest.$ac_objext conftest$ac_exeext
28748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28749 (eval $ac_link) 2>conftest.er1
28750 ac_status=$?
28751 grep -v '^ *+' conftest.er1 >conftest.err
28752 rm -f conftest.er1
28753 cat conftest.err >&5
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); } &&
28756 { ac_try='test -z "$ac_c_werror_flag"
28757 || test ! -s conftest.err'
28758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28759 (eval $ac_try) 2>&5
28760 ac_status=$?
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); }; } &&
28763 { ac_try='test -s conftest$ac_exeext'
28764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28765 (eval $ac_try) 2>&5
28766 ac_status=$?
28767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 (exit $ac_status); }; }; then
28769 glibcxx_cv_POLL=yes
28770 else
28771 echo "$as_me: failed program was:" >&5
28772 sed 's/^/| /' conftest.$ac_ext >&5
28774 glibcxx_cv_POLL=no
28776 rm -f conftest.err conftest.$ac_objext \
28777 conftest$ac_exeext conftest.$ac_ext
28781 if test $glibcxx_cv_POLL = yes; then
28782 cat >>confdefs.h <<\_ACEOF
28783 #define HAVE_POLL 1
28784 _ACEOF
28789 if test "${glibcxx_cv_S_ISREG+set}" = set; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 else
28793 if test x$gcc_no_link = xyes; then
28794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28796 { (exit 1); exit 1; }; }
28798 cat >conftest.$ac_ext <<_ACEOF
28799 /* confdefs.h. */
28800 _ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804 #include <sys/stat.h>
28806 main ()
28808 struct stat buffer;
28809 fstat(0, &buffer);
28810 S_ISREG(buffer.st_mode);
28812 return 0;
28814 _ACEOF
28815 rm -f conftest.$ac_objext conftest$ac_exeext
28816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28817 (eval $ac_link) 2>conftest.er1
28818 ac_status=$?
28819 grep -v '^ *+' conftest.er1 >conftest.err
28820 rm -f conftest.er1
28821 cat conftest.err >&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } &&
28824 { ac_try='test -z "$ac_c_werror_flag"
28825 || test ! -s conftest.err'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28828 ac_status=$?
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; } &&
28831 { ac_try='test -s conftest$ac_exeext'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28834 ac_status=$?
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; }; then
28837 glibcxx_cv_S_ISREG=yes
28838 else
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.$ac_ext >&5
28842 glibcxx_cv_S_ISREG=no
28844 rm -f conftest.err conftest.$ac_objext \
28845 conftest$ac_exeext conftest.$ac_ext
28849 if test "${glibcxx_cv_S_IFREG+set}" = set; then
28850 echo $ECHO_N "(cached) $ECHO_C" >&6
28851 else
28853 if test x$gcc_no_link = xyes; then
28854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28856 { (exit 1); exit 1; }; }
28858 cat >conftest.$ac_ext <<_ACEOF
28859 /* confdefs.h. */
28860 _ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28864 #include <sys/stat.h>
28866 main ()
28868 struct stat buffer;
28869 fstat(0, &buffer);
28870 S_IFREG & buffer.st_mode;
28872 return 0;
28874 _ACEOF
28875 rm -f conftest.$ac_objext conftest$ac_exeext
28876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28877 (eval $ac_link) 2>conftest.er1
28878 ac_status=$?
28879 grep -v '^ *+' conftest.er1 >conftest.err
28880 rm -f conftest.er1
28881 cat conftest.err >&5
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); } &&
28884 { ac_try='test -z "$ac_c_werror_flag"
28885 || test ! -s conftest.err'
28886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28887 (eval $ac_try) 2>&5
28888 ac_status=$?
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try='test -s conftest$ac_exeext'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28894 ac_status=$?
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; }; then
28897 glibcxx_cv_S_IFREG=yes
28898 else
28899 echo "$as_me: failed program was:" >&5
28900 sed 's/^/| /' conftest.$ac_ext >&5
28902 glibcxx_cv_S_IFREG=no
28904 rm -f conftest.err conftest.$ac_objext \
28905 conftest$ac_exeext conftest.$ac_ext
28909 if test $glibcxx_cv_S_ISREG = yes; then
28910 cat >>confdefs.h <<\_ACEOF
28911 #define HAVE_S_ISREG 1
28912 _ACEOF
28914 elif test $glibcxx_cv_S_IFREG = yes; then
28915 cat >>confdefs.h <<\_ACEOF
28916 #define HAVE_S_IFREG 1
28917 _ACEOF
28922 # For xsputn_2().
28924 for ac_header in sys/uio.h
28926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28928 echo "$as_me:$LINENO: checking for $ac_header" >&5
28929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28935 else
28936 # Is the header compilable?
28937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28939 cat >conftest.$ac_ext <<_ACEOF
28940 /* confdefs.h. */
28941 _ACEOF
28942 cat confdefs.h >>conftest.$ac_ext
28943 cat >>conftest.$ac_ext <<_ACEOF
28944 /* end confdefs.h. */
28945 $ac_includes_default
28946 #include <$ac_header>
28947 _ACEOF
28948 rm -f conftest.$ac_objext
28949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28950 (eval $ac_compile) 2>conftest.er1
28951 ac_status=$?
28952 grep -v '^ *+' conftest.er1 >conftest.err
28953 rm -f conftest.er1
28954 cat conftest.err >&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); } &&
28957 { ac_try='test -z "$ac_c_werror_flag"
28958 || test ! -s conftest.err'
28959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960 (eval $ac_try) 2>&5
28961 ac_status=$?
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); }; } &&
28964 { ac_try='test -s conftest.$ac_objext'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28967 ac_status=$?
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; }; then
28970 ac_header_compiler=yes
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28975 ac_header_compiler=no
28977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28979 echo "${ECHO_T}$ac_header_compiler" >&6
28981 # Is the header present?
28982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28984 cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 #include <$ac_header>
28991 _ACEOF
28992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28994 ac_status=$?
28995 grep -v '^ *+' conftest.er1 >conftest.err
28996 rm -f conftest.er1
28997 cat conftest.err >&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); } >/dev/null; then
29000 if test -s conftest.err; then
29001 ac_cpp_err=$ac_c_preproc_warn_flag
29002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29003 else
29004 ac_cpp_err=
29006 else
29007 ac_cpp_err=yes
29009 if test -z "$ac_cpp_err"; then
29010 ac_header_preproc=yes
29011 else
29012 echo "$as_me: failed program was:" >&5
29013 sed 's/^/| /' conftest.$ac_ext >&5
29015 ac_header_preproc=no
29017 rm -f conftest.err conftest.$ac_ext
29018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29019 echo "${ECHO_T}$ac_header_preproc" >&6
29021 # So? What about this header?
29022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29023 yes:no: )
29024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29028 ac_header_preproc=yes
29030 no:yes:* )
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29044 cat <<\_ASBOX
29045 ## ----------------------------------------- ##
29046 ## Report this to the package-unused lists. ##
29047 ## ----------------------------------------- ##
29048 _ASBOX
29050 sed "s/^/$as_me: WARNING: /" >&2
29052 esac
29053 echo "$as_me:$LINENO: checking for $ac_header" >&5
29054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29057 else
29058 eval "$as_ac_Header=\$ac_header_preproc"
29060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29065 cat >>confdefs.h <<_ACEOF
29066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29067 _ACEOF
29071 done
29074 if test "${glibcxx_cv_WRITEV+set}" = set; then
29075 echo $ECHO_N "(cached) $ECHO_C" >&6
29076 else
29078 if test x$gcc_no_link = xyes; then
29079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29081 { (exit 1); exit 1; }; }
29083 cat >conftest.$ac_ext <<_ACEOF
29084 /* confdefs.h. */
29085 _ACEOF
29086 cat confdefs.h >>conftest.$ac_ext
29087 cat >>conftest.$ac_ext <<_ACEOF
29088 /* end confdefs.h. */
29089 #include <sys/uio.h>
29091 main ()
29093 struct iovec iov[2];
29094 writev(0, iov, 0);
29096 return 0;
29098 _ACEOF
29099 rm -f conftest.$ac_objext conftest$ac_exeext
29100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101 (eval $ac_link) 2>conftest.er1
29102 ac_status=$?
29103 grep -v '^ *+' conftest.er1 >conftest.err
29104 rm -f conftest.er1
29105 cat conftest.err >&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); } &&
29108 { ac_try='test -z "$ac_c_werror_flag"
29109 || test ! -s conftest.err'
29110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29111 (eval $ac_try) 2>&5
29112 ac_status=$?
29113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114 (exit $ac_status); }; } &&
29115 { ac_try='test -s conftest$ac_exeext'
29116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29117 (eval $ac_try) 2>&5
29118 ac_status=$?
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); }; }; then
29121 glibcxx_cv_WRITEV=yes
29122 else
29123 echo "$as_me: failed program was:" >&5
29124 sed 's/^/| /' conftest.$ac_ext >&5
29126 glibcxx_cv_WRITEV=no
29128 rm -f conftest.err conftest.$ac_objext \
29129 conftest$ac_exeext conftest.$ac_ext
29133 if test $glibcxx_cv_WRITEV = yes; then
29134 cat >>confdefs.h <<\_ACEOF
29135 #define HAVE_WRITEV 1
29136 _ACEOF
29141 # For the __streamoff_base_type typedef.
29143 if test "${glibcxx_cv_INT64_T+set}" = set; then
29144 echo $ECHO_N "(cached) $ECHO_C" >&6
29145 else
29147 cat >conftest.$ac_ext <<_ACEOF
29148 /* confdefs.h. */
29149 _ACEOF
29150 cat confdefs.h >>conftest.$ac_ext
29151 cat >>conftest.$ac_ext <<_ACEOF
29152 /* end confdefs.h. */
29153 #include <stdint.h>
29155 main ()
29157 int64_t var;
29159 return 0;
29161 _ACEOF
29162 rm -f conftest.$ac_objext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29164 (eval $ac_compile) 2>conftest.er1
29165 ac_status=$?
29166 grep -v '^ *+' conftest.er1 >conftest.err
29167 rm -f conftest.er1
29168 cat conftest.err >&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try='test -z "$ac_c_werror_flag"
29172 || test ! -s conftest.err'
29173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174 (eval $ac_try) 2>&5
29175 ac_status=$?
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); }; } &&
29178 { ac_try='test -s conftest.$ac_objext'
29179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180 (eval $ac_try) 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; }; then
29184 glibcxx_cv_INT64_T=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 glibcxx_cv_INT64_T=no
29191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29195 if test $glibcxx_cv_INT64_T = yes; then
29196 cat >>confdefs.h <<\_ACEOF
29197 #define HAVE_INT64_T 1
29198 _ACEOF
29203 # For LFS support.
29207 ac_ext=cc
29208 ac_cpp='$CXXCPP $CPPFLAGS'
29209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29213 ac_save_CXXFLAGS="$CXXFLAGS"
29214 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29215 if test "${glibcxx_cv_LFS+set}" = set; then
29216 echo $ECHO_N "(cached) $ECHO_C" >&6
29217 else
29219 if test x$gcc_no_link = xyes; then
29220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29222 { (exit 1); exit 1; }; }
29224 cat >conftest.$ac_ext <<_ACEOF
29225 /* confdefs.h. */
29226 _ACEOF
29227 cat confdefs.h >>conftest.$ac_ext
29228 cat >>conftest.$ac_ext <<_ACEOF
29229 /* end confdefs.h. */
29230 #include <unistd.h>
29231 #include <stdio.h>
29232 #include <sys/stat.h>
29235 main ()
29237 FILE* fp;
29238 fopen64("t", "w");
29239 fseeko64(fp, 0, SEEK_CUR);
29240 ftello64(fp);
29241 lseek64(1, 0, SEEK_CUR);
29242 struct stat64 buf;
29243 fstat64(1, &buf);
29245 return 0;
29247 _ACEOF
29248 rm -f conftest.$ac_objext conftest$ac_exeext
29249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29250 (eval $ac_link) 2>conftest.er1
29251 ac_status=$?
29252 grep -v '^ *+' conftest.er1 >conftest.err
29253 rm -f conftest.er1
29254 cat conftest.err >&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } &&
29257 { ac_try='test -z "$ac_cxx_werror_flag"
29258 || test ! -s conftest.err'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29261 ac_status=$?
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; } &&
29264 { ac_try='test -s conftest$ac_exeext'
29265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29266 (eval $ac_try) 2>&5
29267 ac_status=$?
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); }; }; then
29270 glibcxx_cv_LFS=yes
29271 else
29272 echo "$as_me: failed program was:" >&5
29273 sed 's/^/| /' conftest.$ac_ext >&5
29275 glibcxx_cv_LFS=no
29277 rm -f conftest.err conftest.$ac_objext \
29278 conftest$ac_exeext conftest.$ac_ext
29282 if test $glibcxx_cv_LFS = yes; then
29283 cat >>confdefs.h <<\_ACEOF
29284 #define _GLIBCXX_USE_LFS 1
29285 _ACEOF
29288 CXXFLAGS="$ac_save_CXXFLAGS"
29289 ac_ext=c
29290 ac_cpp='$CPP $CPPFLAGS'
29291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29298 if test "${ac_cv_header_locale_h+set}" = set; then
29299 echo "$as_me:$LINENO: checking for locale.h" >&5
29300 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29301 if test "${ac_cv_header_locale_h+set}" = set; then
29302 echo $ECHO_N "(cached) $ECHO_C" >&6
29304 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29305 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29306 else
29307 # Is the header compilable?
29308 echo "$as_me:$LINENO: checking locale.h usability" >&5
29309 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29310 cat >conftest.$ac_ext <<_ACEOF
29311 /* confdefs.h. */
29312 _ACEOF
29313 cat confdefs.h >>conftest.$ac_ext
29314 cat >>conftest.$ac_ext <<_ACEOF
29315 /* end confdefs.h. */
29316 $ac_includes_default
29317 #include <locale.h>
29318 _ACEOF
29319 rm -f conftest.$ac_objext
29320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29321 (eval $ac_compile) 2>conftest.er1
29322 ac_status=$?
29323 grep -v '^ *+' conftest.er1 >conftest.err
29324 rm -f conftest.er1
29325 cat conftest.err >&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); } &&
29328 { ac_try='test -z "$ac_c_werror_flag"
29329 || test ! -s conftest.err'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29332 ac_status=$?
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; } &&
29335 { ac_try='test -s conftest.$ac_objext'
29336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29337 (eval $ac_try) 2>&5
29338 ac_status=$?
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); }; }; then
29341 ac_header_compiler=yes
29342 else
29343 echo "$as_me: failed program was:" >&5
29344 sed 's/^/| /' conftest.$ac_ext >&5
29346 ac_header_compiler=no
29348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29350 echo "${ECHO_T}$ac_header_compiler" >&6
29352 # Is the header present?
29353 echo "$as_me:$LINENO: checking locale.h presence" >&5
29354 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29355 cat >conftest.$ac_ext <<_ACEOF
29356 /* confdefs.h. */
29357 _ACEOF
29358 cat confdefs.h >>conftest.$ac_ext
29359 cat >>conftest.$ac_ext <<_ACEOF
29360 /* end confdefs.h. */
29361 #include <locale.h>
29362 _ACEOF
29363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29365 ac_status=$?
29366 grep -v '^ *+' conftest.er1 >conftest.err
29367 rm -f conftest.er1
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } >/dev/null; then
29371 if test -s conftest.err; then
29372 ac_cpp_err=$ac_c_preproc_warn_flag
29373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29374 else
29375 ac_cpp_err=
29377 else
29378 ac_cpp_err=yes
29380 if test -z "$ac_cpp_err"; then
29381 ac_header_preproc=yes
29382 else
29383 echo "$as_me: failed program was:" >&5
29384 sed 's/^/| /' conftest.$ac_ext >&5
29386 ac_header_preproc=no
29388 rm -f conftest.err conftest.$ac_ext
29389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29390 echo "${ECHO_T}$ac_header_preproc" >&6
29392 # So? What about this header?
29393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29394 yes:no: )
29395 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29396 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29397 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29398 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29399 ac_header_preproc=yes
29401 no:yes:* )
29402 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29403 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29404 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
29405 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
29406 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
29407 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
29408 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
29409 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
29410 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
29411 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
29412 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
29413 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
29415 cat <<\_ASBOX
29416 ## ----------------------------------------- ##
29417 ## Report this to the package-unused lists. ##
29418 ## ----------------------------------------- ##
29419 _ASBOX
29421 sed "s/^/$as_me: WARNING: /" >&2
29423 esac
29424 echo "$as_me:$LINENO: checking for locale.h" >&5
29425 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29426 if test "${ac_cv_header_locale_h+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 else
29429 ac_cv_header_locale_h=$ac_header_preproc
29431 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29432 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29435 if test $ac_cv_header_locale_h = yes; then
29437 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29438 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
29439 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 else
29442 if test x$gcc_no_link = xyes; then
29443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29445 { (exit 1); exit 1; }; }
29447 cat >conftest.$ac_ext <<_ACEOF
29448 /* confdefs.h. */
29449 _ACEOF
29450 cat confdefs.h >>conftest.$ac_ext
29451 cat >>conftest.$ac_ext <<_ACEOF
29452 /* end confdefs.h. */
29453 #include <locale.h>
29455 main ()
29457 return LC_MESSAGES
29459 return 0;
29461 _ACEOF
29462 rm -f conftest.$ac_objext conftest$ac_exeext
29463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29464 (eval $ac_link) 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } &&
29471 { ac_try='test -z "$ac_c_werror_flag"
29472 || test ! -s conftest.err'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29475 ac_status=$?
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; } &&
29478 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29484 ac_cv_val_LC_MESSAGES=yes
29485 else
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.$ac_ext >&5
29489 ac_cv_val_LC_MESSAGES=no
29491 rm -f conftest.err conftest.$ac_objext \
29492 conftest$ac_exeext conftest.$ac_ext
29494 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
29495 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
29496 if test $ac_cv_val_LC_MESSAGES = yes; then
29497 cat >>confdefs.h <<\_ACEOF
29498 #define HAVE_LC_MESSAGES 1
29499 _ACEOF
29508 cat >conftest.$ac_ext <<_ACEOF
29509 /* confdefs.h. */
29510 _ACEOF
29511 cat confdefs.h >>conftest.$ac_ext
29512 cat >>conftest.$ac_ext <<_ACEOF
29513 /* end confdefs.h. */
29514 #include <setjmp.h>
29516 main ()
29518 sigjmp_buf env;
29519 while (! sigsetjmp (env, 1))
29520 siglongjmp (env, 1);
29523 return 0;
29525 _ACEOF
29526 rm -f conftest.$ac_objext
29527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29528 (eval $ac_compile) 2>conftest.er1
29529 ac_status=$?
29530 grep -v '^ *+' conftest.er1 >conftest.err
29531 rm -f conftest.er1
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } &&
29535 { ac_try='test -z "$ac_c_werror_flag"
29536 || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try='test -s conftest.$ac_objext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29549 cat >>confdefs.h <<\_ACEOF
29550 #define HAVE_SIGSETJMP 1
29551 _ACEOF
29553 else
29554 echo "$as_me: failed program was:" >&5
29555 sed 's/^/| /' conftest.$ac_ext >&5
29558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29560 if test x$gcc_no_link = xyes; then
29561 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29562 ac_cv_func_mmap_fixed_mapped=no
29565 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29568 for ac_header in stdlib.h unistd.h
29570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29572 echo "$as_me:$LINENO: checking for $ac_header" >&5
29573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29575 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29579 else
29580 # Is the header compilable?
29581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29583 cat >conftest.$ac_ext <<_ACEOF
29584 /* confdefs.h. */
29585 _ACEOF
29586 cat confdefs.h >>conftest.$ac_ext
29587 cat >>conftest.$ac_ext <<_ACEOF
29588 /* end confdefs.h. */
29589 $ac_includes_default
29590 #include <$ac_header>
29591 _ACEOF
29592 rm -f conftest.$ac_objext
29593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29594 (eval $ac_compile) 2>conftest.er1
29595 ac_status=$?
29596 grep -v '^ *+' conftest.er1 >conftest.err
29597 rm -f conftest.er1
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } &&
29601 { ac_try='test -z "$ac_c_werror_flag"
29602 || test ! -s conftest.err'
29603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29604 (eval $ac_try) 2>&5
29605 ac_status=$?
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); }; } &&
29608 { ac_try='test -s conftest.$ac_objext'
29609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29610 (eval $ac_try) 2>&5
29611 ac_status=$?
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); }; }; then
29614 ac_header_compiler=yes
29615 else
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29619 ac_header_compiler=no
29621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29623 echo "${ECHO_T}$ac_header_compiler" >&6
29625 # Is the header present?
29626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29628 cat >conftest.$ac_ext <<_ACEOF
29629 /* confdefs.h. */
29630 _ACEOF
29631 cat confdefs.h >>conftest.$ac_ext
29632 cat >>conftest.$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 #include <$ac_header>
29635 _ACEOF
29636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29638 ac_status=$?
29639 grep -v '^ *+' conftest.er1 >conftest.err
29640 rm -f conftest.er1
29641 cat conftest.err >&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } >/dev/null; then
29644 if test -s conftest.err; then
29645 ac_cpp_err=$ac_c_preproc_warn_flag
29646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29647 else
29648 ac_cpp_err=
29650 else
29651 ac_cpp_err=yes
29653 if test -z "$ac_cpp_err"; then
29654 ac_header_preproc=yes
29655 else
29656 echo "$as_me: failed program was:" >&5
29657 sed 's/^/| /' conftest.$ac_ext >&5
29659 ac_header_preproc=no
29661 rm -f conftest.err conftest.$ac_ext
29662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29663 echo "${ECHO_T}$ac_header_preproc" >&6
29665 # So? What about this header?
29666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29667 yes:no: )
29668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29672 ac_header_preproc=yes
29674 no:yes:* )
29675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29688 cat <<\_ASBOX
29689 ## ----------------------------------------- ##
29690 ## Report this to the package-unused lists. ##
29691 ## ----------------------------------------- ##
29692 _ASBOX
29694 sed "s/^/$as_me: WARNING: /" >&2
29696 esac
29697 echo "$as_me:$LINENO: checking for $ac_header" >&5
29698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29700 echo $ECHO_N "(cached) $ECHO_C" >&6
29701 else
29702 eval "$as_ac_Header=\$ac_header_preproc"
29704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29709 cat >>confdefs.h <<_ACEOF
29710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29711 _ACEOF
29715 done
29718 for ac_func in getpagesize
29720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29721 echo "$as_me:$LINENO: checking for $ac_func" >&5
29722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29723 if eval "test \"\${$as_ac_var+set}\" = set"; then
29724 echo $ECHO_N "(cached) $ECHO_C" >&6
29725 else
29726 if test x$gcc_no_link = xyes; then
29727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29729 { (exit 1); exit 1; }; }
29731 cat >conftest.$ac_ext <<_ACEOF
29732 /* confdefs.h. */
29733 _ACEOF
29734 cat confdefs.h >>conftest.$ac_ext
29735 cat >>conftest.$ac_ext <<_ACEOF
29736 /* end confdefs.h. */
29737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29739 #define $ac_func innocuous_$ac_func
29741 /* System header to define __stub macros and hopefully few prototypes,
29742 which can conflict with char $ac_func (); below.
29743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29744 <limits.h> exists even on freestanding compilers. */
29746 #ifdef __STDC__
29747 # include <limits.h>
29748 #else
29749 # include <assert.h>
29750 #endif
29752 #undef $ac_func
29754 /* Override any gcc2 internal prototype to avoid an error. */
29755 #ifdef __cplusplus
29756 extern "C"
29758 #endif
29759 /* We use char because int might match the return type of a gcc2
29760 builtin and then its argument prototype would still apply. */
29761 char $ac_func ();
29762 /* The GNU C library defines this for functions which it implements
29763 to always fail with ENOSYS. Some functions are actually named
29764 something starting with __ and the normal name is an alias. */
29765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29766 choke me
29767 #else
29768 char (*f) () = $ac_func;
29769 #endif
29770 #ifdef __cplusplus
29772 #endif
29775 main ()
29777 return f != $ac_func;
29779 return 0;
29781 _ACEOF
29782 rm -f conftest.$ac_objext conftest$ac_exeext
29783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29784 (eval $ac_link) 2>conftest.er1
29785 ac_status=$?
29786 grep -v '^ *+' conftest.er1 >conftest.err
29787 rm -f conftest.er1
29788 cat conftest.err >&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } &&
29791 { ac_try='test -z "$ac_c_werror_flag"
29792 || test ! -s conftest.err'
29793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29794 (eval $ac_try) 2>&5
29795 ac_status=$?
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); }; } &&
29798 { ac_try='test -s conftest$ac_exeext'
29799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29800 (eval $ac_try) 2>&5
29801 ac_status=$?
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); }; }; then
29804 eval "$as_ac_var=yes"
29805 else
29806 echo "$as_me: failed program was:" >&5
29807 sed 's/^/| /' conftest.$ac_ext >&5
29809 eval "$as_ac_var=no"
29811 rm -f conftest.err conftest.$ac_objext \
29812 conftest$ac_exeext conftest.$ac_ext
29814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29816 if test `eval echo '${'$as_ac_var'}'` = yes; then
29817 cat >>confdefs.h <<_ACEOF
29818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29819 _ACEOF
29822 done
29824 echo "$as_me:$LINENO: checking for working mmap" >&5
29825 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29826 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29828 else
29829 if test "$cross_compiling" = yes; then
29830 ac_cv_func_mmap_fixed_mapped=no
29831 else
29832 cat >conftest.$ac_ext <<_ACEOF
29833 /* confdefs.h. */
29834 _ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 $ac_includes_default
29839 /* malloc might have been renamed as rpl_malloc. */
29840 #undef malloc
29842 /* Thanks to Mike Haertel and Jim Avera for this test.
29843 Here is a matrix of mmap possibilities:
29844 mmap private not fixed
29845 mmap private fixed at somewhere currently unmapped
29846 mmap private fixed at somewhere already mapped
29847 mmap shared not fixed
29848 mmap shared fixed at somewhere currently unmapped
29849 mmap shared fixed at somewhere already mapped
29850 For private mappings, we should verify that changes cannot be read()
29851 back from the file, nor mmap's back from the file at a different
29852 address. (There have been systems where private was not correctly
29853 implemented like the infamous i386 svr4.0, and systems where the
29854 VM page cache was not coherent with the file system buffer cache
29855 like early versions of FreeBSD and possibly contemporary NetBSD.)
29856 For shared mappings, we should conversely verify that changes get
29857 propagated back to all the places they're supposed to be.
29859 Grep wants private fixed already mapped.
29860 The main things grep needs to know about mmap are:
29861 * does it exist and is it safe to write into the mmap'd area
29862 * how to use it (BSD variants) */
29864 #include <fcntl.h>
29865 #include <sys/mman.h>
29867 #if !STDC_HEADERS && !HAVE_STDLIB_H
29868 char *malloc ();
29869 #endif
29871 /* This mess was copied from the GNU getpagesize.h. */
29872 #if !HAVE_GETPAGESIZE
29873 /* Assume that all systems that can run configure have sys/param.h. */
29874 # if !HAVE_SYS_PARAM_H
29875 # define HAVE_SYS_PARAM_H 1
29876 # endif
29878 # ifdef _SC_PAGESIZE
29879 # define getpagesize() sysconf(_SC_PAGESIZE)
29880 # else /* no _SC_PAGESIZE */
29881 # if HAVE_SYS_PARAM_H
29882 # include <sys/param.h>
29883 # ifdef EXEC_PAGESIZE
29884 # define getpagesize() EXEC_PAGESIZE
29885 # else /* no EXEC_PAGESIZE */
29886 # ifdef NBPG
29887 # define getpagesize() NBPG * CLSIZE
29888 # ifndef CLSIZE
29889 # define CLSIZE 1
29890 # endif /* no CLSIZE */
29891 # else /* no NBPG */
29892 # ifdef NBPC
29893 # define getpagesize() NBPC
29894 # else /* no NBPC */
29895 # ifdef PAGESIZE
29896 # define getpagesize() PAGESIZE
29897 # endif /* PAGESIZE */
29898 # endif /* no NBPC */
29899 # endif /* no NBPG */
29900 # endif /* no EXEC_PAGESIZE */
29901 # else /* no HAVE_SYS_PARAM_H */
29902 # define getpagesize() 8192 /* punt totally */
29903 # endif /* no HAVE_SYS_PARAM_H */
29904 # endif /* no _SC_PAGESIZE */
29906 #endif /* no HAVE_GETPAGESIZE */
29909 main ()
29911 char *data, *data2, *data3;
29912 int i, pagesize;
29913 int fd;
29915 pagesize = getpagesize ();
29917 /* First, make a file with some known garbage in it. */
29918 data = (char *) malloc (pagesize);
29919 if (!data)
29920 exit (1);
29921 for (i = 0; i < pagesize; ++i)
29922 *(data + i) = rand ();
29923 umask (0);
29924 fd = creat ("conftest.mmap", 0600);
29925 if (fd < 0)
29926 exit (1);
29927 if (write (fd, data, pagesize) != pagesize)
29928 exit (1);
29929 close (fd);
29931 /* Next, try to mmap the file at a fixed address which already has
29932 something else allocated at it. If we can, also make sure that
29933 we see the same garbage. */
29934 fd = open ("conftest.mmap", O_RDWR);
29935 if (fd < 0)
29936 exit (1);
29937 data2 = (char *) malloc (2 * pagesize);
29938 if (!data2)
29939 exit (1);
29940 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29941 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29942 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29943 exit (1);
29944 for (i = 0; i < pagesize; ++i)
29945 if (*(data + i) != *(data2 + i))
29946 exit (1);
29948 /* Finally, make sure that changes to the mapped area do not
29949 percolate back to the file as seen by read(). (This is a bug on
29950 some variants of i386 svr4.0.) */
29951 for (i = 0; i < pagesize; ++i)
29952 *(data2 + i) = *(data2 + i) + 1;
29953 data3 = (char *) malloc (pagesize);
29954 if (!data3)
29955 exit (1);
29956 if (read (fd, data3, pagesize) != pagesize)
29957 exit (1);
29958 for (i = 0; i < pagesize; ++i)
29959 if (*(data + i) != *(data3 + i))
29960 exit (1);
29961 close (fd);
29962 exit (0);
29964 _ACEOF
29965 rm -f conftest$ac_exeext
29966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29967 (eval $ac_link) 2>&5
29968 ac_status=$?
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 ac_cv_func_mmap_fixed_mapped=yes
29977 else
29978 echo "$as_me: program exited with status $ac_status" >&5
29979 echo "$as_me: failed program was:" >&5
29980 sed 's/^/| /' conftest.$ac_ext >&5
29982 ( exit $ac_status )
29983 ac_cv_func_mmap_fixed_mapped=no
29985 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29988 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29989 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29990 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29992 cat >>confdefs.h <<\_ACEOF
29993 #define HAVE_MMAP 1
29994 _ACEOF
29997 rm -f conftest.mmap
30001 else
30003 # This lets us hard-code the functionality we know we'll have in the cross
30004 # target environment. "Let" is a sugar-coated word placed on an especially
30005 # dull and tedious hack, actually.
30007 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30008 # that involve linking, can't be used:
30009 # "cannot open sim-crt0.o"
30010 # "cannot open crt0.o"
30011 # etc. All this is because there currently exists no unified, consistent
30012 # way for top level CC information to be passed down to target directories:
30013 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30014 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30015 # crosses can be removed.
30017 # If Canadian cross, then don't pick up tools from the build directory.
30018 # Used only in GLIBCXX_EXPORT_INCLUDES.
30019 if test -n "$with_cross_host" &&
30020 test x"$build_alias" != x"$with_cross_host" &&
30021 test x"$build" != x"$target";
30022 then
30023 CANADIAN=yes
30024 else
30025 CANADIAN=no
30028 # Construct crosses by hand, eliminating bits that need ld...
30029 # GLIBCXX_CHECK_COMPILER_FEATURES
30030 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30031 # GLIBCXX_CHECK_MATH_SUPPORT
30033 # First, test for "known" system libraries. We may be using newlib even
30034 # on a hosted environment.
30035 if test "x${with_newlib}" = "xyes"; then
30036 os_include_dir="os/newlib"
30037 cat >>confdefs.h <<\_ACEOF
30038 #define HAVE_HYPOT 1
30039 _ACEOF
30042 # GLIBCXX_CHECK_STDLIB_SUPPORT
30043 cat >>confdefs.h <<\_ACEOF
30044 #define HAVE_STRTOF 1
30045 _ACEOF
30047 # AC_FUNC_MMAP
30048 cat >>confdefs.h <<\_ACEOF
30049 #define HAVE_MMAP 1
30050 _ACEOF
30053 cat >>confdefs.h <<\_ACEOF
30054 #define HAVE_ACOSF 1
30055 _ACEOF
30057 cat >>confdefs.h <<\_ACEOF
30058 #define HAVE_ASINF 1
30059 _ACEOF
30061 cat >>confdefs.h <<\_ACEOF
30062 #define HAVE_ATAN2F 1
30063 _ACEOF
30065 cat >>confdefs.h <<\_ACEOF
30066 #define HAVE_ATANF 1
30067 _ACEOF
30069 cat >>confdefs.h <<\_ACEOF
30070 #define HAVE_CEILF 1
30071 _ACEOF
30073 cat >>confdefs.h <<\_ACEOF
30074 #define HAVE_COPYSIGN 1
30075 _ACEOF
30077 cat >>confdefs.h <<\_ACEOF
30078 #define HAVE_COPYSIGNF 1
30079 _ACEOF
30081 cat >>confdefs.h <<\_ACEOF
30082 #define HAVE_COSF 1
30083 _ACEOF
30085 cat >>confdefs.h <<\_ACEOF
30086 #define HAVE_COSHF 1
30087 _ACEOF
30089 cat >>confdefs.h <<\_ACEOF
30090 #define HAVE_EXPF 1
30091 _ACEOF
30093 cat >>confdefs.h <<\_ACEOF
30094 #define HAVE_FABSF 1
30095 _ACEOF
30097 cat >>confdefs.h <<\_ACEOF
30098 #define HAVE_FLOORF 1
30099 _ACEOF
30101 cat >>confdefs.h <<\_ACEOF
30102 #define HAVE_FMODF 1
30103 _ACEOF
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_FREXPF 1
30107 _ACEOF
30109 cat >>confdefs.h <<\_ACEOF
30110 #define HAVE_LDEXPF 1
30111 _ACEOF
30113 cat >>confdefs.h <<\_ACEOF
30114 #define HAVE_LOG10F 1
30115 _ACEOF
30117 cat >>confdefs.h <<\_ACEOF
30118 #define HAVE_LOGF 1
30119 _ACEOF
30121 cat >>confdefs.h <<\_ACEOF
30122 #define HAVE_MODFF 1
30123 _ACEOF
30125 cat >>confdefs.h <<\_ACEOF
30126 #define HAVE_POWF 1
30127 _ACEOF
30129 cat >>confdefs.h <<\_ACEOF
30130 #define HAVE_SINF 1
30131 _ACEOF
30133 cat >>confdefs.h <<\_ACEOF
30134 #define HAVE_SINHF 1
30135 _ACEOF
30137 cat >>confdefs.h <<\_ACEOF
30138 #define HAVE_SQRTF 1
30139 _ACEOF
30141 cat >>confdefs.h <<\_ACEOF
30142 #define HAVE_TANF 1
30143 _ACEOF
30145 cat >>confdefs.h <<\_ACEOF
30146 #define HAVE_TANHF 1
30147 _ACEOF
30150 cat >>confdefs.h <<\_ACEOF
30151 #define HAVE_S_ISREG 1
30152 _ACEOF
30154 cat >>confdefs.h <<\_ACEOF
30155 #define HAVE_S_IFREG 1
30156 _ACEOF
30158 else
30160 # Base decisions on target environment.
30161 case "${host}" in
30162 arm*-*-symbianelf*)
30163 # This is a freestanding configuration; there is nothing to do here.
30166 *-darwin*)
30167 # Darwin versions vary, but the linker should work in a cross environment,
30168 # so we just check for all the features here.
30169 # Check for available headers.
30183 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30184 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30185 sys/types.h
30187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30189 echo "$as_me:$LINENO: checking for $ac_header" >&5
30190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30192 echo $ECHO_N "(cached) $ECHO_C" >&6
30194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30196 else
30197 # Is the header compilable?
30198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30200 cat >conftest.$ac_ext <<_ACEOF
30201 /* confdefs.h. */
30202 _ACEOF
30203 cat confdefs.h >>conftest.$ac_ext
30204 cat >>conftest.$ac_ext <<_ACEOF
30205 /* end confdefs.h. */
30206 $ac_includes_default
30207 #include <$ac_header>
30208 _ACEOF
30209 rm -f conftest.$ac_objext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30211 (eval $ac_compile) 2>conftest.er1
30212 ac_status=$?
30213 grep -v '^ *+' conftest.er1 >conftest.err
30214 rm -f conftest.er1
30215 cat conftest.err >&5
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); } &&
30218 { ac_try='test -z "$ac_c_werror_flag"
30219 || test ! -s conftest.err'
30220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30221 (eval $ac_try) 2>&5
30222 ac_status=$?
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); }; } &&
30225 { ac_try='test -s conftest.$ac_objext'
30226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30227 (eval $ac_try) 2>&5
30228 ac_status=$?
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); }; }; then
30231 ac_header_compiler=yes
30232 else
30233 echo "$as_me: failed program was:" >&5
30234 sed 's/^/| /' conftest.$ac_ext >&5
30236 ac_header_compiler=no
30238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30240 echo "${ECHO_T}$ac_header_compiler" >&6
30242 # Is the header present?
30243 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30244 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251 #include <$ac_header>
30252 _ACEOF
30253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30255 ac_status=$?
30256 grep -v '^ *+' conftest.er1 >conftest.err
30257 rm -f conftest.er1
30258 cat conftest.err >&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); } >/dev/null; then
30261 if test -s conftest.err; then
30262 ac_cpp_err=$ac_c_preproc_warn_flag
30263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30264 else
30265 ac_cpp_err=
30267 else
30268 ac_cpp_err=yes
30270 if test -z "$ac_cpp_err"; then
30271 ac_header_preproc=yes
30272 else
30273 echo "$as_me: failed program was:" >&5
30274 sed 's/^/| /' conftest.$ac_ext >&5
30276 ac_header_preproc=no
30278 rm -f conftest.err conftest.$ac_ext
30279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30280 echo "${ECHO_T}$ac_header_preproc" >&6
30282 # So? What about this header?
30283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30284 yes:no: )
30285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30289 ac_header_preproc=yes
30291 no:yes:* )
30292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30305 cat <<\_ASBOX
30306 ## ----------------------------------------- ##
30307 ## Report this to the package-unused lists. ##
30308 ## ----------------------------------------- ##
30309 _ASBOX
30311 sed "s/^/$as_me: WARNING: /" >&2
30313 esac
30314 echo "$as_me:$LINENO: checking for $ac_header" >&5
30315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30317 echo $ECHO_N "(cached) $ECHO_C" >&6
30318 else
30319 eval "$as_ac_Header=\$ac_header_preproc"
30321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30326 cat >>confdefs.h <<_ACEOF
30327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30328 _ACEOF
30332 done
30336 # All these tests are for C++; save the language and the compiler flags.
30337 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30338 # found in GLIBCXX_CONFIGURE.
30341 ac_ext=cc
30342 ac_cpp='$CXXCPP $CPPFLAGS'
30343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30348 ac_save_CXXFLAGS="$CXXFLAGS"
30350 # Check for maintainer-mode bits.
30351 if test x"$USE_MAINTAINER_MODE" = xno; then
30352 WERROR=''
30353 else
30354 WERROR='-Werror'
30357 # Check for -ffunction-sections -fdata-sections
30358 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30359 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30360 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30369 main ()
30371 int foo;
30373 return 0;
30375 _ACEOF
30376 rm -f conftest.$ac_objext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30378 (eval $ac_compile) 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -z "$ac_cxx_werror_flag"
30386 || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30389 ac_status=$?
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try='test -s conftest.$ac_objext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30395 ac_status=$?
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 ac_fdsections=yes
30399 else
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30403 ac_fdsections=no
30405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30406 if test "$ac_test_CXXFLAGS" = set; then
30407 CXXFLAGS="$ac_save_CXXFLAGS"
30408 else
30409 # this is the suspicious part
30410 CXXFLAGS=''
30412 if test x"$ac_fdsections" = x"yes"; then
30413 SECTION_FLAGS='-ffunction-sections -fdata-sections'
30415 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
30416 echo "${ECHO_T}$ac_fdsections" >&6
30418 ac_ext=c
30419 ac_cpp='$CPP $CPPFLAGS'
30420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30427 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
30429 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30430 ac_save_CXXFLAGS="$CXXFLAGS"
30431 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30433 echo "$as_me:$LINENO: checking for sin in -lm" >&5
30434 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
30435 if test "${ac_cv_lib_m_sin+set}" = set; then
30436 echo $ECHO_N "(cached) $ECHO_C" >&6
30437 else
30438 ac_check_lib_save_LIBS=$LIBS
30439 LIBS="-lm $LIBS"
30440 if test x$gcc_no_link = xyes; then
30441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30443 { (exit 1); exit 1; }; }
30445 cat >conftest.$ac_ext <<_ACEOF
30446 /* confdefs.h. */
30447 _ACEOF
30448 cat confdefs.h >>conftest.$ac_ext
30449 cat >>conftest.$ac_ext <<_ACEOF
30450 /* end confdefs.h. */
30452 /* Override any gcc2 internal prototype to avoid an error. */
30453 #ifdef __cplusplus
30454 extern "C"
30455 #endif
30456 /* We use char because int might match the return type of a gcc2
30457 builtin and then its argument prototype would still apply. */
30458 char sin ();
30460 main ()
30462 sin ();
30464 return 0;
30466 _ACEOF
30467 rm -f conftest.$ac_objext conftest$ac_exeext
30468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30469 (eval $ac_link) 2>conftest.er1
30470 ac_status=$?
30471 grep -v '^ *+' conftest.er1 >conftest.err
30472 rm -f conftest.er1
30473 cat conftest.err >&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); } &&
30476 { ac_try='test -z "$ac_c_werror_flag"
30477 || test ! -s conftest.err'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30480 ac_status=$?
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; } &&
30483 { ac_try='test -s conftest$ac_exeext'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; }; then
30489 ac_cv_lib_m_sin=yes
30490 else
30491 echo "$as_me: failed program was:" >&5
30492 sed 's/^/| /' conftest.$ac_ext >&5
30494 ac_cv_lib_m_sin=no
30496 rm -f conftest.err conftest.$ac_objext \
30497 conftest$ac_exeext conftest.$ac_ext
30498 LIBS=$ac_check_lib_save_LIBS
30500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
30501 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
30502 if test $ac_cv_lib_m_sin = yes; then
30503 libm="-lm"
30506 ac_save_LIBS="$LIBS"
30507 LIBS="$LIBS $libm"
30511 echo "$as_me:$LINENO: checking for isinf declaration" >&5
30512 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
30513 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30514 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
30515 echo $ECHO_N "(cached) $ECHO_C" >&6
30516 else
30520 ac_ext=cc
30521 ac_cpp='$CXXCPP $CPPFLAGS'
30522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30526 cat >conftest.$ac_ext <<_ACEOF
30527 /* confdefs.h. */
30528 _ACEOF
30529 cat confdefs.h >>conftest.$ac_ext
30530 cat >>conftest.$ac_ext <<_ACEOF
30531 /* end confdefs.h. */
30532 #include <math.h>
30533 #ifdef HAVE_IEEEFP_H
30534 #include <ieeefp.h>
30535 #endif
30538 main ()
30540 isinf(0);
30542 return 0;
30544 _ACEOF
30545 rm -f conftest.$ac_objext
30546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30547 (eval $ac_compile) 2>conftest.er1
30548 ac_status=$?
30549 grep -v '^ *+' conftest.er1 >conftest.err
30550 rm -f conftest.er1
30551 cat conftest.err >&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); } &&
30554 { ac_try='test -z "$ac_cxx_werror_flag"
30555 || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30558 ac_status=$?
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try='test -s conftest.$ac_objext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 glibcxx_cv_func_isinf_use=yes
30568 else
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30572 glibcxx_cv_func_isinf_use=no
30574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30575 ac_ext=c
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
30586 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
30588 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30590 for ac_func in isinf
30592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30593 echo "$as_me:$LINENO: checking for $ac_func" >&5
30594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30595 if eval "test \"\${$as_ac_var+set}\" = set"; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30597 else
30598 if test x$gcc_no_link = xyes; then
30599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30601 { (exit 1); exit 1; }; }
30603 cat >conftest.$ac_ext <<_ACEOF
30604 /* confdefs.h. */
30605 _ACEOF
30606 cat confdefs.h >>conftest.$ac_ext
30607 cat >>conftest.$ac_ext <<_ACEOF
30608 /* end confdefs.h. */
30609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30611 #define $ac_func innocuous_$ac_func
30613 /* System header to define __stub macros and hopefully few prototypes,
30614 which can conflict with char $ac_func (); below.
30615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30616 <limits.h> exists even on freestanding compilers. */
30618 #ifdef __STDC__
30619 # include <limits.h>
30620 #else
30621 # include <assert.h>
30622 #endif
30624 #undef $ac_func
30626 /* Override any gcc2 internal prototype to avoid an error. */
30627 #ifdef __cplusplus
30628 extern "C"
30630 #endif
30631 /* We use char because int might match the return type of a gcc2
30632 builtin and then its argument prototype would still apply. */
30633 char $ac_func ();
30634 /* The GNU C library defines this for functions which it implements
30635 to always fail with ENOSYS. Some functions are actually named
30636 something starting with __ and the normal name is an alias. */
30637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30638 choke me
30639 #else
30640 char (*f) () = $ac_func;
30641 #endif
30642 #ifdef __cplusplus
30644 #endif
30647 main ()
30649 return f != $ac_func;
30651 return 0;
30653 _ACEOF
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30656 (eval $ac_link) 2>conftest.er1
30657 ac_status=$?
30658 grep -v '^ *+' conftest.er1 >conftest.err
30659 rm -f conftest.er1
30660 cat conftest.err >&5
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); } &&
30663 { ac_try='test -z "$ac_c_werror_flag"
30664 || test ! -s conftest.err'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30667 ac_status=$?
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; } &&
30670 { ac_try='test -s conftest$ac_exeext'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; }; then
30676 eval "$as_ac_var=yes"
30677 else
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.$ac_ext >&5
30681 eval "$as_ac_var=no"
30683 rm -f conftest.err conftest.$ac_objext \
30684 conftest$ac_exeext conftest.$ac_ext
30686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30688 if test `eval echo '${'$as_ac_var'}'` = yes; then
30689 cat >>confdefs.h <<_ACEOF
30690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30691 _ACEOF
30694 done
30696 else
30698 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
30699 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
30700 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30701 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
30702 echo $ECHO_N "(cached) $ECHO_C" >&6
30703 else
30707 ac_ext=cc
30708 ac_cpp='$CXXCPP $CPPFLAGS'
30709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 #include <math.h>
30720 #ifdef HAVE_IEEEFP_H
30721 #include <ieeefp.h>
30722 #endif
30725 main ()
30727 _isinf(0);
30729 return 0;
30731 _ACEOF
30732 rm -f conftest.$ac_objext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>conftest.er1
30735 ac_status=$?
30736 grep -v '^ *+' conftest.er1 >conftest.err
30737 rm -f conftest.er1
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try='test -z "$ac_cxx_werror_flag"
30742 || test ! -s conftest.err'
30743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30744 (eval $ac_try) 2>&5
30745 ac_status=$?
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; } &&
30748 { ac_try='test -s conftest.$ac_objext'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30751 ac_status=$?
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; }; then
30754 glibcxx_cv_func__isinf_use=yes
30755 else
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30759 glibcxx_cv_func__isinf_use=no
30761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30762 ac_ext=c
30763 ac_cpp='$CPP $CPPFLAGS'
30764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
30773 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
30775 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30777 for ac_func in _isinf
30779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30780 echo "$as_me:$LINENO: checking for $ac_func" >&5
30781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30782 if eval "test \"\${$as_ac_var+set}\" = set"; then
30783 echo $ECHO_N "(cached) $ECHO_C" >&6
30784 else
30785 if test x$gcc_no_link = xyes; then
30786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30788 { (exit 1); exit 1; }; }
30790 cat >conftest.$ac_ext <<_ACEOF
30791 /* confdefs.h. */
30792 _ACEOF
30793 cat confdefs.h >>conftest.$ac_ext
30794 cat >>conftest.$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30798 #define $ac_func innocuous_$ac_func
30800 /* System header to define __stub macros and hopefully few prototypes,
30801 which can conflict with char $ac_func (); below.
30802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30803 <limits.h> exists even on freestanding compilers. */
30805 #ifdef __STDC__
30806 # include <limits.h>
30807 #else
30808 # include <assert.h>
30809 #endif
30811 #undef $ac_func
30813 /* Override any gcc2 internal prototype to avoid an error. */
30814 #ifdef __cplusplus
30815 extern "C"
30817 #endif
30818 /* We use char because int might match the return type of a gcc2
30819 builtin and then its argument prototype would still apply. */
30820 char $ac_func ();
30821 /* The GNU C library defines this for functions which it implements
30822 to always fail with ENOSYS. Some functions are actually named
30823 something starting with __ and the normal name is an alias. */
30824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30825 choke me
30826 #else
30827 char (*f) () = $ac_func;
30828 #endif
30829 #ifdef __cplusplus
30831 #endif
30834 main ()
30836 return f != $ac_func;
30838 return 0;
30840 _ACEOF
30841 rm -f conftest.$ac_objext conftest$ac_exeext
30842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30843 (eval $ac_link) 2>conftest.er1
30844 ac_status=$?
30845 grep -v '^ *+' conftest.er1 >conftest.err
30846 rm -f conftest.er1
30847 cat conftest.err >&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try='test -z "$ac_c_werror_flag"
30851 || test ! -s conftest.err'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30854 ac_status=$?
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; } &&
30857 { ac_try='test -s conftest$ac_exeext'
30858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30859 (eval $ac_try) 2>&5
30860 ac_status=$?
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); }; }; then
30863 eval "$as_ac_var=yes"
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30868 eval "$as_ac_var=no"
30870 rm -f conftest.err conftest.$ac_objext \
30871 conftest$ac_exeext conftest.$ac_ext
30873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30875 if test `eval echo '${'$as_ac_var'}'` = yes; then
30876 cat >>confdefs.h <<_ACEOF
30877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30878 _ACEOF
30881 done
30888 echo "$as_me:$LINENO: checking for isnan declaration" >&5
30889 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
30890 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30891 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
30892 echo $ECHO_N "(cached) $ECHO_C" >&6
30893 else
30897 ac_ext=cc
30898 ac_cpp='$CXXCPP $CPPFLAGS'
30899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30903 cat >conftest.$ac_ext <<_ACEOF
30904 /* confdefs.h. */
30905 _ACEOF
30906 cat confdefs.h >>conftest.$ac_ext
30907 cat >>conftest.$ac_ext <<_ACEOF
30908 /* end confdefs.h. */
30909 #include <math.h>
30910 #ifdef HAVE_IEEEFP_H
30911 #include <ieeefp.h>
30912 #endif
30915 main ()
30917 isnan(0);
30919 return 0;
30921 _ACEOF
30922 rm -f conftest.$ac_objext
30923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30924 (eval $ac_compile) 2>conftest.er1
30925 ac_status=$?
30926 grep -v '^ *+' conftest.er1 >conftest.err
30927 rm -f conftest.er1
30928 cat conftest.err >&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); } &&
30931 { ac_try='test -z "$ac_cxx_werror_flag"
30932 || test ! -s conftest.err'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; } &&
30938 { ac_try='test -s conftest.$ac_objext'
30939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30940 (eval $ac_try) 2>&5
30941 ac_status=$?
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; }; then
30944 glibcxx_cv_func_isnan_use=yes
30945 else
30946 echo "$as_me: failed program was:" >&5
30947 sed 's/^/| /' conftest.$ac_ext >&5
30949 glibcxx_cv_func_isnan_use=no
30951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30952 ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30962 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
30963 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
30965 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30967 for ac_func in isnan
30969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30970 echo "$as_me:$LINENO: checking for $ac_func" >&5
30971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30972 if eval "test \"\${$as_ac_var+set}\" = set"; then
30973 echo $ECHO_N "(cached) $ECHO_C" >&6
30974 else
30975 if test x$gcc_no_link = xyes; then
30976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30978 { (exit 1); exit 1; }; }
30980 cat >conftest.$ac_ext <<_ACEOF
30981 /* confdefs.h. */
30982 _ACEOF
30983 cat confdefs.h >>conftest.$ac_ext
30984 cat >>conftest.$ac_ext <<_ACEOF
30985 /* end confdefs.h. */
30986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30988 #define $ac_func innocuous_$ac_func
30990 /* System header to define __stub macros and hopefully few prototypes,
30991 which can conflict with char $ac_func (); below.
30992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30993 <limits.h> exists even on freestanding compilers. */
30995 #ifdef __STDC__
30996 # include <limits.h>
30997 #else
30998 # include <assert.h>
30999 #endif
31001 #undef $ac_func
31003 /* Override any gcc2 internal prototype to avoid an error. */
31004 #ifdef __cplusplus
31005 extern "C"
31007 #endif
31008 /* We use char because int might match the return type of a gcc2
31009 builtin and then its argument prototype would still apply. */
31010 char $ac_func ();
31011 /* The GNU C library defines this for functions which it implements
31012 to always fail with ENOSYS. Some functions are actually named
31013 something starting with __ and the normal name is an alias. */
31014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31015 choke me
31016 #else
31017 char (*f) () = $ac_func;
31018 #endif
31019 #ifdef __cplusplus
31021 #endif
31024 main ()
31026 return f != $ac_func;
31028 return 0;
31030 _ACEOF
31031 rm -f conftest.$ac_objext conftest$ac_exeext
31032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31033 (eval $ac_link) 2>conftest.er1
31034 ac_status=$?
31035 grep -v '^ *+' conftest.er1 >conftest.err
31036 rm -f conftest.er1
31037 cat conftest.err >&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } &&
31040 { ac_try='test -z "$ac_c_werror_flag"
31041 || test ! -s conftest.err'
31042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31043 (eval $ac_try) 2>&5
31044 ac_status=$?
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); }; } &&
31047 { ac_try='test -s conftest$ac_exeext'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31050 ac_status=$?
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; }; then
31053 eval "$as_ac_var=yes"
31054 else
31055 echo "$as_me: failed program was:" >&5
31056 sed 's/^/| /' conftest.$ac_ext >&5
31058 eval "$as_ac_var=no"
31060 rm -f conftest.err conftest.$ac_objext \
31061 conftest$ac_exeext conftest.$ac_ext
31063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31065 if test `eval echo '${'$as_ac_var'}'` = yes; then
31066 cat >>confdefs.h <<_ACEOF
31067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31068 _ACEOF
31071 done
31073 else
31075 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31076 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31077 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31078 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31079 echo $ECHO_N "(cached) $ECHO_C" >&6
31080 else
31084 ac_ext=cc
31085 ac_cpp='$CXXCPP $CPPFLAGS'
31086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31090 cat >conftest.$ac_ext <<_ACEOF
31091 /* confdefs.h. */
31092 _ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096 #include <math.h>
31097 #ifdef HAVE_IEEEFP_H
31098 #include <ieeefp.h>
31099 #endif
31102 main ()
31104 _isnan(0);
31106 return 0;
31108 _ACEOF
31109 rm -f conftest.$ac_objext
31110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31111 (eval $ac_compile) 2>conftest.er1
31112 ac_status=$?
31113 grep -v '^ *+' conftest.er1 >conftest.err
31114 rm -f conftest.er1
31115 cat conftest.err >&5
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); } &&
31118 { ac_try='test -z "$ac_cxx_werror_flag"
31119 || test ! -s conftest.err'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31122 ac_status=$?
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; } &&
31125 { ac_try='test -s conftest.$ac_objext'
31126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 (eval $ac_try) 2>&5
31128 ac_status=$?
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); }; }; then
31131 glibcxx_cv_func__isnan_use=yes
31132 else
31133 echo "$as_me: failed program was:" >&5
31134 sed 's/^/| /' conftest.$ac_ext >&5
31136 glibcxx_cv_func__isnan_use=no
31138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31139 ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31149 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31150 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31152 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31154 for ac_func in _isnan
31156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31157 echo "$as_me:$LINENO: checking for $ac_func" >&5
31158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31159 if eval "test \"\${$as_ac_var+set}\" = set"; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162 if test x$gcc_no_link = xyes; then
31163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31165 { (exit 1); exit 1; }; }
31167 cat >conftest.$ac_ext <<_ACEOF
31168 /* confdefs.h. */
31169 _ACEOF
31170 cat confdefs.h >>conftest.$ac_ext
31171 cat >>conftest.$ac_ext <<_ACEOF
31172 /* end confdefs.h. */
31173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31175 #define $ac_func innocuous_$ac_func
31177 /* System header to define __stub macros and hopefully few prototypes,
31178 which can conflict with char $ac_func (); below.
31179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31180 <limits.h> exists even on freestanding compilers. */
31182 #ifdef __STDC__
31183 # include <limits.h>
31184 #else
31185 # include <assert.h>
31186 #endif
31188 #undef $ac_func
31190 /* Override any gcc2 internal prototype to avoid an error. */
31191 #ifdef __cplusplus
31192 extern "C"
31194 #endif
31195 /* We use char because int might match the return type of a gcc2
31196 builtin and then its argument prototype would still apply. */
31197 char $ac_func ();
31198 /* The GNU C library defines this for functions which it implements
31199 to always fail with ENOSYS. Some functions are actually named
31200 something starting with __ and the normal name is an alias. */
31201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31202 choke me
31203 #else
31204 char (*f) () = $ac_func;
31205 #endif
31206 #ifdef __cplusplus
31208 #endif
31211 main ()
31213 return f != $ac_func;
31215 return 0;
31217 _ACEOF
31218 rm -f conftest.$ac_objext conftest$ac_exeext
31219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31220 (eval $ac_link) 2>conftest.er1
31221 ac_status=$?
31222 grep -v '^ *+' conftest.er1 >conftest.err
31223 rm -f conftest.er1
31224 cat conftest.err >&5
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); } &&
31227 { ac_try='test -z "$ac_c_werror_flag"
31228 || test ! -s conftest.err'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; } &&
31234 { ac_try='test -s conftest$ac_exeext'
31235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31236 (eval $ac_try) 2>&5
31237 ac_status=$?
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; }; then
31240 eval "$as_ac_var=yes"
31241 else
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31245 eval "$as_ac_var=no"
31247 rm -f conftest.err conftest.$ac_objext \
31248 conftest$ac_exeext conftest.$ac_ext
31250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31252 if test `eval echo '${'$as_ac_var'}'` = yes; then
31253 cat >>confdefs.h <<_ACEOF
31254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31255 _ACEOF
31258 done
31265 echo "$as_me:$LINENO: checking for finite declaration" >&5
31266 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31267 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31268 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31274 ac_ext=cc
31275 ac_cpp='$CXXCPP $CPPFLAGS'
31276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31280 cat >conftest.$ac_ext <<_ACEOF
31281 /* confdefs.h. */
31282 _ACEOF
31283 cat confdefs.h >>conftest.$ac_ext
31284 cat >>conftest.$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286 #include <math.h>
31287 #ifdef HAVE_IEEEFP_H
31288 #include <ieeefp.h>
31289 #endif
31292 main ()
31294 finite(0);
31296 return 0;
31298 _ACEOF
31299 rm -f conftest.$ac_objext
31300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31301 (eval $ac_compile) 2>conftest.er1
31302 ac_status=$?
31303 grep -v '^ *+' conftest.er1 >conftest.err
31304 rm -f conftest.er1
31305 cat conftest.err >&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try='test -z "$ac_cxx_werror_flag"
31309 || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 glibcxx_cv_func_finite_use=yes
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31326 glibcxx_cv_func_finite_use=no
31328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31329 ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31340 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31342 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31344 for ac_func in finite
31346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31347 echo "$as_me:$LINENO: checking for $ac_func" >&5
31348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31349 if eval "test \"\${$as_ac_var+set}\" = set"; then
31350 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 else
31352 if test x$gcc_no_link = xyes; then
31353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31355 { (exit 1); exit 1; }; }
31357 cat >conftest.$ac_ext <<_ACEOF
31358 /* confdefs.h. */
31359 _ACEOF
31360 cat confdefs.h >>conftest.$ac_ext
31361 cat >>conftest.$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31365 #define $ac_func innocuous_$ac_func
31367 /* System header to define __stub macros and hopefully few prototypes,
31368 which can conflict with char $ac_func (); below.
31369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31370 <limits.h> exists even on freestanding compilers. */
31372 #ifdef __STDC__
31373 # include <limits.h>
31374 #else
31375 # include <assert.h>
31376 #endif
31378 #undef $ac_func
31380 /* Override any gcc2 internal prototype to avoid an error. */
31381 #ifdef __cplusplus
31382 extern "C"
31384 #endif
31385 /* We use char because int might match the return type of a gcc2
31386 builtin and then its argument prototype would still apply. */
31387 char $ac_func ();
31388 /* The GNU C library defines this for functions which it implements
31389 to always fail with ENOSYS. Some functions are actually named
31390 something starting with __ and the normal name is an alias. */
31391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31392 choke me
31393 #else
31394 char (*f) () = $ac_func;
31395 #endif
31396 #ifdef __cplusplus
31398 #endif
31401 main ()
31403 return f != $ac_func;
31405 return 0;
31407 _ACEOF
31408 rm -f conftest.$ac_objext conftest$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410 (eval $ac_link) 2>conftest.er1
31411 ac_status=$?
31412 grep -v '^ *+' conftest.er1 >conftest.err
31413 rm -f conftest.er1
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
31417 { ac_try='test -z "$ac_c_werror_flag"
31418 || test ! -s conftest.err'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; } &&
31424 { ac_try='test -s conftest$ac_exeext'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31427 ac_status=$?
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; }; then
31430 eval "$as_ac_var=yes"
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31435 eval "$as_ac_var=no"
31437 rm -f conftest.err conftest.$ac_objext \
31438 conftest$ac_exeext conftest.$ac_ext
31440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31442 if test `eval echo '${'$as_ac_var'}'` = yes; then
31443 cat >>confdefs.h <<_ACEOF
31444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31445 _ACEOF
31448 done
31450 else
31452 echo "$as_me:$LINENO: checking for _finite declaration" >&5
31453 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
31454 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31455 if test "${glibcxx_cv_func__finite_use+set}" = set; then
31456 echo $ECHO_N "(cached) $ECHO_C" >&6
31457 else
31461 ac_ext=cc
31462 ac_cpp='$CXXCPP $CPPFLAGS'
31463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31467 cat >conftest.$ac_ext <<_ACEOF
31468 /* confdefs.h. */
31469 _ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473 #include <math.h>
31474 #ifdef HAVE_IEEEFP_H
31475 #include <ieeefp.h>
31476 #endif
31479 main ()
31481 _finite(0);
31483 return 0;
31485 _ACEOF
31486 rm -f conftest.$ac_objext
31487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31488 (eval $ac_compile) 2>conftest.er1
31489 ac_status=$?
31490 grep -v '^ *+' conftest.er1 >conftest.err
31491 rm -f conftest.er1
31492 cat conftest.err >&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); } &&
31495 { ac_try='test -z "$ac_cxx_werror_flag"
31496 || test ! -s conftest.err'
31497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31498 (eval $ac_try) 2>&5
31499 ac_status=$?
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); }; } &&
31502 { ac_try='test -s conftest.$ac_objext'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; }; then
31508 glibcxx_cv_func__finite_use=yes
31509 else
31510 echo "$as_me: failed program was:" >&5
31511 sed 's/^/| /' conftest.$ac_ext >&5
31513 glibcxx_cv_func__finite_use=no
31515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31516 ac_ext=c
31517 ac_cpp='$CPP $CPPFLAGS'
31518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
31527 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
31529 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31531 for ac_func in _finite
31533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31534 echo "$as_me:$LINENO: checking for $ac_func" >&5
31535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31536 if eval "test \"\${$as_ac_var+set}\" = set"; then
31537 echo $ECHO_N "(cached) $ECHO_C" >&6
31538 else
31539 if test x$gcc_no_link = xyes; then
31540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31542 { (exit 1); exit 1; }; }
31544 cat >conftest.$ac_ext <<_ACEOF
31545 /* confdefs.h. */
31546 _ACEOF
31547 cat confdefs.h >>conftest.$ac_ext
31548 cat >>conftest.$ac_ext <<_ACEOF
31549 /* end confdefs.h. */
31550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31552 #define $ac_func innocuous_$ac_func
31554 /* System header to define __stub macros and hopefully few prototypes,
31555 which can conflict with char $ac_func (); below.
31556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31557 <limits.h> exists even on freestanding compilers. */
31559 #ifdef __STDC__
31560 # include <limits.h>
31561 #else
31562 # include <assert.h>
31563 #endif
31565 #undef $ac_func
31567 /* Override any gcc2 internal prototype to avoid an error. */
31568 #ifdef __cplusplus
31569 extern "C"
31571 #endif
31572 /* We use char because int might match the return type of a gcc2
31573 builtin and then its argument prototype would still apply. */
31574 char $ac_func ();
31575 /* The GNU C library defines this for functions which it implements
31576 to always fail with ENOSYS. Some functions are actually named
31577 something starting with __ and the normal name is an alias. */
31578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31579 choke me
31580 #else
31581 char (*f) () = $ac_func;
31582 #endif
31583 #ifdef __cplusplus
31585 #endif
31588 main ()
31590 return f != $ac_func;
31592 return 0;
31594 _ACEOF
31595 rm -f conftest.$ac_objext conftest$ac_exeext
31596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31597 (eval $ac_link) 2>conftest.er1
31598 ac_status=$?
31599 grep -v '^ *+' conftest.er1 >conftest.err
31600 rm -f conftest.er1
31601 cat conftest.err >&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } &&
31604 { ac_try='test -z "$ac_c_werror_flag"
31605 || test ! -s conftest.err'
31606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31607 (eval $ac_try) 2>&5
31608 ac_status=$?
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); }; } &&
31611 { ac_try='test -s conftest$ac_exeext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 eval "$as_ac_var=yes"
31618 else
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.$ac_ext >&5
31622 eval "$as_ac_var=no"
31624 rm -f conftest.err conftest.$ac_objext \
31625 conftest$ac_exeext conftest.$ac_ext
31627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31629 if test `eval echo '${'$as_ac_var'}'` = yes; then
31630 cat >>confdefs.h <<_ACEOF
31631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31632 _ACEOF
31635 done
31642 echo "$as_me:$LINENO: checking for copysign declaration" >&5
31643 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
31644 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
31645 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647 else
31651 ac_ext=cc
31652 ac_cpp='$CXXCPP $CPPFLAGS'
31653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <math.h>
31665 main ()
31667 copysign(0, 0);
31669 return 0;
31671 _ACEOF
31672 rm -f conftest.$ac_objext
31673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31674 (eval $ac_compile) 2>conftest.er1
31675 ac_status=$?
31676 grep -v '^ *+' conftest.er1 >conftest.err
31677 rm -f conftest.er1
31678 cat conftest.err >&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); } &&
31681 { ac_try='test -z "$ac_cxx_werror_flag"
31682 || test ! -s conftest.err'
31683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31684 (eval $ac_try) 2>&5
31685 ac_status=$?
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); }; } &&
31688 { ac_try='test -s conftest.$ac_objext'
31689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690 (eval $ac_try) 2>&5
31691 ac_status=$?
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; }; then
31694 glibcxx_cv_func_copysign_use=yes
31695 else
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31699 glibcxx_cv_func_copysign_use=no
31701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31702 ac_ext=c
31703 ac_cpp='$CPP $CPPFLAGS'
31704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
31713 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
31715 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
31717 for ac_func in copysign
31719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31720 echo "$as_me:$LINENO: checking for $ac_func" >&5
31721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31722 if eval "test \"\${$as_ac_var+set}\" = set"; then
31723 echo $ECHO_N "(cached) $ECHO_C" >&6
31724 else
31725 if test x$gcc_no_link = xyes; then
31726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31728 { (exit 1); exit 1; }; }
31730 cat >conftest.$ac_ext <<_ACEOF
31731 /* confdefs.h. */
31732 _ACEOF
31733 cat confdefs.h >>conftest.$ac_ext
31734 cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31738 #define $ac_func innocuous_$ac_func
31740 /* System header to define __stub macros and hopefully few prototypes,
31741 which can conflict with char $ac_func (); below.
31742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31743 <limits.h> exists even on freestanding compilers. */
31745 #ifdef __STDC__
31746 # include <limits.h>
31747 #else
31748 # include <assert.h>
31749 #endif
31751 #undef $ac_func
31753 /* Override any gcc2 internal prototype to avoid an error. */
31754 #ifdef __cplusplus
31755 extern "C"
31757 #endif
31758 /* We use char because int might match the return type of a gcc2
31759 builtin and then its argument prototype would still apply. */
31760 char $ac_func ();
31761 /* The GNU C library defines this for functions which it implements
31762 to always fail with ENOSYS. Some functions are actually named
31763 something starting with __ and the normal name is an alias. */
31764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31765 choke me
31766 #else
31767 char (*f) () = $ac_func;
31768 #endif
31769 #ifdef __cplusplus
31771 #endif
31774 main ()
31776 return f != $ac_func;
31778 return 0;
31780 _ACEOF
31781 rm -f conftest.$ac_objext conftest$ac_exeext
31782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31783 (eval $ac_link) 2>conftest.er1
31784 ac_status=$?
31785 grep -v '^ *+' conftest.er1 >conftest.err
31786 rm -f conftest.er1
31787 cat conftest.err >&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); } &&
31790 { ac_try='test -z "$ac_c_werror_flag"
31791 || test ! -s conftest.err'
31792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31793 (eval $ac_try) 2>&5
31794 ac_status=$?
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); }; } &&
31797 { ac_try='test -s conftest$ac_exeext'
31798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31799 (eval $ac_try) 2>&5
31800 ac_status=$?
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); }; }; then
31803 eval "$as_ac_var=yes"
31804 else
31805 echo "$as_me: failed program was:" >&5
31806 sed 's/^/| /' conftest.$ac_ext >&5
31808 eval "$as_ac_var=no"
31810 rm -f conftest.err conftest.$ac_objext \
31811 conftest$ac_exeext conftest.$ac_ext
31813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31815 if test `eval echo '${'$as_ac_var'}'` = yes; then
31816 cat >>confdefs.h <<_ACEOF
31817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31818 _ACEOF
31821 done
31823 else
31825 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
31826 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
31827 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
31828 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
31829 echo $ECHO_N "(cached) $ECHO_C" >&6
31830 else
31834 ac_ext=cc
31835 ac_cpp='$CXXCPP $CPPFLAGS'
31836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31840 cat >conftest.$ac_ext <<_ACEOF
31841 /* confdefs.h. */
31842 _ACEOF
31843 cat confdefs.h >>conftest.$ac_ext
31844 cat >>conftest.$ac_ext <<_ACEOF
31845 /* end confdefs.h. */
31846 #include <math.h>
31848 main ()
31850 _copysign(0, 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__copysign_use=yes
31878 else
31879 echo "$as_me: failed program was:" >&5
31880 sed 's/^/| /' conftest.$ac_ext >&5
31882 glibcxx_cv_func__copysign_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__copysign_use" >&5
31896 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
31898 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
31900 for ac_func in _copysign
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 sincos declaration" >&5
32012 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32013 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32014 if test "${glibcxx_cv_func_sincos_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 sincos(0, 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_sincos_use=yes
32064 else
32065 echo "$as_me: failed program was:" >&5
32066 sed 's/^/| /' conftest.$ac_ext >&5
32068 glibcxx_cv_func_sincos_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_sincos_use" >&5
32082 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32084 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32086 for ac_func in sincos
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 _sincos declaration" >&5
32195 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32196 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32197 if test "${glibcxx_cv_func__sincos_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 _sincos(0, 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__sincos_use=yes
32247 else
32248 echo "$as_me: failed program was:" >&5
32249 sed 's/^/| /' conftest.$ac_ext >&5
32251 glibcxx_cv_func__sincos_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__sincos_use" >&5
32265 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32267 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32269 for ac_func in _sincos
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 fpclass declaration" >&5
32381 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32382 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32383 if test "${glibcxx_cv_func_fpclass_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>
32402 #ifdef HAVE_IEEEFP_H
32403 #include <ieeefp.h>
32404 #endif
32407 main ()
32409 fpclass(0);
32411 return 0;
32413 _ACEOF
32414 rm -f conftest.$ac_objext
32415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32416 (eval $ac_compile) 2>conftest.er1
32417 ac_status=$?
32418 grep -v '^ *+' conftest.er1 >conftest.err
32419 rm -f conftest.er1
32420 cat conftest.err >&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); } &&
32423 { ac_try='test -z "$ac_cxx_werror_flag"
32424 || test ! -s conftest.err'
32425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32426 (eval $ac_try) 2>&5
32427 ac_status=$?
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); }; } &&
32430 { ac_try='test -s conftest.$ac_objext'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32433 ac_status=$?
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; }; then
32436 glibcxx_cv_func_fpclass_use=yes
32437 else
32438 echo "$as_me: failed program was:" >&5
32439 sed 's/^/| /' conftest.$ac_ext >&5
32441 glibcxx_cv_func_fpclass_use=no
32443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32444 ac_ext=c
32445 ac_cpp='$CPP $CPPFLAGS'
32446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
32455 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
32457 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32459 for ac_func in fpclass
32461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32462 echo "$as_me:$LINENO: checking for $ac_func" >&5
32463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32464 if eval "test \"\${$as_ac_var+set}\" = set"; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 else
32467 if test x$gcc_no_link = xyes; then
32468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32470 { (exit 1); exit 1; }; }
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32480 #define $ac_func innocuous_$ac_func
32482 /* System header to define __stub macros and hopefully few prototypes,
32483 which can conflict with char $ac_func (); below.
32484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32485 <limits.h> exists even on freestanding compilers. */
32487 #ifdef __STDC__
32488 # include <limits.h>
32489 #else
32490 # include <assert.h>
32491 #endif
32493 #undef $ac_func
32495 /* Override any gcc2 internal prototype to avoid an error. */
32496 #ifdef __cplusplus
32497 extern "C"
32499 #endif
32500 /* We use char because int might match the return type of a gcc2
32501 builtin and then its argument prototype would still apply. */
32502 char $ac_func ();
32503 /* The GNU C library defines this for functions which it implements
32504 to always fail with ENOSYS. Some functions are actually named
32505 something starting with __ and the normal name is an alias. */
32506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32507 choke me
32508 #else
32509 char (*f) () = $ac_func;
32510 #endif
32511 #ifdef __cplusplus
32513 #endif
32516 main ()
32518 return f != $ac_func;
32520 return 0;
32522 _ACEOF
32523 rm -f conftest.$ac_objext conftest$ac_exeext
32524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32525 (eval $ac_link) 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } &&
32532 { ac_try='test -z "$ac_c_werror_flag"
32533 || test ! -s conftest.err'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32536 ac_status=$?
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; } &&
32539 { ac_try='test -s conftest$ac_exeext'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32542 ac_status=$?
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; }; then
32545 eval "$as_ac_var=yes"
32546 else
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.$ac_ext >&5
32550 eval "$as_ac_var=no"
32552 rm -f conftest.err conftest.$ac_objext \
32553 conftest$ac_exeext conftest.$ac_ext
32555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32557 if test `eval echo '${'$as_ac_var'}'` = yes; then
32558 cat >>confdefs.h <<_ACEOF
32559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32560 _ACEOF
32563 done
32565 else
32567 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
32568 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
32569 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32570 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 else
32576 ac_ext=cc
32577 ac_cpp='$CXXCPP $CPPFLAGS'
32578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32582 cat >conftest.$ac_ext <<_ACEOF
32583 /* confdefs.h. */
32584 _ACEOF
32585 cat confdefs.h >>conftest.$ac_ext
32586 cat >>conftest.$ac_ext <<_ACEOF
32587 /* end confdefs.h. */
32588 #include <math.h>
32589 #ifdef HAVE_IEEEFP_H
32590 #include <ieeefp.h>
32591 #endif
32594 main ()
32596 _fpclass(0);
32598 return 0;
32600 _ACEOF
32601 rm -f conftest.$ac_objext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32603 (eval $ac_compile) 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try='test -z "$ac_cxx_werror_flag"
32611 || test ! -s conftest.err'
32612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32613 (eval $ac_try) 2>&5
32614 ac_status=$?
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); }; } &&
32617 { ac_try='test -s conftest.$ac_objext'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32620 ac_status=$?
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; }; then
32623 glibcxx_cv_func__fpclass_use=yes
32624 else
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.$ac_ext >&5
32628 glibcxx_cv_func__fpclass_use=no
32630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32631 ac_ext=c
32632 ac_cpp='$CPP $CPPFLAGS'
32633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
32642 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
32644 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32646 for ac_func in _fpclass
32648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32649 echo "$as_me:$LINENO: checking for $ac_func" >&5
32650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32651 if eval "test \"\${$as_ac_var+set}\" = set"; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 else
32654 if test x$gcc_no_link = xyes; then
32655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32657 { (exit 1); exit 1; }; }
32659 cat >conftest.$ac_ext <<_ACEOF
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32667 #define $ac_func innocuous_$ac_func
32669 /* System header to define __stub macros and hopefully few prototypes,
32670 which can conflict with char $ac_func (); below.
32671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32672 <limits.h> exists even on freestanding compilers. */
32674 #ifdef __STDC__
32675 # include <limits.h>
32676 #else
32677 # include <assert.h>
32678 #endif
32680 #undef $ac_func
32682 /* Override any gcc2 internal prototype to avoid an error. */
32683 #ifdef __cplusplus
32684 extern "C"
32686 #endif
32687 /* We use char because int might match the return type of a gcc2
32688 builtin and then its argument prototype would still apply. */
32689 char $ac_func ();
32690 /* The GNU C library defines this for functions which it implements
32691 to always fail with ENOSYS. Some functions are actually named
32692 something starting with __ and the normal name is an alias. */
32693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32694 choke me
32695 #else
32696 char (*f) () = $ac_func;
32697 #endif
32698 #ifdef __cplusplus
32700 #endif
32703 main ()
32705 return f != $ac_func;
32707 return 0;
32709 _ACEOF
32710 rm -f conftest.$ac_objext conftest$ac_exeext
32711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32712 (eval $ac_link) 2>conftest.er1
32713 ac_status=$?
32714 grep -v '^ *+' conftest.er1 >conftest.err
32715 rm -f conftest.er1
32716 cat conftest.err >&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } &&
32719 { ac_try='test -z "$ac_c_werror_flag"
32720 || test ! -s conftest.err'
32721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32722 (eval $ac_try) 2>&5
32723 ac_status=$?
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; } &&
32726 { ac_try='test -s conftest$ac_exeext'
32727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32728 (eval $ac_try) 2>&5
32729 ac_status=$?
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); }; }; then
32732 eval "$as_ac_var=yes"
32733 else
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.$ac_ext >&5
32737 eval "$as_ac_var=no"
32739 rm -f conftest.err conftest.$ac_objext \
32740 conftest$ac_exeext conftest.$ac_ext
32742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32744 if test `eval echo '${'$as_ac_var'}'` = yes; then
32745 cat >>confdefs.h <<_ACEOF
32746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32747 _ACEOF
32750 done
32757 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
32758 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
32759 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32760 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
32761 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 else
32766 ac_ext=cc
32767 ac_cpp='$CXXCPP $CPPFLAGS'
32768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32772 cat >conftest.$ac_ext <<_ACEOF
32773 /* confdefs.h. */
32774 _ACEOF
32775 cat confdefs.h >>conftest.$ac_ext
32776 cat >>conftest.$ac_ext <<_ACEOF
32777 /* end confdefs.h. */
32778 #include <math.h>
32779 #ifdef HAVE_IEEEFP_H
32780 #include <ieeefp.h>
32781 #endif
32784 main ()
32786 qfpclass(0);
32788 return 0;
32790 _ACEOF
32791 rm -f conftest.$ac_objext
32792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32793 (eval $ac_compile) 2>conftest.er1
32794 ac_status=$?
32795 grep -v '^ *+' conftest.er1 >conftest.err
32796 rm -f conftest.er1
32797 cat conftest.err >&5
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); } &&
32800 { ac_try='test -z "$ac_cxx_werror_flag"
32801 || test ! -s conftest.err'
32802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32803 (eval $ac_try) 2>&5
32804 ac_status=$?
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); }; } &&
32807 { ac_try='test -s conftest.$ac_objext'
32808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32809 (eval $ac_try) 2>&5
32810 ac_status=$?
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); }; }; then
32813 glibcxx_cv_func_qfpclass_use=yes
32814 else
32815 echo "$as_me: failed program was:" >&5
32816 sed 's/^/| /' conftest.$ac_ext >&5
32818 glibcxx_cv_func_qfpclass_use=no
32820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32821 ac_ext=c
32822 ac_cpp='$CPP $CPPFLAGS'
32823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
32832 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
32834 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32836 for ac_func in qfpclass
32838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32839 echo "$as_me:$LINENO: checking for $ac_func" >&5
32840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32841 if eval "test \"\${$as_ac_var+set}\" = set"; then
32842 echo $ECHO_N "(cached) $ECHO_C" >&6
32843 else
32844 if test x$gcc_no_link = xyes; then
32845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32847 { (exit 1); exit 1; }; }
32849 cat >conftest.$ac_ext <<_ACEOF
32850 /* confdefs.h. */
32851 _ACEOF
32852 cat confdefs.h >>conftest.$ac_ext
32853 cat >>conftest.$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32857 #define $ac_func innocuous_$ac_func
32859 /* System header to define __stub macros and hopefully few prototypes,
32860 which can conflict with char $ac_func (); below.
32861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32862 <limits.h> exists even on freestanding compilers. */
32864 #ifdef __STDC__
32865 # include <limits.h>
32866 #else
32867 # include <assert.h>
32868 #endif
32870 #undef $ac_func
32872 /* Override any gcc2 internal prototype to avoid an error. */
32873 #ifdef __cplusplus
32874 extern "C"
32876 #endif
32877 /* We use char because int might match the return type of a gcc2
32878 builtin and then its argument prototype would still apply. */
32879 char $ac_func ();
32880 /* The GNU C library defines this for functions which it implements
32881 to always fail with ENOSYS. Some functions are actually named
32882 something starting with __ and the normal name is an alias. */
32883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32884 choke me
32885 #else
32886 char (*f) () = $ac_func;
32887 #endif
32888 #ifdef __cplusplus
32890 #endif
32893 main ()
32895 return f != $ac_func;
32897 return 0;
32899 _ACEOF
32900 rm -f conftest.$ac_objext conftest$ac_exeext
32901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32902 (eval $ac_link) 2>conftest.er1
32903 ac_status=$?
32904 grep -v '^ *+' conftest.er1 >conftest.err
32905 rm -f conftest.er1
32906 cat conftest.err >&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); } &&
32909 { ac_try='test -z "$ac_c_werror_flag"
32910 || test ! -s conftest.err'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32913 ac_status=$?
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; } &&
32916 { ac_try='test -s conftest$ac_exeext'
32917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32918 (eval $ac_try) 2>&5
32919 ac_status=$?
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); }; }; then
32922 eval "$as_ac_var=yes"
32923 else
32924 echo "$as_me: failed program was:" >&5
32925 sed 's/^/| /' conftest.$ac_ext >&5
32927 eval "$as_ac_var=no"
32929 rm -f conftest.err conftest.$ac_objext \
32930 conftest$ac_exeext conftest.$ac_ext
32932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32934 if test `eval echo '${'$as_ac_var'}'` = yes; then
32935 cat >>confdefs.h <<_ACEOF
32936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32937 _ACEOF
32940 done
32942 else
32944 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
32945 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
32946 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32947 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32949 else
32953 ac_ext=cc
32954 ac_cpp='$CXXCPP $CPPFLAGS'
32955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32959 cat >conftest.$ac_ext <<_ACEOF
32960 /* confdefs.h. */
32961 _ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965 #include <math.h>
32966 #ifdef HAVE_IEEEFP_H
32967 #include <ieeefp.h>
32968 #endif
32971 main ()
32973 _qfpclass(0);
32975 return 0;
32977 _ACEOF
32978 rm -f conftest.$ac_objext
32979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32980 (eval $ac_compile) 2>conftest.er1
32981 ac_status=$?
32982 grep -v '^ *+' conftest.er1 >conftest.err
32983 rm -f conftest.er1
32984 cat conftest.err >&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } &&
32987 { ac_try='test -z "$ac_cxx_werror_flag"
32988 || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32991 ac_status=$?
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try='test -s conftest.$ac_objext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32997 ac_status=$?
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 glibcxx_cv_func__qfpclass_use=yes
33001 else
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.$ac_ext >&5
33005 glibcxx_cv_func__qfpclass_use=no
33007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33008 ac_ext=c
33009 ac_cpp='$CPP $CPPFLAGS'
33010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33019 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33021 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33023 for ac_func in _qfpclass
33025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33026 echo "$as_me:$LINENO: checking for $ac_func" >&5
33027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33028 if eval "test \"\${$as_ac_var+set}\" = set"; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 else
33031 if test x$gcc_no_link = xyes; then
33032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33034 { (exit 1); exit 1; }; }
33036 cat >conftest.$ac_ext <<_ACEOF
33037 /* confdefs.h. */
33038 _ACEOF
33039 cat confdefs.h >>conftest.$ac_ext
33040 cat >>conftest.$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33044 #define $ac_func innocuous_$ac_func
33046 /* System header to define __stub macros and hopefully few prototypes,
33047 which can conflict with char $ac_func (); below.
33048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33049 <limits.h> exists even on freestanding compilers. */
33051 #ifdef __STDC__
33052 # include <limits.h>
33053 #else
33054 # include <assert.h>
33055 #endif
33057 #undef $ac_func
33059 /* Override any gcc2 internal prototype to avoid an error. */
33060 #ifdef __cplusplus
33061 extern "C"
33063 #endif
33064 /* We use char because int might match the return type of a gcc2
33065 builtin and then its argument prototype would still apply. */
33066 char $ac_func ();
33067 /* The GNU C library defines this for functions which it implements
33068 to always fail with ENOSYS. Some functions are actually named
33069 something starting with __ and the normal name is an alias. */
33070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33071 choke me
33072 #else
33073 char (*f) () = $ac_func;
33074 #endif
33075 #ifdef __cplusplus
33077 #endif
33080 main ()
33082 return f != $ac_func;
33084 return 0;
33086 _ACEOF
33087 rm -f conftest.$ac_objext conftest$ac_exeext
33088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33089 (eval $ac_link) 2>conftest.er1
33090 ac_status=$?
33091 grep -v '^ *+' conftest.er1 >conftest.err
33092 rm -f conftest.er1
33093 cat conftest.err >&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } &&
33096 { ac_try='test -z "$ac_c_werror_flag"
33097 || test ! -s conftest.err'
33098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33099 (eval $ac_try) 2>&5
33100 ac_status=$?
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; } &&
33103 { ac_try='test -s conftest$ac_exeext'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33106 ac_status=$?
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; }; then
33109 eval "$as_ac_var=yes"
33110 else
33111 echo "$as_me: failed program was:" >&5
33112 sed 's/^/| /' conftest.$ac_ext >&5
33114 eval "$as_ac_var=no"
33116 rm -f conftest.err conftest.$ac_objext \
33117 conftest$ac_exeext conftest.$ac_ext
33119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33121 if test `eval echo '${'$as_ac_var'}'` = yes; then
33122 cat >>confdefs.h <<_ACEOF
33123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33124 _ACEOF
33127 done
33134 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33135 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33136 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33137 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33139 else
33143 ac_ext=cc
33144 ac_cpp='$CXXCPP $CPPFLAGS'
33145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33149 cat >conftest.$ac_ext <<_ACEOF
33150 /* confdefs.h. */
33151 _ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 #include <math.h>
33157 main ()
33159 hypot(0, 0);
33161 return 0;
33163 _ACEOF
33164 rm -f conftest.$ac_objext
33165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33166 (eval $ac_compile) 2>conftest.er1
33167 ac_status=$?
33168 grep -v '^ *+' conftest.er1 >conftest.err
33169 rm -f conftest.er1
33170 cat conftest.err >&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } &&
33173 { ac_try='test -z "$ac_cxx_werror_flag"
33174 || test ! -s conftest.err'
33175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176 (eval $ac_try) 2>&5
33177 ac_status=$?
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); }; } &&
33180 { ac_try='test -s conftest.$ac_objext'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33183 ac_status=$?
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; }; then
33186 glibcxx_cv_func_hypot_use=yes
33187 else
33188 echo "$as_me: failed program was:" >&5
33189 sed 's/^/| /' conftest.$ac_ext >&5
33191 glibcxx_cv_func_hypot_use=no
33193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33194 ac_ext=c
33195 ac_cpp='$CPP $CPPFLAGS'
33196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33205 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33207 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33209 for ac_func in hypot
33211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33212 echo "$as_me:$LINENO: checking for $ac_func" >&5
33213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33214 if eval "test \"\${$as_ac_var+set}\" = set"; then
33215 echo $ECHO_N "(cached) $ECHO_C" >&6
33216 else
33217 if test x$gcc_no_link = xyes; then
33218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33220 { (exit 1); exit 1; }; }
33222 cat >conftest.$ac_ext <<_ACEOF
33223 /* confdefs.h. */
33224 _ACEOF
33225 cat confdefs.h >>conftest.$ac_ext
33226 cat >>conftest.$ac_ext <<_ACEOF
33227 /* end confdefs.h. */
33228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33230 #define $ac_func innocuous_$ac_func
33232 /* System header to define __stub macros and hopefully few prototypes,
33233 which can conflict with char $ac_func (); below.
33234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33235 <limits.h> exists even on freestanding compilers. */
33237 #ifdef __STDC__
33238 # include <limits.h>
33239 #else
33240 # include <assert.h>
33241 #endif
33243 #undef $ac_func
33245 /* Override any gcc2 internal prototype to avoid an error. */
33246 #ifdef __cplusplus
33247 extern "C"
33249 #endif
33250 /* We use char because int might match the return type of a gcc2
33251 builtin and then its argument prototype would still apply. */
33252 char $ac_func ();
33253 /* The GNU C library defines this for functions which it implements
33254 to always fail with ENOSYS. Some functions are actually named
33255 something starting with __ and the normal name is an alias. */
33256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33257 choke me
33258 #else
33259 char (*f) () = $ac_func;
33260 #endif
33261 #ifdef __cplusplus
33263 #endif
33266 main ()
33268 return f != $ac_func;
33270 return 0;
33272 _ACEOF
33273 rm -f conftest.$ac_objext conftest$ac_exeext
33274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33275 (eval $ac_link) 2>conftest.er1
33276 ac_status=$?
33277 grep -v '^ *+' conftest.er1 >conftest.err
33278 rm -f conftest.er1
33279 cat conftest.err >&5
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); } &&
33282 { ac_try='test -z "$ac_c_werror_flag"
33283 || test ! -s conftest.err'
33284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33285 (eval $ac_try) 2>&5
33286 ac_status=$?
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); }; } &&
33289 { ac_try='test -s conftest$ac_exeext'
33290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33291 (eval $ac_try) 2>&5
33292 ac_status=$?
33293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33294 (exit $ac_status); }; }; then
33295 eval "$as_ac_var=yes"
33296 else
33297 echo "$as_me: failed program was:" >&5
33298 sed 's/^/| /' conftest.$ac_ext >&5
33300 eval "$as_ac_var=no"
33302 rm -f conftest.err conftest.$ac_objext \
33303 conftest$ac_exeext conftest.$ac_ext
33305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33307 if test `eval echo '${'$as_ac_var'}'` = yes; then
33308 cat >>confdefs.h <<_ACEOF
33309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33310 _ACEOF
33313 done
33315 else
33317 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33318 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33319 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33320 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33321 echo $ECHO_N "(cached) $ECHO_C" >&6
33322 else
33326 ac_ext=cc
33327 ac_cpp='$CXXCPP $CPPFLAGS'
33328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332 cat >conftest.$ac_ext <<_ACEOF
33333 /* confdefs.h. */
33334 _ACEOF
33335 cat confdefs.h >>conftest.$ac_ext
33336 cat >>conftest.$ac_ext <<_ACEOF
33337 /* end confdefs.h. */
33338 #include <math.h>
33340 main ()
33342 _hypot(0, 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__hypot_use=yes
33370 else
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33374 glibcxx_cv_func__hypot_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__hypot_use" >&5
33388 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
33390 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33392 for ac_func in _hypot
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 float trig functions" >&5
33504 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
33505 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 else
33511 ac_ext=cc
33512 ac_cpp='$CXXCPP $CPPFLAGS'
33513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33517 cat >conftest.$ac_ext <<_ACEOF
33518 /* confdefs.h. */
33519 _ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 #include <math.h>
33525 main ()
33527 `for x in acosf asinf atanf \
33528 cosf sinf tanf \
33529 coshf sinhf tanhf; do echo "$x (0);"; done`
33531 return 0;
33533 _ACEOF
33534 rm -f conftest.$ac_objext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33536 (eval $ac_compile) 2>conftest.er1
33537 ac_status=$?
33538 grep -v '^ *+' conftest.er1 >conftest.err
33539 rm -f conftest.er1
33540 cat conftest.err >&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } &&
33543 { ac_try='test -z "$ac_cxx_werror_flag"
33544 || test ! -s conftest.err'
33545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546 (eval $ac_try) 2>&5
33547 ac_status=$?
33548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 (exit $ac_status); }; } &&
33550 { ac_try='test -s conftest.$ac_objext'
33551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33552 (eval $ac_try) 2>&5
33553 ac_status=$?
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); }; }; then
33556 glibcxx_cv_func_float_trig_use=yes
33557 else
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33561 glibcxx_cv_func_float_trig_use=no
33563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33564 ac_ext=c
33565 ac_cpp='$CPP $CPPFLAGS'
33566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33572 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
33573 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
33574 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33584 for ac_func in acosf asinf atanf \
33585 cosf sinf tanf \
33586 coshf sinhf tanhf
33588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33589 echo "$as_me:$LINENO: checking for $ac_func" >&5
33590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33591 if eval "test \"\${$as_ac_var+set}\" = set"; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33593 else
33594 if test x$gcc_no_link = xyes; then
33595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33597 { (exit 1); exit 1; }; }
33599 cat >conftest.$ac_ext <<_ACEOF
33600 /* confdefs.h. */
33601 _ACEOF
33602 cat confdefs.h >>conftest.$ac_ext
33603 cat >>conftest.$ac_ext <<_ACEOF
33604 /* end confdefs.h. */
33605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33607 #define $ac_func innocuous_$ac_func
33609 /* System header to define __stub macros and hopefully few prototypes,
33610 which can conflict with char $ac_func (); below.
33611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33612 <limits.h> exists even on freestanding compilers. */
33614 #ifdef __STDC__
33615 # include <limits.h>
33616 #else
33617 # include <assert.h>
33618 #endif
33620 #undef $ac_func
33622 /* Override any gcc2 internal prototype to avoid an error. */
33623 #ifdef __cplusplus
33624 extern "C"
33626 #endif
33627 /* We use char because int might match the return type of a gcc2
33628 builtin and then its argument prototype would still apply. */
33629 char $ac_func ();
33630 /* The GNU C library defines this for functions which it implements
33631 to always fail with ENOSYS. Some functions are actually named
33632 something starting with __ and the normal name is an alias. */
33633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33634 choke me
33635 #else
33636 char (*f) () = $ac_func;
33637 #endif
33638 #ifdef __cplusplus
33640 #endif
33643 main ()
33645 return f != $ac_func;
33647 return 0;
33649 _ACEOF
33650 rm -f conftest.$ac_objext conftest$ac_exeext
33651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33652 (eval $ac_link) 2>conftest.er1
33653 ac_status=$?
33654 grep -v '^ *+' conftest.er1 >conftest.err
33655 rm -f conftest.er1
33656 cat conftest.err >&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try='test -z "$ac_c_werror_flag"
33660 || test ! -s conftest.err'
33661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33662 (eval $ac_try) 2>&5
33663 ac_status=$?
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); }; } &&
33666 { ac_try='test -s conftest$ac_exeext'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; }; then
33672 eval "$as_ac_var=yes"
33673 else
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.$ac_ext >&5
33677 eval "$as_ac_var=no"
33679 rm -f conftest.err conftest.$ac_objext \
33680 conftest$ac_exeext conftest.$ac_ext
33682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33684 if test `eval echo '${'$as_ac_var'}'` = yes; then
33685 cat >>confdefs.h <<_ACEOF
33686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33687 _ACEOF
33690 done
33695 echo "$as_me:$LINENO: checking for float round functions" >&5
33696 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
33697 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 else
33703 ac_ext=cc
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33709 cat >conftest.$ac_ext <<_ACEOF
33710 /* confdefs.h. */
33711 _ACEOF
33712 cat confdefs.h >>conftest.$ac_ext
33713 cat >>conftest.$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33715 #include <math.h>
33717 main ()
33719 `for x in ceilf floorf; do echo "$x (0);"; done`
33721 return 0;
33723 _ACEOF
33724 rm -f conftest.$ac_objext
33725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33726 (eval $ac_compile) 2>conftest.er1
33727 ac_status=$?
33728 grep -v '^ *+' conftest.er1 >conftest.err
33729 rm -f conftest.er1
33730 cat conftest.err >&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); } &&
33733 { ac_try='test -z "$ac_cxx_werror_flag"
33734 || test ! -s conftest.err'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33737 ac_status=$?
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; } &&
33740 { ac_try='test -s conftest.$ac_objext'
33741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742 (eval $ac_try) 2>&5
33743 ac_status=$?
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); }; }; then
33746 glibcxx_cv_func_float_round_use=yes
33747 else
33748 echo "$as_me: failed program was:" >&5
33749 sed 's/^/| /' conftest.$ac_ext >&5
33751 glibcxx_cv_func_float_round_use=no
33753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33754 ac_ext=c
33755 ac_cpp='$CPP $CPPFLAGS'
33756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
33763 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
33764 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33767 for ac_func in ceilf floorf
33769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33770 echo "$as_me:$LINENO: checking for $ac_func" >&5
33771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33772 if eval "test \"\${$as_ac_var+set}\" = set"; then
33773 echo $ECHO_N "(cached) $ECHO_C" >&6
33774 else
33775 if test x$gcc_no_link = xyes; then
33776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33778 { (exit 1); exit 1; }; }
33780 cat >conftest.$ac_ext <<_ACEOF
33781 /* confdefs.h. */
33782 _ACEOF
33783 cat confdefs.h >>conftest.$ac_ext
33784 cat >>conftest.$ac_ext <<_ACEOF
33785 /* end confdefs.h. */
33786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33788 #define $ac_func innocuous_$ac_func
33790 /* System header to define __stub macros and hopefully few prototypes,
33791 which can conflict with char $ac_func (); below.
33792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33793 <limits.h> exists even on freestanding compilers. */
33795 #ifdef __STDC__
33796 # include <limits.h>
33797 #else
33798 # include <assert.h>
33799 #endif
33801 #undef $ac_func
33803 /* Override any gcc2 internal prototype to avoid an error. */
33804 #ifdef __cplusplus
33805 extern "C"
33807 #endif
33808 /* We use char because int might match the return type of a gcc2
33809 builtin and then its argument prototype would still apply. */
33810 char $ac_func ();
33811 /* The GNU C library defines this for functions which it implements
33812 to always fail with ENOSYS. Some functions are actually named
33813 something starting with __ and the normal name is an alias. */
33814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33815 choke me
33816 #else
33817 char (*f) () = $ac_func;
33818 #endif
33819 #ifdef __cplusplus
33821 #endif
33824 main ()
33826 return f != $ac_func;
33828 return 0;
33830 _ACEOF
33831 rm -f conftest.$ac_objext conftest$ac_exeext
33832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33833 (eval $ac_link) 2>conftest.er1
33834 ac_status=$?
33835 grep -v '^ *+' conftest.er1 >conftest.err
33836 rm -f conftest.er1
33837 cat conftest.err >&5
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); } &&
33840 { ac_try='test -z "$ac_c_werror_flag"
33841 || test ! -s conftest.err'
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); }; } &&
33847 { ac_try='test -s conftest$ac_exeext'
33848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33849 (eval $ac_try) 2>&5
33850 ac_status=$?
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); }; }; then
33853 eval "$as_ac_var=yes"
33854 else
33855 echo "$as_me: failed program was:" >&5
33856 sed 's/^/| /' conftest.$ac_ext >&5
33858 eval "$as_ac_var=no"
33860 rm -f conftest.err conftest.$ac_objext \
33861 conftest$ac_exeext conftest.$ac_ext
33863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33865 if test `eval echo '${'$as_ac_var'}'` = yes; then
33866 cat >>confdefs.h <<_ACEOF
33867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33868 _ACEOF
33871 done
33877 echo "$as_me:$LINENO: checking for expf declaration" >&5
33878 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
33879 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33880 if test "${glibcxx_cv_func_expf_use+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33882 else
33886 ac_ext=cc
33887 ac_cpp='$CXXCPP $CPPFLAGS'
33888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33892 cat >conftest.$ac_ext <<_ACEOF
33893 /* confdefs.h. */
33894 _ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898 #include <math.h>
33899 #ifdef HAVE_IEEEFP_H
33900 #include <ieeefp.h>
33901 #endif
33904 main ()
33906 expf(0);
33908 return 0;
33910 _ACEOF
33911 rm -f conftest.$ac_objext
33912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33913 (eval $ac_compile) 2>conftest.er1
33914 ac_status=$?
33915 grep -v '^ *+' conftest.er1 >conftest.err
33916 rm -f conftest.er1
33917 cat conftest.err >&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } &&
33920 { ac_try='test -z "$ac_cxx_werror_flag"
33921 || test ! -s conftest.err'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33924 ac_status=$?
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; } &&
33927 { ac_try='test -s conftest.$ac_objext'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33930 ac_status=$?
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933 glibcxx_cv_func_expf_use=yes
33934 else
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.$ac_ext >&5
33938 glibcxx_cv_func_expf_use=no
33940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33941 ac_ext=c
33942 ac_cpp='$CPP $CPPFLAGS'
33943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
33952 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
33954 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33956 for ac_func in expf
33958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33959 echo "$as_me:$LINENO: checking for $ac_func" >&5
33960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33961 if eval "test \"\${$as_ac_var+set}\" = set"; then
33962 echo $ECHO_N "(cached) $ECHO_C" >&6
33963 else
33964 if test x$gcc_no_link = xyes; then
33965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33967 { (exit 1); exit 1; }; }
33969 cat >conftest.$ac_ext <<_ACEOF
33970 /* confdefs.h. */
33971 _ACEOF
33972 cat confdefs.h >>conftest.$ac_ext
33973 cat >>conftest.$ac_ext <<_ACEOF
33974 /* end confdefs.h. */
33975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33977 #define $ac_func innocuous_$ac_func
33979 /* System header to define __stub macros and hopefully few prototypes,
33980 which can conflict with char $ac_func (); below.
33981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33982 <limits.h> exists even on freestanding compilers. */
33984 #ifdef __STDC__
33985 # include <limits.h>
33986 #else
33987 # include <assert.h>
33988 #endif
33990 #undef $ac_func
33992 /* Override any gcc2 internal prototype to avoid an error. */
33993 #ifdef __cplusplus
33994 extern "C"
33996 #endif
33997 /* We use char because int might match the return type of a gcc2
33998 builtin and then its argument prototype would still apply. */
33999 char $ac_func ();
34000 /* The GNU C library defines this for functions which it implements
34001 to always fail with ENOSYS. Some functions are actually named
34002 something starting with __ and the normal name is an alias. */
34003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34004 choke me
34005 #else
34006 char (*f) () = $ac_func;
34007 #endif
34008 #ifdef __cplusplus
34010 #endif
34013 main ()
34015 return f != $ac_func;
34017 return 0;
34019 _ACEOF
34020 rm -f conftest.$ac_objext conftest$ac_exeext
34021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34022 (eval $ac_link) 2>conftest.er1
34023 ac_status=$?
34024 grep -v '^ *+' conftest.er1 >conftest.err
34025 rm -f conftest.er1
34026 cat conftest.err >&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } &&
34029 { ac_try='test -z "$ac_c_werror_flag"
34030 || test ! -s conftest.err'
34031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032 (eval $ac_try) 2>&5
34033 ac_status=$?
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); }; } &&
34036 { ac_try='test -s conftest$ac_exeext'
34037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34038 (eval $ac_try) 2>&5
34039 ac_status=$?
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); }; }; then
34042 eval "$as_ac_var=yes"
34043 else
34044 echo "$as_me: failed program was:" >&5
34045 sed 's/^/| /' conftest.$ac_ext >&5
34047 eval "$as_ac_var=no"
34049 rm -f conftest.err conftest.$ac_objext \
34050 conftest$ac_exeext conftest.$ac_ext
34052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34054 if test `eval echo '${'$as_ac_var'}'` = yes; then
34055 cat >>confdefs.h <<_ACEOF
34056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34057 _ACEOF
34060 done
34062 else
34064 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34065 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34066 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34067 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34073 ac_ext=cc
34074 ac_cpp='$CXXCPP $CPPFLAGS'
34075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34079 cat >conftest.$ac_ext <<_ACEOF
34080 /* confdefs.h. */
34081 _ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34085 #include <math.h>
34086 #ifdef HAVE_IEEEFP_H
34087 #include <ieeefp.h>
34088 #endif
34091 main ()
34093 _expf(0);
34095 return 0;
34097 _ACEOF
34098 rm -f conftest.$ac_objext
34099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34100 (eval $ac_compile) 2>conftest.er1
34101 ac_status=$?
34102 grep -v '^ *+' conftest.er1 >conftest.err
34103 rm -f conftest.er1
34104 cat conftest.err >&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); } &&
34107 { ac_try='test -z "$ac_cxx_werror_flag"
34108 || test ! -s conftest.err'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34111 ac_status=$?
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; } &&
34114 { ac_try='test -s conftest.$ac_objext'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; }; then
34120 glibcxx_cv_func__expf_use=yes
34121 else
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.$ac_ext >&5
34125 glibcxx_cv_func__expf_use=no
34127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34128 ac_ext=c
34129 ac_cpp='$CPP $CPPFLAGS'
34130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
34139 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
34141 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34143 for ac_func in _expf
34145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34146 echo "$as_me:$LINENO: checking for $ac_func" >&5
34147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34148 if eval "test \"\${$as_ac_var+set}\" = set"; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34150 else
34151 if test x$gcc_no_link = xyes; then
34152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34154 { (exit 1); exit 1; }; }
34156 cat >conftest.$ac_ext <<_ACEOF
34157 /* confdefs.h. */
34158 _ACEOF
34159 cat confdefs.h >>conftest.$ac_ext
34160 cat >>conftest.$ac_ext <<_ACEOF
34161 /* end confdefs.h. */
34162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34164 #define $ac_func innocuous_$ac_func
34166 /* System header to define __stub macros and hopefully few prototypes,
34167 which can conflict with char $ac_func (); below.
34168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34169 <limits.h> exists even on freestanding compilers. */
34171 #ifdef __STDC__
34172 # include <limits.h>
34173 #else
34174 # include <assert.h>
34175 #endif
34177 #undef $ac_func
34179 /* Override any gcc2 internal prototype to avoid an error. */
34180 #ifdef __cplusplus
34181 extern "C"
34183 #endif
34184 /* We use char because int might match the return type of a gcc2
34185 builtin and then its argument prototype would still apply. */
34186 char $ac_func ();
34187 /* The GNU C library defines this for functions which it implements
34188 to always fail with ENOSYS. Some functions are actually named
34189 something starting with __ and the normal name is an alias. */
34190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34191 choke me
34192 #else
34193 char (*f) () = $ac_func;
34194 #endif
34195 #ifdef __cplusplus
34197 #endif
34200 main ()
34202 return f != $ac_func;
34204 return 0;
34206 _ACEOF
34207 rm -f conftest.$ac_objext conftest$ac_exeext
34208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34209 (eval $ac_link) 2>conftest.er1
34210 ac_status=$?
34211 grep -v '^ *+' conftest.er1 >conftest.err
34212 rm -f conftest.er1
34213 cat conftest.err >&5
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); } &&
34216 { ac_try='test -z "$ac_c_werror_flag"
34217 || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34220 ac_status=$?
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 eval "$as_ac_var=yes"
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34234 eval "$as_ac_var=no"
34236 rm -f conftest.err conftest.$ac_objext \
34237 conftest$ac_exeext conftest.$ac_ext
34239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34241 if test `eval echo '${'$as_ac_var'}'` = yes; then
34242 cat >>confdefs.h <<_ACEOF
34243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34244 _ACEOF
34247 done
34254 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
34255 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
34256 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34257 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 else
34263 ac_ext=cc
34264 ac_cpp='$CXXCPP $CPPFLAGS'
34265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275 #include <math.h>
34276 #ifdef HAVE_IEEEFP_H
34277 #include <ieeefp.h>
34278 #endif
34281 main ()
34283 isnanf(0);
34285 return 0;
34287 _ACEOF
34288 rm -f conftest.$ac_objext
34289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34290 (eval $ac_compile) 2>conftest.er1
34291 ac_status=$?
34292 grep -v '^ *+' conftest.er1 >conftest.err
34293 rm -f conftest.er1
34294 cat conftest.err >&5
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); } &&
34297 { ac_try='test -z "$ac_cxx_werror_flag"
34298 || test ! -s conftest.err'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; } &&
34304 { ac_try='test -s conftest.$ac_objext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34307 ac_status=$?
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 glibcxx_cv_func_isnanf_use=yes
34311 else
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34315 glibcxx_cv_func_isnanf_use=no
34317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34318 ac_ext=c
34319 ac_cpp='$CPP $CPPFLAGS'
34320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
34329 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
34331 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34333 for ac_func in isnanf
34335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34336 echo "$as_me:$LINENO: checking for $ac_func" >&5
34337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34338 if eval "test \"\${$as_ac_var+set}\" = set"; then
34339 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 else
34341 if test x$gcc_no_link = xyes; then
34342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34344 { (exit 1); exit 1; }; }
34346 cat >conftest.$ac_ext <<_ACEOF
34347 /* confdefs.h. */
34348 _ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34354 #define $ac_func innocuous_$ac_func
34356 /* System header to define __stub macros and hopefully few prototypes,
34357 which can conflict with char $ac_func (); below.
34358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34359 <limits.h> exists even on freestanding compilers. */
34361 #ifdef __STDC__
34362 # include <limits.h>
34363 #else
34364 # include <assert.h>
34365 #endif
34367 #undef $ac_func
34369 /* Override any gcc2 internal prototype to avoid an error. */
34370 #ifdef __cplusplus
34371 extern "C"
34373 #endif
34374 /* We use char because int might match the return type of a gcc2
34375 builtin and then its argument prototype would still apply. */
34376 char $ac_func ();
34377 /* The GNU C library defines this for functions which it implements
34378 to always fail with ENOSYS. Some functions are actually named
34379 something starting with __ and the normal name is an alias. */
34380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34381 choke me
34382 #else
34383 char (*f) () = $ac_func;
34384 #endif
34385 #ifdef __cplusplus
34387 #endif
34390 main ()
34392 return f != $ac_func;
34394 return 0;
34396 _ACEOF
34397 rm -f conftest.$ac_objext conftest$ac_exeext
34398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34399 (eval $ac_link) 2>conftest.er1
34400 ac_status=$?
34401 grep -v '^ *+' conftest.er1 >conftest.err
34402 rm -f conftest.er1
34403 cat conftest.err >&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } &&
34406 { ac_try='test -z "$ac_c_werror_flag"
34407 || test ! -s conftest.err'
34408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34409 (eval $ac_try) 2>&5
34410 ac_status=$?
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); }; } &&
34413 { ac_try='test -s conftest$ac_exeext'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; }; then
34419 eval "$as_ac_var=yes"
34420 else
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.$ac_ext >&5
34424 eval "$as_ac_var=no"
34426 rm -f conftest.err conftest.$ac_objext \
34427 conftest$ac_exeext conftest.$ac_ext
34429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34431 if test `eval echo '${'$as_ac_var'}'` = yes; then
34432 cat >>confdefs.h <<_ACEOF
34433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34434 _ACEOF
34437 done
34439 else
34441 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
34442 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
34443 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34444 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 else
34450 ac_ext=cc
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 cat >conftest.$ac_ext <<_ACEOF
34457 /* confdefs.h. */
34458 _ACEOF
34459 cat confdefs.h >>conftest.$ac_ext
34460 cat >>conftest.$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34462 #include <math.h>
34463 #ifdef HAVE_IEEEFP_H
34464 #include <ieeefp.h>
34465 #endif
34468 main ()
34470 _isnanf(0);
34472 return 0;
34474 _ACEOF
34475 rm -f conftest.$ac_objext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34477 (eval $ac_compile) 2>conftest.er1
34478 ac_status=$?
34479 grep -v '^ *+' conftest.er1 >conftest.err
34480 rm -f conftest.er1
34481 cat conftest.err >&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } &&
34484 { ac_try='test -z "$ac_cxx_werror_flag"
34485 || test ! -s conftest.err'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34488 ac_status=$?
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; } &&
34491 { ac_try='test -s conftest.$ac_objext'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34494 ac_status=$?
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; }; then
34497 glibcxx_cv_func__isnanf_use=yes
34498 else
34499 echo "$as_me: failed program was:" >&5
34500 sed 's/^/| /' conftest.$ac_ext >&5
34502 glibcxx_cv_func__isnanf_use=no
34504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34505 ac_ext=c
34506 ac_cpp='$CPP $CPPFLAGS'
34507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
34516 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
34518 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34520 for ac_func in _isnanf
34522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34523 echo "$as_me:$LINENO: checking for $ac_func" >&5
34524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34525 if eval "test \"\${$as_ac_var+set}\" = set"; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34527 else
34528 if test x$gcc_no_link = xyes; then
34529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34531 { (exit 1); exit 1; }; }
34533 cat >conftest.$ac_ext <<_ACEOF
34534 /* confdefs.h. */
34535 _ACEOF
34536 cat confdefs.h >>conftest.$ac_ext
34537 cat >>conftest.$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34541 #define $ac_func innocuous_$ac_func
34543 /* System header to define __stub macros and hopefully few prototypes,
34544 which can conflict with char $ac_func (); below.
34545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34546 <limits.h> exists even on freestanding compilers. */
34548 #ifdef __STDC__
34549 # include <limits.h>
34550 #else
34551 # include <assert.h>
34552 #endif
34554 #undef $ac_func
34556 /* Override any gcc2 internal prototype to avoid an error. */
34557 #ifdef __cplusplus
34558 extern "C"
34560 #endif
34561 /* We use char because int might match the return type of a gcc2
34562 builtin and then its argument prototype would still apply. */
34563 char $ac_func ();
34564 /* The GNU C library defines this for functions which it implements
34565 to always fail with ENOSYS. Some functions are actually named
34566 something starting with __ and the normal name is an alias. */
34567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34568 choke me
34569 #else
34570 char (*f) () = $ac_func;
34571 #endif
34572 #ifdef __cplusplus
34574 #endif
34577 main ()
34579 return f != $ac_func;
34581 return 0;
34583 _ACEOF
34584 rm -f conftest.$ac_objext conftest$ac_exeext
34585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34586 (eval $ac_link) 2>conftest.er1
34587 ac_status=$?
34588 grep -v '^ *+' conftest.er1 >conftest.err
34589 rm -f conftest.er1
34590 cat conftest.err >&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } &&
34593 { ac_try='test -z "$ac_c_werror_flag"
34594 || test ! -s conftest.err'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34597 ac_status=$?
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; } &&
34600 { ac_try='test -s conftest$ac_exeext'
34601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34602 (eval $ac_try) 2>&5
34603 ac_status=$?
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); }; }; then
34606 eval "$as_ac_var=yes"
34607 else
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.$ac_ext >&5
34611 eval "$as_ac_var=no"
34613 rm -f conftest.err conftest.$ac_objext \
34614 conftest$ac_exeext conftest.$ac_ext
34616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34618 if test `eval echo '${'$as_ac_var'}'` = yes; then
34619 cat >>confdefs.h <<_ACEOF
34620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34621 _ACEOF
34624 done
34631 echo "$as_me:$LINENO: checking for isinff declaration" >&5
34632 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
34633 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34634 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
34635 echo $ECHO_N "(cached) $ECHO_C" >&6
34636 else
34640 ac_ext=cc
34641 ac_cpp='$CXXCPP $CPPFLAGS'
34642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 #include <math.h>
34653 #ifdef HAVE_IEEEFP_H
34654 #include <ieeefp.h>
34655 #endif
34658 main ()
34660 isinff(0);
34662 return 0;
34664 _ACEOF
34665 rm -f conftest.$ac_objext
34666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34667 (eval $ac_compile) 2>conftest.er1
34668 ac_status=$?
34669 grep -v '^ *+' conftest.er1 >conftest.err
34670 rm -f conftest.er1
34671 cat conftest.err >&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } &&
34674 { ac_try='test -z "$ac_cxx_werror_flag"
34675 || test ! -s conftest.err'
34676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34677 (eval $ac_try) 2>&5
34678 ac_status=$?
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); }; } &&
34681 { ac_try='test -s conftest.$ac_objext'
34682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683 (eval $ac_try) 2>&5
34684 ac_status=$?
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); }; }; then
34687 glibcxx_cv_func_isinff_use=yes
34688 else
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.$ac_ext >&5
34692 glibcxx_cv_func_isinff_use=no
34694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34695 ac_ext=c
34696 ac_cpp='$CPP $CPPFLAGS'
34697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
34706 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
34708 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34710 for ac_func in isinff
34712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34713 echo "$as_me:$LINENO: checking for $ac_func" >&5
34714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34715 if eval "test \"\${$as_ac_var+set}\" = set"; then
34716 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 else
34718 if test x$gcc_no_link = xyes; then
34719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34721 { (exit 1); exit 1; }; }
34723 cat >conftest.$ac_ext <<_ACEOF
34724 /* confdefs.h. */
34725 _ACEOF
34726 cat confdefs.h >>conftest.$ac_ext
34727 cat >>conftest.$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34731 #define $ac_func innocuous_$ac_func
34733 /* System header to define __stub macros and hopefully few prototypes,
34734 which can conflict with char $ac_func (); below.
34735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34736 <limits.h> exists even on freestanding compilers. */
34738 #ifdef __STDC__
34739 # include <limits.h>
34740 #else
34741 # include <assert.h>
34742 #endif
34744 #undef $ac_func
34746 /* Override any gcc2 internal prototype to avoid an error. */
34747 #ifdef __cplusplus
34748 extern "C"
34750 #endif
34751 /* We use char because int might match the return type of a gcc2
34752 builtin and then its argument prototype would still apply. */
34753 char $ac_func ();
34754 /* The GNU C library defines this for functions which it implements
34755 to always fail with ENOSYS. Some functions are actually named
34756 something starting with __ and the normal name is an alias. */
34757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34758 choke me
34759 #else
34760 char (*f) () = $ac_func;
34761 #endif
34762 #ifdef __cplusplus
34764 #endif
34767 main ()
34769 return f != $ac_func;
34771 return 0;
34773 _ACEOF
34774 rm -f conftest.$ac_objext conftest$ac_exeext
34775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34776 (eval $ac_link) 2>conftest.er1
34777 ac_status=$?
34778 grep -v '^ *+' conftest.er1 >conftest.err
34779 rm -f conftest.er1
34780 cat conftest.err >&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); } &&
34783 { ac_try='test -z "$ac_c_werror_flag"
34784 || test ! -s conftest.err'
34785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34786 (eval $ac_try) 2>&5
34787 ac_status=$?
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); }; } &&
34790 { ac_try='test -s conftest$ac_exeext'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; }; then
34796 eval "$as_ac_var=yes"
34797 else
34798 echo "$as_me: failed program was:" >&5
34799 sed 's/^/| /' conftest.$ac_ext >&5
34801 eval "$as_ac_var=no"
34803 rm -f conftest.err conftest.$ac_objext \
34804 conftest$ac_exeext conftest.$ac_ext
34806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34808 if test `eval echo '${'$as_ac_var'}'` = yes; then
34809 cat >>confdefs.h <<_ACEOF
34810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34811 _ACEOF
34814 done
34816 else
34818 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
34819 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
34820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
34822 echo $ECHO_N "(cached) $ECHO_C" >&6
34823 else
34827 ac_ext=cc
34828 ac_cpp='$CXXCPP $CPPFLAGS'
34829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34833 cat >conftest.$ac_ext <<_ACEOF
34834 /* confdefs.h. */
34835 _ACEOF
34836 cat confdefs.h >>conftest.$ac_ext
34837 cat >>conftest.$ac_ext <<_ACEOF
34838 /* end confdefs.h. */
34839 #include <math.h>
34840 #ifdef HAVE_IEEEFP_H
34841 #include <ieeefp.h>
34842 #endif
34845 main ()
34847 _isinff(0);
34849 return 0;
34851 _ACEOF
34852 rm -f conftest.$ac_objext
34853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34854 (eval $ac_compile) 2>conftest.er1
34855 ac_status=$?
34856 grep -v '^ *+' conftest.er1 >conftest.err
34857 rm -f conftest.er1
34858 cat conftest.err >&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } &&
34861 { ac_try='test -z "$ac_cxx_werror_flag"
34862 || test ! -s conftest.err'
34863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34864 (eval $ac_try) 2>&5
34865 ac_status=$?
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); }; } &&
34868 { ac_try='test -s conftest.$ac_objext'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34871 ac_status=$?
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; }; then
34874 glibcxx_cv_func__isinff_use=yes
34875 else
34876 echo "$as_me: failed program was:" >&5
34877 sed 's/^/| /' conftest.$ac_ext >&5
34879 glibcxx_cv_func__isinff_use=no
34881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34882 ac_ext=c
34883 ac_cpp='$CPP $CPPFLAGS'
34884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
34893 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
34895 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34897 for ac_func in _isinff
34899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34900 echo "$as_me:$LINENO: checking for $ac_func" >&5
34901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34902 if eval "test \"\${$as_ac_var+set}\" = set"; then
34903 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 else
34905 if test x$gcc_no_link = xyes; then
34906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34908 { (exit 1); exit 1; }; }
34910 cat >conftest.$ac_ext <<_ACEOF
34911 /* confdefs.h. */
34912 _ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34918 #define $ac_func innocuous_$ac_func
34920 /* System header to define __stub macros and hopefully few prototypes,
34921 which can conflict with char $ac_func (); below.
34922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34923 <limits.h> exists even on freestanding compilers. */
34925 #ifdef __STDC__
34926 # include <limits.h>
34927 #else
34928 # include <assert.h>
34929 #endif
34931 #undef $ac_func
34933 /* Override any gcc2 internal prototype to avoid an error. */
34934 #ifdef __cplusplus
34935 extern "C"
34937 #endif
34938 /* We use char because int might match the return type of a gcc2
34939 builtin and then its argument prototype would still apply. */
34940 char $ac_func ();
34941 /* The GNU C library defines this for functions which it implements
34942 to always fail with ENOSYS. Some functions are actually named
34943 something starting with __ and the normal name is an alias. */
34944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34945 choke me
34946 #else
34947 char (*f) () = $ac_func;
34948 #endif
34949 #ifdef __cplusplus
34951 #endif
34954 main ()
34956 return f != $ac_func;
34958 return 0;
34960 _ACEOF
34961 rm -f conftest.$ac_objext conftest$ac_exeext
34962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34963 (eval $ac_link) 2>conftest.er1
34964 ac_status=$?
34965 grep -v '^ *+' conftest.er1 >conftest.err
34966 rm -f conftest.er1
34967 cat conftest.err >&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); } &&
34970 { ac_try='test -z "$ac_c_werror_flag"
34971 || test ! -s conftest.err'
34972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34973 (eval $ac_try) 2>&5
34974 ac_status=$?
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); }; } &&
34977 { ac_try='test -s conftest$ac_exeext'
34978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34979 (eval $ac_try) 2>&5
34980 ac_status=$?
34981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34982 (exit $ac_status); }; }; then
34983 eval "$as_ac_var=yes"
34984 else
34985 echo "$as_me: failed program was:" >&5
34986 sed 's/^/| /' conftest.$ac_ext >&5
34988 eval "$as_ac_var=no"
34990 rm -f conftest.err conftest.$ac_objext \
34991 conftest$ac_exeext conftest.$ac_ext
34993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34995 if test `eval echo '${'$as_ac_var'}'` = yes; then
34996 cat >>confdefs.h <<_ACEOF
34997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34998 _ACEOF
35001 done
35008 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35009 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35010 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35011 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35012 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 else
35017 ac_ext=cc
35018 ac_cpp='$CXXCPP $CPPFLAGS'
35019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029 #include <math.h>
35031 main ()
35033 atan2f(0, 0);
35035 return 0;
35037 _ACEOF
35038 rm -f conftest.$ac_objext
35039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35040 (eval $ac_compile) 2>conftest.er1
35041 ac_status=$?
35042 grep -v '^ *+' conftest.er1 >conftest.err
35043 rm -f conftest.er1
35044 cat conftest.err >&5
35045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046 (exit $ac_status); } &&
35047 { ac_try='test -z "$ac_cxx_werror_flag"
35048 || test ! -s conftest.err'
35049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050 (eval $ac_try) 2>&5
35051 ac_status=$?
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); }; } &&
35054 { ac_try='test -s conftest.$ac_objext'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35057 ac_status=$?
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; }; then
35060 glibcxx_cv_func_atan2f_use=yes
35061 else
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35065 glibcxx_cv_func_atan2f_use=no
35067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35068 ac_ext=c
35069 ac_cpp='$CPP $CPPFLAGS'
35070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35079 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35081 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35083 for ac_func in atan2f
35085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35086 echo "$as_me:$LINENO: checking for $ac_func" >&5
35087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35088 if eval "test \"\${$as_ac_var+set}\" = set"; then
35089 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 else
35091 if test x$gcc_no_link = xyes; then
35092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35094 { (exit 1); exit 1; }; }
35096 cat >conftest.$ac_ext <<_ACEOF
35097 /* confdefs.h. */
35098 _ACEOF
35099 cat confdefs.h >>conftest.$ac_ext
35100 cat >>conftest.$ac_ext <<_ACEOF
35101 /* end confdefs.h. */
35102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35104 #define $ac_func innocuous_$ac_func
35106 /* System header to define __stub macros and hopefully few prototypes,
35107 which can conflict with char $ac_func (); below.
35108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35109 <limits.h> exists even on freestanding compilers. */
35111 #ifdef __STDC__
35112 # include <limits.h>
35113 #else
35114 # include <assert.h>
35115 #endif
35117 #undef $ac_func
35119 /* Override any gcc2 internal prototype to avoid an error. */
35120 #ifdef __cplusplus
35121 extern "C"
35123 #endif
35124 /* We use char because int might match the return type of a gcc2
35125 builtin and then its argument prototype would still apply. */
35126 char $ac_func ();
35127 /* The GNU C library defines this for functions which it implements
35128 to always fail with ENOSYS. Some functions are actually named
35129 something starting with __ and the normal name is an alias. */
35130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35131 choke me
35132 #else
35133 char (*f) () = $ac_func;
35134 #endif
35135 #ifdef __cplusplus
35137 #endif
35140 main ()
35142 return f != $ac_func;
35144 return 0;
35146 _ACEOF
35147 rm -f conftest.$ac_objext conftest$ac_exeext
35148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35149 (eval $ac_link) 2>conftest.er1
35150 ac_status=$?
35151 grep -v '^ *+' conftest.er1 >conftest.err
35152 rm -f conftest.er1
35153 cat conftest.err >&5
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); } &&
35156 { ac_try='test -z "$ac_c_werror_flag"
35157 || test ! -s conftest.err'
35158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159 (eval $ac_try) 2>&5
35160 ac_status=$?
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); }; } &&
35163 { ac_try='test -s conftest$ac_exeext'
35164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35165 (eval $ac_try) 2>&5
35166 ac_status=$?
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; }; then
35169 eval "$as_ac_var=yes"
35170 else
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.$ac_ext >&5
35174 eval "$as_ac_var=no"
35176 rm -f conftest.err conftest.$ac_objext \
35177 conftest$ac_exeext conftest.$ac_ext
35179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35181 if test `eval echo '${'$as_ac_var'}'` = yes; then
35182 cat >>confdefs.h <<_ACEOF
35183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35184 _ACEOF
35187 done
35189 else
35191 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
35192 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
35193 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35194 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
35195 echo $ECHO_N "(cached) $ECHO_C" >&6
35196 else
35200 ac_ext=cc
35201 ac_cpp='$CXXCPP $CPPFLAGS'
35202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35206 cat >conftest.$ac_ext <<_ACEOF
35207 /* confdefs.h. */
35208 _ACEOF
35209 cat confdefs.h >>conftest.$ac_ext
35210 cat >>conftest.$ac_ext <<_ACEOF
35211 /* end confdefs.h. */
35212 #include <math.h>
35214 main ()
35216 _atan2f(0, 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__atan2f_use=yes
35244 else
35245 echo "$as_me: failed program was:" >&5
35246 sed 's/^/| /' conftest.$ac_ext >&5
35248 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
35262 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
35264 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35266 for ac_func in _atan2f
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 fabsf declaration" >&5
35378 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
35379 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35380 if test "${glibcxx_cv_func_fabsf_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>
35399 #ifdef HAVE_IEEEFP_H
35400 #include <ieeefp.h>
35401 #endif
35404 main ()
35406 fabsf(0);
35408 return 0;
35410 _ACEOF
35411 rm -f conftest.$ac_objext
35412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35413 (eval $ac_compile) 2>conftest.er1
35414 ac_status=$?
35415 grep -v '^ *+' conftest.er1 >conftest.err
35416 rm -f conftest.er1
35417 cat conftest.err >&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); } &&
35420 { ac_try='test -z "$ac_cxx_werror_flag"
35421 || test ! -s conftest.err'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35424 ac_status=$?
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; } &&
35427 { ac_try='test -s conftest.$ac_objext'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35430 ac_status=$?
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; }; then
35433 glibcxx_cv_func_fabsf_use=yes
35434 else
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.$ac_ext >&5
35438 glibcxx_cv_func_fabsf_use=no
35440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35441 ac_ext=c
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
35452 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
35454 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35456 for ac_func in fabsf
35458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35459 echo "$as_me:$LINENO: checking for $ac_func" >&5
35460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35461 if eval "test \"\${$as_ac_var+set}\" = set"; then
35462 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 else
35464 if test x$gcc_no_link = xyes; then
35465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35467 { (exit 1); exit 1; }; }
35469 cat >conftest.$ac_ext <<_ACEOF
35470 /* confdefs.h. */
35471 _ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35477 #define $ac_func innocuous_$ac_func
35479 /* System header to define __stub macros and hopefully few prototypes,
35480 which can conflict with char $ac_func (); below.
35481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35482 <limits.h> exists even on freestanding compilers. */
35484 #ifdef __STDC__
35485 # include <limits.h>
35486 #else
35487 # include <assert.h>
35488 #endif
35490 #undef $ac_func
35492 /* Override any gcc2 internal prototype to avoid an error. */
35493 #ifdef __cplusplus
35494 extern "C"
35496 #endif
35497 /* We use char because int might match the return type of a gcc2
35498 builtin and then its argument prototype would still apply. */
35499 char $ac_func ();
35500 /* The GNU C library defines this for functions which it implements
35501 to always fail with ENOSYS. Some functions are actually named
35502 something starting with __ and the normal name is an alias. */
35503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35504 choke me
35505 #else
35506 char (*f) () = $ac_func;
35507 #endif
35508 #ifdef __cplusplus
35510 #endif
35513 main ()
35515 return f != $ac_func;
35517 return 0;
35519 _ACEOF
35520 rm -f conftest.$ac_objext conftest$ac_exeext
35521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35522 (eval $ac_link) 2>conftest.er1
35523 ac_status=$?
35524 grep -v '^ *+' conftest.er1 >conftest.err
35525 rm -f conftest.er1
35526 cat conftest.err >&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } &&
35529 { ac_try='test -z "$ac_c_werror_flag"
35530 || test ! -s conftest.err'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35533 ac_status=$?
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; } &&
35536 { ac_try='test -s conftest$ac_exeext'
35537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35538 (eval $ac_try) 2>&5
35539 ac_status=$?
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); }; }; then
35542 eval "$as_ac_var=yes"
35543 else
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.$ac_ext >&5
35547 eval "$as_ac_var=no"
35549 rm -f conftest.err conftest.$ac_objext \
35550 conftest$ac_exeext conftest.$ac_ext
35552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35554 if test `eval echo '${'$as_ac_var'}'` = yes; then
35555 cat >>confdefs.h <<_ACEOF
35556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35557 _ACEOF
35560 done
35562 else
35564 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
35565 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
35566 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35567 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
35568 echo $ECHO_N "(cached) $ECHO_C" >&6
35569 else
35573 ac_ext=cc
35574 ac_cpp='$CXXCPP $CPPFLAGS'
35575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35579 cat >conftest.$ac_ext <<_ACEOF
35580 /* confdefs.h. */
35581 _ACEOF
35582 cat confdefs.h >>conftest.$ac_ext
35583 cat >>conftest.$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35585 #include <math.h>
35586 #ifdef HAVE_IEEEFP_H
35587 #include <ieeefp.h>
35588 #endif
35591 main ()
35593 _fabsf(0);
35595 return 0;
35597 _ACEOF
35598 rm -f conftest.$ac_objext
35599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35600 (eval $ac_compile) 2>conftest.er1
35601 ac_status=$?
35602 grep -v '^ *+' conftest.er1 >conftest.err
35603 rm -f conftest.er1
35604 cat conftest.err >&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); } &&
35607 { ac_try='test -z "$ac_cxx_werror_flag"
35608 || test ! -s conftest.err'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35611 ac_status=$?
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; } &&
35614 { ac_try='test -s conftest.$ac_objext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35617 ac_status=$?
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 glibcxx_cv_func__fabsf_use=yes
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35625 glibcxx_cv_func__fabsf_use=no
35627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35628 ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
35639 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
35641 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35643 for ac_func in _fabsf
35645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35646 echo "$as_me:$LINENO: checking for $ac_func" >&5
35647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35648 if eval "test \"\${$as_ac_var+set}\" = set"; then
35649 echo $ECHO_N "(cached) $ECHO_C" >&6
35650 else
35651 if test x$gcc_no_link = xyes; then
35652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35654 { (exit 1); exit 1; }; }
35656 cat >conftest.$ac_ext <<_ACEOF
35657 /* confdefs.h. */
35658 _ACEOF
35659 cat confdefs.h >>conftest.$ac_ext
35660 cat >>conftest.$ac_ext <<_ACEOF
35661 /* end confdefs.h. */
35662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35664 #define $ac_func innocuous_$ac_func
35666 /* System header to define __stub macros and hopefully few prototypes,
35667 which can conflict with char $ac_func (); below.
35668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35669 <limits.h> exists even on freestanding compilers. */
35671 #ifdef __STDC__
35672 # include <limits.h>
35673 #else
35674 # include <assert.h>
35675 #endif
35677 #undef $ac_func
35679 /* Override any gcc2 internal prototype to avoid an error. */
35680 #ifdef __cplusplus
35681 extern "C"
35683 #endif
35684 /* We use char because int might match the return type of a gcc2
35685 builtin and then its argument prototype would still apply. */
35686 char $ac_func ();
35687 /* The GNU C library defines this for functions which it implements
35688 to always fail with ENOSYS. Some functions are actually named
35689 something starting with __ and the normal name is an alias. */
35690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35691 choke me
35692 #else
35693 char (*f) () = $ac_func;
35694 #endif
35695 #ifdef __cplusplus
35697 #endif
35700 main ()
35702 return f != $ac_func;
35704 return 0;
35706 _ACEOF
35707 rm -f conftest.$ac_objext conftest$ac_exeext
35708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35709 (eval $ac_link) 2>conftest.er1
35710 ac_status=$?
35711 grep -v '^ *+' conftest.er1 >conftest.err
35712 rm -f conftest.er1
35713 cat conftest.err >&5
35714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35715 (exit $ac_status); } &&
35716 { ac_try='test -z "$ac_c_werror_flag"
35717 || test ! -s conftest.err'
35718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35719 (eval $ac_try) 2>&5
35720 ac_status=$?
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); }; } &&
35723 { ac_try='test -s conftest$ac_exeext'
35724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35725 (eval $ac_try) 2>&5
35726 ac_status=$?
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); }; }; then
35729 eval "$as_ac_var=yes"
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35734 eval "$as_ac_var=no"
35736 rm -f conftest.err conftest.$ac_objext \
35737 conftest$ac_exeext conftest.$ac_ext
35739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35741 if test `eval echo '${'$as_ac_var'}'` = yes; then
35742 cat >>confdefs.h <<_ACEOF
35743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35744 _ACEOF
35747 done
35754 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
35755 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
35756 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35757 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
35758 echo $ECHO_N "(cached) $ECHO_C" >&6
35759 else
35763 ac_ext=cc
35764 ac_cpp='$CXXCPP $CPPFLAGS'
35765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35769 cat >conftest.$ac_ext <<_ACEOF
35770 /* confdefs.h. */
35771 _ACEOF
35772 cat confdefs.h >>conftest.$ac_ext
35773 cat >>conftest.$ac_ext <<_ACEOF
35774 /* end confdefs.h. */
35775 #include <math.h>
35777 main ()
35779 fmodf(0, 0);
35781 return 0;
35783 _ACEOF
35784 rm -f conftest.$ac_objext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35786 (eval $ac_compile) 2>conftest.er1
35787 ac_status=$?
35788 grep -v '^ *+' conftest.er1 >conftest.err
35789 rm -f conftest.er1
35790 cat conftest.err >&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } &&
35793 { ac_try='test -z "$ac_cxx_werror_flag"
35794 || test ! -s conftest.err'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; } &&
35800 { ac_try='test -s conftest.$ac_objext'
35801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35802 (eval $ac_try) 2>&5
35803 ac_status=$?
35804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805 (exit $ac_status); }; }; then
35806 glibcxx_cv_func_fmodf_use=yes
35807 else
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.$ac_ext >&5
35811 glibcxx_cv_func_fmodf_use=no
35813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35814 ac_ext=c
35815 ac_cpp='$CPP $CPPFLAGS'
35816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35824 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
35825 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
35827 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35829 for ac_func in fmodf
35831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35832 echo "$as_me:$LINENO: checking for $ac_func" >&5
35833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35834 if eval "test \"\${$as_ac_var+set}\" = set"; then
35835 echo $ECHO_N "(cached) $ECHO_C" >&6
35836 else
35837 if test x$gcc_no_link = xyes; then
35838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35840 { (exit 1); exit 1; }; }
35842 cat >conftest.$ac_ext <<_ACEOF
35843 /* confdefs.h. */
35844 _ACEOF
35845 cat confdefs.h >>conftest.$ac_ext
35846 cat >>conftest.$ac_ext <<_ACEOF
35847 /* end confdefs.h. */
35848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35850 #define $ac_func innocuous_$ac_func
35852 /* System header to define __stub macros and hopefully few prototypes,
35853 which can conflict with char $ac_func (); below.
35854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35855 <limits.h> exists even on freestanding compilers. */
35857 #ifdef __STDC__
35858 # include <limits.h>
35859 #else
35860 # include <assert.h>
35861 #endif
35863 #undef $ac_func
35865 /* Override any gcc2 internal prototype to avoid an error. */
35866 #ifdef __cplusplus
35867 extern "C"
35869 #endif
35870 /* We use char because int might match the return type of a gcc2
35871 builtin and then its argument prototype would still apply. */
35872 char $ac_func ();
35873 /* The GNU C library defines this for functions which it implements
35874 to always fail with ENOSYS. Some functions are actually named
35875 something starting with __ and the normal name is an alias. */
35876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35877 choke me
35878 #else
35879 char (*f) () = $ac_func;
35880 #endif
35881 #ifdef __cplusplus
35883 #endif
35886 main ()
35888 return f != $ac_func;
35890 return 0;
35892 _ACEOF
35893 rm -f conftest.$ac_objext conftest$ac_exeext
35894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35895 (eval $ac_link) 2>conftest.er1
35896 ac_status=$?
35897 grep -v '^ *+' conftest.er1 >conftest.err
35898 rm -f conftest.er1
35899 cat conftest.err >&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); } &&
35902 { ac_try='test -z "$ac_c_werror_flag"
35903 || test ! -s conftest.err'
35904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 (eval $ac_try) 2>&5
35906 ac_status=$?
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); }; } &&
35909 { ac_try='test -s conftest$ac_exeext'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35912 ac_status=$?
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; }; then
35915 eval "$as_ac_var=yes"
35916 else
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.$ac_ext >&5
35920 eval "$as_ac_var=no"
35922 rm -f conftest.err conftest.$ac_objext \
35923 conftest$ac_exeext conftest.$ac_ext
35925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35927 if test `eval echo '${'$as_ac_var'}'` = yes; then
35928 cat >>confdefs.h <<_ACEOF
35929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35930 _ACEOF
35933 done
35935 else
35937 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
35938 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
35939 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35940 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
35941 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 else
35946 ac_ext=cc
35947 ac_cpp='$CXXCPP $CPPFLAGS'
35948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35952 cat >conftest.$ac_ext <<_ACEOF
35953 /* confdefs.h. */
35954 _ACEOF
35955 cat confdefs.h >>conftest.$ac_ext
35956 cat >>conftest.$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35958 #include <math.h>
35960 main ()
35962 _fmodf(0, 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__fmodf_use=yes
35990 else
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35994 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
36008 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36010 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36012 for ac_func in _fmodf
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 frexpf declaration" >&5
36124 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
36125 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36126 if test "${glibcxx_cv_func_frexpf_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 frexpf(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_frexpf_use=yes
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36180 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
36194 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
36196 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36198 for ac_func in frexpf
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 _frexpf declaration" >&5
36307 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
36308 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36309 if test "${glibcxx_cv_func__frexpf_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 _frexpf(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__frexpf_use=yes
36359 else
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36363 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
36377 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
36379 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36381 for ac_func in _frexpf
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 hypotf declaration" >&5
36493 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
36494 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36495 if test "${glibcxx_cv_func_hypotf_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 hypotf(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_hypotf_use=yes
36545 else
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.$ac_ext >&5
36549 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
36563 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
36565 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36567 for ac_func in hypotf
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 _hypotf declaration" >&5
36676 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
36677 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36678 if test "${glibcxx_cv_func__hypotf_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 _hypotf(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__hypotf_use=yes
36728 else
36729 echo "$as_me: failed program was:" >&5
36730 sed 's/^/| /' conftest.$ac_ext >&5
36732 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
36746 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
36748 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36750 for ac_func in _hypotf
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 ldexpf declaration" >&5
36862 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
36863 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36864 if test "${glibcxx_cv_func_ldexpf_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 ldexpf(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_ldexpf_use=yes
36914 else
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36918 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
36932 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
36934 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36936 for ac_func in ldexpf
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 _ldexpf declaration" >&5
37045 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37046 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37047 if test "${glibcxx_cv_func__ldexpf_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 _ldexpf(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__ldexpf_use=yes
37097 else
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.$ac_ext >&5
37101 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
37115 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
37117 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37119 for ac_func in _ldexpf
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 logf declaration" >&5
37231 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
37232 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37233 if test "${glibcxx_cv_func_logf_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>
37252 #ifdef HAVE_IEEEFP_H
37253 #include <ieeefp.h>
37254 #endif
37257 main ()
37259 logf(0);
37261 return 0;
37263 _ACEOF
37264 rm -f conftest.$ac_objext
37265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37266 (eval $ac_compile) 2>conftest.er1
37267 ac_status=$?
37268 grep -v '^ *+' conftest.er1 >conftest.err
37269 rm -f conftest.er1
37270 cat conftest.err >&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } &&
37273 { ac_try='test -z "$ac_cxx_werror_flag"
37274 || test ! -s conftest.err'
37275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37276 (eval $ac_try) 2>&5
37277 ac_status=$?
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); }; } &&
37280 { ac_try='test -s conftest.$ac_objext'
37281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37282 (eval $ac_try) 2>&5
37283 ac_status=$?
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); }; }; then
37286 glibcxx_cv_func_logf_use=yes
37287 else
37288 echo "$as_me: failed program was:" >&5
37289 sed 's/^/| /' conftest.$ac_ext >&5
37291 glibcxx_cv_func_logf_use=no
37293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37294 ac_ext=c
37295 ac_cpp='$CPP $CPPFLAGS'
37296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
37305 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
37307 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37309 for ac_func in logf
37311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37312 echo "$as_me:$LINENO: checking for $ac_func" >&5
37313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37314 if eval "test \"\${$as_ac_var+set}\" = set"; then
37315 echo $ECHO_N "(cached) $ECHO_C" >&6
37316 else
37317 if test x$gcc_no_link = xyes; then
37318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37320 { (exit 1); exit 1; }; }
37322 cat >conftest.$ac_ext <<_ACEOF
37323 /* confdefs.h. */
37324 _ACEOF
37325 cat confdefs.h >>conftest.$ac_ext
37326 cat >>conftest.$ac_ext <<_ACEOF
37327 /* end confdefs.h. */
37328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37330 #define $ac_func innocuous_$ac_func
37332 /* System header to define __stub macros and hopefully few prototypes,
37333 which can conflict with char $ac_func (); below.
37334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37335 <limits.h> exists even on freestanding compilers. */
37337 #ifdef __STDC__
37338 # include <limits.h>
37339 #else
37340 # include <assert.h>
37341 #endif
37343 #undef $ac_func
37345 /* Override any gcc2 internal prototype to avoid an error. */
37346 #ifdef __cplusplus
37347 extern "C"
37349 #endif
37350 /* We use char because int might match the return type of a gcc2
37351 builtin and then its argument prototype would still apply. */
37352 char $ac_func ();
37353 /* The GNU C library defines this for functions which it implements
37354 to always fail with ENOSYS. Some functions are actually named
37355 something starting with __ and the normal name is an alias. */
37356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37357 choke me
37358 #else
37359 char (*f) () = $ac_func;
37360 #endif
37361 #ifdef __cplusplus
37363 #endif
37366 main ()
37368 return f != $ac_func;
37370 return 0;
37372 _ACEOF
37373 rm -f conftest.$ac_objext conftest$ac_exeext
37374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37375 (eval $ac_link) 2>conftest.er1
37376 ac_status=$?
37377 grep -v '^ *+' conftest.er1 >conftest.err
37378 rm -f conftest.er1
37379 cat conftest.err >&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); } &&
37382 { ac_try='test -z "$ac_c_werror_flag"
37383 || test ! -s conftest.err'
37384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37385 (eval $ac_try) 2>&5
37386 ac_status=$?
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); }; } &&
37389 { ac_try='test -s conftest$ac_exeext'
37390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37391 (eval $ac_try) 2>&5
37392 ac_status=$?
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); }; }; then
37395 eval "$as_ac_var=yes"
37396 else
37397 echo "$as_me: failed program was:" >&5
37398 sed 's/^/| /' conftest.$ac_ext >&5
37400 eval "$as_ac_var=no"
37402 rm -f conftest.err conftest.$ac_objext \
37403 conftest$ac_exeext conftest.$ac_ext
37405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37407 if test `eval echo '${'$as_ac_var'}'` = yes; then
37408 cat >>confdefs.h <<_ACEOF
37409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37410 _ACEOF
37413 done
37415 else
37417 echo "$as_me:$LINENO: checking for _logf declaration" >&5
37418 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
37419 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37420 if test "${glibcxx_cv_func__logf_use+set}" = set; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 else
37426 ac_ext=cc
37427 ac_cpp='$CXXCPP $CPPFLAGS'
37428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37432 cat >conftest.$ac_ext <<_ACEOF
37433 /* confdefs.h. */
37434 _ACEOF
37435 cat confdefs.h >>conftest.$ac_ext
37436 cat >>conftest.$ac_ext <<_ACEOF
37437 /* end confdefs.h. */
37438 #include <math.h>
37439 #ifdef HAVE_IEEEFP_H
37440 #include <ieeefp.h>
37441 #endif
37444 main ()
37446 _logf(0);
37448 return 0;
37450 _ACEOF
37451 rm -f conftest.$ac_objext
37452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37453 (eval $ac_compile) 2>conftest.er1
37454 ac_status=$?
37455 grep -v '^ *+' conftest.er1 >conftest.err
37456 rm -f conftest.er1
37457 cat conftest.err >&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } &&
37460 { ac_try='test -z "$ac_cxx_werror_flag"
37461 || test ! -s conftest.err'
37462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463 (eval $ac_try) 2>&5
37464 ac_status=$?
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); }; } &&
37467 { ac_try='test -s conftest.$ac_objext'
37468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469 (eval $ac_try) 2>&5
37470 ac_status=$?
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); }; }; then
37473 glibcxx_cv_func__logf_use=yes
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37478 glibcxx_cv_func__logf_use=no
37480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37481 ac_ext=c
37482 ac_cpp='$CPP $CPPFLAGS'
37483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
37492 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
37494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37496 for ac_func in _logf
37498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37499 echo "$as_me:$LINENO: checking for $ac_func" >&5
37500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37501 if eval "test \"\${$as_ac_var+set}\" = set"; then
37502 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 else
37504 if test x$gcc_no_link = xyes; then
37505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37507 { (exit 1); exit 1; }; }
37509 cat >conftest.$ac_ext <<_ACEOF
37510 /* confdefs.h. */
37511 _ACEOF
37512 cat confdefs.h >>conftest.$ac_ext
37513 cat >>conftest.$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37517 #define $ac_func innocuous_$ac_func
37519 /* System header to define __stub macros and hopefully few prototypes,
37520 which can conflict with char $ac_func (); below.
37521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37522 <limits.h> exists even on freestanding compilers. */
37524 #ifdef __STDC__
37525 # include <limits.h>
37526 #else
37527 # include <assert.h>
37528 #endif
37530 #undef $ac_func
37532 /* Override any gcc2 internal prototype to avoid an error. */
37533 #ifdef __cplusplus
37534 extern "C"
37536 #endif
37537 /* We use char because int might match the return type of a gcc2
37538 builtin and then its argument prototype would still apply. */
37539 char $ac_func ();
37540 /* The GNU C library defines this for functions which it implements
37541 to always fail with ENOSYS. Some functions are actually named
37542 something starting with __ and the normal name is an alias. */
37543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37544 choke me
37545 #else
37546 char (*f) () = $ac_func;
37547 #endif
37548 #ifdef __cplusplus
37550 #endif
37553 main ()
37555 return f != $ac_func;
37557 return 0;
37559 _ACEOF
37560 rm -f conftest.$ac_objext conftest$ac_exeext
37561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37562 (eval $ac_link) 2>conftest.er1
37563 ac_status=$?
37564 grep -v '^ *+' conftest.er1 >conftest.err
37565 rm -f conftest.er1
37566 cat conftest.err >&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } &&
37569 { ac_try='test -z "$ac_c_werror_flag"
37570 || test ! -s conftest.err'
37571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37572 (eval $ac_try) 2>&5
37573 ac_status=$?
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); }; } &&
37576 { ac_try='test -s conftest$ac_exeext'
37577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578 (eval $ac_try) 2>&5
37579 ac_status=$?
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); }; }; then
37582 eval "$as_ac_var=yes"
37583 else
37584 echo "$as_me: failed program was:" >&5
37585 sed 's/^/| /' conftest.$ac_ext >&5
37587 eval "$as_ac_var=no"
37589 rm -f conftest.err conftest.$ac_objext \
37590 conftest$ac_exeext conftest.$ac_ext
37592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37594 if test `eval echo '${'$as_ac_var'}'` = yes; then
37595 cat >>confdefs.h <<_ACEOF
37596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37597 _ACEOF
37600 done
37607 echo "$as_me:$LINENO: checking for log10f declaration" >&5
37608 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
37609 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37610 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
37611 echo $ECHO_N "(cached) $ECHO_C" >&6
37612 else
37616 ac_ext=cc
37617 ac_cpp='$CXXCPP $CPPFLAGS'
37618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622 cat >conftest.$ac_ext <<_ACEOF
37623 /* confdefs.h. */
37624 _ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37628 #include <math.h>
37629 #ifdef HAVE_IEEEFP_H
37630 #include <ieeefp.h>
37631 #endif
37634 main ()
37636 log10f(0);
37638 return 0;
37640 _ACEOF
37641 rm -f conftest.$ac_objext
37642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37643 (eval $ac_compile) 2>conftest.er1
37644 ac_status=$?
37645 grep -v '^ *+' conftest.er1 >conftest.err
37646 rm -f conftest.er1
37647 cat conftest.err >&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); } &&
37650 { ac_try='test -z "$ac_cxx_werror_flag"
37651 || test ! -s conftest.err'
37652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653 (eval $ac_try) 2>&5
37654 ac_status=$?
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); }; } &&
37657 { ac_try='test -s conftest.$ac_objext'
37658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37659 (eval $ac_try) 2>&5
37660 ac_status=$?
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); }; }; then
37663 glibcxx_cv_func_log10f_use=yes
37664 else
37665 echo "$as_me: failed program was:" >&5
37666 sed 's/^/| /' conftest.$ac_ext >&5
37668 glibcxx_cv_func_log10f_use=no
37670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37671 ac_ext=c
37672 ac_cpp='$CPP $CPPFLAGS'
37673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
37682 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
37684 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37686 for ac_func in log10f
37688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37689 echo "$as_me:$LINENO: checking for $ac_func" >&5
37690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37691 if eval "test \"\${$as_ac_var+set}\" = set"; then
37692 echo $ECHO_N "(cached) $ECHO_C" >&6
37693 else
37694 if test x$gcc_no_link = xyes; then
37695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37697 { (exit 1); exit 1; }; }
37699 cat >conftest.$ac_ext <<_ACEOF
37700 /* confdefs.h. */
37701 _ACEOF
37702 cat confdefs.h >>conftest.$ac_ext
37703 cat >>conftest.$ac_ext <<_ACEOF
37704 /* end confdefs.h. */
37705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37707 #define $ac_func innocuous_$ac_func
37709 /* System header to define __stub macros and hopefully few prototypes,
37710 which can conflict with char $ac_func (); below.
37711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37712 <limits.h> exists even on freestanding compilers. */
37714 #ifdef __STDC__
37715 # include <limits.h>
37716 #else
37717 # include <assert.h>
37718 #endif
37720 #undef $ac_func
37722 /* Override any gcc2 internal prototype to avoid an error. */
37723 #ifdef __cplusplus
37724 extern "C"
37726 #endif
37727 /* We use char because int might match the return type of a gcc2
37728 builtin and then its argument prototype would still apply. */
37729 char $ac_func ();
37730 /* The GNU C library defines this for functions which it implements
37731 to always fail with ENOSYS. Some functions are actually named
37732 something starting with __ and the normal name is an alias. */
37733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37734 choke me
37735 #else
37736 char (*f) () = $ac_func;
37737 #endif
37738 #ifdef __cplusplus
37740 #endif
37743 main ()
37745 return f != $ac_func;
37747 return 0;
37749 _ACEOF
37750 rm -f conftest.$ac_objext conftest$ac_exeext
37751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37752 (eval $ac_link) 2>conftest.er1
37753 ac_status=$?
37754 grep -v '^ *+' conftest.er1 >conftest.err
37755 rm -f conftest.er1
37756 cat conftest.err >&5
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); } &&
37759 { ac_try='test -z "$ac_c_werror_flag"
37760 || test ! -s conftest.err'
37761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762 (eval $ac_try) 2>&5
37763 ac_status=$?
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); }; } &&
37766 { ac_try='test -s conftest$ac_exeext'
37767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37768 (eval $ac_try) 2>&5
37769 ac_status=$?
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); }; }; then
37772 eval "$as_ac_var=yes"
37773 else
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37777 eval "$as_ac_var=no"
37779 rm -f conftest.err conftest.$ac_objext \
37780 conftest$ac_exeext conftest.$ac_ext
37782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37784 if test `eval echo '${'$as_ac_var'}'` = yes; then
37785 cat >>confdefs.h <<_ACEOF
37786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37787 _ACEOF
37790 done
37792 else
37794 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
37795 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
37796 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37797 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
37798 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 else
37803 ac_ext=cc
37804 ac_cpp='$CXXCPP $CPPFLAGS'
37805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37809 cat >conftest.$ac_ext <<_ACEOF
37810 /* confdefs.h. */
37811 _ACEOF
37812 cat confdefs.h >>conftest.$ac_ext
37813 cat >>conftest.$ac_ext <<_ACEOF
37814 /* end confdefs.h. */
37815 #include <math.h>
37816 #ifdef HAVE_IEEEFP_H
37817 #include <ieeefp.h>
37818 #endif
37821 main ()
37823 _log10f(0);
37825 return 0;
37827 _ACEOF
37828 rm -f conftest.$ac_objext
37829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37830 (eval $ac_compile) 2>conftest.er1
37831 ac_status=$?
37832 grep -v '^ *+' conftest.er1 >conftest.err
37833 rm -f conftest.er1
37834 cat conftest.err >&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); } &&
37837 { ac_try='test -z "$ac_cxx_werror_flag"
37838 || test ! -s conftest.err'
37839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37840 (eval $ac_try) 2>&5
37841 ac_status=$?
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); }; } &&
37844 { ac_try='test -s conftest.$ac_objext'
37845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37846 (eval $ac_try) 2>&5
37847 ac_status=$?
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); }; }; then
37850 glibcxx_cv_func__log10f_use=yes
37851 else
37852 echo "$as_me: failed program was:" >&5
37853 sed 's/^/| /' conftest.$ac_ext >&5
37855 glibcxx_cv_func__log10f_use=no
37857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37858 ac_ext=c
37859 ac_cpp='$CPP $CPPFLAGS'
37860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
37869 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
37871 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37873 for ac_func in _log10f
37875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37876 echo "$as_me:$LINENO: checking for $ac_func" >&5
37877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37878 if eval "test \"\${$as_ac_var+set}\" = set"; then
37879 echo $ECHO_N "(cached) $ECHO_C" >&6
37880 else
37881 if test x$gcc_no_link = xyes; then
37882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37884 { (exit 1); exit 1; }; }
37886 cat >conftest.$ac_ext <<_ACEOF
37887 /* confdefs.h. */
37888 _ACEOF
37889 cat confdefs.h >>conftest.$ac_ext
37890 cat >>conftest.$ac_ext <<_ACEOF
37891 /* end confdefs.h. */
37892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37894 #define $ac_func innocuous_$ac_func
37896 /* System header to define __stub macros and hopefully few prototypes,
37897 which can conflict with char $ac_func (); below.
37898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37899 <limits.h> exists even on freestanding compilers. */
37901 #ifdef __STDC__
37902 # include <limits.h>
37903 #else
37904 # include <assert.h>
37905 #endif
37907 #undef $ac_func
37909 /* Override any gcc2 internal prototype to avoid an error. */
37910 #ifdef __cplusplus
37911 extern "C"
37913 #endif
37914 /* We use char because int might match the return type of a gcc2
37915 builtin and then its argument prototype would still apply. */
37916 char $ac_func ();
37917 /* The GNU C library defines this for functions which it implements
37918 to always fail with ENOSYS. Some functions are actually named
37919 something starting with __ and the normal name is an alias. */
37920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37921 choke me
37922 #else
37923 char (*f) () = $ac_func;
37924 #endif
37925 #ifdef __cplusplus
37927 #endif
37930 main ()
37932 return f != $ac_func;
37934 return 0;
37936 _ACEOF
37937 rm -f conftest.$ac_objext conftest$ac_exeext
37938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37939 (eval $ac_link) 2>conftest.er1
37940 ac_status=$?
37941 grep -v '^ *+' conftest.er1 >conftest.err
37942 rm -f conftest.er1
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } &&
37946 { ac_try='test -z "$ac_c_werror_flag"
37947 || test ! -s conftest.err'
37948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37949 (eval $ac_try) 2>&5
37950 ac_status=$?
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); }; } &&
37953 { ac_try='test -s conftest$ac_exeext'
37954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37955 (eval $ac_try) 2>&5
37956 ac_status=$?
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; }; then
37959 eval "$as_ac_var=yes"
37960 else
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37964 eval "$as_ac_var=no"
37966 rm -f conftest.err conftest.$ac_objext \
37967 conftest$ac_exeext conftest.$ac_ext
37969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37971 if test `eval echo '${'$as_ac_var'}'` = yes; then
37972 cat >>confdefs.h <<_ACEOF
37973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37974 _ACEOF
37977 done
37984 echo "$as_me:$LINENO: checking for modff declaration" >&5
37985 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
37986 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37987 if test "${glibcxx_cv_func_modff_use+set}" = set; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37993 ac_ext=cc
37994 ac_cpp='$CXXCPP $CPPFLAGS'
37995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37999 cat >conftest.$ac_ext <<_ACEOF
38000 /* confdefs.h. */
38001 _ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38005 #include <math.h>
38007 main ()
38009 modff(0, 0);
38011 return 0;
38013 _ACEOF
38014 rm -f conftest.$ac_objext
38015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38016 (eval $ac_compile) 2>conftest.er1
38017 ac_status=$?
38018 grep -v '^ *+' conftest.er1 >conftest.err
38019 rm -f conftest.er1
38020 cat conftest.err >&5
38021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022 (exit $ac_status); } &&
38023 { ac_try='test -z "$ac_cxx_werror_flag"
38024 || test ! -s conftest.err'
38025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38026 (eval $ac_try) 2>&5
38027 ac_status=$?
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); }; } &&
38030 { ac_try='test -s conftest.$ac_objext'
38031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38032 (eval $ac_try) 2>&5
38033 ac_status=$?
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); }; }; then
38036 glibcxx_cv_func_modff_use=yes
38037 else
38038 echo "$as_me: failed program was:" >&5
38039 sed 's/^/| /' conftest.$ac_ext >&5
38041 glibcxx_cv_func_modff_use=no
38043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38044 ac_ext=c
38045 ac_cpp='$CPP $CPPFLAGS'
38046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38055 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38057 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38059 for ac_func in modff
38061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38062 echo "$as_me:$LINENO: checking for $ac_func" >&5
38063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38064 if eval "test \"\${$as_ac_var+set}\" = set"; then
38065 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 else
38067 if test x$gcc_no_link = xyes; then
38068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38070 { (exit 1); exit 1; }; }
38072 cat >conftest.$ac_ext <<_ACEOF
38073 /* confdefs.h. */
38074 _ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38080 #define $ac_func innocuous_$ac_func
38082 /* System header to define __stub macros and hopefully few prototypes,
38083 which can conflict with char $ac_func (); below.
38084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38085 <limits.h> exists even on freestanding compilers. */
38087 #ifdef __STDC__
38088 # include <limits.h>
38089 #else
38090 # include <assert.h>
38091 #endif
38093 #undef $ac_func
38095 /* Override any gcc2 internal prototype to avoid an error. */
38096 #ifdef __cplusplus
38097 extern "C"
38099 #endif
38100 /* We use char because int might match the return type of a gcc2
38101 builtin and then its argument prototype would still apply. */
38102 char $ac_func ();
38103 /* The GNU C library defines this for functions which it implements
38104 to always fail with ENOSYS. Some functions are actually named
38105 something starting with __ and the normal name is an alias. */
38106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38107 choke me
38108 #else
38109 char (*f) () = $ac_func;
38110 #endif
38111 #ifdef __cplusplus
38113 #endif
38116 main ()
38118 return f != $ac_func;
38120 return 0;
38122 _ACEOF
38123 rm -f conftest.$ac_objext conftest$ac_exeext
38124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38125 (eval $ac_link) 2>conftest.er1
38126 ac_status=$?
38127 grep -v '^ *+' conftest.er1 >conftest.err
38128 rm -f conftest.er1
38129 cat conftest.err >&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } &&
38132 { ac_try='test -z "$ac_c_werror_flag"
38133 || test ! -s conftest.err'
38134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38135 (eval $ac_try) 2>&5
38136 ac_status=$?
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); }; } &&
38139 { ac_try='test -s conftest$ac_exeext'
38140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38141 (eval $ac_try) 2>&5
38142 ac_status=$?
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); }; }; then
38145 eval "$as_ac_var=yes"
38146 else
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.$ac_ext >&5
38150 eval "$as_ac_var=no"
38152 rm -f conftest.err conftest.$ac_objext \
38153 conftest$ac_exeext conftest.$ac_ext
38155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38157 if test `eval echo '${'$as_ac_var'}'` = yes; then
38158 cat >>confdefs.h <<_ACEOF
38159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38160 _ACEOF
38163 done
38165 else
38167 echo "$as_me:$LINENO: checking for _modff declaration" >&5
38168 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
38169 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38170 if test "${glibcxx_cv_func__modff_use+set}" = set; then
38171 echo $ECHO_N "(cached) $ECHO_C" >&6
38172 else
38176 ac_ext=cc
38177 ac_cpp='$CXXCPP $CPPFLAGS'
38178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38182 cat >conftest.$ac_ext <<_ACEOF
38183 /* confdefs.h. */
38184 _ACEOF
38185 cat confdefs.h >>conftest.$ac_ext
38186 cat >>conftest.$ac_ext <<_ACEOF
38187 /* end confdefs.h. */
38188 #include <math.h>
38190 main ()
38192 _modff(0, 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__modff_use=yes
38220 else
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38224 glibcxx_cv_func__modff_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__modff_use" >&5
38238 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
38240 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38242 for ac_func in _modff
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 powf declaration" >&5
38354 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
38355 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38356 if test "${glibcxx_cv_func_powf_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 powf(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_powf_use=yes
38406 else
38407 echo "$as_me: failed program was:" >&5
38408 sed 's/^/| /' conftest.$ac_ext >&5
38410 glibcxx_cv_func_powf_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_powf_use" >&5
38424 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
38426 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38428 for ac_func in powf
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 _powf declaration" >&5
38537 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
38538 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38539 if test "${glibcxx_cv_func__powf_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 _powf(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__powf_use=yes
38589 else
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38593 glibcxx_cv_func__powf_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__powf_use" >&5
38607 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
38609 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38611 for ac_func in _powf
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 sqrtf declaration" >&5
38723 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
38724 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38725 if test "${glibcxx_cv_func_sqrtf_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>
38744 #ifdef HAVE_IEEEFP_H
38745 #include <ieeefp.h>
38746 #endif
38749 main ()
38751 sqrtf(0);
38753 return 0;
38755 _ACEOF
38756 rm -f conftest.$ac_objext
38757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38758 (eval $ac_compile) 2>conftest.er1
38759 ac_status=$?
38760 grep -v '^ *+' conftest.er1 >conftest.err
38761 rm -f conftest.er1
38762 cat conftest.err >&5
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); } &&
38765 { ac_try='test -z "$ac_cxx_werror_flag"
38766 || test ! -s conftest.err'
38767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38768 (eval $ac_try) 2>&5
38769 ac_status=$?
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); }; } &&
38772 { ac_try='test -s conftest.$ac_objext'
38773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38774 (eval $ac_try) 2>&5
38775 ac_status=$?
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); }; }; then
38778 glibcxx_cv_func_sqrtf_use=yes
38779 else
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.$ac_ext >&5
38783 glibcxx_cv_func_sqrtf_use=no
38785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38786 ac_ext=c
38787 ac_cpp='$CPP $CPPFLAGS'
38788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
38797 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
38799 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38801 for ac_func in sqrtf
38803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38804 echo "$as_me:$LINENO: checking for $ac_func" >&5
38805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38806 if eval "test \"\${$as_ac_var+set}\" = set"; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 else
38809 if test x$gcc_no_link = xyes; then
38810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38812 { (exit 1); exit 1; }; }
38814 cat >conftest.$ac_ext <<_ACEOF
38815 /* confdefs.h. */
38816 _ACEOF
38817 cat confdefs.h >>conftest.$ac_ext
38818 cat >>conftest.$ac_ext <<_ACEOF
38819 /* end confdefs.h. */
38820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38822 #define $ac_func innocuous_$ac_func
38824 /* System header to define __stub macros and hopefully few prototypes,
38825 which can conflict with char $ac_func (); below.
38826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38827 <limits.h> exists even on freestanding compilers. */
38829 #ifdef __STDC__
38830 # include <limits.h>
38831 #else
38832 # include <assert.h>
38833 #endif
38835 #undef $ac_func
38837 /* Override any gcc2 internal prototype to avoid an error. */
38838 #ifdef __cplusplus
38839 extern "C"
38841 #endif
38842 /* We use char because int might match the return type of a gcc2
38843 builtin and then its argument prototype would still apply. */
38844 char $ac_func ();
38845 /* The GNU C library defines this for functions which it implements
38846 to always fail with ENOSYS. Some functions are actually named
38847 something starting with __ and the normal name is an alias. */
38848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38849 choke me
38850 #else
38851 char (*f) () = $ac_func;
38852 #endif
38853 #ifdef __cplusplus
38855 #endif
38858 main ()
38860 return f != $ac_func;
38862 return 0;
38864 _ACEOF
38865 rm -f conftest.$ac_objext conftest$ac_exeext
38866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38867 (eval $ac_link) 2>conftest.er1
38868 ac_status=$?
38869 grep -v '^ *+' conftest.er1 >conftest.err
38870 rm -f conftest.er1
38871 cat conftest.err >&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); } &&
38874 { ac_try='test -z "$ac_c_werror_flag"
38875 || test ! -s conftest.err'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38878 ac_status=$?
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; } &&
38881 { ac_try='test -s conftest$ac_exeext'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38884 ac_status=$?
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; }; then
38887 eval "$as_ac_var=yes"
38888 else
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38892 eval "$as_ac_var=no"
38894 rm -f conftest.err conftest.$ac_objext \
38895 conftest$ac_exeext conftest.$ac_ext
38897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38899 if test `eval echo '${'$as_ac_var'}'` = yes; then
38900 cat >>confdefs.h <<_ACEOF
38901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38902 _ACEOF
38905 done
38907 else
38909 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
38910 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
38911 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38912 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38914 else
38918 ac_ext=cc
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38924 cat >conftest.$ac_ext <<_ACEOF
38925 /* confdefs.h. */
38926 _ACEOF
38927 cat confdefs.h >>conftest.$ac_ext
38928 cat >>conftest.$ac_ext <<_ACEOF
38929 /* end confdefs.h. */
38930 #include <math.h>
38931 #ifdef HAVE_IEEEFP_H
38932 #include <ieeefp.h>
38933 #endif
38936 main ()
38938 _sqrtf(0);
38940 return 0;
38942 _ACEOF
38943 rm -f conftest.$ac_objext
38944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38945 (eval $ac_compile) 2>conftest.er1
38946 ac_status=$?
38947 grep -v '^ *+' conftest.er1 >conftest.err
38948 rm -f conftest.er1
38949 cat conftest.err >&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); } &&
38952 { ac_try='test -z "$ac_cxx_werror_flag"
38953 || test ! -s conftest.err'
38954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38955 (eval $ac_try) 2>&5
38956 ac_status=$?
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; } &&
38959 { ac_try='test -s conftest.$ac_objext'
38960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38961 (eval $ac_try) 2>&5
38962 ac_status=$?
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); }; }; then
38965 glibcxx_cv_func__sqrtf_use=yes
38966 else
38967 echo "$as_me: failed program was:" >&5
38968 sed 's/^/| /' conftest.$ac_ext >&5
38970 glibcxx_cv_func__sqrtf_use=no
38972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38973 ac_ext=c
38974 ac_cpp='$CPP $CPPFLAGS'
38975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
38984 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
38986 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38988 for ac_func in _sqrtf
38990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38991 echo "$as_me:$LINENO: checking for $ac_func" >&5
38992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38993 if eval "test \"\${$as_ac_var+set}\" = set"; then
38994 echo $ECHO_N "(cached) $ECHO_C" >&6
38995 else
38996 if test x$gcc_no_link = xyes; then
38997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38999 { (exit 1); exit 1; }; }
39001 cat >conftest.$ac_ext <<_ACEOF
39002 /* confdefs.h. */
39003 _ACEOF
39004 cat confdefs.h >>conftest.$ac_ext
39005 cat >>conftest.$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39009 #define $ac_func innocuous_$ac_func
39011 /* System header to define __stub macros and hopefully few prototypes,
39012 which can conflict with char $ac_func (); below.
39013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39014 <limits.h> exists even on freestanding compilers. */
39016 #ifdef __STDC__
39017 # include <limits.h>
39018 #else
39019 # include <assert.h>
39020 #endif
39022 #undef $ac_func
39024 /* Override any gcc2 internal prototype to avoid an error. */
39025 #ifdef __cplusplus
39026 extern "C"
39028 #endif
39029 /* We use char because int might match the return type of a gcc2
39030 builtin and then its argument prototype would still apply. */
39031 char $ac_func ();
39032 /* The GNU C library defines this for functions which it implements
39033 to always fail with ENOSYS. Some functions are actually named
39034 something starting with __ and the normal name is an alias. */
39035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39036 choke me
39037 #else
39038 char (*f) () = $ac_func;
39039 #endif
39040 #ifdef __cplusplus
39042 #endif
39045 main ()
39047 return f != $ac_func;
39049 return 0;
39051 _ACEOF
39052 rm -f conftest.$ac_objext conftest$ac_exeext
39053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39054 (eval $ac_link) 2>conftest.er1
39055 ac_status=$?
39056 grep -v '^ *+' conftest.er1 >conftest.err
39057 rm -f conftest.er1
39058 cat conftest.err >&5
39059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39060 (exit $ac_status); } &&
39061 { ac_try='test -z "$ac_c_werror_flag"
39062 || test ! -s conftest.err'
39063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39064 (eval $ac_try) 2>&5
39065 ac_status=$?
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); }; } &&
39068 { ac_try='test -s conftest$ac_exeext'
39069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39070 (eval $ac_try) 2>&5
39071 ac_status=$?
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); }; }; then
39074 eval "$as_ac_var=yes"
39075 else
39076 echo "$as_me: failed program was:" >&5
39077 sed 's/^/| /' conftest.$ac_ext >&5
39079 eval "$as_ac_var=no"
39081 rm -f conftest.err conftest.$ac_objext \
39082 conftest$ac_exeext conftest.$ac_ext
39084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39086 if test `eval echo '${'$as_ac_var'}'` = yes; then
39087 cat >>confdefs.h <<_ACEOF
39088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39089 _ACEOF
39092 done
39099 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39100 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39101 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39102 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
39103 echo $ECHO_N "(cached) $ECHO_C" >&6
39104 else
39108 ac_ext=cc
39109 ac_cpp='$CXXCPP $CPPFLAGS'
39110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39114 cat >conftest.$ac_ext <<_ACEOF
39115 /* confdefs.h. */
39116 _ACEOF
39117 cat confdefs.h >>conftest.$ac_ext
39118 cat >>conftest.$ac_ext <<_ACEOF
39119 /* end confdefs.h. */
39120 #include <math.h>
39122 main ()
39124 sincosf(0, 0, 0);
39126 return 0;
39128 _ACEOF
39129 rm -f conftest.$ac_objext
39130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39131 (eval $ac_compile) 2>conftest.er1
39132 ac_status=$?
39133 grep -v '^ *+' conftest.er1 >conftest.err
39134 rm -f conftest.er1
39135 cat conftest.err >&5
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); } &&
39138 { ac_try='test -z "$ac_cxx_werror_flag"
39139 || test ! -s conftest.err'
39140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39141 (eval $ac_try) 2>&5
39142 ac_status=$?
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); }; } &&
39145 { ac_try='test -s conftest.$ac_objext'
39146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39147 (eval $ac_try) 2>&5
39148 ac_status=$?
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); }; }; then
39151 glibcxx_cv_func_sincosf_use=yes
39152 else
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39156 glibcxx_cv_func_sincosf_use=no
39158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39159 ac_ext=c
39160 ac_cpp='$CPP $CPPFLAGS'
39161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
39170 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
39172 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39174 for ac_func in sincosf
39176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39177 echo "$as_me:$LINENO: checking for $ac_func" >&5
39178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39179 if eval "test \"\${$as_ac_var+set}\" = set"; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39181 else
39182 if test x$gcc_no_link = xyes; then
39183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39185 { (exit 1); exit 1; }; }
39187 cat >conftest.$ac_ext <<_ACEOF
39188 /* confdefs.h. */
39189 _ACEOF
39190 cat confdefs.h >>conftest.$ac_ext
39191 cat >>conftest.$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39195 #define $ac_func innocuous_$ac_func
39197 /* System header to define __stub macros and hopefully few prototypes,
39198 which can conflict with char $ac_func (); below.
39199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39200 <limits.h> exists even on freestanding compilers. */
39202 #ifdef __STDC__
39203 # include <limits.h>
39204 #else
39205 # include <assert.h>
39206 #endif
39208 #undef $ac_func
39210 /* Override any gcc2 internal prototype to avoid an error. */
39211 #ifdef __cplusplus
39212 extern "C"
39214 #endif
39215 /* We use char because int might match the return type of a gcc2
39216 builtin and then its argument prototype would still apply. */
39217 char $ac_func ();
39218 /* The GNU C library defines this for functions which it implements
39219 to always fail with ENOSYS. Some functions are actually named
39220 something starting with __ and the normal name is an alias. */
39221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39222 choke me
39223 #else
39224 char (*f) () = $ac_func;
39225 #endif
39226 #ifdef __cplusplus
39228 #endif
39231 main ()
39233 return f != $ac_func;
39235 return 0;
39237 _ACEOF
39238 rm -f conftest.$ac_objext conftest$ac_exeext
39239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39240 (eval $ac_link) 2>conftest.er1
39241 ac_status=$?
39242 grep -v '^ *+' conftest.er1 >conftest.err
39243 rm -f conftest.er1
39244 cat conftest.err >&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } &&
39247 { ac_try='test -z "$ac_c_werror_flag"
39248 || test ! -s conftest.err'
39249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39250 (eval $ac_try) 2>&5
39251 ac_status=$?
39252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39253 (exit $ac_status); }; } &&
39254 { ac_try='test -s conftest$ac_exeext'
39255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39256 (eval $ac_try) 2>&5
39257 ac_status=$?
39258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39259 (exit $ac_status); }; }; then
39260 eval "$as_ac_var=yes"
39261 else
39262 echo "$as_me: failed program was:" >&5
39263 sed 's/^/| /' conftest.$ac_ext >&5
39265 eval "$as_ac_var=no"
39267 rm -f conftest.err conftest.$ac_objext \
39268 conftest$ac_exeext conftest.$ac_ext
39270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39272 if test `eval echo '${'$as_ac_var'}'` = yes; then
39273 cat >>confdefs.h <<_ACEOF
39274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39275 _ACEOF
39278 done
39280 else
39282 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
39283 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
39284 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39285 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
39286 echo $ECHO_N "(cached) $ECHO_C" >&6
39287 else
39291 ac_ext=cc
39292 ac_cpp='$CXXCPP $CPPFLAGS'
39293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39297 cat >conftest.$ac_ext <<_ACEOF
39298 /* confdefs.h. */
39299 _ACEOF
39300 cat confdefs.h >>conftest.$ac_ext
39301 cat >>conftest.$ac_ext <<_ACEOF
39302 /* end confdefs.h. */
39303 #include <math.h>
39305 main ()
39307 _sincosf(0, 0, 0);
39309 return 0;
39311 _ACEOF
39312 rm -f conftest.$ac_objext
39313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39314 (eval $ac_compile) 2>conftest.er1
39315 ac_status=$?
39316 grep -v '^ *+' conftest.er1 >conftest.err
39317 rm -f conftest.er1
39318 cat conftest.err >&5
39319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39320 (exit $ac_status); } &&
39321 { ac_try='test -z "$ac_cxx_werror_flag"
39322 || test ! -s conftest.err'
39323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39324 (eval $ac_try) 2>&5
39325 ac_status=$?
39326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39327 (exit $ac_status); }; } &&
39328 { ac_try='test -s conftest.$ac_objext'
39329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39330 (eval $ac_try) 2>&5
39331 ac_status=$?
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); }; }; then
39334 glibcxx_cv_func__sincosf_use=yes
39335 else
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39339 glibcxx_cv_func__sincosf_use=no
39341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39342 ac_ext=c
39343 ac_cpp='$CPP $CPPFLAGS'
39344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
39353 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
39355 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39357 for ac_func in _sincosf
39359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39360 echo "$as_me:$LINENO: checking for $ac_func" >&5
39361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39362 if eval "test \"\${$as_ac_var+set}\" = set"; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39364 else
39365 if test x$gcc_no_link = xyes; then
39366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39368 { (exit 1); exit 1; }; }
39370 cat >conftest.$ac_ext <<_ACEOF
39371 /* confdefs.h. */
39372 _ACEOF
39373 cat confdefs.h >>conftest.$ac_ext
39374 cat >>conftest.$ac_ext <<_ACEOF
39375 /* end confdefs.h. */
39376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39378 #define $ac_func innocuous_$ac_func
39380 /* System header to define __stub macros and hopefully few prototypes,
39381 which can conflict with char $ac_func (); below.
39382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39383 <limits.h> exists even on freestanding compilers. */
39385 #ifdef __STDC__
39386 # include <limits.h>
39387 #else
39388 # include <assert.h>
39389 #endif
39391 #undef $ac_func
39393 /* Override any gcc2 internal prototype to avoid an error. */
39394 #ifdef __cplusplus
39395 extern "C"
39397 #endif
39398 /* We use char because int might match the return type of a gcc2
39399 builtin and then its argument prototype would still apply. */
39400 char $ac_func ();
39401 /* The GNU C library defines this for functions which it implements
39402 to always fail with ENOSYS. Some functions are actually named
39403 something starting with __ and the normal name is an alias. */
39404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39405 choke me
39406 #else
39407 char (*f) () = $ac_func;
39408 #endif
39409 #ifdef __cplusplus
39411 #endif
39414 main ()
39416 return f != $ac_func;
39418 return 0;
39420 _ACEOF
39421 rm -f conftest.$ac_objext conftest$ac_exeext
39422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39423 (eval $ac_link) 2>conftest.er1
39424 ac_status=$?
39425 grep -v '^ *+' conftest.er1 >conftest.err
39426 rm -f conftest.er1
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } &&
39430 { ac_try='test -z "$ac_c_werror_flag"
39431 || test ! -s conftest.err'
39432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39433 (eval $ac_try) 2>&5
39434 ac_status=$?
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); }; } &&
39437 { ac_try='test -s conftest$ac_exeext'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39440 ac_status=$?
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; }; then
39443 eval "$as_ac_var=yes"
39444 else
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.$ac_ext >&5
39448 eval "$as_ac_var=no"
39450 rm -f conftest.err conftest.$ac_objext \
39451 conftest$ac_exeext conftest.$ac_ext
39453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39455 if test `eval echo '${'$as_ac_var'}'` = yes; then
39456 cat >>confdefs.h <<_ACEOF
39457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39458 _ACEOF
39461 done
39468 echo "$as_me:$LINENO: checking for finitef declaration" >&5
39469 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
39470 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39471 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
39472 echo $ECHO_N "(cached) $ECHO_C" >&6
39473 else
39477 ac_ext=cc
39478 ac_cpp='$CXXCPP $CPPFLAGS'
39479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39483 cat >conftest.$ac_ext <<_ACEOF
39484 /* confdefs.h. */
39485 _ACEOF
39486 cat confdefs.h >>conftest.$ac_ext
39487 cat >>conftest.$ac_ext <<_ACEOF
39488 /* end confdefs.h. */
39489 #include <math.h>
39490 #ifdef HAVE_IEEEFP_H
39491 #include <ieeefp.h>
39492 #endif
39495 main ()
39497 finitef(0);
39499 return 0;
39501 _ACEOF
39502 rm -f conftest.$ac_objext
39503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39504 (eval $ac_compile) 2>conftest.er1
39505 ac_status=$?
39506 grep -v '^ *+' conftest.er1 >conftest.err
39507 rm -f conftest.er1
39508 cat conftest.err >&5
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); } &&
39511 { ac_try='test -z "$ac_cxx_werror_flag"
39512 || test ! -s conftest.err'
39513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39514 (eval $ac_try) 2>&5
39515 ac_status=$?
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); }; } &&
39518 { ac_try='test -s conftest.$ac_objext'
39519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39520 (eval $ac_try) 2>&5
39521 ac_status=$?
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); }; }; then
39524 glibcxx_cv_func_finitef_use=yes
39525 else
39526 echo "$as_me: failed program was:" >&5
39527 sed 's/^/| /' conftest.$ac_ext >&5
39529 glibcxx_cv_func_finitef_use=no
39531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39532 ac_ext=c
39533 ac_cpp='$CPP $CPPFLAGS'
39534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
39543 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
39545 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39547 for ac_func in finitef
39549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39550 echo "$as_me:$LINENO: checking for $ac_func" >&5
39551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39552 if eval "test \"\${$as_ac_var+set}\" = set"; then
39553 echo $ECHO_N "(cached) $ECHO_C" >&6
39554 else
39555 if test x$gcc_no_link = xyes; then
39556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39558 { (exit 1); exit 1; }; }
39560 cat >conftest.$ac_ext <<_ACEOF
39561 /* confdefs.h. */
39562 _ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39568 #define $ac_func innocuous_$ac_func
39570 /* System header to define __stub macros and hopefully few prototypes,
39571 which can conflict with char $ac_func (); below.
39572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39573 <limits.h> exists even on freestanding compilers. */
39575 #ifdef __STDC__
39576 # include <limits.h>
39577 #else
39578 # include <assert.h>
39579 #endif
39581 #undef $ac_func
39583 /* Override any gcc2 internal prototype to avoid an error. */
39584 #ifdef __cplusplus
39585 extern "C"
39587 #endif
39588 /* We use char because int might match the return type of a gcc2
39589 builtin and then its argument prototype would still apply. */
39590 char $ac_func ();
39591 /* The GNU C library defines this for functions which it implements
39592 to always fail with ENOSYS. Some functions are actually named
39593 something starting with __ and the normal name is an alias. */
39594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39595 choke me
39596 #else
39597 char (*f) () = $ac_func;
39598 #endif
39599 #ifdef __cplusplus
39601 #endif
39604 main ()
39606 return f != $ac_func;
39608 return 0;
39610 _ACEOF
39611 rm -f conftest.$ac_objext conftest$ac_exeext
39612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39613 (eval $ac_link) 2>conftest.er1
39614 ac_status=$?
39615 grep -v '^ *+' conftest.er1 >conftest.err
39616 rm -f conftest.er1
39617 cat conftest.err >&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try='test -z "$ac_c_werror_flag"
39621 || test ! -s conftest.err'
39622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39623 (eval $ac_try) 2>&5
39624 ac_status=$?
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); }; } &&
39627 { ac_try='test -s conftest$ac_exeext'
39628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39629 (eval $ac_try) 2>&5
39630 ac_status=$?
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); }; }; then
39633 eval "$as_ac_var=yes"
39634 else
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.$ac_ext >&5
39638 eval "$as_ac_var=no"
39640 rm -f conftest.err conftest.$ac_objext \
39641 conftest$ac_exeext conftest.$ac_ext
39643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39645 if test `eval echo '${'$as_ac_var'}'` = yes; then
39646 cat >>confdefs.h <<_ACEOF
39647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39648 _ACEOF
39651 done
39653 else
39655 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
39656 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
39657 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39658 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
39659 echo $ECHO_N "(cached) $ECHO_C" >&6
39660 else
39664 ac_ext=cc
39665 ac_cpp='$CXXCPP $CPPFLAGS'
39666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39670 cat >conftest.$ac_ext <<_ACEOF
39671 /* confdefs.h. */
39672 _ACEOF
39673 cat confdefs.h >>conftest.$ac_ext
39674 cat >>conftest.$ac_ext <<_ACEOF
39675 /* end confdefs.h. */
39676 #include <math.h>
39677 #ifdef HAVE_IEEEFP_H
39678 #include <ieeefp.h>
39679 #endif
39682 main ()
39684 _finitef(0);
39686 return 0;
39688 _ACEOF
39689 rm -f conftest.$ac_objext
39690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39691 (eval $ac_compile) 2>conftest.er1
39692 ac_status=$?
39693 grep -v '^ *+' conftest.er1 >conftest.err
39694 rm -f conftest.er1
39695 cat conftest.err >&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); } &&
39698 { ac_try='test -z "$ac_cxx_werror_flag"
39699 || test ! -s conftest.err'
39700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39701 (eval $ac_try) 2>&5
39702 ac_status=$?
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); }; } &&
39705 { ac_try='test -s conftest.$ac_objext'
39706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39707 (eval $ac_try) 2>&5
39708 ac_status=$?
39709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39710 (exit $ac_status); }; }; then
39711 glibcxx_cv_func__finitef_use=yes
39712 else
39713 echo "$as_me: failed program was:" >&5
39714 sed 's/^/| /' conftest.$ac_ext >&5
39716 glibcxx_cv_func__finitef_use=no
39718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39719 ac_ext=c
39720 ac_cpp='$CPP $CPPFLAGS'
39721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
39730 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
39732 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39734 for ac_func in _finitef
39736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39737 echo "$as_me:$LINENO: checking for $ac_func" >&5
39738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39739 if eval "test \"\${$as_ac_var+set}\" = set"; then
39740 echo $ECHO_N "(cached) $ECHO_C" >&6
39741 else
39742 if test x$gcc_no_link = xyes; then
39743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39745 { (exit 1); exit 1; }; }
39747 cat >conftest.$ac_ext <<_ACEOF
39748 /* confdefs.h. */
39749 _ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39755 #define $ac_func innocuous_$ac_func
39757 /* System header to define __stub macros and hopefully few prototypes,
39758 which can conflict with char $ac_func (); below.
39759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39760 <limits.h> exists even on freestanding compilers. */
39762 #ifdef __STDC__
39763 # include <limits.h>
39764 #else
39765 # include <assert.h>
39766 #endif
39768 #undef $ac_func
39770 /* Override any gcc2 internal prototype to avoid an error. */
39771 #ifdef __cplusplus
39772 extern "C"
39774 #endif
39775 /* We use char because int might match the return type of a gcc2
39776 builtin and then its argument prototype would still apply. */
39777 char $ac_func ();
39778 /* The GNU C library defines this for functions which it implements
39779 to always fail with ENOSYS. Some functions are actually named
39780 something starting with __ and the normal name is an alias. */
39781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39782 choke me
39783 #else
39784 char (*f) () = $ac_func;
39785 #endif
39786 #ifdef __cplusplus
39788 #endif
39791 main ()
39793 return f != $ac_func;
39795 return 0;
39797 _ACEOF
39798 rm -f conftest.$ac_objext conftest$ac_exeext
39799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39800 (eval $ac_link) 2>conftest.er1
39801 ac_status=$?
39802 grep -v '^ *+' conftest.er1 >conftest.err
39803 rm -f conftest.er1
39804 cat conftest.err >&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } &&
39807 { ac_try='test -z "$ac_c_werror_flag"
39808 || test ! -s conftest.err'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39811 ac_status=$?
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; } &&
39814 { ac_try='test -s conftest$ac_exeext'
39815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39816 (eval $ac_try) 2>&5
39817 ac_status=$?
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); }; }; then
39820 eval "$as_ac_var=yes"
39821 else
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.$ac_ext >&5
39825 eval "$as_ac_var=no"
39827 rm -f conftest.err conftest.$ac_objext \
39828 conftest$ac_exeext conftest.$ac_ext
39830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39832 if test `eval echo '${'$as_ac_var'}'` = yes; then
39833 cat >>confdefs.h <<_ACEOF
39834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39835 _ACEOF
39838 done
39845 echo "$as_me:$LINENO: checking for long double trig functions" >&5
39846 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
39847 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 else
39853 ac_ext=cc
39854 ac_cpp='$CXXCPP $CPPFLAGS'
39855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 #include <math.h>
39867 main ()
39869 `for x in acosl asinl atanl \
39870 cosl sinl tanl \
39871 coshl sinhl tanhl; do echo "$x (0);"; done`
39873 return 0;
39875 _ACEOF
39876 rm -f conftest.$ac_objext
39877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39878 (eval $ac_compile) 2>conftest.er1
39879 ac_status=$?
39880 grep -v '^ *+' conftest.er1 >conftest.err
39881 rm -f conftest.er1
39882 cat conftest.err >&5
39883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39884 (exit $ac_status); } &&
39885 { ac_try='test -z "$ac_cxx_werror_flag"
39886 || test ! -s conftest.err'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39889 ac_status=$?
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; } &&
39892 { ac_try='test -s conftest.$ac_objext'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39895 ac_status=$?
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; }; then
39898 glibcxx_cv_func_long_double_trig_use=yes
39899 else
39900 echo "$as_me: failed program was:" >&5
39901 sed 's/^/| /' conftest.$ac_ext >&5
39903 glibcxx_cv_func_long_double_trig_use=no
39905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39906 ac_ext=c
39907 ac_cpp='$CPP $CPPFLAGS'
39908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
39915 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
39916 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39926 for ac_func in acosl asinl atanl \
39927 cosl sinl tanl \
39928 coshl sinhl tanhl
39930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39931 echo "$as_me:$LINENO: checking for $ac_func" >&5
39932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39933 if eval "test \"\${$as_ac_var+set}\" = set"; then
39934 echo $ECHO_N "(cached) $ECHO_C" >&6
39935 else
39936 if test x$gcc_no_link = xyes; then
39937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39939 { (exit 1); exit 1; }; }
39941 cat >conftest.$ac_ext <<_ACEOF
39942 /* confdefs.h. */
39943 _ACEOF
39944 cat confdefs.h >>conftest.$ac_ext
39945 cat >>conftest.$ac_ext <<_ACEOF
39946 /* end confdefs.h. */
39947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39949 #define $ac_func innocuous_$ac_func
39951 /* System header to define __stub macros and hopefully few prototypes,
39952 which can conflict with char $ac_func (); below.
39953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39954 <limits.h> exists even on freestanding compilers. */
39956 #ifdef __STDC__
39957 # include <limits.h>
39958 #else
39959 # include <assert.h>
39960 #endif
39962 #undef $ac_func
39964 /* Override any gcc2 internal prototype to avoid an error. */
39965 #ifdef __cplusplus
39966 extern "C"
39968 #endif
39969 /* We use char because int might match the return type of a gcc2
39970 builtin and then its argument prototype would still apply. */
39971 char $ac_func ();
39972 /* The GNU C library defines this for functions which it implements
39973 to always fail with ENOSYS. Some functions are actually named
39974 something starting with __ and the normal name is an alias. */
39975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39976 choke me
39977 #else
39978 char (*f) () = $ac_func;
39979 #endif
39980 #ifdef __cplusplus
39982 #endif
39985 main ()
39987 return f != $ac_func;
39989 return 0;
39991 _ACEOF
39992 rm -f conftest.$ac_objext conftest$ac_exeext
39993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39994 (eval $ac_link) 2>conftest.er1
39995 ac_status=$?
39996 grep -v '^ *+' conftest.er1 >conftest.err
39997 rm -f conftest.er1
39998 cat conftest.err >&5
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); } &&
40001 { ac_try='test -z "$ac_c_werror_flag"
40002 || test ! -s conftest.err'
40003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40004 (eval $ac_try) 2>&5
40005 ac_status=$?
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); }; } &&
40008 { ac_try='test -s conftest$ac_exeext'
40009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40010 (eval $ac_try) 2>&5
40011 ac_status=$?
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); }; }; then
40014 eval "$as_ac_var=yes"
40015 else
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.$ac_ext >&5
40019 eval "$as_ac_var=no"
40021 rm -f conftest.err conftest.$ac_objext \
40022 conftest$ac_exeext conftest.$ac_ext
40024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40026 if test `eval echo '${'$as_ac_var'}'` = yes; then
40027 cat >>confdefs.h <<_ACEOF
40028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40029 _ACEOF
40032 done
40037 echo "$as_me:$LINENO: checking for long double round functions" >&5
40038 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40039 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40040 echo $ECHO_N "(cached) $ECHO_C" >&6
40041 else
40045 ac_ext=cc
40046 ac_cpp='$CXXCPP $CPPFLAGS'
40047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40051 cat >conftest.$ac_ext <<_ACEOF
40052 /* confdefs.h. */
40053 _ACEOF
40054 cat confdefs.h >>conftest.$ac_ext
40055 cat >>conftest.$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40057 #include <math.h>
40059 main ()
40061 `for x in ceill floorl; do echo "$x (0);"; done`
40063 return 0;
40065 _ACEOF
40066 rm -f conftest.$ac_objext
40067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40068 (eval $ac_compile) 2>conftest.er1
40069 ac_status=$?
40070 grep -v '^ *+' conftest.er1 >conftest.err
40071 rm -f conftest.er1
40072 cat conftest.err >&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } &&
40075 { ac_try='test -z "$ac_cxx_werror_flag"
40076 || test ! -s conftest.err'
40077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40078 (eval $ac_try) 2>&5
40079 ac_status=$?
40080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40081 (exit $ac_status); }; } &&
40082 { ac_try='test -s conftest.$ac_objext'
40083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40084 (eval $ac_try) 2>&5
40085 ac_status=$?
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); }; }; then
40088 glibcxx_cv_func_long_double_round_use=yes
40089 else
40090 echo "$as_me: failed program was:" >&5
40091 sed 's/^/| /' conftest.$ac_ext >&5
40093 glibcxx_cv_func_long_double_round_use=no
40095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40096 ac_ext=c
40097 ac_cpp='$CPP $CPPFLAGS'
40098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
40105 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
40106 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40109 for ac_func in ceill floorl
40111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40112 echo "$as_me:$LINENO: checking for $ac_func" >&5
40113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40114 if eval "test \"\${$as_ac_var+set}\" = set"; then
40115 echo $ECHO_N "(cached) $ECHO_C" >&6
40116 else
40117 if test x$gcc_no_link = xyes; then
40118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40120 { (exit 1); exit 1; }; }
40122 cat >conftest.$ac_ext <<_ACEOF
40123 /* confdefs.h. */
40124 _ACEOF
40125 cat confdefs.h >>conftest.$ac_ext
40126 cat >>conftest.$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40130 #define $ac_func innocuous_$ac_func
40132 /* System header to define __stub macros and hopefully few prototypes,
40133 which can conflict with char $ac_func (); below.
40134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40135 <limits.h> exists even on freestanding compilers. */
40137 #ifdef __STDC__
40138 # include <limits.h>
40139 #else
40140 # include <assert.h>
40141 #endif
40143 #undef $ac_func
40145 /* Override any gcc2 internal prototype to avoid an error. */
40146 #ifdef __cplusplus
40147 extern "C"
40149 #endif
40150 /* We use char because int might match the return type of a gcc2
40151 builtin and then its argument prototype would still apply. */
40152 char $ac_func ();
40153 /* The GNU C library defines this for functions which it implements
40154 to always fail with ENOSYS. Some functions are actually named
40155 something starting with __ and the normal name is an alias. */
40156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40157 choke me
40158 #else
40159 char (*f) () = $ac_func;
40160 #endif
40161 #ifdef __cplusplus
40163 #endif
40166 main ()
40168 return f != $ac_func;
40170 return 0;
40172 _ACEOF
40173 rm -f conftest.$ac_objext conftest$ac_exeext
40174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40175 (eval $ac_link) 2>conftest.er1
40176 ac_status=$?
40177 grep -v '^ *+' conftest.er1 >conftest.err
40178 rm -f conftest.er1
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } &&
40182 { ac_try='test -z "$ac_c_werror_flag"
40183 || test ! -s conftest.err'
40184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40185 (eval $ac_try) 2>&5
40186 ac_status=$?
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); }; } &&
40189 { ac_try='test -s conftest$ac_exeext'
40190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40191 (eval $ac_try) 2>&5
40192 ac_status=$?
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); }; }; then
40195 eval "$as_ac_var=yes"
40196 else
40197 echo "$as_me: failed program was:" >&5
40198 sed 's/^/| /' conftest.$ac_ext >&5
40200 eval "$as_ac_var=no"
40202 rm -f conftest.err conftest.$ac_objext \
40203 conftest$ac_exeext conftest.$ac_ext
40205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40207 if test `eval echo '${'$as_ac_var'}'` = yes; then
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40210 _ACEOF
40213 done
40219 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
40220 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
40221 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40222 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
40223 echo $ECHO_N "(cached) $ECHO_C" >&6
40224 else
40228 ac_ext=cc
40229 ac_cpp='$CXXCPP $CPPFLAGS'
40230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40234 cat >conftest.$ac_ext <<_ACEOF
40235 /* confdefs.h. */
40236 _ACEOF
40237 cat confdefs.h >>conftest.$ac_ext
40238 cat >>conftest.$ac_ext <<_ACEOF
40239 /* end confdefs.h. */
40240 #include <math.h>
40241 #ifdef HAVE_IEEEFP_H
40242 #include <ieeefp.h>
40243 #endif
40246 main ()
40248 isnanl(0);
40250 return 0;
40252 _ACEOF
40253 rm -f conftest.$ac_objext
40254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40255 (eval $ac_compile) 2>conftest.er1
40256 ac_status=$?
40257 grep -v '^ *+' conftest.er1 >conftest.err
40258 rm -f conftest.er1
40259 cat conftest.err >&5
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); } &&
40262 { ac_try='test -z "$ac_cxx_werror_flag"
40263 || test ! -s conftest.err'
40264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40265 (eval $ac_try) 2>&5
40266 ac_status=$?
40267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268 (exit $ac_status); }; } &&
40269 { ac_try='test -s conftest.$ac_objext'
40270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40271 (eval $ac_try) 2>&5
40272 ac_status=$?
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); }; }; then
40275 glibcxx_cv_func_isnanl_use=yes
40276 else
40277 echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.$ac_ext >&5
40280 glibcxx_cv_func_isnanl_use=no
40282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40283 ac_ext=c
40284 ac_cpp='$CPP $CPPFLAGS'
40285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
40294 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
40296 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40298 for ac_func in isnanl
40300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40301 echo "$as_me:$LINENO: checking for $ac_func" >&5
40302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40303 if eval "test \"\${$as_ac_var+set}\" = set"; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 else
40306 if test x$gcc_no_link = xyes; then
40307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40309 { (exit 1); exit 1; }; }
40311 cat >conftest.$ac_ext <<_ACEOF
40312 /* confdefs.h. */
40313 _ACEOF
40314 cat confdefs.h >>conftest.$ac_ext
40315 cat >>conftest.$ac_ext <<_ACEOF
40316 /* end confdefs.h. */
40317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40319 #define $ac_func innocuous_$ac_func
40321 /* System header to define __stub macros and hopefully few prototypes,
40322 which can conflict with char $ac_func (); below.
40323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40324 <limits.h> exists even on freestanding compilers. */
40326 #ifdef __STDC__
40327 # include <limits.h>
40328 #else
40329 # include <assert.h>
40330 #endif
40332 #undef $ac_func
40334 /* Override any gcc2 internal prototype to avoid an error. */
40335 #ifdef __cplusplus
40336 extern "C"
40338 #endif
40339 /* We use char because int might match the return type of a gcc2
40340 builtin and then its argument prototype would still apply. */
40341 char $ac_func ();
40342 /* The GNU C library defines this for functions which it implements
40343 to always fail with ENOSYS. Some functions are actually named
40344 something starting with __ and the normal name is an alias. */
40345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40346 choke me
40347 #else
40348 char (*f) () = $ac_func;
40349 #endif
40350 #ifdef __cplusplus
40352 #endif
40355 main ()
40357 return f != $ac_func;
40359 return 0;
40361 _ACEOF
40362 rm -f conftest.$ac_objext conftest$ac_exeext
40363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40364 (eval $ac_link) 2>conftest.er1
40365 ac_status=$?
40366 grep -v '^ *+' conftest.er1 >conftest.err
40367 rm -f conftest.er1
40368 cat conftest.err >&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); } &&
40371 { ac_try='test -z "$ac_c_werror_flag"
40372 || test ! -s conftest.err'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40375 ac_status=$?
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; } &&
40378 { ac_try='test -s conftest$ac_exeext'
40379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40380 (eval $ac_try) 2>&5
40381 ac_status=$?
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); }; }; then
40384 eval "$as_ac_var=yes"
40385 else
40386 echo "$as_me: failed program was:" >&5
40387 sed 's/^/| /' conftest.$ac_ext >&5
40389 eval "$as_ac_var=no"
40391 rm -f conftest.err conftest.$ac_objext \
40392 conftest$ac_exeext conftest.$ac_ext
40394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40396 if test `eval echo '${'$as_ac_var'}'` = yes; then
40397 cat >>confdefs.h <<_ACEOF
40398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40399 _ACEOF
40402 done
40404 else
40406 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
40407 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
40408 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40409 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40411 else
40415 ac_ext=cc
40416 ac_cpp='$CXXCPP $CPPFLAGS'
40417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40421 cat >conftest.$ac_ext <<_ACEOF
40422 /* confdefs.h. */
40423 _ACEOF
40424 cat confdefs.h >>conftest.$ac_ext
40425 cat >>conftest.$ac_ext <<_ACEOF
40426 /* end confdefs.h. */
40427 #include <math.h>
40428 #ifdef HAVE_IEEEFP_H
40429 #include <ieeefp.h>
40430 #endif
40433 main ()
40435 _isnanl(0);
40437 return 0;
40439 _ACEOF
40440 rm -f conftest.$ac_objext
40441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40442 (eval $ac_compile) 2>conftest.er1
40443 ac_status=$?
40444 grep -v '^ *+' conftest.er1 >conftest.err
40445 rm -f conftest.er1
40446 cat conftest.err >&5
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); } &&
40449 { ac_try='test -z "$ac_cxx_werror_flag"
40450 || test ! -s conftest.err'
40451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40452 (eval $ac_try) 2>&5
40453 ac_status=$?
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); }; } &&
40456 { ac_try='test -s conftest.$ac_objext'
40457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40458 (eval $ac_try) 2>&5
40459 ac_status=$?
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); }; }; then
40462 glibcxx_cv_func__isnanl_use=yes
40463 else
40464 echo "$as_me: failed program was:" >&5
40465 sed 's/^/| /' conftest.$ac_ext >&5
40467 glibcxx_cv_func__isnanl_use=no
40469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40470 ac_ext=c
40471 ac_cpp='$CPP $CPPFLAGS'
40472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
40481 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
40483 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40485 for ac_func in _isnanl
40487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40488 echo "$as_me:$LINENO: checking for $ac_func" >&5
40489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40490 if eval "test \"\${$as_ac_var+set}\" = set"; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 else
40493 if test x$gcc_no_link = xyes; then
40494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40496 { (exit 1); exit 1; }; }
40498 cat >conftest.$ac_ext <<_ACEOF
40499 /* confdefs.h. */
40500 _ACEOF
40501 cat confdefs.h >>conftest.$ac_ext
40502 cat >>conftest.$ac_ext <<_ACEOF
40503 /* end confdefs.h. */
40504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40506 #define $ac_func innocuous_$ac_func
40508 /* System header to define __stub macros and hopefully few prototypes,
40509 which can conflict with char $ac_func (); below.
40510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40511 <limits.h> exists even on freestanding compilers. */
40513 #ifdef __STDC__
40514 # include <limits.h>
40515 #else
40516 # include <assert.h>
40517 #endif
40519 #undef $ac_func
40521 /* Override any gcc2 internal prototype to avoid an error. */
40522 #ifdef __cplusplus
40523 extern "C"
40525 #endif
40526 /* We use char because int might match the return type of a gcc2
40527 builtin and then its argument prototype would still apply. */
40528 char $ac_func ();
40529 /* The GNU C library defines this for functions which it implements
40530 to always fail with ENOSYS. Some functions are actually named
40531 something starting with __ and the normal name is an alias. */
40532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40533 choke me
40534 #else
40535 char (*f) () = $ac_func;
40536 #endif
40537 #ifdef __cplusplus
40539 #endif
40542 main ()
40544 return f != $ac_func;
40546 return 0;
40548 _ACEOF
40549 rm -f conftest.$ac_objext conftest$ac_exeext
40550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40551 (eval $ac_link) 2>conftest.er1
40552 ac_status=$?
40553 grep -v '^ *+' conftest.er1 >conftest.err
40554 rm -f conftest.er1
40555 cat conftest.err >&5
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); } &&
40558 { ac_try='test -z "$ac_c_werror_flag"
40559 || test ! -s conftest.err'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40562 ac_status=$?
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; } &&
40565 { ac_try='test -s conftest$ac_exeext'
40566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567 (eval $ac_try) 2>&5
40568 ac_status=$?
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); }; }; then
40571 eval "$as_ac_var=yes"
40572 else
40573 echo "$as_me: failed program was:" >&5
40574 sed 's/^/| /' conftest.$ac_ext >&5
40576 eval "$as_ac_var=no"
40578 rm -f conftest.err conftest.$ac_objext \
40579 conftest$ac_exeext conftest.$ac_ext
40581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40583 if test `eval echo '${'$as_ac_var'}'` = yes; then
40584 cat >>confdefs.h <<_ACEOF
40585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40586 _ACEOF
40589 done
40596 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
40597 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
40598 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
40599 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
40600 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 else
40605 ac_ext=cc
40606 ac_cpp='$CXXCPP $CPPFLAGS'
40607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40611 cat >conftest.$ac_ext <<_ACEOF
40612 /* confdefs.h. */
40613 _ACEOF
40614 cat confdefs.h >>conftest.$ac_ext
40615 cat >>conftest.$ac_ext <<_ACEOF
40616 /* end confdefs.h. */
40617 #include <math.h>
40618 #ifdef HAVE_IEEEFP_H
40619 #include <ieeefp.h>
40620 #endif
40623 main ()
40625 isinfl(0);
40627 return 0;
40629 _ACEOF
40630 rm -f conftest.$ac_objext
40631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40632 (eval $ac_compile) 2>conftest.er1
40633 ac_status=$?
40634 grep -v '^ *+' conftest.er1 >conftest.err
40635 rm -f conftest.er1
40636 cat conftest.err >&5
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); } &&
40639 { ac_try='test -z "$ac_cxx_werror_flag"
40640 || test ! -s conftest.err'
40641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40642 (eval $ac_try) 2>&5
40643 ac_status=$?
40644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40645 (exit $ac_status); }; } &&
40646 { ac_try='test -s conftest.$ac_objext'
40647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40648 (eval $ac_try) 2>&5
40649 ac_status=$?
40650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40651 (exit $ac_status); }; }; then
40652 glibcxx_cv_func_isinfl_use=yes
40653 else
40654 echo "$as_me: failed program was:" >&5
40655 sed 's/^/| /' conftest.$ac_ext >&5
40657 glibcxx_cv_func_isinfl_use=no
40659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40660 ac_ext=c
40661 ac_cpp='$CPP $CPPFLAGS'
40662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
40671 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
40673 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
40675 for ac_func in isinfl
40677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40678 echo "$as_me:$LINENO: checking for $ac_func" >&5
40679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40680 if eval "test \"\${$as_ac_var+set}\" = set"; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40682 else
40683 if test x$gcc_no_link = xyes; then
40684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40686 { (exit 1); exit 1; }; }
40688 cat >conftest.$ac_ext <<_ACEOF
40689 /* confdefs.h. */
40690 _ACEOF
40691 cat confdefs.h >>conftest.$ac_ext
40692 cat >>conftest.$ac_ext <<_ACEOF
40693 /* end confdefs.h. */
40694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40696 #define $ac_func innocuous_$ac_func
40698 /* System header to define __stub macros and hopefully few prototypes,
40699 which can conflict with char $ac_func (); below.
40700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40701 <limits.h> exists even on freestanding compilers. */
40703 #ifdef __STDC__
40704 # include <limits.h>
40705 #else
40706 # include <assert.h>
40707 #endif
40709 #undef $ac_func
40711 /* Override any gcc2 internal prototype to avoid an error. */
40712 #ifdef __cplusplus
40713 extern "C"
40715 #endif
40716 /* We use char because int might match the return type of a gcc2
40717 builtin and then its argument prototype would still apply. */
40718 char $ac_func ();
40719 /* The GNU C library defines this for functions which it implements
40720 to always fail with ENOSYS. Some functions are actually named
40721 something starting with __ and the normal name is an alias. */
40722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40723 choke me
40724 #else
40725 char (*f) () = $ac_func;
40726 #endif
40727 #ifdef __cplusplus
40729 #endif
40732 main ()
40734 return f != $ac_func;
40736 return 0;
40738 _ACEOF
40739 rm -f conftest.$ac_objext conftest$ac_exeext
40740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40741 (eval $ac_link) 2>conftest.er1
40742 ac_status=$?
40743 grep -v '^ *+' conftest.er1 >conftest.err
40744 rm -f conftest.er1
40745 cat conftest.err >&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); } &&
40748 { ac_try='test -z "$ac_c_werror_flag"
40749 || test ! -s conftest.err'
40750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751 (eval $ac_try) 2>&5
40752 ac_status=$?
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); }; } &&
40755 { ac_try='test -s conftest$ac_exeext'
40756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757 (eval $ac_try) 2>&5
40758 ac_status=$?
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; }; then
40761 eval "$as_ac_var=yes"
40762 else
40763 echo "$as_me: failed program was:" >&5
40764 sed 's/^/| /' conftest.$ac_ext >&5
40766 eval "$as_ac_var=no"
40768 rm -f conftest.err conftest.$ac_objext \
40769 conftest$ac_exeext conftest.$ac_ext
40771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40773 if test `eval echo '${'$as_ac_var'}'` = yes; then
40774 cat >>confdefs.h <<_ACEOF
40775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40776 _ACEOF
40779 done
40781 else
40783 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
40784 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
40785 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
40786 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
40787 echo $ECHO_N "(cached) $ECHO_C" >&6
40788 else
40792 ac_ext=cc
40793 ac_cpp='$CXXCPP $CPPFLAGS'
40794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 #include <math.h>
40805 #ifdef HAVE_IEEEFP_H
40806 #include <ieeefp.h>
40807 #endif
40810 main ()
40812 _isinfl(0);
40814 return 0;
40816 _ACEOF
40817 rm -f conftest.$ac_objext
40818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40819 (eval $ac_compile) 2>conftest.er1
40820 ac_status=$?
40821 grep -v '^ *+' conftest.er1 >conftest.err
40822 rm -f conftest.er1
40823 cat conftest.err >&5
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); } &&
40826 { ac_try='test -z "$ac_cxx_werror_flag"
40827 || test ! -s conftest.err'
40828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40829 (eval $ac_try) 2>&5
40830 ac_status=$?
40831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); }; } &&
40833 { ac_try='test -s conftest.$ac_objext'
40834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40835 (eval $ac_try) 2>&5
40836 ac_status=$?
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); }; }; then
40839 glibcxx_cv_func__isinfl_use=yes
40840 else
40841 echo "$as_me: failed program was:" >&5
40842 sed 's/^/| /' conftest.$ac_ext >&5
40844 glibcxx_cv_func__isinfl_use=no
40846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40847 ac_ext=c
40848 ac_cpp='$CPP $CPPFLAGS'
40849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
40858 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
40860 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
40862 for ac_func in _isinfl
40864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40865 echo "$as_me:$LINENO: checking for $ac_func" >&5
40866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40867 if eval "test \"\${$as_ac_var+set}\" = set"; then
40868 echo $ECHO_N "(cached) $ECHO_C" >&6
40869 else
40870 if test x$gcc_no_link = xyes; then
40871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40873 { (exit 1); exit 1; }; }
40875 cat >conftest.$ac_ext <<_ACEOF
40876 /* confdefs.h. */
40877 _ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40883 #define $ac_func innocuous_$ac_func
40885 /* System header to define __stub macros and hopefully few prototypes,
40886 which can conflict with char $ac_func (); below.
40887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40888 <limits.h> exists even on freestanding compilers. */
40890 #ifdef __STDC__
40891 # include <limits.h>
40892 #else
40893 # include <assert.h>
40894 #endif
40896 #undef $ac_func
40898 /* Override any gcc2 internal prototype to avoid an error. */
40899 #ifdef __cplusplus
40900 extern "C"
40902 #endif
40903 /* We use char because int might match the return type of a gcc2
40904 builtin and then its argument prototype would still apply. */
40905 char $ac_func ();
40906 /* The GNU C library defines this for functions which it implements
40907 to always fail with ENOSYS. Some functions are actually named
40908 something starting with __ and the normal name is an alias. */
40909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40910 choke me
40911 #else
40912 char (*f) () = $ac_func;
40913 #endif
40914 #ifdef __cplusplus
40916 #endif
40919 main ()
40921 return f != $ac_func;
40923 return 0;
40925 _ACEOF
40926 rm -f conftest.$ac_objext conftest$ac_exeext
40927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40928 (eval $ac_link) 2>conftest.er1
40929 ac_status=$?
40930 grep -v '^ *+' conftest.er1 >conftest.err
40931 rm -f conftest.er1
40932 cat conftest.err >&5
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); } &&
40935 { ac_try='test -z "$ac_c_werror_flag"
40936 || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40939 ac_status=$?
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try='test -s conftest$ac_exeext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40945 ac_status=$?
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 eval "$as_ac_var=yes"
40949 else
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.$ac_ext >&5
40953 eval "$as_ac_var=no"
40955 rm -f conftest.err conftest.$ac_objext \
40956 conftest$ac_exeext conftest.$ac_ext
40958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40960 if test `eval echo '${'$as_ac_var'}'` = yes; then
40961 cat >>confdefs.h <<_ACEOF
40962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40963 _ACEOF
40966 done
40973 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
40974 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
40975 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
40976 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
40977 echo $ECHO_N "(cached) $ECHO_C" >&6
40978 else
40982 ac_ext=cc
40983 ac_cpp='$CXXCPP $CPPFLAGS'
40984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40988 cat >conftest.$ac_ext <<_ACEOF
40989 /* confdefs.h. */
40990 _ACEOF
40991 cat confdefs.h >>conftest.$ac_ext
40992 cat >>conftest.$ac_ext <<_ACEOF
40993 /* end confdefs.h. */
40994 #include <math.h>
40996 main ()
40998 copysignl(0, 0);
41000 return 0;
41002 _ACEOF
41003 rm -f conftest.$ac_objext
41004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41005 (eval $ac_compile) 2>conftest.er1
41006 ac_status=$?
41007 grep -v '^ *+' conftest.er1 >conftest.err
41008 rm -f conftest.er1
41009 cat conftest.err >&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); } &&
41012 { ac_try='test -z "$ac_cxx_werror_flag"
41013 || test ! -s conftest.err'
41014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41015 (eval $ac_try) 2>&5
41016 ac_status=$?
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); }; } &&
41019 { ac_try='test -s conftest.$ac_objext'
41020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41021 (eval $ac_try) 2>&5
41022 ac_status=$?
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); }; }; then
41025 glibcxx_cv_func_copysignl_use=yes
41026 else
41027 echo "$as_me: failed program was:" >&5
41028 sed 's/^/| /' conftest.$ac_ext >&5
41030 glibcxx_cv_func_copysignl_use=no
41032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41033 ac_ext=c
41034 ac_cpp='$CPP $CPPFLAGS'
41035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41044 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41046 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41048 for ac_func in copysignl
41050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41051 echo "$as_me:$LINENO: checking for $ac_func" >&5
41052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41053 if eval "test \"\${$as_ac_var+set}\" = set"; then
41054 echo $ECHO_N "(cached) $ECHO_C" >&6
41055 else
41056 if test x$gcc_no_link = xyes; then
41057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41059 { (exit 1); exit 1; }; }
41061 cat >conftest.$ac_ext <<_ACEOF
41062 /* confdefs.h. */
41063 _ACEOF
41064 cat confdefs.h >>conftest.$ac_ext
41065 cat >>conftest.$ac_ext <<_ACEOF
41066 /* end confdefs.h. */
41067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41069 #define $ac_func innocuous_$ac_func
41071 /* System header to define __stub macros and hopefully few prototypes,
41072 which can conflict with char $ac_func (); below.
41073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41074 <limits.h> exists even on freestanding compilers. */
41076 #ifdef __STDC__
41077 # include <limits.h>
41078 #else
41079 # include <assert.h>
41080 #endif
41082 #undef $ac_func
41084 /* Override any gcc2 internal prototype to avoid an error. */
41085 #ifdef __cplusplus
41086 extern "C"
41088 #endif
41089 /* We use char because int might match the return type of a gcc2
41090 builtin and then its argument prototype would still apply. */
41091 char $ac_func ();
41092 /* The GNU C library defines this for functions which it implements
41093 to always fail with ENOSYS. Some functions are actually named
41094 something starting with __ and the normal name is an alias. */
41095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41096 choke me
41097 #else
41098 char (*f) () = $ac_func;
41099 #endif
41100 #ifdef __cplusplus
41102 #endif
41105 main ()
41107 return f != $ac_func;
41109 return 0;
41111 _ACEOF
41112 rm -f conftest.$ac_objext conftest$ac_exeext
41113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41114 (eval $ac_link) 2>conftest.er1
41115 ac_status=$?
41116 grep -v '^ *+' conftest.er1 >conftest.err
41117 rm -f conftest.er1
41118 cat conftest.err >&5
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); } &&
41121 { ac_try='test -z "$ac_c_werror_flag"
41122 || test ! -s conftest.err'
41123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41124 (eval $ac_try) 2>&5
41125 ac_status=$?
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); }; } &&
41128 { ac_try='test -s conftest$ac_exeext'
41129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41130 (eval $ac_try) 2>&5
41131 ac_status=$?
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); }; }; then
41134 eval "$as_ac_var=yes"
41135 else
41136 echo "$as_me: failed program was:" >&5
41137 sed 's/^/| /' conftest.$ac_ext >&5
41139 eval "$as_ac_var=no"
41141 rm -f conftest.err conftest.$ac_objext \
41142 conftest$ac_exeext conftest.$ac_ext
41144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41146 if test `eval echo '${'$as_ac_var'}'` = yes; then
41147 cat >>confdefs.h <<_ACEOF
41148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41149 _ACEOF
41152 done
41154 else
41156 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
41157 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
41158 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
41159 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
41160 echo $ECHO_N "(cached) $ECHO_C" >&6
41161 else
41165 ac_ext=cc
41166 ac_cpp='$CXXCPP $CPPFLAGS'
41167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41171 cat >conftest.$ac_ext <<_ACEOF
41172 /* confdefs.h. */
41173 _ACEOF
41174 cat confdefs.h >>conftest.$ac_ext
41175 cat >>conftest.$ac_ext <<_ACEOF
41176 /* end confdefs.h. */
41177 #include <math.h>
41179 main ()
41181 _copysignl(0, 0);
41183 return 0;
41185 _ACEOF
41186 rm -f conftest.$ac_objext
41187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41188 (eval $ac_compile) 2>conftest.er1
41189 ac_status=$?
41190 grep -v '^ *+' conftest.er1 >conftest.err
41191 rm -f conftest.er1
41192 cat conftest.err >&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); } &&
41195 { ac_try='test -z "$ac_cxx_werror_flag"
41196 || test ! -s conftest.err'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41199 ac_status=$?
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; } &&
41202 { ac_try='test -s conftest.$ac_objext'
41203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204 (eval $ac_try) 2>&5
41205 ac_status=$?
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); }; }; then
41208 glibcxx_cv_func__copysignl_use=yes
41209 else
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41213 glibcxx_cv_func__copysignl_use=no
41215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41216 ac_ext=c
41217 ac_cpp='$CPP $CPPFLAGS'
41218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
41227 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
41229 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
41231 for ac_func in _copysignl
41233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41234 echo "$as_me:$LINENO: checking for $ac_func" >&5
41235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41236 if eval "test \"\${$as_ac_var+set}\" = set"; then
41237 echo $ECHO_N "(cached) $ECHO_C" >&6
41238 else
41239 if test x$gcc_no_link = xyes; then
41240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41242 { (exit 1); exit 1; }; }
41244 cat >conftest.$ac_ext <<_ACEOF
41245 /* confdefs.h. */
41246 _ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41252 #define $ac_func innocuous_$ac_func
41254 /* System header to define __stub macros and hopefully few prototypes,
41255 which can conflict with char $ac_func (); below.
41256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41257 <limits.h> exists even on freestanding compilers. */
41259 #ifdef __STDC__
41260 # include <limits.h>
41261 #else
41262 # include <assert.h>
41263 #endif
41265 #undef $ac_func
41267 /* Override any gcc2 internal prototype to avoid an error. */
41268 #ifdef __cplusplus
41269 extern "C"
41271 #endif
41272 /* We use char because int might match the return type of a gcc2
41273 builtin and then its argument prototype would still apply. */
41274 char $ac_func ();
41275 /* The GNU C library defines this for functions which it implements
41276 to always fail with ENOSYS. Some functions are actually named
41277 something starting with __ and the normal name is an alias. */
41278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41279 choke me
41280 #else
41281 char (*f) () = $ac_func;
41282 #endif
41283 #ifdef __cplusplus
41285 #endif
41288 main ()
41290 return f != $ac_func;
41292 return 0;
41294 _ACEOF
41295 rm -f conftest.$ac_objext conftest$ac_exeext
41296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41297 (eval $ac_link) 2>conftest.er1
41298 ac_status=$?
41299 grep -v '^ *+' conftest.er1 >conftest.err
41300 rm -f conftest.er1
41301 cat conftest.err >&5
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); } &&
41304 { ac_try='test -z "$ac_c_werror_flag"
41305 || test ! -s conftest.err'
41306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41307 (eval $ac_try) 2>&5
41308 ac_status=$?
41309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41310 (exit $ac_status); }; } &&
41311 { ac_try='test -s conftest$ac_exeext'
41312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41313 (eval $ac_try) 2>&5
41314 ac_status=$?
41315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41316 (exit $ac_status); }; }; then
41317 eval "$as_ac_var=yes"
41318 else
41319 echo "$as_me: failed program was:" >&5
41320 sed 's/^/| /' conftest.$ac_ext >&5
41322 eval "$as_ac_var=no"
41324 rm -f conftest.err conftest.$ac_objext \
41325 conftest$ac_exeext conftest.$ac_ext
41327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41329 if test `eval echo '${'$as_ac_var'}'` = yes; then
41330 cat >>confdefs.h <<_ACEOF
41331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41332 _ACEOF
41335 done
41342 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
41343 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
41344 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41345 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
41346 echo $ECHO_N "(cached) $ECHO_C" >&6
41347 else
41351 ac_ext=cc
41352 ac_cpp='$CXXCPP $CPPFLAGS'
41353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41357 cat >conftest.$ac_ext <<_ACEOF
41358 /* confdefs.h. */
41359 _ACEOF
41360 cat confdefs.h >>conftest.$ac_ext
41361 cat >>conftest.$ac_ext <<_ACEOF
41362 /* end confdefs.h. */
41363 #include <math.h>
41365 main ()
41367 atan2l(0, 0);
41369 return 0;
41371 _ACEOF
41372 rm -f conftest.$ac_objext
41373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41374 (eval $ac_compile) 2>conftest.er1
41375 ac_status=$?
41376 grep -v '^ *+' conftest.er1 >conftest.err
41377 rm -f conftest.er1
41378 cat conftest.err >&5
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); } &&
41381 { ac_try='test -z "$ac_cxx_werror_flag"
41382 || test ! -s conftest.err'
41383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41384 (eval $ac_try) 2>&5
41385 ac_status=$?
41386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41387 (exit $ac_status); }; } &&
41388 { ac_try='test -s conftest.$ac_objext'
41389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41390 (eval $ac_try) 2>&5
41391 ac_status=$?
41392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41393 (exit $ac_status); }; }; then
41394 glibcxx_cv_func_atan2l_use=yes
41395 else
41396 echo "$as_me: failed program was:" >&5
41397 sed 's/^/| /' conftest.$ac_ext >&5
41399 glibcxx_cv_func_atan2l_use=no
41401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41412 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
41413 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
41415 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41417 for ac_func in atan2l
41419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41420 echo "$as_me:$LINENO: checking for $ac_func" >&5
41421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41422 if eval "test \"\${$as_ac_var+set}\" = set"; then
41423 echo $ECHO_N "(cached) $ECHO_C" >&6
41424 else
41425 if test x$gcc_no_link = xyes; then
41426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41428 { (exit 1); exit 1; }; }
41430 cat >conftest.$ac_ext <<_ACEOF
41431 /* confdefs.h. */
41432 _ACEOF
41433 cat confdefs.h >>conftest.$ac_ext
41434 cat >>conftest.$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41438 #define $ac_func innocuous_$ac_func
41440 /* System header to define __stub macros and hopefully few prototypes,
41441 which can conflict with char $ac_func (); below.
41442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41443 <limits.h> exists even on freestanding compilers. */
41445 #ifdef __STDC__
41446 # include <limits.h>
41447 #else
41448 # include <assert.h>
41449 #endif
41451 #undef $ac_func
41453 /* Override any gcc2 internal prototype to avoid an error. */
41454 #ifdef __cplusplus
41455 extern "C"
41457 #endif
41458 /* We use char because int might match the return type of a gcc2
41459 builtin and then its argument prototype would still apply. */
41460 char $ac_func ();
41461 /* The GNU C library defines this for functions which it implements
41462 to always fail with ENOSYS. Some functions are actually named
41463 something starting with __ and the normal name is an alias. */
41464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41465 choke me
41466 #else
41467 char (*f) () = $ac_func;
41468 #endif
41469 #ifdef __cplusplus
41471 #endif
41474 main ()
41476 return f != $ac_func;
41478 return 0;
41480 _ACEOF
41481 rm -f conftest.$ac_objext conftest$ac_exeext
41482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41483 (eval $ac_link) 2>conftest.er1
41484 ac_status=$?
41485 grep -v '^ *+' conftest.er1 >conftest.err
41486 rm -f conftest.er1
41487 cat conftest.err >&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); } &&
41490 { ac_try='test -z "$ac_c_werror_flag"
41491 || test ! -s conftest.err'
41492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41493 (eval $ac_try) 2>&5
41494 ac_status=$?
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); }; } &&
41497 { ac_try='test -s conftest$ac_exeext'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41500 ac_status=$?
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; }; then
41503 eval "$as_ac_var=yes"
41504 else
41505 echo "$as_me: failed program was:" >&5
41506 sed 's/^/| /' conftest.$ac_ext >&5
41508 eval "$as_ac_var=no"
41510 rm -f conftest.err conftest.$ac_objext \
41511 conftest$ac_exeext conftest.$ac_ext
41513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41515 if test `eval echo '${'$as_ac_var'}'` = yes; then
41516 cat >>confdefs.h <<_ACEOF
41517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41518 _ACEOF
41521 done
41523 else
41525 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
41526 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
41527 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41528 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
41529 echo $ECHO_N "(cached) $ECHO_C" >&6
41530 else
41534 ac_ext=cc
41535 ac_cpp='$CXXCPP $CPPFLAGS'
41536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41540 cat >conftest.$ac_ext <<_ACEOF
41541 /* confdefs.h. */
41542 _ACEOF
41543 cat confdefs.h >>conftest.$ac_ext
41544 cat >>conftest.$ac_ext <<_ACEOF
41545 /* end confdefs.h. */
41546 #include <math.h>
41548 main ()
41550 _atan2l(0, 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__atan2l_use=yes
41578 else
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41582 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
41596 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
41598 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41600 for ac_func in _atan2l
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 expl declaration" >&5
41712 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
41713 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41714 if test "${glibcxx_cv_func_expl_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>
41733 #ifdef HAVE_IEEEFP_H
41734 #include <ieeefp.h>
41735 #endif
41738 main ()
41740 expl(0);
41742 return 0;
41744 _ACEOF
41745 rm -f conftest.$ac_objext
41746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41747 (eval $ac_compile) 2>conftest.er1
41748 ac_status=$?
41749 grep -v '^ *+' conftest.er1 >conftest.err
41750 rm -f conftest.er1
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } &&
41754 { ac_try='test -z "$ac_cxx_werror_flag"
41755 || test ! -s conftest.err'
41756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41757 (eval $ac_try) 2>&5
41758 ac_status=$?
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); }; } &&
41761 { ac_try='test -s conftest.$ac_objext'
41762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41763 (eval $ac_try) 2>&5
41764 ac_status=$?
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); }; }; then
41767 glibcxx_cv_func_expl_use=yes
41768 else
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.$ac_ext >&5
41772 glibcxx_cv_func_expl_use=no
41774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41775 ac_ext=c
41776 ac_cpp='$CPP $CPPFLAGS'
41777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
41786 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
41788 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41790 for ac_func in expl
41792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41793 echo "$as_me:$LINENO: checking for $ac_func" >&5
41794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41795 if eval "test \"\${$as_ac_var+set}\" = set"; then
41796 echo $ECHO_N "(cached) $ECHO_C" >&6
41797 else
41798 if test x$gcc_no_link = xyes; then
41799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41801 { (exit 1); exit 1; }; }
41803 cat >conftest.$ac_ext <<_ACEOF
41804 /* confdefs.h. */
41805 _ACEOF
41806 cat confdefs.h >>conftest.$ac_ext
41807 cat >>conftest.$ac_ext <<_ACEOF
41808 /* end confdefs.h. */
41809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41811 #define $ac_func innocuous_$ac_func
41813 /* System header to define __stub macros and hopefully few prototypes,
41814 which can conflict with char $ac_func (); below.
41815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41816 <limits.h> exists even on freestanding compilers. */
41818 #ifdef __STDC__
41819 # include <limits.h>
41820 #else
41821 # include <assert.h>
41822 #endif
41824 #undef $ac_func
41826 /* Override any gcc2 internal prototype to avoid an error. */
41827 #ifdef __cplusplus
41828 extern "C"
41830 #endif
41831 /* We use char because int might match the return type of a gcc2
41832 builtin and then its argument prototype would still apply. */
41833 char $ac_func ();
41834 /* The GNU C library defines this for functions which it implements
41835 to always fail with ENOSYS. Some functions are actually named
41836 something starting with __ and the normal name is an alias. */
41837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41838 choke me
41839 #else
41840 char (*f) () = $ac_func;
41841 #endif
41842 #ifdef __cplusplus
41844 #endif
41847 main ()
41849 return f != $ac_func;
41851 return 0;
41853 _ACEOF
41854 rm -f conftest.$ac_objext conftest$ac_exeext
41855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41856 (eval $ac_link) 2>conftest.er1
41857 ac_status=$?
41858 grep -v '^ *+' conftest.er1 >conftest.err
41859 rm -f conftest.er1
41860 cat conftest.err >&5
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); } &&
41863 { ac_try='test -z "$ac_c_werror_flag"
41864 || test ! -s conftest.err'
41865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41866 (eval $ac_try) 2>&5
41867 ac_status=$?
41868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41869 (exit $ac_status); }; } &&
41870 { ac_try='test -s conftest$ac_exeext'
41871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41872 (eval $ac_try) 2>&5
41873 ac_status=$?
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); }; }; then
41876 eval "$as_ac_var=yes"
41877 else
41878 echo "$as_me: failed program was:" >&5
41879 sed 's/^/| /' conftest.$ac_ext >&5
41881 eval "$as_ac_var=no"
41883 rm -f conftest.err conftest.$ac_objext \
41884 conftest$ac_exeext conftest.$ac_ext
41886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41888 if test `eval echo '${'$as_ac_var'}'` = yes; then
41889 cat >>confdefs.h <<_ACEOF
41890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41891 _ACEOF
41894 done
41896 else
41898 echo "$as_me:$LINENO: checking for _expl declaration" >&5
41899 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
41900 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41901 if test "${glibcxx_cv_func__expl_use+set}" = set; then
41902 echo $ECHO_N "(cached) $ECHO_C" >&6
41903 else
41907 ac_ext=cc
41908 ac_cpp='$CXXCPP $CPPFLAGS'
41909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41913 cat >conftest.$ac_ext <<_ACEOF
41914 /* confdefs.h. */
41915 _ACEOF
41916 cat confdefs.h >>conftest.$ac_ext
41917 cat >>conftest.$ac_ext <<_ACEOF
41918 /* end confdefs.h. */
41919 #include <math.h>
41920 #ifdef HAVE_IEEEFP_H
41921 #include <ieeefp.h>
41922 #endif
41925 main ()
41927 _expl(0);
41929 return 0;
41931 _ACEOF
41932 rm -f conftest.$ac_objext
41933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41934 (eval $ac_compile) 2>conftest.er1
41935 ac_status=$?
41936 grep -v '^ *+' conftest.er1 >conftest.err
41937 rm -f conftest.er1
41938 cat conftest.err >&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); } &&
41941 { ac_try='test -z "$ac_cxx_werror_flag"
41942 || test ! -s conftest.err'
41943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41944 (eval $ac_try) 2>&5
41945 ac_status=$?
41946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947 (exit $ac_status); }; } &&
41948 { ac_try='test -s conftest.$ac_objext'
41949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41950 (eval $ac_try) 2>&5
41951 ac_status=$?
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); }; }; then
41954 glibcxx_cv_func__expl_use=yes
41955 else
41956 echo "$as_me: failed program was:" >&5
41957 sed 's/^/| /' conftest.$ac_ext >&5
41959 glibcxx_cv_func__expl_use=no
41961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41962 ac_ext=c
41963 ac_cpp='$CPP $CPPFLAGS'
41964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
41973 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
41975 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41977 for ac_func in _expl
41979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41980 echo "$as_me:$LINENO: checking for $ac_func" >&5
41981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41982 if eval "test \"\${$as_ac_var+set}\" = set"; then
41983 echo $ECHO_N "(cached) $ECHO_C" >&6
41984 else
41985 if test x$gcc_no_link = xyes; then
41986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41988 { (exit 1); exit 1; }; }
41990 cat >conftest.$ac_ext <<_ACEOF
41991 /* confdefs.h. */
41992 _ACEOF
41993 cat confdefs.h >>conftest.$ac_ext
41994 cat >>conftest.$ac_ext <<_ACEOF
41995 /* end confdefs.h. */
41996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41998 #define $ac_func innocuous_$ac_func
42000 /* System header to define __stub macros and hopefully few prototypes,
42001 which can conflict with char $ac_func (); below.
42002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42003 <limits.h> exists even on freestanding compilers. */
42005 #ifdef __STDC__
42006 # include <limits.h>
42007 #else
42008 # include <assert.h>
42009 #endif
42011 #undef $ac_func
42013 /* Override any gcc2 internal prototype to avoid an error. */
42014 #ifdef __cplusplus
42015 extern "C"
42017 #endif
42018 /* We use char because int might match the return type of a gcc2
42019 builtin and then its argument prototype would still apply. */
42020 char $ac_func ();
42021 /* The GNU C library defines this for functions which it implements
42022 to always fail with ENOSYS. Some functions are actually named
42023 something starting with __ and the normal name is an alias. */
42024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42025 choke me
42026 #else
42027 char (*f) () = $ac_func;
42028 #endif
42029 #ifdef __cplusplus
42031 #endif
42034 main ()
42036 return f != $ac_func;
42038 return 0;
42040 _ACEOF
42041 rm -f conftest.$ac_objext conftest$ac_exeext
42042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42043 (eval $ac_link) 2>conftest.er1
42044 ac_status=$?
42045 grep -v '^ *+' conftest.er1 >conftest.err
42046 rm -f conftest.er1
42047 cat conftest.err >&5
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); } &&
42050 { ac_try='test -z "$ac_c_werror_flag"
42051 || test ! -s conftest.err'
42052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42053 (eval $ac_try) 2>&5
42054 ac_status=$?
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; } &&
42057 { ac_try='test -s conftest$ac_exeext'
42058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42059 (eval $ac_try) 2>&5
42060 ac_status=$?
42061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42062 (exit $ac_status); }; }; then
42063 eval "$as_ac_var=yes"
42064 else
42065 echo "$as_me: failed program was:" >&5
42066 sed 's/^/| /' conftest.$ac_ext >&5
42068 eval "$as_ac_var=no"
42070 rm -f conftest.err conftest.$ac_objext \
42071 conftest$ac_exeext conftest.$ac_ext
42073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42075 if test `eval echo '${'$as_ac_var'}'` = yes; then
42076 cat >>confdefs.h <<_ACEOF
42077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42078 _ACEOF
42081 done
42088 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42089 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42090 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42091 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42092 echo $ECHO_N "(cached) $ECHO_C" >&6
42093 else
42097 ac_ext=cc
42098 ac_cpp='$CXXCPP $CPPFLAGS'
42099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42103 cat >conftest.$ac_ext <<_ACEOF
42104 /* confdefs.h. */
42105 _ACEOF
42106 cat confdefs.h >>conftest.$ac_ext
42107 cat >>conftest.$ac_ext <<_ACEOF
42108 /* end confdefs.h. */
42109 #include <math.h>
42110 #ifdef HAVE_IEEEFP_H
42111 #include <ieeefp.h>
42112 #endif
42115 main ()
42117 fabsl(0);
42119 return 0;
42121 _ACEOF
42122 rm -f conftest.$ac_objext
42123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42124 (eval $ac_compile) 2>conftest.er1
42125 ac_status=$?
42126 grep -v '^ *+' conftest.er1 >conftest.err
42127 rm -f conftest.er1
42128 cat conftest.err >&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); } &&
42131 { ac_try='test -z "$ac_cxx_werror_flag"
42132 || test ! -s conftest.err'
42133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42134 (eval $ac_try) 2>&5
42135 ac_status=$?
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); }; } &&
42138 { ac_try='test -s conftest.$ac_objext'
42139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42140 (eval $ac_try) 2>&5
42141 ac_status=$?
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); }; }; then
42144 glibcxx_cv_func_fabsl_use=yes
42145 else
42146 echo "$as_me: failed program was:" >&5
42147 sed 's/^/| /' conftest.$ac_ext >&5
42149 glibcxx_cv_func_fabsl_use=no
42151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42152 ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
42163 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
42165 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42167 for ac_func in fabsl
42169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42170 echo "$as_me:$LINENO: checking for $ac_func" >&5
42171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42172 if eval "test \"\${$as_ac_var+set}\" = set"; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 else
42175 if test x$gcc_no_link = xyes; then
42176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42178 { (exit 1); exit 1; }; }
42180 cat >conftest.$ac_ext <<_ACEOF
42181 /* confdefs.h. */
42182 _ACEOF
42183 cat confdefs.h >>conftest.$ac_ext
42184 cat >>conftest.$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42188 #define $ac_func innocuous_$ac_func
42190 /* System header to define __stub macros and hopefully few prototypes,
42191 which can conflict with char $ac_func (); below.
42192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42193 <limits.h> exists even on freestanding compilers. */
42195 #ifdef __STDC__
42196 # include <limits.h>
42197 #else
42198 # include <assert.h>
42199 #endif
42201 #undef $ac_func
42203 /* Override any gcc2 internal prototype to avoid an error. */
42204 #ifdef __cplusplus
42205 extern "C"
42207 #endif
42208 /* We use char because int might match the return type of a gcc2
42209 builtin and then its argument prototype would still apply. */
42210 char $ac_func ();
42211 /* The GNU C library defines this for functions which it implements
42212 to always fail with ENOSYS. Some functions are actually named
42213 something starting with __ and the normal name is an alias. */
42214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42215 choke me
42216 #else
42217 char (*f) () = $ac_func;
42218 #endif
42219 #ifdef __cplusplus
42221 #endif
42224 main ()
42226 return f != $ac_func;
42228 return 0;
42230 _ACEOF
42231 rm -f conftest.$ac_objext conftest$ac_exeext
42232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42233 (eval $ac_link) 2>conftest.er1
42234 ac_status=$?
42235 grep -v '^ *+' conftest.er1 >conftest.err
42236 rm -f conftest.er1
42237 cat conftest.err >&5
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); } &&
42240 { ac_try='test -z "$ac_c_werror_flag"
42241 || test ! -s conftest.err'
42242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42243 (eval $ac_try) 2>&5
42244 ac_status=$?
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); }; } &&
42247 { ac_try='test -s conftest$ac_exeext'
42248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42249 (eval $ac_try) 2>&5
42250 ac_status=$?
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); }; }; then
42253 eval "$as_ac_var=yes"
42254 else
42255 echo "$as_me: failed program was:" >&5
42256 sed 's/^/| /' conftest.$ac_ext >&5
42258 eval "$as_ac_var=no"
42260 rm -f conftest.err conftest.$ac_objext \
42261 conftest$ac_exeext conftest.$ac_ext
42263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42265 if test `eval echo '${'$as_ac_var'}'` = yes; then
42266 cat >>confdefs.h <<_ACEOF
42267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42268 _ACEOF
42271 done
42273 else
42275 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
42276 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
42277 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42278 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
42279 echo $ECHO_N "(cached) $ECHO_C" >&6
42280 else
42284 ac_ext=cc
42285 ac_cpp='$CXXCPP $CPPFLAGS'
42286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42290 cat >conftest.$ac_ext <<_ACEOF
42291 /* confdefs.h. */
42292 _ACEOF
42293 cat confdefs.h >>conftest.$ac_ext
42294 cat >>conftest.$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42296 #include <math.h>
42297 #ifdef HAVE_IEEEFP_H
42298 #include <ieeefp.h>
42299 #endif
42302 main ()
42304 _fabsl(0);
42306 return 0;
42308 _ACEOF
42309 rm -f conftest.$ac_objext
42310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42311 (eval $ac_compile) 2>conftest.er1
42312 ac_status=$?
42313 grep -v '^ *+' conftest.er1 >conftest.err
42314 rm -f conftest.er1
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } &&
42318 { ac_try='test -z "$ac_cxx_werror_flag"
42319 || test ! -s conftest.err'
42320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42321 (eval $ac_try) 2>&5
42322 ac_status=$?
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); }; } &&
42325 { ac_try='test -s conftest.$ac_objext'
42326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42327 (eval $ac_try) 2>&5
42328 ac_status=$?
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); }; }; then
42331 glibcxx_cv_func__fabsl_use=yes
42332 else
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42336 glibcxx_cv_func__fabsl_use=no
42338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42339 ac_ext=c
42340 ac_cpp='$CPP $CPPFLAGS'
42341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42349 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
42350 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
42352 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42354 for ac_func in _fabsl
42356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42357 echo "$as_me:$LINENO: checking for $ac_func" >&5
42358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42359 if eval "test \"\${$as_ac_var+set}\" = set"; then
42360 echo $ECHO_N "(cached) $ECHO_C" >&6
42361 else
42362 if test x$gcc_no_link = xyes; then
42363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42365 { (exit 1); exit 1; }; }
42367 cat >conftest.$ac_ext <<_ACEOF
42368 /* confdefs.h. */
42369 _ACEOF
42370 cat confdefs.h >>conftest.$ac_ext
42371 cat >>conftest.$ac_ext <<_ACEOF
42372 /* end confdefs.h. */
42373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42375 #define $ac_func innocuous_$ac_func
42377 /* System header to define __stub macros and hopefully few prototypes,
42378 which can conflict with char $ac_func (); below.
42379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42380 <limits.h> exists even on freestanding compilers. */
42382 #ifdef __STDC__
42383 # include <limits.h>
42384 #else
42385 # include <assert.h>
42386 #endif
42388 #undef $ac_func
42390 /* Override any gcc2 internal prototype to avoid an error. */
42391 #ifdef __cplusplus
42392 extern "C"
42394 #endif
42395 /* We use char because int might match the return type of a gcc2
42396 builtin and then its argument prototype would still apply. */
42397 char $ac_func ();
42398 /* The GNU C library defines this for functions which it implements
42399 to always fail with ENOSYS. Some functions are actually named
42400 something starting with __ and the normal name is an alias. */
42401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42402 choke me
42403 #else
42404 char (*f) () = $ac_func;
42405 #endif
42406 #ifdef __cplusplus
42408 #endif
42411 main ()
42413 return f != $ac_func;
42415 return 0;
42417 _ACEOF
42418 rm -f conftest.$ac_objext conftest$ac_exeext
42419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42420 (eval $ac_link) 2>conftest.er1
42421 ac_status=$?
42422 grep -v '^ *+' conftest.er1 >conftest.err
42423 rm -f conftest.er1
42424 cat conftest.err >&5
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); } &&
42427 { ac_try='test -z "$ac_c_werror_flag"
42428 || test ! -s conftest.err'
42429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42430 (eval $ac_try) 2>&5
42431 ac_status=$?
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); }; } &&
42434 { ac_try='test -s conftest$ac_exeext'
42435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42436 (eval $ac_try) 2>&5
42437 ac_status=$?
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; }; then
42440 eval "$as_ac_var=yes"
42441 else
42442 echo "$as_me: failed program was:" >&5
42443 sed 's/^/| /' conftest.$ac_ext >&5
42445 eval "$as_ac_var=no"
42447 rm -f conftest.err conftest.$ac_objext \
42448 conftest$ac_exeext conftest.$ac_ext
42450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42452 if test `eval echo '${'$as_ac_var'}'` = yes; then
42453 cat >>confdefs.h <<_ACEOF
42454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42455 _ACEOF
42458 done
42465 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
42466 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
42467 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42468 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42470 else
42474 ac_ext=cc
42475 ac_cpp='$CXXCPP $CPPFLAGS'
42476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42480 cat >conftest.$ac_ext <<_ACEOF
42481 /* confdefs.h. */
42482 _ACEOF
42483 cat confdefs.h >>conftest.$ac_ext
42484 cat >>conftest.$ac_ext <<_ACEOF
42485 /* end confdefs.h. */
42486 #include <math.h>
42488 main ()
42490 fmodl(0, 0);
42492 return 0;
42494 _ACEOF
42495 rm -f conftest.$ac_objext
42496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42497 (eval $ac_compile) 2>conftest.er1
42498 ac_status=$?
42499 grep -v '^ *+' conftest.er1 >conftest.err
42500 rm -f conftest.er1
42501 cat conftest.err >&5
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); } &&
42504 { ac_try='test -z "$ac_cxx_werror_flag"
42505 || test ! -s conftest.err'
42506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42507 (eval $ac_try) 2>&5
42508 ac_status=$?
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); }; } &&
42511 { ac_try='test -s conftest.$ac_objext'
42512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42513 (eval $ac_try) 2>&5
42514 ac_status=$?
42515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42516 (exit $ac_status); }; }; then
42517 glibcxx_cv_func_fmodl_use=yes
42518 else
42519 echo "$as_me: failed program was:" >&5
42520 sed 's/^/| /' conftest.$ac_ext >&5
42522 glibcxx_cv_func_fmodl_use=no
42524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42525 ac_ext=c
42526 ac_cpp='$CPP $CPPFLAGS'
42527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
42536 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
42538 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42540 for ac_func in fmodl
42542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42543 echo "$as_me:$LINENO: checking for $ac_func" >&5
42544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42545 if eval "test \"\${$as_ac_var+set}\" = set"; then
42546 echo $ECHO_N "(cached) $ECHO_C" >&6
42547 else
42548 if test x$gcc_no_link = xyes; then
42549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42551 { (exit 1); exit 1; }; }
42553 cat >conftest.$ac_ext <<_ACEOF
42554 /* confdefs.h. */
42555 _ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42561 #define $ac_func innocuous_$ac_func
42563 /* System header to define __stub macros and hopefully few prototypes,
42564 which can conflict with char $ac_func (); below.
42565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42566 <limits.h> exists even on freestanding compilers. */
42568 #ifdef __STDC__
42569 # include <limits.h>
42570 #else
42571 # include <assert.h>
42572 #endif
42574 #undef $ac_func
42576 /* Override any gcc2 internal prototype to avoid an error. */
42577 #ifdef __cplusplus
42578 extern "C"
42580 #endif
42581 /* We use char because int might match the return type of a gcc2
42582 builtin and then its argument prototype would still apply. */
42583 char $ac_func ();
42584 /* The GNU C library defines this for functions which it implements
42585 to always fail with ENOSYS. Some functions are actually named
42586 something starting with __ and the normal name is an alias. */
42587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42588 choke me
42589 #else
42590 char (*f) () = $ac_func;
42591 #endif
42592 #ifdef __cplusplus
42594 #endif
42597 main ()
42599 return f != $ac_func;
42601 return 0;
42603 _ACEOF
42604 rm -f conftest.$ac_objext conftest$ac_exeext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42606 (eval $ac_link) 2>conftest.er1
42607 ac_status=$?
42608 grep -v '^ *+' conftest.er1 >conftest.err
42609 rm -f conftest.er1
42610 cat conftest.err >&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try='test -z "$ac_c_werror_flag"
42614 || test ! -s conftest.err'
42615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42616 (eval $ac_try) 2>&5
42617 ac_status=$?
42618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619 (exit $ac_status); }; } &&
42620 { ac_try='test -s conftest$ac_exeext'
42621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622 (eval $ac_try) 2>&5
42623 ac_status=$?
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; }; then
42626 eval "$as_ac_var=yes"
42627 else
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.$ac_ext >&5
42631 eval "$as_ac_var=no"
42633 rm -f conftest.err conftest.$ac_objext \
42634 conftest$ac_exeext conftest.$ac_ext
42636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42638 if test `eval echo '${'$as_ac_var'}'` = yes; then
42639 cat >>confdefs.h <<_ACEOF
42640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42641 _ACEOF
42644 done
42646 else
42648 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
42649 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
42650 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42651 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
42652 echo $ECHO_N "(cached) $ECHO_C" >&6
42653 else
42657 ac_ext=cc
42658 ac_cpp='$CXXCPP $CPPFLAGS'
42659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42663 cat >conftest.$ac_ext <<_ACEOF
42664 /* confdefs.h. */
42665 _ACEOF
42666 cat confdefs.h >>conftest.$ac_ext
42667 cat >>conftest.$ac_ext <<_ACEOF
42668 /* end confdefs.h. */
42669 #include <math.h>
42671 main ()
42673 _fmodl(0, 0);
42675 return 0;
42677 _ACEOF
42678 rm -f conftest.$ac_objext
42679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42680 (eval $ac_compile) 2>conftest.er1
42681 ac_status=$?
42682 grep -v '^ *+' conftest.er1 >conftest.err
42683 rm -f conftest.er1
42684 cat conftest.err >&5
42685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42686 (exit $ac_status); } &&
42687 { ac_try='test -z "$ac_cxx_werror_flag"
42688 || test ! -s conftest.err'
42689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42690 (eval $ac_try) 2>&5
42691 ac_status=$?
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); }; } &&
42694 { ac_try='test -s conftest.$ac_objext'
42695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42696 (eval $ac_try) 2>&5
42697 ac_status=$?
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); }; }; then
42700 glibcxx_cv_func__fmodl_use=yes
42701 else
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42705 glibcxx_cv_func__fmodl_use=no
42707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42708 ac_ext=c
42709 ac_cpp='$CPP $CPPFLAGS'
42710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
42719 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
42721 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42723 for ac_func in _fmodl
42725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42726 echo "$as_me:$LINENO: checking for $ac_func" >&5
42727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42728 if eval "test \"\${$as_ac_var+set}\" = set"; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42731 if test x$gcc_no_link = xyes; then
42732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42734 { (exit 1); exit 1; }; }
42736 cat >conftest.$ac_ext <<_ACEOF
42737 /* confdefs.h. */
42738 _ACEOF
42739 cat confdefs.h >>conftest.$ac_ext
42740 cat >>conftest.$ac_ext <<_ACEOF
42741 /* end confdefs.h. */
42742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42744 #define $ac_func innocuous_$ac_func
42746 /* System header to define __stub macros and hopefully few prototypes,
42747 which can conflict with char $ac_func (); below.
42748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42749 <limits.h> exists even on freestanding compilers. */
42751 #ifdef __STDC__
42752 # include <limits.h>
42753 #else
42754 # include <assert.h>
42755 #endif
42757 #undef $ac_func
42759 /* Override any gcc2 internal prototype to avoid an error. */
42760 #ifdef __cplusplus
42761 extern "C"
42763 #endif
42764 /* We use char because int might match the return type of a gcc2
42765 builtin and then its argument prototype would still apply. */
42766 char $ac_func ();
42767 /* The GNU C library defines this for functions which it implements
42768 to always fail with ENOSYS. Some functions are actually named
42769 something starting with __ and the normal name is an alias. */
42770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42771 choke me
42772 #else
42773 char (*f) () = $ac_func;
42774 #endif
42775 #ifdef __cplusplus
42777 #endif
42780 main ()
42782 return f != $ac_func;
42784 return 0;
42786 _ACEOF
42787 rm -f conftest.$ac_objext conftest$ac_exeext
42788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42789 (eval $ac_link) 2>conftest.er1
42790 ac_status=$?
42791 grep -v '^ *+' conftest.er1 >conftest.err
42792 rm -f conftest.er1
42793 cat conftest.err >&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); } &&
42796 { ac_try='test -z "$ac_c_werror_flag"
42797 || test ! -s conftest.err'
42798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42799 (eval $ac_try) 2>&5
42800 ac_status=$?
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); }; } &&
42803 { ac_try='test -s conftest$ac_exeext'
42804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42805 (eval $ac_try) 2>&5
42806 ac_status=$?
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); }; }; then
42809 eval "$as_ac_var=yes"
42810 else
42811 echo "$as_me: failed program was:" >&5
42812 sed 's/^/| /' conftest.$ac_ext >&5
42814 eval "$as_ac_var=no"
42816 rm -f conftest.err conftest.$ac_objext \
42817 conftest$ac_exeext conftest.$ac_ext
42819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42821 if test `eval echo '${'$as_ac_var'}'` = yes; then
42822 cat >>confdefs.h <<_ACEOF
42823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42824 _ACEOF
42827 done
42834 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
42835 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
42836 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42837 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
42838 echo $ECHO_N "(cached) $ECHO_C" >&6
42839 else
42843 ac_ext=cc
42844 ac_cpp='$CXXCPP $CPPFLAGS'
42845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42849 cat >conftest.$ac_ext <<_ACEOF
42850 /* confdefs.h. */
42851 _ACEOF
42852 cat confdefs.h >>conftest.$ac_ext
42853 cat >>conftest.$ac_ext <<_ACEOF
42854 /* end confdefs.h. */
42855 #include <math.h>
42857 main ()
42859 frexpl(0, 0);
42861 return 0;
42863 _ACEOF
42864 rm -f conftest.$ac_objext
42865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42866 (eval $ac_compile) 2>conftest.er1
42867 ac_status=$?
42868 grep -v '^ *+' conftest.er1 >conftest.err
42869 rm -f conftest.er1
42870 cat conftest.err >&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); } &&
42873 { ac_try='test -z "$ac_cxx_werror_flag"
42874 || test ! -s conftest.err'
42875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42876 (eval $ac_try) 2>&5
42877 ac_status=$?
42878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42879 (exit $ac_status); }; } &&
42880 { ac_try='test -s conftest.$ac_objext'
42881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42882 (eval $ac_try) 2>&5
42883 ac_status=$?
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; }; then
42886 glibcxx_cv_func_frexpl_use=yes
42887 else
42888 echo "$as_me: failed program was:" >&5
42889 sed 's/^/| /' conftest.$ac_ext >&5
42891 glibcxx_cv_func_frexpl_use=no
42893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42894 ac_ext=c
42895 ac_cpp='$CPP $CPPFLAGS'
42896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
42905 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
42907 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42909 for ac_func in frexpl
42911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42912 echo "$as_me:$LINENO: checking for $ac_func" >&5
42913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42914 if eval "test \"\${$as_ac_var+set}\" = set"; then
42915 echo $ECHO_N "(cached) $ECHO_C" >&6
42916 else
42917 if test x$gcc_no_link = xyes; then
42918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42920 { (exit 1); exit 1; }; }
42922 cat >conftest.$ac_ext <<_ACEOF
42923 /* confdefs.h. */
42924 _ACEOF
42925 cat confdefs.h >>conftest.$ac_ext
42926 cat >>conftest.$ac_ext <<_ACEOF
42927 /* end confdefs.h. */
42928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42930 #define $ac_func innocuous_$ac_func
42932 /* System header to define __stub macros and hopefully few prototypes,
42933 which can conflict with char $ac_func (); below.
42934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42935 <limits.h> exists even on freestanding compilers. */
42937 #ifdef __STDC__
42938 # include <limits.h>
42939 #else
42940 # include <assert.h>
42941 #endif
42943 #undef $ac_func
42945 /* Override any gcc2 internal prototype to avoid an error. */
42946 #ifdef __cplusplus
42947 extern "C"
42949 #endif
42950 /* We use char because int might match the return type of a gcc2
42951 builtin and then its argument prototype would still apply. */
42952 char $ac_func ();
42953 /* The GNU C library defines this for functions which it implements
42954 to always fail with ENOSYS. Some functions are actually named
42955 something starting with __ and the normal name is an alias. */
42956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42957 choke me
42958 #else
42959 char (*f) () = $ac_func;
42960 #endif
42961 #ifdef __cplusplus
42963 #endif
42966 main ()
42968 return f != $ac_func;
42970 return 0;
42972 _ACEOF
42973 rm -f conftest.$ac_objext conftest$ac_exeext
42974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42975 (eval $ac_link) 2>conftest.er1
42976 ac_status=$?
42977 grep -v '^ *+' conftest.er1 >conftest.err
42978 rm -f conftest.er1
42979 cat conftest.err >&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); } &&
42982 { ac_try='test -z "$ac_c_werror_flag"
42983 || test ! -s conftest.err'
42984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42985 (eval $ac_try) 2>&5
42986 ac_status=$?
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); }; } &&
42989 { ac_try='test -s conftest$ac_exeext'
42990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42991 (eval $ac_try) 2>&5
42992 ac_status=$?
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); }; }; then
42995 eval "$as_ac_var=yes"
42996 else
42997 echo "$as_me: failed program was:" >&5
42998 sed 's/^/| /' conftest.$ac_ext >&5
43000 eval "$as_ac_var=no"
43002 rm -f conftest.err conftest.$ac_objext \
43003 conftest$ac_exeext conftest.$ac_ext
43005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43007 if test `eval echo '${'$as_ac_var'}'` = yes; then
43008 cat >>confdefs.h <<_ACEOF
43009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43010 _ACEOF
43013 done
43015 else
43017 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43018 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43019 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43020 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43021 echo $ECHO_N "(cached) $ECHO_C" >&6
43022 else
43026 ac_ext=cc
43027 ac_cpp='$CXXCPP $CPPFLAGS'
43028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43032 cat >conftest.$ac_ext <<_ACEOF
43033 /* confdefs.h. */
43034 _ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43038 #include <math.h>
43040 main ()
43042 _frexpl(0, 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__frexpl_use=yes
43070 else
43071 echo "$as_me: failed program was:" >&5
43072 sed 's/^/| /' conftest.$ac_ext >&5
43074 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
43088 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43090 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43092 for ac_func in _frexpl
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 hypotl declaration" >&5
43204 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
43205 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43206 if test "${glibcxx_cv_func_hypotl_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 hypotl(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_hypotl_use=yes
43256 else
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43260 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
43274 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
43276 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43278 for ac_func in hypotl
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 _hypotl declaration" >&5
43387 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
43388 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43389 if test "${glibcxx_cv_func__hypotl_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 _hypotl(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__hypotl_use=yes
43439 else
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43443 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
43457 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
43459 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43461 for ac_func in _hypotl
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 ldexpl declaration" >&5
43573 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
43574 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43575 if test "${glibcxx_cv_func_ldexpl_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 ldexpl(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_ldexpl_use=yes
43625 else
43626 echo "$as_me: failed program was:" >&5
43627 sed 's/^/| /' conftest.$ac_ext >&5
43629 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
43643 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
43645 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43647 for ac_func in ldexpl
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 _ldexpl declaration" >&5
43756 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
43757 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43758 if test "${glibcxx_cv_func__ldexpl_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 _ldexpl(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__ldexpl_use=yes
43808 else
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43812 glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
43826 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
43828 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43830 for ac_func in _ldexpl
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 logl declaration" >&5
43942 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
43943 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43944 if test "${glibcxx_cv_func_logl_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>
43963 #ifdef HAVE_IEEEFP_H
43964 #include <ieeefp.h>
43965 #endif
43968 main ()
43970 logl(0);
43972 return 0;
43974 _ACEOF
43975 rm -f conftest.$ac_objext
43976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43977 (eval $ac_compile) 2>conftest.er1
43978 ac_status=$?
43979 grep -v '^ *+' conftest.er1 >conftest.err
43980 rm -f conftest.er1
43981 cat conftest.err >&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } &&
43984 { ac_try='test -z "$ac_cxx_werror_flag"
43985 || test ! -s conftest.err'
43986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43987 (eval $ac_try) 2>&5
43988 ac_status=$?
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); }; } &&
43991 { ac_try='test -s conftest.$ac_objext'
43992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43993 (eval $ac_try) 2>&5
43994 ac_status=$?
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); }; }; then
43997 glibcxx_cv_func_logl_use=yes
43998 else
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44002 glibcxx_cv_func_logl_use=no
44004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44005 ac_ext=c
44006 ac_cpp='$CPP $CPPFLAGS'
44007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44016 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44018 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44020 for ac_func in logl
44022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44023 echo "$as_me:$LINENO: checking for $ac_func" >&5
44024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44025 if eval "test \"\${$as_ac_var+set}\" = set"; then
44026 echo $ECHO_N "(cached) $ECHO_C" >&6
44027 else
44028 if test x$gcc_no_link = xyes; then
44029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44031 { (exit 1); exit 1; }; }
44033 cat >conftest.$ac_ext <<_ACEOF
44034 /* confdefs.h. */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44041 #define $ac_func innocuous_$ac_func
44043 /* System header to define __stub macros and hopefully few prototypes,
44044 which can conflict with char $ac_func (); below.
44045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44046 <limits.h> exists even on freestanding compilers. */
44048 #ifdef __STDC__
44049 # include <limits.h>
44050 #else
44051 # include <assert.h>
44052 #endif
44054 #undef $ac_func
44056 /* Override any gcc2 internal prototype to avoid an error. */
44057 #ifdef __cplusplus
44058 extern "C"
44060 #endif
44061 /* We use char because int might match the return type of a gcc2
44062 builtin and then its argument prototype would still apply. */
44063 char $ac_func ();
44064 /* The GNU C library defines this for functions which it implements
44065 to always fail with ENOSYS. Some functions are actually named
44066 something starting with __ and the normal name is an alias. */
44067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44068 choke me
44069 #else
44070 char (*f) () = $ac_func;
44071 #endif
44072 #ifdef __cplusplus
44074 #endif
44077 main ()
44079 return f != $ac_func;
44081 return 0;
44083 _ACEOF
44084 rm -f conftest.$ac_objext conftest$ac_exeext
44085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44086 (eval $ac_link) 2>conftest.er1
44087 ac_status=$?
44088 grep -v '^ *+' conftest.er1 >conftest.err
44089 rm -f conftest.er1
44090 cat conftest.err >&5
44091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44092 (exit $ac_status); } &&
44093 { ac_try='test -z "$ac_c_werror_flag"
44094 || test ! -s conftest.err'
44095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44096 (eval $ac_try) 2>&5
44097 ac_status=$?
44098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44099 (exit $ac_status); }; } &&
44100 { ac_try='test -s conftest$ac_exeext'
44101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44102 (eval $ac_try) 2>&5
44103 ac_status=$?
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); }; }; then
44106 eval "$as_ac_var=yes"
44107 else
44108 echo "$as_me: failed program was:" >&5
44109 sed 's/^/| /' conftest.$ac_ext >&5
44111 eval "$as_ac_var=no"
44113 rm -f conftest.err conftest.$ac_objext \
44114 conftest$ac_exeext conftest.$ac_ext
44116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44118 if test `eval echo '${'$as_ac_var'}'` = yes; then
44119 cat >>confdefs.h <<_ACEOF
44120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44121 _ACEOF
44124 done
44126 else
44128 echo "$as_me:$LINENO: checking for _logl declaration" >&5
44129 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
44130 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44131 if test "${glibcxx_cv_func__logl_use+set}" = set; then
44132 echo $ECHO_N "(cached) $ECHO_C" >&6
44133 else
44137 ac_ext=cc
44138 ac_cpp='$CXXCPP $CPPFLAGS'
44139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44143 cat >conftest.$ac_ext <<_ACEOF
44144 /* confdefs.h. */
44145 _ACEOF
44146 cat confdefs.h >>conftest.$ac_ext
44147 cat >>conftest.$ac_ext <<_ACEOF
44148 /* end confdefs.h. */
44149 #include <math.h>
44150 #ifdef HAVE_IEEEFP_H
44151 #include <ieeefp.h>
44152 #endif
44155 main ()
44157 _logl(0);
44159 return 0;
44161 _ACEOF
44162 rm -f conftest.$ac_objext
44163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44164 (eval $ac_compile) 2>conftest.er1
44165 ac_status=$?
44166 grep -v '^ *+' conftest.er1 >conftest.err
44167 rm -f conftest.er1
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } &&
44171 { ac_try='test -z "$ac_cxx_werror_flag"
44172 || test ! -s conftest.err'
44173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44174 (eval $ac_try) 2>&5
44175 ac_status=$?
44176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44177 (exit $ac_status); }; } &&
44178 { ac_try='test -s conftest.$ac_objext'
44179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44180 (eval $ac_try) 2>&5
44181 ac_status=$?
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); }; }; then
44184 glibcxx_cv_func__logl_use=yes
44185 else
44186 echo "$as_me: failed program was:" >&5
44187 sed 's/^/| /' conftest.$ac_ext >&5
44189 glibcxx_cv_func__logl_use=no
44191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44192 ac_ext=c
44193 ac_cpp='$CPP $CPPFLAGS'
44194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
44203 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
44205 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44207 for ac_func in _logl
44209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44210 echo "$as_me:$LINENO: checking for $ac_func" >&5
44211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44212 if eval "test \"\${$as_ac_var+set}\" = set"; then
44213 echo $ECHO_N "(cached) $ECHO_C" >&6
44214 else
44215 if test x$gcc_no_link = xyes; then
44216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44218 { (exit 1); exit 1; }; }
44220 cat >conftest.$ac_ext <<_ACEOF
44221 /* confdefs.h. */
44222 _ACEOF
44223 cat confdefs.h >>conftest.$ac_ext
44224 cat >>conftest.$ac_ext <<_ACEOF
44225 /* end confdefs.h. */
44226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44228 #define $ac_func innocuous_$ac_func
44230 /* System header to define __stub macros and hopefully few prototypes,
44231 which can conflict with char $ac_func (); below.
44232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44233 <limits.h> exists even on freestanding compilers. */
44235 #ifdef __STDC__
44236 # include <limits.h>
44237 #else
44238 # include <assert.h>
44239 #endif
44241 #undef $ac_func
44243 /* Override any gcc2 internal prototype to avoid an error. */
44244 #ifdef __cplusplus
44245 extern "C"
44247 #endif
44248 /* We use char because int might match the return type of a gcc2
44249 builtin and then its argument prototype would still apply. */
44250 char $ac_func ();
44251 /* The GNU C library defines this for functions which it implements
44252 to always fail with ENOSYS. Some functions are actually named
44253 something starting with __ and the normal name is an alias. */
44254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44255 choke me
44256 #else
44257 char (*f) () = $ac_func;
44258 #endif
44259 #ifdef __cplusplus
44261 #endif
44264 main ()
44266 return f != $ac_func;
44268 return 0;
44270 _ACEOF
44271 rm -f conftest.$ac_objext conftest$ac_exeext
44272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44273 (eval $ac_link) 2>conftest.er1
44274 ac_status=$?
44275 grep -v '^ *+' conftest.er1 >conftest.err
44276 rm -f conftest.er1
44277 cat conftest.err >&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); } &&
44280 { ac_try='test -z "$ac_c_werror_flag"
44281 || test ! -s conftest.err'
44282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44283 (eval $ac_try) 2>&5
44284 ac_status=$?
44285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286 (exit $ac_status); }; } &&
44287 { ac_try='test -s conftest$ac_exeext'
44288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44289 (eval $ac_try) 2>&5
44290 ac_status=$?
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; }; then
44293 eval "$as_ac_var=yes"
44294 else
44295 echo "$as_me: failed program was:" >&5
44296 sed 's/^/| /' conftest.$ac_ext >&5
44298 eval "$as_ac_var=no"
44300 rm -f conftest.err conftest.$ac_objext \
44301 conftest$ac_exeext conftest.$ac_ext
44303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44305 if test `eval echo '${'$as_ac_var'}'` = yes; then
44306 cat >>confdefs.h <<_ACEOF
44307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44308 _ACEOF
44311 done
44318 echo "$as_me:$LINENO: checking for log10l declaration" >&5
44319 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
44320 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44321 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 else
44327 ac_ext=cc
44328 ac_cpp='$CXXCPP $CPPFLAGS'
44329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44333 cat >conftest.$ac_ext <<_ACEOF
44334 /* confdefs.h. */
44335 _ACEOF
44336 cat confdefs.h >>conftest.$ac_ext
44337 cat >>conftest.$ac_ext <<_ACEOF
44338 /* end confdefs.h. */
44339 #include <math.h>
44340 #ifdef HAVE_IEEEFP_H
44341 #include <ieeefp.h>
44342 #endif
44345 main ()
44347 log10l(0);
44349 return 0;
44351 _ACEOF
44352 rm -f conftest.$ac_objext
44353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44354 (eval $ac_compile) 2>conftest.er1
44355 ac_status=$?
44356 grep -v '^ *+' conftest.er1 >conftest.err
44357 rm -f conftest.er1
44358 cat conftest.err >&5
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); } &&
44361 { ac_try='test -z "$ac_cxx_werror_flag"
44362 || test ! -s conftest.err'
44363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364 (eval $ac_try) 2>&5
44365 ac_status=$?
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); }; } &&
44368 { ac_try='test -s conftest.$ac_objext'
44369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44370 (eval $ac_try) 2>&5
44371 ac_status=$?
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); }; }; then
44374 glibcxx_cv_func_log10l_use=yes
44375 else
44376 echo "$as_me: failed program was:" >&5
44377 sed 's/^/| /' conftest.$ac_ext >&5
44379 glibcxx_cv_func_log10l_use=no
44381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44382 ac_ext=c
44383 ac_cpp='$CPP $CPPFLAGS'
44384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
44393 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
44395 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44397 for ac_func in log10l
44399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44400 echo "$as_me:$LINENO: checking for $ac_func" >&5
44401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44402 if eval "test \"\${$as_ac_var+set}\" = set"; then
44403 echo $ECHO_N "(cached) $ECHO_C" >&6
44404 else
44405 if test x$gcc_no_link = xyes; then
44406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44408 { (exit 1); exit 1; }; }
44410 cat >conftest.$ac_ext <<_ACEOF
44411 /* confdefs.h. */
44412 _ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44418 #define $ac_func innocuous_$ac_func
44420 /* System header to define __stub macros and hopefully few prototypes,
44421 which can conflict with char $ac_func (); below.
44422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44423 <limits.h> exists even on freestanding compilers. */
44425 #ifdef __STDC__
44426 # include <limits.h>
44427 #else
44428 # include <assert.h>
44429 #endif
44431 #undef $ac_func
44433 /* Override any gcc2 internal prototype to avoid an error. */
44434 #ifdef __cplusplus
44435 extern "C"
44437 #endif
44438 /* We use char because int might match the return type of a gcc2
44439 builtin and then its argument prototype would still apply. */
44440 char $ac_func ();
44441 /* The GNU C library defines this for functions which it implements
44442 to always fail with ENOSYS. Some functions are actually named
44443 something starting with __ and the normal name is an alias. */
44444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44445 choke me
44446 #else
44447 char (*f) () = $ac_func;
44448 #endif
44449 #ifdef __cplusplus
44451 #endif
44454 main ()
44456 return f != $ac_func;
44458 return 0;
44460 _ACEOF
44461 rm -f conftest.$ac_objext conftest$ac_exeext
44462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44463 (eval $ac_link) 2>conftest.er1
44464 ac_status=$?
44465 grep -v '^ *+' conftest.er1 >conftest.err
44466 rm -f conftest.er1
44467 cat conftest.err >&5
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); } &&
44470 { ac_try='test -z "$ac_c_werror_flag"
44471 || test ! -s conftest.err'
44472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44473 (eval $ac_try) 2>&5
44474 ac_status=$?
44475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476 (exit $ac_status); }; } &&
44477 { ac_try='test -s conftest$ac_exeext'
44478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44479 (eval $ac_try) 2>&5
44480 ac_status=$?
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); }; }; then
44483 eval "$as_ac_var=yes"
44484 else
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44488 eval "$as_ac_var=no"
44490 rm -f conftest.err conftest.$ac_objext \
44491 conftest$ac_exeext conftest.$ac_ext
44493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44495 if test `eval echo '${'$as_ac_var'}'` = yes; then
44496 cat >>confdefs.h <<_ACEOF
44497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44498 _ACEOF
44501 done
44503 else
44505 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
44506 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
44507 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44508 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
44509 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 else
44514 ac_ext=cc
44515 ac_cpp='$CXXCPP $CPPFLAGS'
44516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44520 cat >conftest.$ac_ext <<_ACEOF
44521 /* confdefs.h. */
44522 _ACEOF
44523 cat confdefs.h >>conftest.$ac_ext
44524 cat >>conftest.$ac_ext <<_ACEOF
44525 /* end confdefs.h. */
44526 #include <math.h>
44527 #ifdef HAVE_IEEEFP_H
44528 #include <ieeefp.h>
44529 #endif
44532 main ()
44534 _log10l(0);
44536 return 0;
44538 _ACEOF
44539 rm -f conftest.$ac_objext
44540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44541 (eval $ac_compile) 2>conftest.er1
44542 ac_status=$?
44543 grep -v '^ *+' conftest.er1 >conftest.err
44544 rm -f conftest.er1
44545 cat conftest.err >&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); } &&
44548 { ac_try='test -z "$ac_cxx_werror_flag"
44549 || test ! -s conftest.err'
44550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44551 (eval $ac_try) 2>&5
44552 ac_status=$?
44553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44554 (exit $ac_status); }; } &&
44555 { ac_try='test -s conftest.$ac_objext'
44556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44557 (eval $ac_try) 2>&5
44558 ac_status=$?
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); }; }; then
44561 glibcxx_cv_func__log10l_use=yes
44562 else
44563 echo "$as_me: failed program was:" >&5
44564 sed 's/^/| /' conftest.$ac_ext >&5
44566 glibcxx_cv_func__log10l_use=no
44568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44569 ac_ext=c
44570 ac_cpp='$CPP $CPPFLAGS'
44571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
44580 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
44582 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44584 for ac_func in _log10l
44586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44587 echo "$as_me:$LINENO: checking for $ac_func" >&5
44588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44589 if eval "test \"\${$as_ac_var+set}\" = set"; then
44590 echo $ECHO_N "(cached) $ECHO_C" >&6
44591 else
44592 if test x$gcc_no_link = xyes; then
44593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44595 { (exit 1); exit 1; }; }
44597 cat >conftest.$ac_ext <<_ACEOF
44598 /* confdefs.h. */
44599 _ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44605 #define $ac_func innocuous_$ac_func
44607 /* System header to define __stub macros and hopefully few prototypes,
44608 which can conflict with char $ac_func (); below.
44609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44610 <limits.h> exists even on freestanding compilers. */
44612 #ifdef __STDC__
44613 # include <limits.h>
44614 #else
44615 # include <assert.h>
44616 #endif
44618 #undef $ac_func
44620 /* Override any gcc2 internal prototype to avoid an error. */
44621 #ifdef __cplusplus
44622 extern "C"
44624 #endif
44625 /* We use char because int might match the return type of a gcc2
44626 builtin and then its argument prototype would still apply. */
44627 char $ac_func ();
44628 /* The GNU C library defines this for functions which it implements
44629 to always fail with ENOSYS. Some functions are actually named
44630 something starting with __ and the normal name is an alias. */
44631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44632 choke me
44633 #else
44634 char (*f) () = $ac_func;
44635 #endif
44636 #ifdef __cplusplus
44638 #endif
44641 main ()
44643 return f != $ac_func;
44645 return 0;
44647 _ACEOF
44648 rm -f conftest.$ac_objext conftest$ac_exeext
44649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44650 (eval $ac_link) 2>conftest.er1
44651 ac_status=$?
44652 grep -v '^ *+' conftest.er1 >conftest.err
44653 rm -f conftest.er1
44654 cat conftest.err >&5
44655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656 (exit $ac_status); } &&
44657 { ac_try='test -z "$ac_c_werror_flag"
44658 || test ! -s conftest.err'
44659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44660 (eval $ac_try) 2>&5
44661 ac_status=$?
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); }; } &&
44664 { ac_try='test -s conftest$ac_exeext'
44665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44666 (eval $ac_try) 2>&5
44667 ac_status=$?
44668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44669 (exit $ac_status); }; }; then
44670 eval "$as_ac_var=yes"
44671 else
44672 echo "$as_me: failed program was:" >&5
44673 sed 's/^/| /' conftest.$ac_ext >&5
44675 eval "$as_ac_var=no"
44677 rm -f conftest.err conftest.$ac_objext \
44678 conftest$ac_exeext conftest.$ac_ext
44680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44682 if test `eval echo '${'$as_ac_var'}'` = yes; then
44683 cat >>confdefs.h <<_ACEOF
44684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44685 _ACEOF
44688 done
44695 echo "$as_me:$LINENO: checking for modfl declaration" >&5
44696 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
44697 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44698 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
44699 echo $ECHO_N "(cached) $ECHO_C" >&6
44700 else
44704 ac_ext=cc
44705 ac_cpp='$CXXCPP $CPPFLAGS'
44706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44710 cat >conftest.$ac_ext <<_ACEOF
44711 /* confdefs.h. */
44712 _ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <math.h>
44718 main ()
44720 modfl(0, 0);
44722 return 0;
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44727 (eval $ac_compile) 2>conftest.er1
44728 ac_status=$?
44729 grep -v '^ *+' conftest.er1 >conftest.err
44730 rm -f conftest.er1
44731 cat conftest.err >&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } &&
44734 { ac_try='test -z "$ac_cxx_werror_flag"
44735 || test ! -s conftest.err'
44736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44737 (eval $ac_try) 2>&5
44738 ac_status=$?
44739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44740 (exit $ac_status); }; } &&
44741 { ac_try='test -s conftest.$ac_objext'
44742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44743 (eval $ac_try) 2>&5
44744 ac_status=$?
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); }; }; then
44747 glibcxx_cv_func_modfl_use=yes
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44752 glibcxx_cv_func_modfl_use=no
44754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44755 ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
44766 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
44768 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44770 for ac_func in modfl
44772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44773 echo "$as_me:$LINENO: checking for $ac_func" >&5
44774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44775 if eval "test \"\${$as_ac_var+set}\" = set"; then
44776 echo $ECHO_N "(cached) $ECHO_C" >&6
44777 else
44778 if test x$gcc_no_link = xyes; then
44779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44781 { (exit 1); exit 1; }; }
44783 cat >conftest.$ac_ext <<_ACEOF
44784 /* confdefs.h. */
44785 _ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h. */
44789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44791 #define $ac_func innocuous_$ac_func
44793 /* System header to define __stub macros and hopefully few prototypes,
44794 which can conflict with char $ac_func (); below.
44795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44796 <limits.h> exists even on freestanding compilers. */
44798 #ifdef __STDC__
44799 # include <limits.h>
44800 #else
44801 # include <assert.h>
44802 #endif
44804 #undef $ac_func
44806 /* Override any gcc2 internal prototype to avoid an error. */
44807 #ifdef __cplusplus
44808 extern "C"
44810 #endif
44811 /* We use char because int might match the return type of a gcc2
44812 builtin and then its argument prototype would still apply. */
44813 char $ac_func ();
44814 /* The GNU C library defines this for functions which it implements
44815 to always fail with ENOSYS. Some functions are actually named
44816 something starting with __ and the normal name is an alias. */
44817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44818 choke me
44819 #else
44820 char (*f) () = $ac_func;
44821 #endif
44822 #ifdef __cplusplus
44824 #endif
44827 main ()
44829 return f != $ac_func;
44831 return 0;
44833 _ACEOF
44834 rm -f conftest.$ac_objext conftest$ac_exeext
44835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44836 (eval $ac_link) 2>conftest.er1
44837 ac_status=$?
44838 grep -v '^ *+' conftest.er1 >conftest.err
44839 rm -f conftest.er1
44840 cat conftest.err >&5
44841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842 (exit $ac_status); } &&
44843 { ac_try='test -z "$ac_c_werror_flag"
44844 || test ! -s conftest.err'
44845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44846 (eval $ac_try) 2>&5
44847 ac_status=$?
44848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849 (exit $ac_status); }; } &&
44850 { ac_try='test -s conftest$ac_exeext'
44851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852 (eval $ac_try) 2>&5
44853 ac_status=$?
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); }; }; then
44856 eval "$as_ac_var=yes"
44857 else
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44861 eval "$as_ac_var=no"
44863 rm -f conftest.err conftest.$ac_objext \
44864 conftest$ac_exeext conftest.$ac_ext
44866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44868 if test `eval echo '${'$as_ac_var'}'` = yes; then
44869 cat >>confdefs.h <<_ACEOF
44870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44871 _ACEOF
44874 done
44876 else
44878 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
44879 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
44880 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44881 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
44882 echo $ECHO_N "(cached) $ECHO_C" >&6
44883 else
44887 ac_ext=cc
44888 ac_cpp='$CXXCPP $CPPFLAGS'
44889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44893 cat >conftest.$ac_ext <<_ACEOF
44894 /* confdefs.h. */
44895 _ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h. */
44899 #include <math.h>
44901 main ()
44903 _modfl(0, 0);
44905 return 0;
44907 _ACEOF
44908 rm -f conftest.$ac_objext
44909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44910 (eval $ac_compile) 2>conftest.er1
44911 ac_status=$?
44912 grep -v '^ *+' conftest.er1 >conftest.err
44913 rm -f conftest.er1
44914 cat conftest.err >&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); } &&
44917 { ac_try='test -z "$ac_cxx_werror_flag"
44918 || test ! -s conftest.err'
44919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44920 (eval $ac_try) 2>&5
44921 ac_status=$?
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); }; } &&
44924 { ac_try='test -s conftest.$ac_objext'
44925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44926 (eval $ac_try) 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; }; then
44930 glibcxx_cv_func__modfl_use=yes
44931 else
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44935 glibcxx_cv_func__modfl_use=no
44937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
44949 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
44951 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44953 for ac_func in _modfl
44955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44956 echo "$as_me:$LINENO: checking for $ac_func" >&5
44957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44958 if eval "test \"\${$as_ac_var+set}\" = set"; then
44959 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 else
44961 if test x$gcc_no_link = xyes; then
44962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44964 { (exit 1); exit 1; }; }
44966 cat >conftest.$ac_ext <<_ACEOF
44967 /* confdefs.h. */
44968 _ACEOF
44969 cat confdefs.h >>conftest.$ac_ext
44970 cat >>conftest.$ac_ext <<_ACEOF
44971 /* end confdefs.h. */
44972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44974 #define $ac_func innocuous_$ac_func
44976 /* System header to define __stub macros and hopefully few prototypes,
44977 which can conflict with char $ac_func (); below.
44978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44979 <limits.h> exists even on freestanding compilers. */
44981 #ifdef __STDC__
44982 # include <limits.h>
44983 #else
44984 # include <assert.h>
44985 #endif
44987 #undef $ac_func
44989 /* Override any gcc2 internal prototype to avoid an error. */
44990 #ifdef __cplusplus
44991 extern "C"
44993 #endif
44994 /* We use char because int might match the return type of a gcc2
44995 builtin and then its argument prototype would still apply. */
44996 char $ac_func ();
44997 /* The GNU C library defines this for functions which it implements
44998 to always fail with ENOSYS. Some functions are actually named
44999 something starting with __ and the normal name is an alias. */
45000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45001 choke me
45002 #else
45003 char (*f) () = $ac_func;
45004 #endif
45005 #ifdef __cplusplus
45007 #endif
45010 main ()
45012 return f != $ac_func;
45014 return 0;
45016 _ACEOF
45017 rm -f conftest.$ac_objext conftest$ac_exeext
45018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45019 (eval $ac_link) 2>conftest.er1
45020 ac_status=$?
45021 grep -v '^ *+' conftest.er1 >conftest.err
45022 rm -f conftest.er1
45023 cat conftest.err >&5
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); } &&
45026 { ac_try='test -z "$ac_c_werror_flag"
45027 || test ! -s conftest.err'
45028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45029 (eval $ac_try) 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; } &&
45033 { ac_try='test -s conftest$ac_exeext'
45034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45035 (eval $ac_try) 2>&5
45036 ac_status=$?
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; }; then
45039 eval "$as_ac_var=yes"
45040 else
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.$ac_ext >&5
45044 eval "$as_ac_var=no"
45046 rm -f conftest.err conftest.$ac_objext \
45047 conftest$ac_exeext conftest.$ac_ext
45049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45051 if test `eval echo '${'$as_ac_var'}'` = yes; then
45052 cat >>confdefs.h <<_ACEOF
45053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45054 _ACEOF
45057 done
45064 echo "$as_me:$LINENO: checking for powl declaration" >&5
45065 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45066 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45067 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45068 echo $ECHO_N "(cached) $ECHO_C" >&6
45069 else
45073 ac_ext=cc
45074 ac_cpp='$CXXCPP $CPPFLAGS'
45075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45079 cat >conftest.$ac_ext <<_ACEOF
45080 /* confdefs.h. */
45081 _ACEOF
45082 cat confdefs.h >>conftest.$ac_ext
45083 cat >>conftest.$ac_ext <<_ACEOF
45084 /* end confdefs.h. */
45085 #include <math.h>
45087 main ()
45089 powl(0, 0);
45091 return 0;
45093 _ACEOF
45094 rm -f conftest.$ac_objext
45095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45096 (eval $ac_compile) 2>conftest.er1
45097 ac_status=$?
45098 grep -v '^ *+' conftest.er1 >conftest.err
45099 rm -f conftest.er1
45100 cat conftest.err >&5
45101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102 (exit $ac_status); } &&
45103 { ac_try='test -z "$ac_cxx_werror_flag"
45104 || test ! -s conftest.err'
45105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45106 (eval $ac_try) 2>&5
45107 ac_status=$?
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); }; } &&
45110 { ac_try='test -s conftest.$ac_objext'
45111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45112 (eval $ac_try) 2>&5
45113 ac_status=$?
45114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45115 (exit $ac_status); }; }; then
45116 glibcxx_cv_func_powl_use=yes
45117 else
45118 echo "$as_me: failed program was:" >&5
45119 sed 's/^/| /' conftest.$ac_ext >&5
45121 glibcxx_cv_func_powl_use=no
45123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45124 ac_ext=c
45125 ac_cpp='$CPP $CPPFLAGS'
45126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
45135 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
45137 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45139 for ac_func in powl
45141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45142 echo "$as_me:$LINENO: checking for $ac_func" >&5
45143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45144 if eval "test \"\${$as_ac_var+set}\" = set"; then
45145 echo $ECHO_N "(cached) $ECHO_C" >&6
45146 else
45147 if test x$gcc_no_link = xyes; then
45148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45150 { (exit 1); exit 1; }; }
45152 cat >conftest.$ac_ext <<_ACEOF
45153 /* confdefs.h. */
45154 _ACEOF
45155 cat confdefs.h >>conftest.$ac_ext
45156 cat >>conftest.$ac_ext <<_ACEOF
45157 /* end confdefs.h. */
45158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45160 #define $ac_func innocuous_$ac_func
45162 /* System header to define __stub macros and hopefully few prototypes,
45163 which can conflict with char $ac_func (); below.
45164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45165 <limits.h> exists even on freestanding compilers. */
45167 #ifdef __STDC__
45168 # include <limits.h>
45169 #else
45170 # include <assert.h>
45171 #endif
45173 #undef $ac_func
45175 /* Override any gcc2 internal prototype to avoid an error. */
45176 #ifdef __cplusplus
45177 extern "C"
45179 #endif
45180 /* We use char because int might match the return type of a gcc2
45181 builtin and then its argument prototype would still apply. */
45182 char $ac_func ();
45183 /* The GNU C library defines this for functions which it implements
45184 to always fail with ENOSYS. Some functions are actually named
45185 something starting with __ and the normal name is an alias. */
45186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45187 choke me
45188 #else
45189 char (*f) () = $ac_func;
45190 #endif
45191 #ifdef __cplusplus
45193 #endif
45196 main ()
45198 return f != $ac_func;
45200 return 0;
45202 _ACEOF
45203 rm -f conftest.$ac_objext conftest$ac_exeext
45204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45205 (eval $ac_link) 2>conftest.er1
45206 ac_status=$?
45207 grep -v '^ *+' conftest.er1 >conftest.err
45208 rm -f conftest.er1
45209 cat conftest.err >&5
45210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 (exit $ac_status); } &&
45212 { ac_try='test -z "$ac_c_werror_flag"
45213 || test ! -s conftest.err'
45214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45215 (eval $ac_try) 2>&5
45216 ac_status=$?
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); }; } &&
45219 { ac_try='test -s conftest$ac_exeext'
45220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45221 (eval $ac_try) 2>&5
45222 ac_status=$?
45223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45224 (exit $ac_status); }; }; then
45225 eval "$as_ac_var=yes"
45226 else
45227 echo "$as_me: failed program was:" >&5
45228 sed 's/^/| /' conftest.$ac_ext >&5
45230 eval "$as_ac_var=no"
45232 rm -f conftest.err conftest.$ac_objext \
45233 conftest$ac_exeext conftest.$ac_ext
45235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45237 if test `eval echo '${'$as_ac_var'}'` = yes; then
45238 cat >>confdefs.h <<_ACEOF
45239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45240 _ACEOF
45243 done
45245 else
45247 echo "$as_me:$LINENO: checking for _powl declaration" >&5
45248 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
45249 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45250 if test "${glibcxx_cv_func__powl_use+set}" = set; then
45251 echo $ECHO_N "(cached) $ECHO_C" >&6
45252 else
45256 ac_ext=cc
45257 ac_cpp='$CXXCPP $CPPFLAGS'
45258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45262 cat >conftest.$ac_ext <<_ACEOF
45263 /* confdefs.h. */
45264 _ACEOF
45265 cat confdefs.h >>conftest.$ac_ext
45266 cat >>conftest.$ac_ext <<_ACEOF
45267 /* end confdefs.h. */
45268 #include <math.h>
45270 main ()
45272 _powl(0, 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__powl_use=yes
45300 else
45301 echo "$as_me: failed program was:" >&5
45302 sed 's/^/| /' conftest.$ac_ext >&5
45304 glibcxx_cv_func__powl_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__powl_use" >&5
45318 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
45320 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45322 for ac_func in _powl
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 sqrtl declaration" >&5
45434 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
45435 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45436 if test "${glibcxx_cv_func_sqrtl_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>
45455 #ifdef HAVE_IEEEFP_H
45456 #include <ieeefp.h>
45457 #endif
45460 main ()
45462 sqrtl(0);
45464 return 0;
45466 _ACEOF
45467 rm -f conftest.$ac_objext
45468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45469 (eval $ac_compile) 2>conftest.er1
45470 ac_status=$?
45471 grep -v '^ *+' conftest.er1 >conftest.err
45472 rm -f conftest.er1
45473 cat conftest.err >&5
45474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45475 (exit $ac_status); } &&
45476 { ac_try='test -z "$ac_cxx_werror_flag"
45477 || test ! -s conftest.err'
45478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45479 (eval $ac_try) 2>&5
45480 ac_status=$?
45481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482 (exit $ac_status); }; } &&
45483 { ac_try='test -s conftest.$ac_objext'
45484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45485 (eval $ac_try) 2>&5
45486 ac_status=$?
45487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45488 (exit $ac_status); }; }; then
45489 glibcxx_cv_func_sqrtl_use=yes
45490 else
45491 echo "$as_me: failed program was:" >&5
45492 sed 's/^/| /' conftest.$ac_ext >&5
45494 glibcxx_cv_func_sqrtl_use=no
45496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45497 ac_ext=c
45498 ac_cpp='$CPP $CPPFLAGS'
45499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
45508 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
45510 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45512 for ac_func in sqrtl
45514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45515 echo "$as_me:$LINENO: checking for $ac_func" >&5
45516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45517 if eval "test \"\${$as_ac_var+set}\" = set"; then
45518 echo $ECHO_N "(cached) $ECHO_C" >&6
45519 else
45520 if test x$gcc_no_link = xyes; then
45521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45523 { (exit 1); exit 1; }; }
45525 cat >conftest.$ac_ext <<_ACEOF
45526 /* confdefs.h. */
45527 _ACEOF
45528 cat confdefs.h >>conftest.$ac_ext
45529 cat >>conftest.$ac_ext <<_ACEOF
45530 /* end confdefs.h. */
45531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45533 #define $ac_func innocuous_$ac_func
45535 /* System header to define __stub macros and hopefully few prototypes,
45536 which can conflict with char $ac_func (); below.
45537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45538 <limits.h> exists even on freestanding compilers. */
45540 #ifdef __STDC__
45541 # include <limits.h>
45542 #else
45543 # include <assert.h>
45544 #endif
45546 #undef $ac_func
45548 /* Override any gcc2 internal prototype to avoid an error. */
45549 #ifdef __cplusplus
45550 extern "C"
45552 #endif
45553 /* We use char because int might match the return type of a gcc2
45554 builtin and then its argument prototype would still apply. */
45555 char $ac_func ();
45556 /* The GNU C library defines this for functions which it implements
45557 to always fail with ENOSYS. Some functions are actually named
45558 something starting with __ and the normal name is an alias. */
45559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45560 choke me
45561 #else
45562 char (*f) () = $ac_func;
45563 #endif
45564 #ifdef __cplusplus
45566 #endif
45569 main ()
45571 return f != $ac_func;
45573 return 0;
45575 _ACEOF
45576 rm -f conftest.$ac_objext conftest$ac_exeext
45577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45578 (eval $ac_link) 2>conftest.er1
45579 ac_status=$?
45580 grep -v '^ *+' conftest.er1 >conftest.err
45581 rm -f conftest.er1
45582 cat conftest.err >&5
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); } &&
45585 { ac_try='test -z "$ac_c_werror_flag"
45586 || test ! -s conftest.err'
45587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45588 (eval $ac_try) 2>&5
45589 ac_status=$?
45590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45591 (exit $ac_status); }; } &&
45592 { ac_try='test -s conftest$ac_exeext'
45593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45594 (eval $ac_try) 2>&5
45595 ac_status=$?
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); }; }; then
45598 eval "$as_ac_var=yes"
45599 else
45600 echo "$as_me: failed program was:" >&5
45601 sed 's/^/| /' conftest.$ac_ext >&5
45603 eval "$as_ac_var=no"
45605 rm -f conftest.err conftest.$ac_objext \
45606 conftest$ac_exeext conftest.$ac_ext
45608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45610 if test `eval echo '${'$as_ac_var'}'` = yes; then
45611 cat >>confdefs.h <<_ACEOF
45612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45613 _ACEOF
45616 done
45618 else
45620 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
45621 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
45622 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45623 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
45624 echo $ECHO_N "(cached) $ECHO_C" >&6
45625 else
45629 ac_ext=cc
45630 ac_cpp='$CXXCPP $CPPFLAGS'
45631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45635 cat >conftest.$ac_ext <<_ACEOF
45636 /* confdefs.h. */
45637 _ACEOF
45638 cat confdefs.h >>conftest.$ac_ext
45639 cat >>conftest.$ac_ext <<_ACEOF
45640 /* end confdefs.h. */
45641 #include <math.h>
45642 #ifdef HAVE_IEEEFP_H
45643 #include <ieeefp.h>
45644 #endif
45647 main ()
45649 _sqrtl(0);
45651 return 0;
45653 _ACEOF
45654 rm -f conftest.$ac_objext
45655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45656 (eval $ac_compile) 2>conftest.er1
45657 ac_status=$?
45658 grep -v '^ *+' conftest.er1 >conftest.err
45659 rm -f conftest.er1
45660 cat conftest.err >&5
45661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45662 (exit $ac_status); } &&
45663 { ac_try='test -z "$ac_cxx_werror_flag"
45664 || test ! -s conftest.err'
45665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45666 (eval $ac_try) 2>&5
45667 ac_status=$?
45668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45669 (exit $ac_status); }; } &&
45670 { ac_try='test -s conftest.$ac_objext'
45671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45672 (eval $ac_try) 2>&5
45673 ac_status=$?
45674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45675 (exit $ac_status); }; }; then
45676 glibcxx_cv_func__sqrtl_use=yes
45677 else
45678 echo "$as_me: failed program was:" >&5
45679 sed 's/^/| /' conftest.$ac_ext >&5
45681 glibcxx_cv_func__sqrtl_use=no
45683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45684 ac_ext=c
45685 ac_cpp='$CPP $CPPFLAGS'
45686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
45695 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
45697 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45699 for ac_func in _sqrtl
45701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45702 echo "$as_me:$LINENO: checking for $ac_func" >&5
45703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45704 if eval "test \"\${$as_ac_var+set}\" = set"; then
45705 echo $ECHO_N "(cached) $ECHO_C" >&6
45706 else
45707 if test x$gcc_no_link = xyes; then
45708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45710 { (exit 1); exit 1; }; }
45712 cat >conftest.$ac_ext <<_ACEOF
45713 /* confdefs.h. */
45714 _ACEOF
45715 cat confdefs.h >>conftest.$ac_ext
45716 cat >>conftest.$ac_ext <<_ACEOF
45717 /* end confdefs.h. */
45718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45720 #define $ac_func innocuous_$ac_func
45722 /* System header to define __stub macros and hopefully few prototypes,
45723 which can conflict with char $ac_func (); below.
45724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45725 <limits.h> exists even on freestanding compilers. */
45727 #ifdef __STDC__
45728 # include <limits.h>
45729 #else
45730 # include <assert.h>
45731 #endif
45733 #undef $ac_func
45735 /* Override any gcc2 internal prototype to avoid an error. */
45736 #ifdef __cplusplus
45737 extern "C"
45739 #endif
45740 /* We use char because int might match the return type of a gcc2
45741 builtin and then its argument prototype would still apply. */
45742 char $ac_func ();
45743 /* The GNU C library defines this for functions which it implements
45744 to always fail with ENOSYS. Some functions are actually named
45745 something starting with __ and the normal name is an alias. */
45746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45747 choke me
45748 #else
45749 char (*f) () = $ac_func;
45750 #endif
45751 #ifdef __cplusplus
45753 #endif
45756 main ()
45758 return f != $ac_func;
45760 return 0;
45762 _ACEOF
45763 rm -f conftest.$ac_objext conftest$ac_exeext
45764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45765 (eval $ac_link) 2>conftest.er1
45766 ac_status=$?
45767 grep -v '^ *+' conftest.er1 >conftest.err
45768 rm -f conftest.er1
45769 cat conftest.err >&5
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); } &&
45772 { ac_try='test -z "$ac_c_werror_flag"
45773 || test ! -s conftest.err'
45774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45775 (eval $ac_try) 2>&5
45776 ac_status=$?
45777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45778 (exit $ac_status); }; } &&
45779 { ac_try='test -s conftest$ac_exeext'
45780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45781 (eval $ac_try) 2>&5
45782 ac_status=$?
45783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45784 (exit $ac_status); }; }; then
45785 eval "$as_ac_var=yes"
45786 else
45787 echo "$as_me: failed program was:" >&5
45788 sed 's/^/| /' conftest.$ac_ext >&5
45790 eval "$as_ac_var=no"
45792 rm -f conftest.err conftest.$ac_objext \
45793 conftest$ac_exeext conftest.$ac_ext
45795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45797 if test `eval echo '${'$as_ac_var'}'` = yes; then
45798 cat >>confdefs.h <<_ACEOF
45799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45800 _ACEOF
45803 done
45810 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
45811 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
45812 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45813 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
45814 echo $ECHO_N "(cached) $ECHO_C" >&6
45815 else
45819 ac_ext=cc
45820 ac_cpp='$CXXCPP $CPPFLAGS'
45821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45825 cat >conftest.$ac_ext <<_ACEOF
45826 /* confdefs.h. */
45827 _ACEOF
45828 cat confdefs.h >>conftest.$ac_ext
45829 cat >>conftest.$ac_ext <<_ACEOF
45830 /* end confdefs.h. */
45831 #include <math.h>
45833 main ()
45835 sincosl(0, 0, 0);
45837 return 0;
45839 _ACEOF
45840 rm -f conftest.$ac_objext
45841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45842 (eval $ac_compile) 2>conftest.er1
45843 ac_status=$?
45844 grep -v '^ *+' conftest.er1 >conftest.err
45845 rm -f conftest.er1
45846 cat conftest.err >&5
45847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45848 (exit $ac_status); } &&
45849 { ac_try='test -z "$ac_cxx_werror_flag"
45850 || test ! -s conftest.err'
45851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45852 (eval $ac_try) 2>&5
45853 ac_status=$?
45854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45855 (exit $ac_status); }; } &&
45856 { ac_try='test -s conftest.$ac_objext'
45857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45858 (eval $ac_try) 2>&5
45859 ac_status=$?
45860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45861 (exit $ac_status); }; }; then
45862 glibcxx_cv_func_sincosl_use=yes
45863 else
45864 echo "$as_me: failed program was:" >&5
45865 sed 's/^/| /' conftest.$ac_ext >&5
45867 glibcxx_cv_func_sincosl_use=no
45869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45870 ac_ext=c
45871 ac_cpp='$CPP $CPPFLAGS'
45872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
45881 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
45883 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45885 for ac_func in sincosl
45887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45888 echo "$as_me:$LINENO: checking for $ac_func" >&5
45889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45890 if eval "test \"\${$as_ac_var+set}\" = set"; then
45891 echo $ECHO_N "(cached) $ECHO_C" >&6
45892 else
45893 if test x$gcc_no_link = xyes; then
45894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45896 { (exit 1); exit 1; }; }
45898 cat >conftest.$ac_ext <<_ACEOF
45899 /* confdefs.h. */
45900 _ACEOF
45901 cat confdefs.h >>conftest.$ac_ext
45902 cat >>conftest.$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45906 #define $ac_func innocuous_$ac_func
45908 /* System header to define __stub macros and hopefully few prototypes,
45909 which can conflict with char $ac_func (); below.
45910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45911 <limits.h> exists even on freestanding compilers. */
45913 #ifdef __STDC__
45914 # include <limits.h>
45915 #else
45916 # include <assert.h>
45917 #endif
45919 #undef $ac_func
45921 /* Override any gcc2 internal prototype to avoid an error. */
45922 #ifdef __cplusplus
45923 extern "C"
45925 #endif
45926 /* We use char because int might match the return type of a gcc2
45927 builtin and then its argument prototype would still apply. */
45928 char $ac_func ();
45929 /* The GNU C library defines this for functions which it implements
45930 to always fail with ENOSYS. Some functions are actually named
45931 something starting with __ and the normal name is an alias. */
45932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45933 choke me
45934 #else
45935 char (*f) () = $ac_func;
45936 #endif
45937 #ifdef __cplusplus
45939 #endif
45942 main ()
45944 return f != $ac_func;
45946 return 0;
45948 _ACEOF
45949 rm -f conftest.$ac_objext conftest$ac_exeext
45950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45951 (eval $ac_link) 2>conftest.er1
45952 ac_status=$?
45953 grep -v '^ *+' conftest.er1 >conftest.err
45954 rm -f conftest.er1
45955 cat conftest.err >&5
45956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45957 (exit $ac_status); } &&
45958 { ac_try='test -z "$ac_c_werror_flag"
45959 || test ! -s conftest.err'
45960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45961 (eval $ac_try) 2>&5
45962 ac_status=$?
45963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45964 (exit $ac_status); }; } &&
45965 { ac_try='test -s conftest$ac_exeext'
45966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45967 (eval $ac_try) 2>&5
45968 ac_status=$?
45969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45970 (exit $ac_status); }; }; then
45971 eval "$as_ac_var=yes"
45972 else
45973 echo "$as_me: failed program was:" >&5
45974 sed 's/^/| /' conftest.$ac_ext >&5
45976 eval "$as_ac_var=no"
45978 rm -f conftest.err conftest.$ac_objext \
45979 conftest$ac_exeext conftest.$ac_ext
45981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45983 if test `eval echo '${'$as_ac_var'}'` = yes; then
45984 cat >>confdefs.h <<_ACEOF
45985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45986 _ACEOF
45989 done
45991 else
45993 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
45994 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
45995 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45996 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 else
46002 ac_ext=cc
46003 ac_cpp='$CXXCPP $CPPFLAGS'
46004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008 cat >conftest.$ac_ext <<_ACEOF
46009 /* confdefs.h. */
46010 _ACEOF
46011 cat confdefs.h >>conftest.$ac_ext
46012 cat >>conftest.$ac_ext <<_ACEOF
46013 /* end confdefs.h. */
46014 #include <math.h>
46016 main ()
46018 _sincosl(0, 0, 0);
46020 return 0;
46022 _ACEOF
46023 rm -f conftest.$ac_objext
46024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46025 (eval $ac_compile) 2>conftest.er1
46026 ac_status=$?
46027 grep -v '^ *+' conftest.er1 >conftest.err
46028 rm -f conftest.er1
46029 cat conftest.err >&5
46030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031 (exit $ac_status); } &&
46032 { ac_try='test -z "$ac_cxx_werror_flag"
46033 || test ! -s conftest.err'
46034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46035 (eval $ac_try) 2>&5
46036 ac_status=$?
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; } &&
46039 { ac_try='test -s conftest.$ac_objext'
46040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46041 (eval $ac_try) 2>&5
46042 ac_status=$?
46043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46044 (exit $ac_status); }; }; then
46045 glibcxx_cv_func__sincosl_use=yes
46046 else
46047 echo "$as_me: failed program was:" >&5
46048 sed 's/^/| /' conftest.$ac_ext >&5
46050 glibcxx_cv_func__sincosl_use=no
46052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46053 ac_ext=c
46054 ac_cpp='$CPP $CPPFLAGS'
46055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46064 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46066 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46068 for ac_func in _sincosl
46070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46071 echo "$as_me:$LINENO: checking for $ac_func" >&5
46072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46073 if eval "test \"\${$as_ac_var+set}\" = set"; then
46074 echo $ECHO_N "(cached) $ECHO_C" >&6
46075 else
46076 if test x$gcc_no_link = xyes; then
46077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46079 { (exit 1); exit 1; }; }
46081 cat >conftest.$ac_ext <<_ACEOF
46082 /* confdefs.h. */
46083 _ACEOF
46084 cat confdefs.h >>conftest.$ac_ext
46085 cat >>conftest.$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46089 #define $ac_func innocuous_$ac_func
46091 /* System header to define __stub macros and hopefully few prototypes,
46092 which can conflict with char $ac_func (); below.
46093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46094 <limits.h> exists even on freestanding compilers. */
46096 #ifdef __STDC__
46097 # include <limits.h>
46098 #else
46099 # include <assert.h>
46100 #endif
46102 #undef $ac_func
46104 /* Override any gcc2 internal prototype to avoid an error. */
46105 #ifdef __cplusplus
46106 extern "C"
46108 #endif
46109 /* We use char because int might match the return type of a gcc2
46110 builtin and then its argument prototype would still apply. */
46111 char $ac_func ();
46112 /* The GNU C library defines this for functions which it implements
46113 to always fail with ENOSYS. Some functions are actually named
46114 something starting with __ and the normal name is an alias. */
46115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46116 choke me
46117 #else
46118 char (*f) () = $ac_func;
46119 #endif
46120 #ifdef __cplusplus
46122 #endif
46125 main ()
46127 return f != $ac_func;
46129 return 0;
46131 _ACEOF
46132 rm -f conftest.$ac_objext conftest$ac_exeext
46133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46134 (eval $ac_link) 2>conftest.er1
46135 ac_status=$?
46136 grep -v '^ *+' conftest.er1 >conftest.err
46137 rm -f conftest.er1
46138 cat conftest.err >&5
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); } &&
46141 { ac_try='test -z "$ac_c_werror_flag"
46142 || test ! -s conftest.err'
46143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46144 (eval $ac_try) 2>&5
46145 ac_status=$?
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); }; } &&
46148 { ac_try='test -s conftest$ac_exeext'
46149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46150 (eval $ac_try) 2>&5
46151 ac_status=$?
46152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153 (exit $ac_status); }; }; then
46154 eval "$as_ac_var=yes"
46155 else
46156 echo "$as_me: failed program was:" >&5
46157 sed 's/^/| /' conftest.$ac_ext >&5
46159 eval "$as_ac_var=no"
46161 rm -f conftest.err conftest.$ac_objext \
46162 conftest$ac_exeext conftest.$ac_ext
46164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46166 if test `eval echo '${'$as_ac_var'}'` = yes; then
46167 cat >>confdefs.h <<_ACEOF
46168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46169 _ACEOF
46172 done
46179 echo "$as_me:$LINENO: checking for finitel declaration" >&5
46180 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
46181 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46182 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
46183 echo $ECHO_N "(cached) $ECHO_C" >&6
46184 else
46188 ac_ext=cc
46189 ac_cpp='$CXXCPP $CPPFLAGS'
46190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46194 cat >conftest.$ac_ext <<_ACEOF
46195 /* confdefs.h. */
46196 _ACEOF
46197 cat confdefs.h >>conftest.$ac_ext
46198 cat >>conftest.$ac_ext <<_ACEOF
46199 /* end confdefs.h. */
46200 #include <math.h>
46201 #ifdef HAVE_IEEEFP_H
46202 #include <ieeefp.h>
46203 #endif
46206 main ()
46208 finitel(0);
46210 return 0;
46212 _ACEOF
46213 rm -f conftest.$ac_objext
46214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46215 (eval $ac_compile) 2>conftest.er1
46216 ac_status=$?
46217 grep -v '^ *+' conftest.er1 >conftest.err
46218 rm -f conftest.er1
46219 cat conftest.err >&5
46220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46221 (exit $ac_status); } &&
46222 { ac_try='test -z "$ac_cxx_werror_flag"
46223 || test ! -s conftest.err'
46224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46225 (eval $ac_try) 2>&5
46226 ac_status=$?
46227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46228 (exit $ac_status); }; } &&
46229 { ac_try='test -s conftest.$ac_objext'
46230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46231 (eval $ac_try) 2>&5
46232 ac_status=$?
46233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46234 (exit $ac_status); }; }; then
46235 glibcxx_cv_func_finitel_use=yes
46236 else
46237 echo "$as_me: failed program was:" >&5
46238 sed 's/^/| /' conftest.$ac_ext >&5
46240 glibcxx_cv_func_finitel_use=no
46242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46243 ac_ext=c
46244 ac_cpp='$CPP $CPPFLAGS'
46245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
46254 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
46256 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46258 for ac_func in finitel
46260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46261 echo "$as_me:$LINENO: checking for $ac_func" >&5
46262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46263 if eval "test \"\${$as_ac_var+set}\" = set"; then
46264 echo $ECHO_N "(cached) $ECHO_C" >&6
46265 else
46266 if test x$gcc_no_link = xyes; then
46267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46269 { (exit 1); exit 1; }; }
46271 cat >conftest.$ac_ext <<_ACEOF
46272 /* confdefs.h. */
46273 _ACEOF
46274 cat confdefs.h >>conftest.$ac_ext
46275 cat >>conftest.$ac_ext <<_ACEOF
46276 /* end confdefs.h. */
46277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46279 #define $ac_func innocuous_$ac_func
46281 /* System header to define __stub macros and hopefully few prototypes,
46282 which can conflict with char $ac_func (); below.
46283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46284 <limits.h> exists even on freestanding compilers. */
46286 #ifdef __STDC__
46287 # include <limits.h>
46288 #else
46289 # include <assert.h>
46290 #endif
46292 #undef $ac_func
46294 /* Override any gcc2 internal prototype to avoid an error. */
46295 #ifdef __cplusplus
46296 extern "C"
46298 #endif
46299 /* We use char because int might match the return type of a gcc2
46300 builtin and then its argument prototype would still apply. */
46301 char $ac_func ();
46302 /* The GNU C library defines this for functions which it implements
46303 to always fail with ENOSYS. Some functions are actually named
46304 something starting with __ and the normal name is an alias. */
46305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46306 choke me
46307 #else
46308 char (*f) () = $ac_func;
46309 #endif
46310 #ifdef __cplusplus
46312 #endif
46315 main ()
46317 return f != $ac_func;
46319 return 0;
46321 _ACEOF
46322 rm -f conftest.$ac_objext conftest$ac_exeext
46323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46324 (eval $ac_link) 2>conftest.er1
46325 ac_status=$?
46326 grep -v '^ *+' conftest.er1 >conftest.err
46327 rm -f conftest.er1
46328 cat conftest.err >&5
46329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46330 (exit $ac_status); } &&
46331 { ac_try='test -z "$ac_c_werror_flag"
46332 || test ! -s conftest.err'
46333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46334 (eval $ac_try) 2>&5
46335 ac_status=$?
46336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46337 (exit $ac_status); }; } &&
46338 { ac_try='test -s conftest$ac_exeext'
46339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46340 (eval $ac_try) 2>&5
46341 ac_status=$?
46342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46343 (exit $ac_status); }; }; then
46344 eval "$as_ac_var=yes"
46345 else
46346 echo "$as_me: failed program was:" >&5
46347 sed 's/^/| /' conftest.$ac_ext >&5
46349 eval "$as_ac_var=no"
46351 rm -f conftest.err conftest.$ac_objext \
46352 conftest$ac_exeext conftest.$ac_ext
46354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46356 if test `eval echo '${'$as_ac_var'}'` = yes; then
46357 cat >>confdefs.h <<_ACEOF
46358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46359 _ACEOF
46362 done
46364 else
46366 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
46367 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
46368 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46369 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
46370 echo $ECHO_N "(cached) $ECHO_C" >&6
46371 else
46375 ac_ext=cc
46376 ac_cpp='$CXXCPP $CPPFLAGS'
46377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46381 cat >conftest.$ac_ext <<_ACEOF
46382 /* confdefs.h. */
46383 _ACEOF
46384 cat confdefs.h >>conftest.$ac_ext
46385 cat >>conftest.$ac_ext <<_ACEOF
46386 /* end confdefs.h. */
46387 #include <math.h>
46388 #ifdef HAVE_IEEEFP_H
46389 #include <ieeefp.h>
46390 #endif
46393 main ()
46395 _finitel(0);
46397 return 0;
46399 _ACEOF
46400 rm -f conftest.$ac_objext
46401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46402 (eval $ac_compile) 2>conftest.er1
46403 ac_status=$?
46404 grep -v '^ *+' conftest.er1 >conftest.err
46405 rm -f conftest.er1
46406 cat conftest.err >&5
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); } &&
46409 { ac_try='test -z "$ac_cxx_werror_flag"
46410 || test ! -s conftest.err'
46411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46412 (eval $ac_try) 2>&5
46413 ac_status=$?
46414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46415 (exit $ac_status); }; } &&
46416 { ac_try='test -s conftest.$ac_objext'
46417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46418 (eval $ac_try) 2>&5
46419 ac_status=$?
46420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46421 (exit $ac_status); }; }; then
46422 glibcxx_cv_func__finitel_use=yes
46423 else
46424 echo "$as_me: failed program was:" >&5
46425 sed 's/^/| /' conftest.$ac_ext >&5
46427 glibcxx_cv_func__finitel_use=no
46429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46430 ac_ext=c
46431 ac_cpp='$CPP $CPPFLAGS'
46432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
46441 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
46443 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46445 for ac_func in _finitel
46447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46448 echo "$as_me:$LINENO: checking for $ac_func" >&5
46449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46450 if eval "test \"\${$as_ac_var+set}\" = set"; then
46451 echo $ECHO_N "(cached) $ECHO_C" >&6
46452 else
46453 if test x$gcc_no_link = xyes; then
46454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46456 { (exit 1); exit 1; }; }
46458 cat >conftest.$ac_ext <<_ACEOF
46459 /* confdefs.h. */
46460 _ACEOF
46461 cat confdefs.h >>conftest.$ac_ext
46462 cat >>conftest.$ac_ext <<_ACEOF
46463 /* end confdefs.h. */
46464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46466 #define $ac_func innocuous_$ac_func
46468 /* System header to define __stub macros and hopefully few prototypes,
46469 which can conflict with char $ac_func (); below.
46470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46471 <limits.h> exists even on freestanding compilers. */
46473 #ifdef __STDC__
46474 # include <limits.h>
46475 #else
46476 # include <assert.h>
46477 #endif
46479 #undef $ac_func
46481 /* Override any gcc2 internal prototype to avoid an error. */
46482 #ifdef __cplusplus
46483 extern "C"
46485 #endif
46486 /* We use char because int might match the return type of a gcc2
46487 builtin and then its argument prototype would still apply. */
46488 char $ac_func ();
46489 /* The GNU C library defines this for functions which it implements
46490 to always fail with ENOSYS. Some functions are actually named
46491 something starting with __ and the normal name is an alias. */
46492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46493 choke me
46494 #else
46495 char (*f) () = $ac_func;
46496 #endif
46497 #ifdef __cplusplus
46499 #endif
46502 main ()
46504 return f != $ac_func;
46506 return 0;
46508 _ACEOF
46509 rm -f conftest.$ac_objext conftest$ac_exeext
46510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46511 (eval $ac_link) 2>conftest.er1
46512 ac_status=$?
46513 grep -v '^ *+' conftest.er1 >conftest.err
46514 rm -f conftest.er1
46515 cat conftest.err >&5
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); } &&
46518 { ac_try='test -z "$ac_c_werror_flag"
46519 || test ! -s conftest.err'
46520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46521 (eval $ac_try) 2>&5
46522 ac_status=$?
46523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46524 (exit $ac_status); }; } &&
46525 { ac_try='test -s conftest$ac_exeext'
46526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46527 (eval $ac_try) 2>&5
46528 ac_status=$?
46529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46530 (exit $ac_status); }; }; then
46531 eval "$as_ac_var=yes"
46532 else
46533 echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46536 eval "$as_ac_var=no"
46538 rm -f conftest.err conftest.$ac_objext \
46539 conftest$ac_exeext conftest.$ac_ext
46541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46543 if test `eval echo '${'$as_ac_var'}'` = yes; then
46544 cat >>confdefs.h <<_ACEOF
46545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46546 _ACEOF
46549 done
46557 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46558 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46559 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46560 echo $ECHO_N "(cached) $ECHO_C" >&6
46561 else
46565 ac_ext=cc
46566 ac_cpp='$CXXCPP $CPPFLAGS'
46567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46571 cat >conftest.$ac_ext <<_ACEOF
46572 /* confdefs.h. */
46573 _ACEOF
46574 cat confdefs.h >>conftest.$ac_ext
46575 cat >>conftest.$ac_ext <<_ACEOF
46576 /* end confdefs.h. */
46577 #include <math.h>
46579 main ()
46581 `for x in _acosf _asinf _atanf \
46582 _cosf _sinf _tanf \
46583 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
46585 return 0;
46587 _ACEOF
46588 rm -f conftest.$ac_objext
46589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46590 (eval $ac_compile) 2>conftest.er1
46591 ac_status=$?
46592 grep -v '^ *+' conftest.er1 >conftest.err
46593 rm -f conftest.er1
46594 cat conftest.err >&5
46595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46596 (exit $ac_status); } &&
46597 { ac_try='test -z "$ac_cxx_werror_flag"
46598 || test ! -s conftest.err'
46599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46600 (eval $ac_try) 2>&5
46601 ac_status=$?
46602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603 (exit $ac_status); }; } &&
46604 { ac_try='test -s conftest.$ac_objext'
46605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46606 (eval $ac_try) 2>&5
46607 ac_status=$?
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); }; }; then
46610 glibcxx_cv_func__float_trig_use=yes
46611 else
46612 echo "$as_me: failed program was:" >&5
46613 sed 's/^/| /' conftest.$ac_ext >&5
46615 glibcxx_cv_func__float_trig_use=no
46617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46618 ac_ext=c
46619 ac_cpp='$CPP $CPPFLAGS'
46620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46627 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46628 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46638 for ac_func in _acosf _asinf _atanf \
46639 _cosf _sinf _tanf \
46640 _coshf _sinhf _tanhf
46642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46643 echo "$as_me:$LINENO: checking for $ac_func" >&5
46644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46645 if eval "test \"\${$as_ac_var+set}\" = set"; then
46646 echo $ECHO_N "(cached) $ECHO_C" >&6
46647 else
46648 if test x$gcc_no_link = xyes; then
46649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46651 { (exit 1); exit 1; }; }
46653 cat >conftest.$ac_ext <<_ACEOF
46654 /* confdefs.h. */
46655 _ACEOF
46656 cat confdefs.h >>conftest.$ac_ext
46657 cat >>conftest.$ac_ext <<_ACEOF
46658 /* end confdefs.h. */
46659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46661 #define $ac_func innocuous_$ac_func
46663 /* System header to define __stub macros and hopefully few prototypes,
46664 which can conflict with char $ac_func (); below.
46665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46666 <limits.h> exists even on freestanding compilers. */
46668 #ifdef __STDC__
46669 # include <limits.h>
46670 #else
46671 # include <assert.h>
46672 #endif
46674 #undef $ac_func
46676 /* Override any gcc2 internal prototype to avoid an error. */
46677 #ifdef __cplusplus
46678 extern "C"
46680 #endif
46681 /* We use char because int might match the return type of a gcc2
46682 builtin and then its argument prototype would still apply. */
46683 char $ac_func ();
46684 /* The GNU C library defines this for functions which it implements
46685 to always fail with ENOSYS. Some functions are actually named
46686 something starting with __ and the normal name is an alias. */
46687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46688 choke me
46689 #else
46690 char (*f) () = $ac_func;
46691 #endif
46692 #ifdef __cplusplus
46694 #endif
46697 main ()
46699 return f != $ac_func;
46701 return 0;
46703 _ACEOF
46704 rm -f conftest.$ac_objext conftest$ac_exeext
46705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46706 (eval $ac_link) 2>conftest.er1
46707 ac_status=$?
46708 grep -v '^ *+' conftest.er1 >conftest.err
46709 rm -f conftest.er1
46710 cat conftest.err >&5
46711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46712 (exit $ac_status); } &&
46713 { ac_try='test -z "$ac_c_werror_flag"
46714 || test ! -s conftest.err'
46715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46716 (eval $ac_try) 2>&5
46717 ac_status=$?
46718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46719 (exit $ac_status); }; } &&
46720 { ac_try='test -s conftest$ac_exeext'
46721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46722 (eval $ac_try) 2>&5
46723 ac_status=$?
46724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46725 (exit $ac_status); }; }; then
46726 eval "$as_ac_var=yes"
46727 else
46728 echo "$as_me: failed program was:" >&5
46729 sed 's/^/| /' conftest.$ac_ext >&5
46731 eval "$as_ac_var=no"
46733 rm -f conftest.err conftest.$ac_objext \
46734 conftest$ac_exeext conftest.$ac_ext
46736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46738 if test `eval echo '${'$as_ac_var'}'` = yes; then
46739 cat >>confdefs.h <<_ACEOF
46740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46741 _ACEOF
46744 done
46749 echo "$as_me:$LINENO: checking for _float round functions" >&5
46750 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46751 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46752 echo $ECHO_N "(cached) $ECHO_C" >&6
46753 else
46757 ac_ext=cc
46758 ac_cpp='$CXXCPP $CPPFLAGS'
46759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46763 cat >conftest.$ac_ext <<_ACEOF
46764 /* confdefs.h. */
46765 _ACEOF
46766 cat confdefs.h >>conftest.$ac_ext
46767 cat >>conftest.$ac_ext <<_ACEOF
46768 /* end confdefs.h. */
46769 #include <math.h>
46771 main ()
46773 `for x in _ceilf _floorf; do echo "$x (0);"; done`
46775 return 0;
46777 _ACEOF
46778 rm -f conftest.$ac_objext
46779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46780 (eval $ac_compile) 2>conftest.er1
46781 ac_status=$?
46782 grep -v '^ *+' conftest.er1 >conftest.err
46783 rm -f conftest.er1
46784 cat conftest.err >&5
46785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46786 (exit $ac_status); } &&
46787 { ac_try='test -z "$ac_cxx_werror_flag"
46788 || test ! -s conftest.err'
46789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46790 (eval $ac_try) 2>&5
46791 ac_status=$?
46792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46793 (exit $ac_status); }; } &&
46794 { ac_try='test -s conftest.$ac_objext'
46795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46796 (eval $ac_try) 2>&5
46797 ac_status=$?
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); }; }; then
46800 glibcxx_cv_func__float_round_use=yes
46801 else
46802 echo "$as_me: failed program was:" >&5
46803 sed 's/^/| /' conftest.$ac_ext >&5
46805 glibcxx_cv_func__float_round_use=no
46807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46808 ac_ext=c
46809 ac_cpp='$CPP $CPPFLAGS'
46810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46817 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46818 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46821 for ac_func in _ceilf _floorf
46823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46824 echo "$as_me:$LINENO: checking for $ac_func" >&5
46825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46826 if eval "test \"\${$as_ac_var+set}\" = set"; then
46827 echo $ECHO_N "(cached) $ECHO_C" >&6
46828 else
46829 if test x$gcc_no_link = xyes; then
46830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46832 { (exit 1); exit 1; }; }
46834 cat >conftest.$ac_ext <<_ACEOF
46835 /* confdefs.h. */
46836 _ACEOF
46837 cat confdefs.h >>conftest.$ac_ext
46838 cat >>conftest.$ac_ext <<_ACEOF
46839 /* end confdefs.h. */
46840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46842 #define $ac_func innocuous_$ac_func
46844 /* System header to define __stub macros and hopefully few prototypes,
46845 which can conflict with char $ac_func (); below.
46846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46847 <limits.h> exists even on freestanding compilers. */
46849 #ifdef __STDC__
46850 # include <limits.h>
46851 #else
46852 # include <assert.h>
46853 #endif
46855 #undef $ac_func
46857 /* Override any gcc2 internal prototype to avoid an error. */
46858 #ifdef __cplusplus
46859 extern "C"
46861 #endif
46862 /* We use char because int might match the return type of a gcc2
46863 builtin and then its argument prototype would still apply. */
46864 char $ac_func ();
46865 /* The GNU C library defines this for functions which it implements
46866 to always fail with ENOSYS. Some functions are actually named
46867 something starting with __ and the normal name is an alias. */
46868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46869 choke me
46870 #else
46871 char (*f) () = $ac_func;
46872 #endif
46873 #ifdef __cplusplus
46875 #endif
46878 main ()
46880 return f != $ac_func;
46882 return 0;
46884 _ACEOF
46885 rm -f conftest.$ac_objext conftest$ac_exeext
46886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46887 (eval $ac_link) 2>conftest.er1
46888 ac_status=$?
46889 grep -v '^ *+' conftest.er1 >conftest.err
46890 rm -f conftest.er1
46891 cat conftest.err >&5
46892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46893 (exit $ac_status); } &&
46894 { ac_try='test -z "$ac_c_werror_flag"
46895 || test ! -s conftest.err'
46896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46897 (eval $ac_try) 2>&5
46898 ac_status=$?
46899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46900 (exit $ac_status); }; } &&
46901 { ac_try='test -s conftest$ac_exeext'
46902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46903 (eval $ac_try) 2>&5
46904 ac_status=$?
46905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46906 (exit $ac_status); }; }; then
46907 eval "$as_ac_var=yes"
46908 else
46909 echo "$as_me: failed program was:" >&5
46910 sed 's/^/| /' conftest.$ac_ext >&5
46912 eval "$as_ac_var=no"
46914 rm -f conftest.err conftest.$ac_objext \
46915 conftest$ac_exeext conftest.$ac_ext
46917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46919 if test `eval echo '${'$as_ac_var'}'` = yes; then
46920 cat >>confdefs.h <<_ACEOF
46921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46922 _ACEOF
46925 done
46931 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
46932 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
46933 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
46934 echo $ECHO_N "(cached) $ECHO_C" >&6
46935 else
46939 ac_ext=cc
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945 cat >conftest.$ac_ext <<_ACEOF
46946 /* confdefs.h. */
46947 _ACEOF
46948 cat confdefs.h >>conftest.$ac_ext
46949 cat >>conftest.$ac_ext <<_ACEOF
46950 /* end confdefs.h. */
46951 #include <math.h>
46953 main ()
46955 `for x in _acosl _asinl _atanl \
46956 _cosl _sinl _tanl \
46957 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
46959 return 0;
46961 _ACEOF
46962 rm -f conftest.$ac_objext
46963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46964 (eval $ac_compile) 2>conftest.er1
46965 ac_status=$?
46966 grep -v '^ *+' conftest.er1 >conftest.err
46967 rm -f conftest.er1
46968 cat conftest.err >&5
46969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46970 (exit $ac_status); } &&
46971 { ac_try='test -z "$ac_cxx_werror_flag"
46972 || test ! -s conftest.err'
46973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46974 (eval $ac_try) 2>&5
46975 ac_status=$?
46976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46977 (exit $ac_status); }; } &&
46978 { ac_try='test -s conftest.$ac_objext'
46979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46980 (eval $ac_try) 2>&5
46981 ac_status=$?
46982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46983 (exit $ac_status); }; }; then
46984 glibcxx_cv_func__long_double_trig_use=yes
46985 else
46986 echo "$as_me: failed program was:" >&5
46987 sed 's/^/| /' conftest.$ac_ext >&5
46989 glibcxx_cv_func__long_double_trig_use=no
46991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46992 ac_ext=c
46993 ac_cpp='$CPP $CPPFLAGS'
46994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47001 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47002 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47012 for ac_func in _acosl _asinl _atanl \
47013 _cosl _sinl _tanl \
47014 _coshl _sinhl _tanhl
47016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47017 echo "$as_me:$LINENO: checking for $ac_func" >&5
47018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47019 if eval "test \"\${$as_ac_var+set}\" = set"; then
47020 echo $ECHO_N "(cached) $ECHO_C" >&6
47021 else
47022 if test x$gcc_no_link = xyes; then
47023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47025 { (exit 1); exit 1; }; }
47027 cat >conftest.$ac_ext <<_ACEOF
47028 /* confdefs.h. */
47029 _ACEOF
47030 cat confdefs.h >>conftest.$ac_ext
47031 cat >>conftest.$ac_ext <<_ACEOF
47032 /* end confdefs.h. */
47033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47035 #define $ac_func innocuous_$ac_func
47037 /* System header to define __stub macros and hopefully few prototypes,
47038 which can conflict with char $ac_func (); below.
47039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47040 <limits.h> exists even on freestanding compilers. */
47042 #ifdef __STDC__
47043 # include <limits.h>
47044 #else
47045 # include <assert.h>
47046 #endif
47048 #undef $ac_func
47050 /* Override any gcc2 internal prototype to avoid an error. */
47051 #ifdef __cplusplus
47052 extern "C"
47054 #endif
47055 /* We use char because int might match the return type of a gcc2
47056 builtin and then its argument prototype would still apply. */
47057 char $ac_func ();
47058 /* The GNU C library defines this for functions which it implements
47059 to always fail with ENOSYS. Some functions are actually named
47060 something starting with __ and the normal name is an alias. */
47061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47062 choke me
47063 #else
47064 char (*f) () = $ac_func;
47065 #endif
47066 #ifdef __cplusplus
47068 #endif
47071 main ()
47073 return f != $ac_func;
47075 return 0;
47077 _ACEOF
47078 rm -f conftest.$ac_objext conftest$ac_exeext
47079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47080 (eval $ac_link) 2>conftest.er1
47081 ac_status=$?
47082 grep -v '^ *+' conftest.er1 >conftest.err
47083 rm -f conftest.er1
47084 cat conftest.err >&5
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); } &&
47087 { ac_try='test -z "$ac_c_werror_flag"
47088 || test ! -s conftest.err'
47089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47090 (eval $ac_try) 2>&5
47091 ac_status=$?
47092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47093 (exit $ac_status); }; } &&
47094 { ac_try='test -s conftest$ac_exeext'
47095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47096 (eval $ac_try) 2>&5
47097 ac_status=$?
47098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47099 (exit $ac_status); }; }; then
47100 eval "$as_ac_var=yes"
47101 else
47102 echo "$as_me: failed program was:" >&5
47103 sed 's/^/| /' conftest.$ac_ext >&5
47105 eval "$as_ac_var=no"
47107 rm -f conftest.err conftest.$ac_objext \
47108 conftest$ac_exeext conftest.$ac_ext
47110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47112 if test `eval echo '${'$as_ac_var'}'` = yes; then
47113 cat >>confdefs.h <<_ACEOF
47114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47115 _ACEOF
47118 done
47123 echo "$as_me:$LINENO: checking for _long double round functions" >&5
47124 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
47125 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
47126 echo $ECHO_N "(cached) $ECHO_C" >&6
47127 else
47131 ac_ext=cc
47132 ac_cpp='$CXXCPP $CPPFLAGS'
47133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47137 cat >conftest.$ac_ext <<_ACEOF
47138 /* confdefs.h. */
47139 _ACEOF
47140 cat confdefs.h >>conftest.$ac_ext
47141 cat >>conftest.$ac_ext <<_ACEOF
47142 /* end confdefs.h. */
47143 #include <math.h>
47145 main ()
47147 `for x in _ceill _floorl; do echo "$x (0);"; done`
47149 return 0;
47151 _ACEOF
47152 rm -f conftest.$ac_objext
47153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47154 (eval $ac_compile) 2>conftest.er1
47155 ac_status=$?
47156 grep -v '^ *+' conftest.er1 >conftest.err
47157 rm -f conftest.er1
47158 cat conftest.err >&5
47159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160 (exit $ac_status); } &&
47161 { ac_try='test -z "$ac_cxx_werror_flag"
47162 || test ! -s conftest.err'
47163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47164 (eval $ac_try) 2>&5
47165 ac_status=$?
47166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47167 (exit $ac_status); }; } &&
47168 { ac_try='test -s conftest.$ac_objext'
47169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47170 (eval $ac_try) 2>&5
47171 ac_status=$?
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); }; }; then
47174 glibcxx_cv_func__long_double_round_use=yes
47175 else
47176 echo "$as_me: failed program was:" >&5
47177 sed 's/^/| /' conftest.$ac_ext >&5
47179 glibcxx_cv_func__long_double_round_use=no
47181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47182 ac_ext=c
47183 ac_cpp='$CPP $CPPFLAGS'
47184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
47191 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
47192 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
47195 for ac_func in _ceill _floorl
47197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47198 echo "$as_me:$LINENO: checking for $ac_func" >&5
47199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47200 if eval "test \"\${$as_ac_var+set}\" = set"; then
47201 echo $ECHO_N "(cached) $ECHO_C" >&6
47202 else
47203 if test x$gcc_no_link = xyes; then
47204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47206 { (exit 1); exit 1; }; }
47208 cat >conftest.$ac_ext <<_ACEOF
47209 /* confdefs.h. */
47210 _ACEOF
47211 cat confdefs.h >>conftest.$ac_ext
47212 cat >>conftest.$ac_ext <<_ACEOF
47213 /* end confdefs.h. */
47214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47216 #define $ac_func innocuous_$ac_func
47218 /* System header to define __stub macros and hopefully few prototypes,
47219 which can conflict with char $ac_func (); below.
47220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47221 <limits.h> exists even on freestanding compilers. */
47223 #ifdef __STDC__
47224 # include <limits.h>
47225 #else
47226 # include <assert.h>
47227 #endif
47229 #undef $ac_func
47231 /* Override any gcc2 internal prototype to avoid an error. */
47232 #ifdef __cplusplus
47233 extern "C"
47235 #endif
47236 /* We use char because int might match the return type of a gcc2
47237 builtin and then its argument prototype would still apply. */
47238 char $ac_func ();
47239 /* The GNU C library defines this for functions which it implements
47240 to always fail with ENOSYS. Some functions are actually named
47241 something starting with __ and the normal name is an alias. */
47242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47243 choke me
47244 #else
47245 char (*f) () = $ac_func;
47246 #endif
47247 #ifdef __cplusplus
47249 #endif
47252 main ()
47254 return f != $ac_func;
47256 return 0;
47258 _ACEOF
47259 rm -f conftest.$ac_objext conftest$ac_exeext
47260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47261 (eval $ac_link) 2>conftest.er1
47262 ac_status=$?
47263 grep -v '^ *+' conftest.er1 >conftest.err
47264 rm -f conftest.er1
47265 cat conftest.err >&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); } &&
47268 { ac_try='test -z "$ac_c_werror_flag"
47269 || test ! -s conftest.err'
47270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47271 (eval $ac_try) 2>&5
47272 ac_status=$?
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }; } &&
47275 { ac_try='test -s conftest$ac_exeext'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47278 ac_status=$?
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; }; then
47281 eval "$as_ac_var=yes"
47282 else
47283 echo "$as_me: failed program was:" >&5
47284 sed 's/^/| /' conftest.$ac_ext >&5
47286 eval "$as_ac_var=no"
47288 rm -f conftest.err conftest.$ac_objext \
47289 conftest$ac_exeext conftest.$ac_ext
47291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47293 if test `eval echo '${'$as_ac_var'}'` = yes; then
47294 cat >>confdefs.h <<_ACEOF
47295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47296 _ACEOF
47299 done
47304 LIBS="$ac_save_LIBS"
47305 CXXFLAGS="$ac_save_CXXFLAGS"
47309 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
47310 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
47311 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
47312 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
47313 echo $ECHO_N "(cached) $ECHO_C" >&6
47314 else
47318 ac_ext=cc
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47324 cat >conftest.$ac_ext <<_ACEOF
47325 /* confdefs.h. */
47326 _ACEOF
47327 cat confdefs.h >>conftest.$ac_ext
47328 cat >>conftest.$ac_ext <<_ACEOF
47329 /* end confdefs.h. */
47330 #include <math.h>
47332 main ()
47334 __builtin_abs(0);
47336 return 0;
47338 _ACEOF
47339 rm -f conftest.$ac_objext
47340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47341 (eval $ac_compile) 2>conftest.er1
47342 ac_status=$?
47343 grep -v '^ *+' conftest.er1 >conftest.err
47344 rm -f conftest.er1
47345 cat conftest.err >&5
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); } &&
47348 { ac_try='test -z "$ac_cxx_werror_flag"
47349 || test ! -s conftest.err'
47350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47351 (eval $ac_try) 2>&5
47352 ac_status=$?
47353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47354 (exit $ac_status); }; } &&
47355 { ac_try='test -s conftest.$ac_objext'
47356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47357 (eval $ac_try) 2>&5
47358 ac_status=$?
47359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47360 (exit $ac_status); }; }; then
47361 glibcxx_cv_func___builtin_abs_use=yes
47362 else
47363 echo "$as_me: failed program was:" >&5
47364 sed 's/^/| /' conftest.$ac_ext >&5
47366 glibcxx_cv_func___builtin_abs_use=no
47368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47369 ac_ext=c
47370 ac_cpp='$CPP $CPPFLAGS'
47371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47379 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
47380 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
47381 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
47382 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
47383 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
47384 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
47385 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
47386 echo $ECHO_N "(cached) $ECHO_C" >&6
47387 else
47389 if test x$gcc_no_link = xyes; then
47390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47392 { (exit 1); exit 1; }; }
47394 cat >conftest.$ac_ext <<_ACEOF
47395 /* confdefs.h. */
47396 _ACEOF
47397 cat confdefs.h >>conftest.$ac_ext
47398 cat >>conftest.$ac_ext <<_ACEOF
47399 /* end confdefs.h. */
47400 #include <math.h>
47402 main ()
47404 __builtin_abs(0);
47406 return 0;
47408 _ACEOF
47409 rm -f conftest.$ac_objext conftest$ac_exeext
47410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47411 (eval $ac_link) 2>conftest.er1
47412 ac_status=$?
47413 grep -v '^ *+' conftest.er1 >conftest.err
47414 rm -f conftest.er1
47415 cat conftest.err >&5
47416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47417 (exit $ac_status); } &&
47418 { ac_try='test -z "$ac_c_werror_flag"
47419 || test ! -s conftest.err'
47420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47421 (eval $ac_try) 2>&5
47422 ac_status=$?
47423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47424 (exit $ac_status); }; } &&
47425 { ac_try='test -s conftest$ac_exeext'
47426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47427 (eval $ac_try) 2>&5
47428 ac_status=$?
47429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47430 (exit $ac_status); }; }; then
47431 glibcxx_cv_func___builtin_abs_link=yes
47432 else
47433 echo "$as_me: failed program was:" >&5
47434 sed 's/^/| /' conftest.$ac_ext >&5
47436 glibcxx_cv_func___builtin_abs_link=no
47438 rm -f conftest.err conftest.$ac_objext \
47439 conftest$ac_exeext conftest.$ac_ext
47444 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
47445 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
47447 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
47449 cat >>confdefs.h <<\_ACEOF
47450 #define HAVE___BUILTIN_ABS 1
47451 _ACEOF
47458 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
47459 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
47460 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
47461 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
47462 echo $ECHO_N "(cached) $ECHO_C" >&6
47463 else
47467 ac_ext=cc
47468 ac_cpp='$CXXCPP $CPPFLAGS'
47469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473 cat >conftest.$ac_ext <<_ACEOF
47474 /* confdefs.h. */
47475 _ACEOF
47476 cat confdefs.h >>conftest.$ac_ext
47477 cat >>conftest.$ac_ext <<_ACEOF
47478 /* end confdefs.h. */
47479 #include <math.h>
47481 main ()
47483 __builtin_fabsf(0);
47485 return 0;
47487 _ACEOF
47488 rm -f conftest.$ac_objext
47489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47490 (eval $ac_compile) 2>conftest.er1
47491 ac_status=$?
47492 grep -v '^ *+' conftest.er1 >conftest.err
47493 rm -f conftest.er1
47494 cat conftest.err >&5
47495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47496 (exit $ac_status); } &&
47497 { ac_try='test -z "$ac_cxx_werror_flag"
47498 || test ! -s conftest.err'
47499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47500 (eval $ac_try) 2>&5
47501 ac_status=$?
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); }; } &&
47504 { ac_try='test -s conftest.$ac_objext'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; }; then
47510 glibcxx_cv_func___builtin_fabsf_use=yes
47511 else
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47515 glibcxx_cv_func___builtin_fabsf_use=no
47517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47518 ac_ext=c
47519 ac_cpp='$CPP $CPPFLAGS'
47520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47528 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
47529 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
47530 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
47531 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
47532 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
47533 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
47534 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
47535 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 else
47538 if test x$gcc_no_link = xyes; then
47539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47541 { (exit 1); exit 1; }; }
47543 cat >conftest.$ac_ext <<_ACEOF
47544 /* confdefs.h. */
47545 _ACEOF
47546 cat confdefs.h >>conftest.$ac_ext
47547 cat >>conftest.$ac_ext <<_ACEOF
47548 /* end confdefs.h. */
47549 #include <math.h>
47551 main ()
47553 __builtin_fabsf(0);
47555 return 0;
47557 _ACEOF
47558 rm -f conftest.$ac_objext conftest$ac_exeext
47559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47560 (eval $ac_link) 2>conftest.er1
47561 ac_status=$?
47562 grep -v '^ *+' conftest.er1 >conftest.err
47563 rm -f conftest.er1
47564 cat conftest.err >&5
47565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47566 (exit $ac_status); } &&
47567 { ac_try='test -z "$ac_c_werror_flag"
47568 || test ! -s conftest.err'
47569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47570 (eval $ac_try) 2>&5
47571 ac_status=$?
47572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47573 (exit $ac_status); }; } &&
47574 { ac_try='test -s conftest$ac_exeext'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47577 ac_status=$?
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; }; then
47580 glibcxx_cv_func___builtin_fabsf_link=yes
47581 else
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.$ac_ext >&5
47585 glibcxx_cv_func___builtin_fabsf_link=no
47587 rm -f conftest.err conftest.$ac_objext \
47588 conftest$ac_exeext conftest.$ac_ext
47593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
47594 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
47596 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define HAVE___BUILTIN_FABSF 1
47600 _ACEOF
47607 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
47608 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
47609 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
47610 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
47611 echo $ECHO_N "(cached) $ECHO_C" >&6
47612 else
47616 ac_ext=cc
47617 ac_cpp='$CXXCPP $CPPFLAGS'
47618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47622 cat >conftest.$ac_ext <<_ACEOF
47623 /* confdefs.h. */
47624 _ACEOF
47625 cat confdefs.h >>conftest.$ac_ext
47626 cat >>conftest.$ac_ext <<_ACEOF
47627 /* end confdefs.h. */
47628 #include <math.h>
47630 main ()
47632 __builtin_fabs(0);
47634 return 0;
47636 _ACEOF
47637 rm -f conftest.$ac_objext
47638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47639 (eval $ac_compile) 2>conftest.er1
47640 ac_status=$?
47641 grep -v '^ *+' conftest.er1 >conftest.err
47642 rm -f conftest.er1
47643 cat conftest.err >&5
47644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47645 (exit $ac_status); } &&
47646 { ac_try='test -z "$ac_cxx_werror_flag"
47647 || test ! -s conftest.err'
47648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47649 (eval $ac_try) 2>&5
47650 ac_status=$?
47651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47652 (exit $ac_status); }; } &&
47653 { ac_try='test -s conftest.$ac_objext'
47654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47655 (eval $ac_try) 2>&5
47656 ac_status=$?
47657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47658 (exit $ac_status); }; }; then
47659 glibcxx_cv_func___builtin_fabs_use=yes
47660 else
47661 echo "$as_me: failed program was:" >&5
47662 sed 's/^/| /' conftest.$ac_ext >&5
47664 glibcxx_cv_func___builtin_fabs_use=no
47666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47667 ac_ext=c
47668 ac_cpp='$CPP $CPPFLAGS'
47669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47677 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
47678 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
47679 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
47680 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
47681 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
47682 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
47683 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
47684 echo $ECHO_N "(cached) $ECHO_C" >&6
47685 else
47687 if test x$gcc_no_link = xyes; then
47688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47690 { (exit 1); exit 1; }; }
47692 cat >conftest.$ac_ext <<_ACEOF
47693 /* confdefs.h. */
47694 _ACEOF
47695 cat confdefs.h >>conftest.$ac_ext
47696 cat >>conftest.$ac_ext <<_ACEOF
47697 /* end confdefs.h. */
47698 #include <math.h>
47700 main ()
47702 __builtin_fabs(0);
47704 return 0;
47706 _ACEOF
47707 rm -f conftest.$ac_objext conftest$ac_exeext
47708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47709 (eval $ac_link) 2>conftest.er1
47710 ac_status=$?
47711 grep -v '^ *+' conftest.er1 >conftest.err
47712 rm -f conftest.er1
47713 cat conftest.err >&5
47714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47715 (exit $ac_status); } &&
47716 { ac_try='test -z "$ac_c_werror_flag"
47717 || test ! -s conftest.err'
47718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47719 (eval $ac_try) 2>&5
47720 ac_status=$?
47721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47722 (exit $ac_status); }; } &&
47723 { ac_try='test -s conftest$ac_exeext'
47724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47725 (eval $ac_try) 2>&5
47726 ac_status=$?
47727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47728 (exit $ac_status); }; }; then
47729 glibcxx_cv_func___builtin_fabs_link=yes
47730 else
47731 echo "$as_me: failed program was:" >&5
47732 sed 's/^/| /' conftest.$ac_ext >&5
47734 glibcxx_cv_func___builtin_fabs_link=no
47736 rm -f conftest.err conftest.$ac_objext \
47737 conftest$ac_exeext conftest.$ac_ext
47742 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
47743 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
47745 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define HAVE___BUILTIN_FABS 1
47749 _ACEOF
47756 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
47757 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
47758 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
47759 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
47760 echo $ECHO_N "(cached) $ECHO_C" >&6
47761 else
47765 ac_ext=cc
47766 ac_cpp='$CXXCPP $CPPFLAGS'
47767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47771 cat >conftest.$ac_ext <<_ACEOF
47772 /* confdefs.h. */
47773 _ACEOF
47774 cat confdefs.h >>conftest.$ac_ext
47775 cat >>conftest.$ac_ext <<_ACEOF
47776 /* end confdefs.h. */
47777 #include <math.h>
47779 main ()
47781 __builtin_fabsl(0);
47783 return 0;
47785 _ACEOF
47786 rm -f conftest.$ac_objext
47787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47788 (eval $ac_compile) 2>conftest.er1
47789 ac_status=$?
47790 grep -v '^ *+' conftest.er1 >conftest.err
47791 rm -f conftest.er1
47792 cat conftest.err >&5
47793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47794 (exit $ac_status); } &&
47795 { ac_try='test -z "$ac_cxx_werror_flag"
47796 || test ! -s conftest.err'
47797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47798 (eval $ac_try) 2>&5
47799 ac_status=$?
47800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47801 (exit $ac_status); }; } &&
47802 { ac_try='test -s conftest.$ac_objext'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47805 ac_status=$?
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; }; then
47808 glibcxx_cv_func___builtin_fabsl_use=yes
47809 else
47810 echo "$as_me: failed program was:" >&5
47811 sed 's/^/| /' conftest.$ac_ext >&5
47813 glibcxx_cv_func___builtin_fabsl_use=no
47815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47816 ac_ext=c
47817 ac_cpp='$CPP $CPPFLAGS'
47818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47826 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
47827 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
47828 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
47829 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
47830 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
47831 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
47832 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
47833 echo $ECHO_N "(cached) $ECHO_C" >&6
47834 else
47836 if test x$gcc_no_link = xyes; then
47837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47839 { (exit 1); exit 1; }; }
47841 cat >conftest.$ac_ext <<_ACEOF
47842 /* confdefs.h. */
47843 _ACEOF
47844 cat confdefs.h >>conftest.$ac_ext
47845 cat >>conftest.$ac_ext <<_ACEOF
47846 /* end confdefs.h. */
47847 #include <math.h>
47849 main ()
47851 __builtin_fabsl(0);
47853 return 0;
47855 _ACEOF
47856 rm -f conftest.$ac_objext conftest$ac_exeext
47857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47858 (eval $ac_link) 2>conftest.er1
47859 ac_status=$?
47860 grep -v '^ *+' conftest.er1 >conftest.err
47861 rm -f conftest.er1
47862 cat conftest.err >&5
47863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47864 (exit $ac_status); } &&
47865 { ac_try='test -z "$ac_c_werror_flag"
47866 || test ! -s conftest.err'
47867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47868 (eval $ac_try) 2>&5
47869 ac_status=$?
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); }; } &&
47872 { ac_try='test -s conftest$ac_exeext'
47873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47874 (eval $ac_try) 2>&5
47875 ac_status=$?
47876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877 (exit $ac_status); }; }; then
47878 glibcxx_cv_func___builtin_fabsl_link=yes
47879 else
47880 echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47883 glibcxx_cv_func___builtin_fabsl_link=no
47885 rm -f conftest.err conftest.$ac_objext \
47886 conftest$ac_exeext conftest.$ac_ext
47891 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
47892 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
47894 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define HAVE___BUILTIN_FABSL 1
47898 _ACEOF
47905 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
47906 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
47907 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
47908 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
47909 echo $ECHO_N "(cached) $ECHO_C" >&6
47910 else
47914 ac_ext=cc
47915 ac_cpp='$CXXCPP $CPPFLAGS'
47916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47920 cat >conftest.$ac_ext <<_ACEOF
47921 /* confdefs.h. */
47922 _ACEOF
47923 cat confdefs.h >>conftest.$ac_ext
47924 cat >>conftest.$ac_ext <<_ACEOF
47925 /* end confdefs.h. */
47926 #include <math.h>
47928 main ()
47930 __builtin_labs(0);
47932 return 0;
47934 _ACEOF
47935 rm -f conftest.$ac_objext
47936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47937 (eval $ac_compile) 2>conftest.er1
47938 ac_status=$?
47939 grep -v '^ *+' conftest.er1 >conftest.err
47940 rm -f conftest.er1
47941 cat conftest.err >&5
47942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47943 (exit $ac_status); } &&
47944 { ac_try='test -z "$ac_cxx_werror_flag"
47945 || test ! -s conftest.err'
47946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47947 (eval $ac_try) 2>&5
47948 ac_status=$?
47949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47950 (exit $ac_status); }; } &&
47951 { ac_try='test -s conftest.$ac_objext'
47952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47953 (eval $ac_try) 2>&5
47954 ac_status=$?
47955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47956 (exit $ac_status); }; }; then
47957 glibcxx_cv_func___builtin_labs_use=yes
47958 else
47959 echo "$as_me: failed program was:" >&5
47960 sed 's/^/| /' conftest.$ac_ext >&5
47962 glibcxx_cv_func___builtin_labs_use=no
47964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47965 ac_ext=c
47966 ac_cpp='$CPP $CPPFLAGS'
47967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
47976 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
47977 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
47978 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
47979 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
47980 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
47981 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
47982 echo $ECHO_N "(cached) $ECHO_C" >&6
47983 else
47985 if test x$gcc_no_link = xyes; then
47986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47988 { (exit 1); exit 1; }; }
47990 cat >conftest.$ac_ext <<_ACEOF
47991 /* confdefs.h. */
47992 _ACEOF
47993 cat confdefs.h >>conftest.$ac_ext
47994 cat >>conftest.$ac_ext <<_ACEOF
47995 /* end confdefs.h. */
47996 #include <math.h>
47998 main ()
48000 __builtin_labs(0);
48002 return 0;
48004 _ACEOF
48005 rm -f conftest.$ac_objext conftest$ac_exeext
48006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48007 (eval $ac_link) 2>conftest.er1
48008 ac_status=$?
48009 grep -v '^ *+' conftest.er1 >conftest.err
48010 rm -f conftest.er1
48011 cat conftest.err >&5
48012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48013 (exit $ac_status); } &&
48014 { ac_try='test -z "$ac_c_werror_flag"
48015 || test ! -s conftest.err'
48016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48017 (eval $ac_try) 2>&5
48018 ac_status=$?
48019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020 (exit $ac_status); }; } &&
48021 { ac_try='test -s conftest$ac_exeext'
48022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48023 (eval $ac_try) 2>&5
48024 ac_status=$?
48025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48026 (exit $ac_status); }; }; then
48027 glibcxx_cv_func___builtin_labs_link=yes
48028 else
48029 echo "$as_me: failed program was:" >&5
48030 sed 's/^/| /' conftest.$ac_ext >&5
48032 glibcxx_cv_func___builtin_labs_link=no
48034 rm -f conftest.err conftest.$ac_objext \
48035 conftest$ac_exeext conftest.$ac_ext
48040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48041 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48043 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define HAVE___BUILTIN_LABS 1
48047 _ACEOF
48055 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48056 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48057 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48058 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48059 echo $ECHO_N "(cached) $ECHO_C" >&6
48060 else
48064 ac_ext=cc
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48070 cat >conftest.$ac_ext <<_ACEOF
48071 /* confdefs.h. */
48072 _ACEOF
48073 cat confdefs.h >>conftest.$ac_ext
48074 cat >>conftest.$ac_ext <<_ACEOF
48075 /* end confdefs.h. */
48076 #include <math.h>
48078 main ()
48080 __builtin_sqrtf(0);
48082 return 0;
48084 _ACEOF
48085 rm -f conftest.$ac_objext
48086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48087 (eval $ac_compile) 2>conftest.er1
48088 ac_status=$?
48089 grep -v '^ *+' conftest.er1 >conftest.err
48090 rm -f conftest.er1
48091 cat conftest.err >&5
48092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48093 (exit $ac_status); } &&
48094 { ac_try='test -z "$ac_cxx_werror_flag"
48095 || test ! -s conftest.err'
48096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48097 (eval $ac_try) 2>&5
48098 ac_status=$?
48099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48100 (exit $ac_status); }; } &&
48101 { ac_try='test -s conftest.$ac_objext'
48102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48103 (eval $ac_try) 2>&5
48104 ac_status=$?
48105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48106 (exit $ac_status); }; }; then
48107 glibcxx_cv_func___builtin_sqrtf_use=yes
48108 else
48109 echo "$as_me: failed program was:" >&5
48110 sed 's/^/| /' conftest.$ac_ext >&5
48112 glibcxx_cv_func___builtin_sqrtf_use=no
48114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48115 ac_ext=c
48116 ac_cpp='$CPP $CPPFLAGS'
48117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48125 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
48126 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
48127 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
48128 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
48129 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
48130 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
48131 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
48132 echo $ECHO_N "(cached) $ECHO_C" >&6
48133 else
48135 if test x$gcc_no_link = xyes; then
48136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48138 { (exit 1); exit 1; }; }
48140 cat >conftest.$ac_ext <<_ACEOF
48141 /* confdefs.h. */
48142 _ACEOF
48143 cat confdefs.h >>conftest.$ac_ext
48144 cat >>conftest.$ac_ext <<_ACEOF
48145 /* end confdefs.h. */
48146 #include <math.h>
48148 main ()
48150 __builtin_sqrtf(0);
48152 return 0;
48154 _ACEOF
48155 rm -f conftest.$ac_objext conftest$ac_exeext
48156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48157 (eval $ac_link) 2>conftest.er1
48158 ac_status=$?
48159 grep -v '^ *+' conftest.er1 >conftest.err
48160 rm -f conftest.er1
48161 cat conftest.err >&5
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); } &&
48164 { ac_try='test -z "$ac_c_werror_flag"
48165 || test ! -s conftest.err'
48166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48167 (eval $ac_try) 2>&5
48168 ac_status=$?
48169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48170 (exit $ac_status); }; } &&
48171 { ac_try='test -s conftest$ac_exeext'
48172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48173 (eval $ac_try) 2>&5
48174 ac_status=$?
48175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48176 (exit $ac_status); }; }; then
48177 glibcxx_cv_func___builtin_sqrtf_link=yes
48178 else
48179 echo "$as_me: failed program was:" >&5
48180 sed 's/^/| /' conftest.$ac_ext >&5
48182 glibcxx_cv_func___builtin_sqrtf_link=no
48184 rm -f conftest.err conftest.$ac_objext \
48185 conftest$ac_exeext conftest.$ac_ext
48190 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
48191 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
48193 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define HAVE___BUILTIN_SQRTF 1
48197 _ACEOF
48204 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
48205 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
48206 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
48207 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
48208 echo $ECHO_N "(cached) $ECHO_C" >&6
48209 else
48213 ac_ext=cc
48214 ac_cpp='$CXXCPP $CPPFLAGS'
48215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48219 cat >conftest.$ac_ext <<_ACEOF
48220 /* confdefs.h. */
48221 _ACEOF
48222 cat confdefs.h >>conftest.$ac_ext
48223 cat >>conftest.$ac_ext <<_ACEOF
48224 /* end confdefs.h. */
48225 #include <math.h>
48227 main ()
48229 __builtin_sqrt(0);
48231 return 0;
48233 _ACEOF
48234 rm -f conftest.$ac_objext
48235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48236 (eval $ac_compile) 2>conftest.er1
48237 ac_status=$?
48238 grep -v '^ *+' conftest.er1 >conftest.err
48239 rm -f conftest.er1
48240 cat conftest.err >&5
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); } &&
48243 { ac_try='test -z "$ac_cxx_werror_flag"
48244 || test ! -s conftest.err'
48245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246 (eval $ac_try) 2>&5
48247 ac_status=$?
48248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249 (exit $ac_status); }; } &&
48250 { ac_try='test -s conftest.$ac_objext'
48251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48252 (eval $ac_try) 2>&5
48253 ac_status=$?
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); }; }; then
48256 glibcxx_cv_func___builtin_sqrt_use=yes
48257 else
48258 echo "$as_me: failed program was:" >&5
48259 sed 's/^/| /' conftest.$ac_ext >&5
48261 glibcxx_cv_func___builtin_sqrt_use=no
48263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48264 ac_ext=c
48265 ac_cpp='$CPP $CPPFLAGS'
48266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
48275 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
48276 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
48277 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
48278 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
48279 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
48280 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
48281 echo $ECHO_N "(cached) $ECHO_C" >&6
48282 else
48284 if test x$gcc_no_link = xyes; then
48285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48287 { (exit 1); exit 1; }; }
48289 cat >conftest.$ac_ext <<_ACEOF
48290 /* confdefs.h. */
48291 _ACEOF
48292 cat confdefs.h >>conftest.$ac_ext
48293 cat >>conftest.$ac_ext <<_ACEOF
48294 /* end confdefs.h. */
48295 #include <math.h>
48297 main ()
48299 __builtin_sqrt(0);
48301 return 0;
48303 _ACEOF
48304 rm -f conftest.$ac_objext conftest$ac_exeext
48305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48306 (eval $ac_link) 2>conftest.er1
48307 ac_status=$?
48308 grep -v '^ *+' conftest.er1 >conftest.err
48309 rm -f conftest.er1
48310 cat conftest.err >&5
48311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48312 (exit $ac_status); } &&
48313 { ac_try='test -z "$ac_c_werror_flag"
48314 || test ! -s conftest.err'
48315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48316 (eval $ac_try) 2>&5
48317 ac_status=$?
48318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48319 (exit $ac_status); }; } &&
48320 { ac_try='test -s conftest$ac_exeext'
48321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48322 (eval $ac_try) 2>&5
48323 ac_status=$?
48324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48325 (exit $ac_status); }; }; then
48326 glibcxx_cv_func___builtin_sqrt_link=yes
48327 else
48328 echo "$as_me: failed program was:" >&5
48329 sed 's/^/| /' conftest.$ac_ext >&5
48331 glibcxx_cv_func___builtin_sqrt_link=no
48333 rm -f conftest.err conftest.$ac_objext \
48334 conftest$ac_exeext conftest.$ac_ext
48339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
48340 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
48342 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define HAVE___BUILTIN_SQRT 1
48346 _ACEOF
48353 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
48354 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
48355 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
48356 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
48357 echo $ECHO_N "(cached) $ECHO_C" >&6
48358 else
48362 ac_ext=cc
48363 ac_cpp='$CXXCPP $CPPFLAGS'
48364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48368 cat >conftest.$ac_ext <<_ACEOF
48369 /* confdefs.h. */
48370 _ACEOF
48371 cat confdefs.h >>conftest.$ac_ext
48372 cat >>conftest.$ac_ext <<_ACEOF
48373 /* end confdefs.h. */
48374 #include <math.h>
48376 main ()
48378 __builtin_sqrtl(0);
48380 return 0;
48382 _ACEOF
48383 rm -f conftest.$ac_objext
48384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48385 (eval $ac_compile) 2>conftest.er1
48386 ac_status=$?
48387 grep -v '^ *+' conftest.er1 >conftest.err
48388 rm -f conftest.er1
48389 cat conftest.err >&5
48390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48391 (exit $ac_status); } &&
48392 { ac_try='test -z "$ac_cxx_werror_flag"
48393 || test ! -s conftest.err'
48394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48395 (eval $ac_try) 2>&5
48396 ac_status=$?
48397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398 (exit $ac_status); }; } &&
48399 { ac_try='test -s conftest.$ac_objext'
48400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48401 (eval $ac_try) 2>&5
48402 ac_status=$?
48403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48404 (exit $ac_status); }; }; then
48405 glibcxx_cv_func___builtin_sqrtl_use=yes
48406 else
48407 echo "$as_me: failed program was:" >&5
48408 sed 's/^/| /' conftest.$ac_ext >&5
48410 glibcxx_cv_func___builtin_sqrtl_use=no
48412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48413 ac_ext=c
48414 ac_cpp='$CPP $CPPFLAGS'
48415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
48424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
48425 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
48426 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
48427 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
48428 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
48429 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
48430 echo $ECHO_N "(cached) $ECHO_C" >&6
48431 else
48433 if test x$gcc_no_link = xyes; then
48434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48436 { (exit 1); exit 1; }; }
48438 cat >conftest.$ac_ext <<_ACEOF
48439 /* confdefs.h. */
48440 _ACEOF
48441 cat confdefs.h >>conftest.$ac_ext
48442 cat >>conftest.$ac_ext <<_ACEOF
48443 /* end confdefs.h. */
48444 #include <math.h>
48446 main ()
48448 __builtin_sqrtl(0);
48450 return 0;
48452 _ACEOF
48453 rm -f conftest.$ac_objext conftest$ac_exeext
48454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48455 (eval $ac_link) 2>conftest.er1
48456 ac_status=$?
48457 grep -v '^ *+' conftest.er1 >conftest.err
48458 rm -f conftest.er1
48459 cat conftest.err >&5
48460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48461 (exit $ac_status); } &&
48462 { ac_try='test -z "$ac_c_werror_flag"
48463 || test ! -s conftest.err'
48464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48465 (eval $ac_try) 2>&5
48466 ac_status=$?
48467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48468 (exit $ac_status); }; } &&
48469 { ac_try='test -s conftest$ac_exeext'
48470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48471 (eval $ac_try) 2>&5
48472 ac_status=$?
48473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48474 (exit $ac_status); }; }; then
48475 glibcxx_cv_func___builtin_sqrtl_link=yes
48476 else
48477 echo "$as_me: failed program was:" >&5
48478 sed 's/^/| /' conftest.$ac_ext >&5
48480 glibcxx_cv_func___builtin_sqrtl_link=no
48482 rm -f conftest.err conftest.$ac_objext \
48483 conftest$ac_exeext conftest.$ac_ext
48488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
48489 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
48491 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define HAVE___BUILTIN_SQRTL 1
48495 _ACEOF
48503 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
48504 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
48505 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
48506 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
48507 echo $ECHO_N "(cached) $ECHO_C" >&6
48508 else
48512 ac_ext=cc
48513 ac_cpp='$CXXCPP $CPPFLAGS'
48514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518 cat >conftest.$ac_ext <<_ACEOF
48519 /* confdefs.h. */
48520 _ACEOF
48521 cat confdefs.h >>conftest.$ac_ext
48522 cat >>conftest.$ac_ext <<_ACEOF
48523 /* end confdefs.h. */
48524 #include <math.h>
48526 main ()
48528 __builtin_sinf(0);
48530 return 0;
48532 _ACEOF
48533 rm -f conftest.$ac_objext
48534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48535 (eval $ac_compile) 2>conftest.er1
48536 ac_status=$?
48537 grep -v '^ *+' conftest.er1 >conftest.err
48538 rm -f conftest.er1
48539 cat conftest.err >&5
48540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48541 (exit $ac_status); } &&
48542 { ac_try='test -z "$ac_cxx_werror_flag"
48543 || test ! -s conftest.err'
48544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48545 (eval $ac_try) 2>&5
48546 ac_status=$?
48547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48548 (exit $ac_status); }; } &&
48549 { ac_try='test -s conftest.$ac_objext'
48550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48551 (eval $ac_try) 2>&5
48552 ac_status=$?
48553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554 (exit $ac_status); }; }; then
48555 glibcxx_cv_func___builtin_sinf_use=yes
48556 else
48557 echo "$as_me: failed program was:" >&5
48558 sed 's/^/| /' conftest.$ac_ext >&5
48560 glibcxx_cv_func___builtin_sinf_use=no
48562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48563 ac_ext=c
48564 ac_cpp='$CPP $CPPFLAGS'
48565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
48574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
48575 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
48576 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
48577 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
48578 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
48579 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
48580 echo $ECHO_N "(cached) $ECHO_C" >&6
48581 else
48583 if test x$gcc_no_link = xyes; then
48584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48586 { (exit 1); exit 1; }; }
48588 cat >conftest.$ac_ext <<_ACEOF
48589 /* confdefs.h. */
48590 _ACEOF
48591 cat confdefs.h >>conftest.$ac_ext
48592 cat >>conftest.$ac_ext <<_ACEOF
48593 /* end confdefs.h. */
48594 #include <math.h>
48596 main ()
48598 __builtin_sinf(0);
48600 return 0;
48602 _ACEOF
48603 rm -f conftest.$ac_objext conftest$ac_exeext
48604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48605 (eval $ac_link) 2>conftest.er1
48606 ac_status=$?
48607 grep -v '^ *+' conftest.er1 >conftest.err
48608 rm -f conftest.er1
48609 cat conftest.err >&5
48610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611 (exit $ac_status); } &&
48612 { ac_try='test -z "$ac_c_werror_flag"
48613 || test ! -s conftest.err'
48614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48615 (eval $ac_try) 2>&5
48616 ac_status=$?
48617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48618 (exit $ac_status); }; } &&
48619 { ac_try='test -s conftest$ac_exeext'
48620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48621 (eval $ac_try) 2>&5
48622 ac_status=$?
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); }; }; then
48625 glibcxx_cv_func___builtin_sinf_link=yes
48626 else
48627 echo "$as_me: failed program was:" >&5
48628 sed 's/^/| /' conftest.$ac_ext >&5
48630 glibcxx_cv_func___builtin_sinf_link=no
48632 rm -f conftest.err conftest.$ac_objext \
48633 conftest$ac_exeext conftest.$ac_ext
48638 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
48639 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
48641 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
48643 cat >>confdefs.h <<\_ACEOF
48644 #define HAVE___BUILTIN_SINF 1
48645 _ACEOF
48652 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
48653 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
48654 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
48655 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
48656 echo $ECHO_N "(cached) $ECHO_C" >&6
48657 else
48661 ac_ext=cc
48662 ac_cpp='$CXXCPP $CPPFLAGS'
48663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48667 cat >conftest.$ac_ext <<_ACEOF
48668 /* confdefs.h. */
48669 _ACEOF
48670 cat confdefs.h >>conftest.$ac_ext
48671 cat >>conftest.$ac_ext <<_ACEOF
48672 /* end confdefs.h. */
48673 #include <math.h>
48675 main ()
48677 __builtin_sin(0);
48679 return 0;
48681 _ACEOF
48682 rm -f conftest.$ac_objext
48683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48684 (eval $ac_compile) 2>conftest.er1
48685 ac_status=$?
48686 grep -v '^ *+' conftest.er1 >conftest.err
48687 rm -f conftest.er1
48688 cat conftest.err >&5
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); } &&
48691 { ac_try='test -z "$ac_cxx_werror_flag"
48692 || test ! -s conftest.err'
48693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48694 (eval $ac_try) 2>&5
48695 ac_status=$?
48696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48697 (exit $ac_status); }; } &&
48698 { ac_try='test -s conftest.$ac_objext'
48699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48700 (eval $ac_try) 2>&5
48701 ac_status=$?
48702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48703 (exit $ac_status); }; }; then
48704 glibcxx_cv_func___builtin_sin_use=yes
48705 else
48706 echo "$as_me: failed program was:" >&5
48707 sed 's/^/| /' conftest.$ac_ext >&5
48709 glibcxx_cv_func___builtin_sin_use=no
48711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48712 ac_ext=c
48713 ac_cpp='$CPP $CPPFLAGS'
48714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48722 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
48723 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
48724 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
48725 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
48726 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
48727 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
48728 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
48729 echo $ECHO_N "(cached) $ECHO_C" >&6
48730 else
48732 if test x$gcc_no_link = xyes; then
48733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48735 { (exit 1); exit 1; }; }
48737 cat >conftest.$ac_ext <<_ACEOF
48738 /* confdefs.h. */
48739 _ACEOF
48740 cat confdefs.h >>conftest.$ac_ext
48741 cat >>conftest.$ac_ext <<_ACEOF
48742 /* end confdefs.h. */
48743 #include <math.h>
48745 main ()
48747 __builtin_sin(0);
48749 return 0;
48751 _ACEOF
48752 rm -f conftest.$ac_objext conftest$ac_exeext
48753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48754 (eval $ac_link) 2>conftest.er1
48755 ac_status=$?
48756 grep -v '^ *+' conftest.er1 >conftest.err
48757 rm -f conftest.er1
48758 cat conftest.err >&5
48759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48760 (exit $ac_status); } &&
48761 { ac_try='test -z "$ac_c_werror_flag"
48762 || test ! -s conftest.err'
48763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48764 (eval $ac_try) 2>&5
48765 ac_status=$?
48766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48767 (exit $ac_status); }; } &&
48768 { ac_try='test -s conftest$ac_exeext'
48769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48770 (eval $ac_try) 2>&5
48771 ac_status=$?
48772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48773 (exit $ac_status); }; }; then
48774 glibcxx_cv_func___builtin_sin_link=yes
48775 else
48776 echo "$as_me: failed program was:" >&5
48777 sed 's/^/| /' conftest.$ac_ext >&5
48779 glibcxx_cv_func___builtin_sin_link=no
48781 rm -f conftest.err conftest.$ac_objext \
48782 conftest$ac_exeext conftest.$ac_ext
48787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
48788 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
48790 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
48792 cat >>confdefs.h <<\_ACEOF
48793 #define HAVE___BUILTIN_SIN 1
48794 _ACEOF
48801 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
48802 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
48803 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
48804 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
48805 echo $ECHO_N "(cached) $ECHO_C" >&6
48806 else
48810 ac_ext=cc
48811 ac_cpp='$CXXCPP $CPPFLAGS'
48812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48816 cat >conftest.$ac_ext <<_ACEOF
48817 /* confdefs.h. */
48818 _ACEOF
48819 cat confdefs.h >>conftest.$ac_ext
48820 cat >>conftest.$ac_ext <<_ACEOF
48821 /* end confdefs.h. */
48822 #include <math.h>
48824 main ()
48826 __builtin_sinl(0);
48828 return 0;
48830 _ACEOF
48831 rm -f conftest.$ac_objext
48832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48833 (eval $ac_compile) 2>conftest.er1
48834 ac_status=$?
48835 grep -v '^ *+' conftest.er1 >conftest.err
48836 rm -f conftest.er1
48837 cat conftest.err >&5
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); } &&
48840 { ac_try='test -z "$ac_cxx_werror_flag"
48841 || test ! -s conftest.err'
48842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48843 (eval $ac_try) 2>&5
48844 ac_status=$?
48845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846 (exit $ac_status); }; } &&
48847 { ac_try='test -s conftest.$ac_objext'
48848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48849 (eval $ac_try) 2>&5
48850 ac_status=$?
48851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48852 (exit $ac_status); }; }; then
48853 glibcxx_cv_func___builtin_sinl_use=yes
48854 else
48855 echo "$as_me: failed program was:" >&5
48856 sed 's/^/| /' conftest.$ac_ext >&5
48858 glibcxx_cv_func___builtin_sinl_use=no
48860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48861 ac_ext=c
48862 ac_cpp='$CPP $CPPFLAGS'
48863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48871 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
48872 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
48873 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
48874 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
48875 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
48876 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
48877 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
48878 echo $ECHO_N "(cached) $ECHO_C" >&6
48879 else
48881 if test x$gcc_no_link = xyes; then
48882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48884 { (exit 1); exit 1; }; }
48886 cat >conftest.$ac_ext <<_ACEOF
48887 /* confdefs.h. */
48888 _ACEOF
48889 cat confdefs.h >>conftest.$ac_ext
48890 cat >>conftest.$ac_ext <<_ACEOF
48891 /* end confdefs.h. */
48892 #include <math.h>
48894 main ()
48896 __builtin_sinl(0);
48898 return 0;
48900 _ACEOF
48901 rm -f conftest.$ac_objext conftest$ac_exeext
48902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48903 (eval $ac_link) 2>conftest.er1
48904 ac_status=$?
48905 grep -v '^ *+' conftest.er1 >conftest.err
48906 rm -f conftest.er1
48907 cat conftest.err >&5
48908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48909 (exit $ac_status); } &&
48910 { ac_try='test -z "$ac_c_werror_flag"
48911 || test ! -s conftest.err'
48912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48913 (eval $ac_try) 2>&5
48914 ac_status=$?
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); }; } &&
48917 { ac_try='test -s conftest$ac_exeext'
48918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48919 (eval $ac_try) 2>&5
48920 ac_status=$?
48921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48922 (exit $ac_status); }; }; then
48923 glibcxx_cv_func___builtin_sinl_link=yes
48924 else
48925 echo "$as_me: failed program was:" >&5
48926 sed 's/^/| /' conftest.$ac_ext >&5
48928 glibcxx_cv_func___builtin_sinl_link=no
48930 rm -f conftest.err conftest.$ac_objext \
48931 conftest$ac_exeext conftest.$ac_ext
48936 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
48937 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
48939 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
48941 cat >>confdefs.h <<\_ACEOF
48942 #define HAVE___BUILTIN_SINL 1
48943 _ACEOF
48951 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
48952 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
48953 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
48954 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
48955 echo $ECHO_N "(cached) $ECHO_C" >&6
48956 else
48960 ac_ext=cc
48961 ac_cpp='$CXXCPP $CPPFLAGS'
48962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48966 cat >conftest.$ac_ext <<_ACEOF
48967 /* confdefs.h. */
48968 _ACEOF
48969 cat confdefs.h >>conftest.$ac_ext
48970 cat >>conftest.$ac_ext <<_ACEOF
48971 /* end confdefs.h. */
48972 #include <math.h>
48974 main ()
48976 __builtin_cosf(0);
48978 return 0;
48980 _ACEOF
48981 rm -f conftest.$ac_objext
48982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48983 (eval $ac_compile) 2>conftest.er1
48984 ac_status=$?
48985 grep -v '^ *+' conftest.er1 >conftest.err
48986 rm -f conftest.er1
48987 cat conftest.err >&5
48988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48989 (exit $ac_status); } &&
48990 { ac_try='test -z "$ac_cxx_werror_flag"
48991 || test ! -s conftest.err'
48992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48993 (eval $ac_try) 2>&5
48994 ac_status=$?
48995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48996 (exit $ac_status); }; } &&
48997 { ac_try='test -s conftest.$ac_objext'
48998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48999 (eval $ac_try) 2>&5
49000 ac_status=$?
49001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49002 (exit $ac_status); }; }; then
49003 glibcxx_cv_func___builtin_cosf_use=yes
49004 else
49005 echo "$as_me: failed program was:" >&5
49006 sed 's/^/| /' conftest.$ac_ext >&5
49008 glibcxx_cv_func___builtin_cosf_use=no
49010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49011 ac_ext=c
49012 ac_cpp='$CPP $CPPFLAGS'
49013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49022 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49023 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49024 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49025 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49026 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49027 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49028 echo $ECHO_N "(cached) $ECHO_C" >&6
49029 else
49031 if test x$gcc_no_link = xyes; then
49032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49034 { (exit 1); exit 1; }; }
49036 cat >conftest.$ac_ext <<_ACEOF
49037 /* confdefs.h. */
49038 _ACEOF
49039 cat confdefs.h >>conftest.$ac_ext
49040 cat >>conftest.$ac_ext <<_ACEOF
49041 /* end confdefs.h. */
49042 #include <math.h>
49044 main ()
49046 __builtin_cosf(0);
49048 return 0;
49050 _ACEOF
49051 rm -f conftest.$ac_objext conftest$ac_exeext
49052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49053 (eval $ac_link) 2>conftest.er1
49054 ac_status=$?
49055 grep -v '^ *+' conftest.er1 >conftest.err
49056 rm -f conftest.er1
49057 cat conftest.err >&5
49058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49059 (exit $ac_status); } &&
49060 { ac_try='test -z "$ac_c_werror_flag"
49061 || test ! -s conftest.err'
49062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49063 (eval $ac_try) 2>&5
49064 ac_status=$?
49065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49066 (exit $ac_status); }; } &&
49067 { ac_try='test -s conftest$ac_exeext'
49068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49069 (eval $ac_try) 2>&5
49070 ac_status=$?
49071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49072 (exit $ac_status); }; }; then
49073 glibcxx_cv_func___builtin_cosf_link=yes
49074 else
49075 echo "$as_me: failed program was:" >&5
49076 sed 's/^/| /' conftest.$ac_ext >&5
49078 glibcxx_cv_func___builtin_cosf_link=no
49080 rm -f conftest.err conftest.$ac_objext \
49081 conftest$ac_exeext conftest.$ac_ext
49086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49087 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49089 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49091 cat >>confdefs.h <<\_ACEOF
49092 #define HAVE___BUILTIN_COSF 1
49093 _ACEOF
49100 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49101 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49102 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49103 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49104 echo $ECHO_N "(cached) $ECHO_C" >&6
49105 else
49109 ac_ext=cc
49110 ac_cpp='$CXXCPP $CPPFLAGS'
49111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49115 cat >conftest.$ac_ext <<_ACEOF
49116 /* confdefs.h. */
49117 _ACEOF
49118 cat confdefs.h >>conftest.$ac_ext
49119 cat >>conftest.$ac_ext <<_ACEOF
49120 /* end confdefs.h. */
49121 #include <math.h>
49123 main ()
49125 __builtin_cos(0);
49127 return 0;
49129 _ACEOF
49130 rm -f conftest.$ac_objext
49131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49132 (eval $ac_compile) 2>conftest.er1
49133 ac_status=$?
49134 grep -v '^ *+' conftest.er1 >conftest.err
49135 rm -f conftest.er1
49136 cat conftest.err >&5
49137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49138 (exit $ac_status); } &&
49139 { ac_try='test -z "$ac_cxx_werror_flag"
49140 || test ! -s conftest.err'
49141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49142 (eval $ac_try) 2>&5
49143 ac_status=$?
49144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145 (exit $ac_status); }; } &&
49146 { ac_try='test -s conftest.$ac_objext'
49147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49148 (eval $ac_try) 2>&5
49149 ac_status=$?
49150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49151 (exit $ac_status); }; }; then
49152 glibcxx_cv_func___builtin_cos_use=yes
49153 else
49154 echo "$as_me: failed program was:" >&5
49155 sed 's/^/| /' conftest.$ac_ext >&5
49157 glibcxx_cv_func___builtin_cos_use=no
49159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49160 ac_ext=c
49161 ac_cpp='$CPP $CPPFLAGS'
49162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
49171 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
49172 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
49173 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
49174 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
49175 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
49176 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
49177 echo $ECHO_N "(cached) $ECHO_C" >&6
49178 else
49180 if test x$gcc_no_link = xyes; then
49181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49183 { (exit 1); exit 1; }; }
49185 cat >conftest.$ac_ext <<_ACEOF
49186 /* confdefs.h. */
49187 _ACEOF
49188 cat confdefs.h >>conftest.$ac_ext
49189 cat >>conftest.$ac_ext <<_ACEOF
49190 /* end confdefs.h. */
49191 #include <math.h>
49193 main ()
49195 __builtin_cos(0);
49197 return 0;
49199 _ACEOF
49200 rm -f conftest.$ac_objext conftest$ac_exeext
49201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49202 (eval $ac_link) 2>conftest.er1
49203 ac_status=$?
49204 grep -v '^ *+' conftest.er1 >conftest.err
49205 rm -f conftest.er1
49206 cat conftest.err >&5
49207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49208 (exit $ac_status); } &&
49209 { ac_try='test -z "$ac_c_werror_flag"
49210 || test ! -s conftest.err'
49211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49212 (eval $ac_try) 2>&5
49213 ac_status=$?
49214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49215 (exit $ac_status); }; } &&
49216 { ac_try='test -s conftest$ac_exeext'
49217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49218 (eval $ac_try) 2>&5
49219 ac_status=$?
49220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49221 (exit $ac_status); }; }; then
49222 glibcxx_cv_func___builtin_cos_link=yes
49223 else
49224 echo "$as_me: failed program was:" >&5
49225 sed 's/^/| /' conftest.$ac_ext >&5
49227 glibcxx_cv_func___builtin_cos_link=no
49229 rm -f conftest.err conftest.$ac_objext \
49230 conftest$ac_exeext conftest.$ac_ext
49235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
49236 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
49238 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
49240 cat >>confdefs.h <<\_ACEOF
49241 #define HAVE___BUILTIN_COS 1
49242 _ACEOF
49249 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
49250 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
49251 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
49252 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
49253 echo $ECHO_N "(cached) $ECHO_C" >&6
49254 else
49258 ac_ext=cc
49259 ac_cpp='$CXXCPP $CPPFLAGS'
49260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264 cat >conftest.$ac_ext <<_ACEOF
49265 /* confdefs.h. */
49266 _ACEOF
49267 cat confdefs.h >>conftest.$ac_ext
49268 cat >>conftest.$ac_ext <<_ACEOF
49269 /* end confdefs.h. */
49270 #include <math.h>
49272 main ()
49274 __builtin_cosl(0);
49276 return 0;
49278 _ACEOF
49279 rm -f conftest.$ac_objext
49280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49281 (eval $ac_compile) 2>conftest.er1
49282 ac_status=$?
49283 grep -v '^ *+' conftest.er1 >conftest.err
49284 rm -f conftest.er1
49285 cat conftest.err >&5
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); } &&
49288 { ac_try='test -z "$ac_cxx_werror_flag"
49289 || test ! -s conftest.err'
49290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49291 (eval $ac_try) 2>&5
49292 ac_status=$?
49293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49294 (exit $ac_status); }; } &&
49295 { ac_try='test -s conftest.$ac_objext'
49296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49297 (eval $ac_try) 2>&5
49298 ac_status=$?
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); }; }; then
49301 glibcxx_cv_func___builtin_cosl_use=yes
49302 else
49303 echo "$as_me: failed program was:" >&5
49304 sed 's/^/| /' conftest.$ac_ext >&5
49306 glibcxx_cv_func___builtin_cosl_use=no
49308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49309 ac_ext=c
49310 ac_cpp='$CPP $CPPFLAGS'
49311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
49320 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
49321 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
49322 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
49323 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
49324 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
49325 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49329 if test x$gcc_no_link = xyes; then
49330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49332 { (exit 1); exit 1; }; }
49334 cat >conftest.$ac_ext <<_ACEOF
49335 /* confdefs.h. */
49336 _ACEOF
49337 cat confdefs.h >>conftest.$ac_ext
49338 cat >>conftest.$ac_ext <<_ACEOF
49339 /* end confdefs.h. */
49340 #include <math.h>
49342 main ()
49344 __builtin_cosl(0);
49346 return 0;
49348 _ACEOF
49349 rm -f conftest.$ac_objext conftest$ac_exeext
49350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49351 (eval $ac_link) 2>conftest.er1
49352 ac_status=$?
49353 grep -v '^ *+' conftest.er1 >conftest.err
49354 rm -f conftest.er1
49355 cat conftest.err >&5
49356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49357 (exit $ac_status); } &&
49358 { ac_try='test -z "$ac_c_werror_flag"
49359 || test ! -s conftest.err'
49360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49361 (eval $ac_try) 2>&5
49362 ac_status=$?
49363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364 (exit $ac_status); }; } &&
49365 { ac_try='test -s conftest$ac_exeext'
49366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49367 (eval $ac_try) 2>&5
49368 ac_status=$?
49369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49370 (exit $ac_status); }; }; then
49371 glibcxx_cv_func___builtin_cosl_link=yes
49372 else
49373 echo "$as_me: failed program was:" >&5
49374 sed 's/^/| /' conftest.$ac_ext >&5
49376 glibcxx_cv_func___builtin_cosl_link=no
49378 rm -f conftest.err conftest.$ac_objext \
49379 conftest$ac_exeext conftest.$ac_ext
49384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
49385 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
49387 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
49389 cat >>confdefs.h <<\_ACEOF
49390 #define HAVE___BUILTIN_COSL 1
49391 _ACEOF
49400 echo "$as_me:$LINENO: checking for main in -lm" >&5
49401 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49402 if test "${ac_cv_lib_m_main+set}" = set; then
49403 echo $ECHO_N "(cached) $ECHO_C" >&6
49404 else
49405 ac_check_lib_save_LIBS=$LIBS
49406 LIBS="-lm $LIBS"
49407 if test x$gcc_no_link = xyes; then
49408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49410 { (exit 1); exit 1; }; }
49412 cat >conftest.$ac_ext <<_ACEOF
49413 /* confdefs.h. */
49414 _ACEOF
49415 cat confdefs.h >>conftest.$ac_ext
49416 cat >>conftest.$ac_ext <<_ACEOF
49417 /* end confdefs.h. */
49421 main ()
49423 main ();
49425 return 0;
49427 _ACEOF
49428 rm -f conftest.$ac_objext conftest$ac_exeext
49429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49430 (eval $ac_link) 2>conftest.er1
49431 ac_status=$?
49432 grep -v '^ *+' conftest.er1 >conftest.err
49433 rm -f conftest.er1
49434 cat conftest.err >&5
49435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436 (exit $ac_status); } &&
49437 { ac_try='test -z "$ac_c_werror_flag"
49438 || test ! -s conftest.err'
49439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49440 (eval $ac_try) 2>&5
49441 ac_status=$?
49442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49443 (exit $ac_status); }; } &&
49444 { ac_try='test -s conftest$ac_exeext'
49445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49446 (eval $ac_try) 2>&5
49447 ac_status=$?
49448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49449 (exit $ac_status); }; }; then
49450 ac_cv_lib_m_main=yes
49451 else
49452 echo "$as_me: failed program was:" >&5
49453 sed 's/^/| /' conftest.$ac_ext >&5
49455 ac_cv_lib_m_main=no
49457 rm -f conftest.err conftest.$ac_objext \
49458 conftest$ac_exeext conftest.$ac_ext
49459 LIBS=$ac_check_lib_save_LIBS
49461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49462 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49463 if test $ac_cv_lib_m_main = yes; then
49464 cat >>confdefs.h <<_ACEOF
49465 #define HAVE_LIBM 1
49466 _ACEOF
49468 LIBS="-lm $LIBS"
49473 for ac_func in copysignf
49475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49476 echo "$as_me:$LINENO: checking for $ac_func" >&5
49477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49478 if eval "test \"\${$as_ac_var+set}\" = set"; then
49479 echo $ECHO_N "(cached) $ECHO_C" >&6
49480 else
49481 if test x$gcc_no_link = xyes; then
49482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49484 { (exit 1); exit 1; }; }
49486 cat >conftest.$ac_ext <<_ACEOF
49487 /* confdefs.h. */
49488 _ACEOF
49489 cat confdefs.h >>conftest.$ac_ext
49490 cat >>conftest.$ac_ext <<_ACEOF
49491 /* end confdefs.h. */
49492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49494 #define $ac_func innocuous_$ac_func
49496 /* System header to define __stub macros and hopefully few prototypes,
49497 which can conflict with char $ac_func (); below.
49498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49499 <limits.h> exists even on freestanding compilers. */
49501 #ifdef __STDC__
49502 # include <limits.h>
49503 #else
49504 # include <assert.h>
49505 #endif
49507 #undef $ac_func
49509 /* Override any gcc2 internal prototype to avoid an error. */
49510 #ifdef __cplusplus
49511 extern "C"
49513 #endif
49514 /* We use char because int might match the return type of a gcc2
49515 builtin and then its argument prototype would still apply. */
49516 char $ac_func ();
49517 /* The GNU C library defines this for functions which it implements
49518 to always fail with ENOSYS. Some functions are actually named
49519 something starting with __ and the normal name is an alias. */
49520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49521 choke me
49522 #else
49523 char (*f) () = $ac_func;
49524 #endif
49525 #ifdef __cplusplus
49527 #endif
49530 main ()
49532 return f != $ac_func;
49534 return 0;
49536 _ACEOF
49537 rm -f conftest.$ac_objext conftest$ac_exeext
49538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49539 (eval $ac_link) 2>conftest.er1
49540 ac_status=$?
49541 grep -v '^ *+' conftest.er1 >conftest.err
49542 rm -f conftest.er1
49543 cat conftest.err >&5
49544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49545 (exit $ac_status); } &&
49546 { ac_try='test -z "$ac_c_werror_flag"
49547 || test ! -s conftest.err'
49548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49549 (eval $ac_try) 2>&5
49550 ac_status=$?
49551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49552 (exit $ac_status); }; } &&
49553 { ac_try='test -s conftest$ac_exeext'
49554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49555 (eval $ac_try) 2>&5
49556 ac_status=$?
49557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49558 (exit $ac_status); }; }; then
49559 eval "$as_ac_var=yes"
49560 else
49561 echo "$as_me: failed program was:" >&5
49562 sed 's/^/| /' conftest.$ac_ext >&5
49564 eval "$as_ac_var=no"
49566 rm -f conftest.err conftest.$ac_objext \
49567 conftest$ac_exeext conftest.$ac_ext
49569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49571 if test `eval echo '${'$as_ac_var'}'` = yes; then
49572 cat >>confdefs.h <<_ACEOF
49573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49574 _ACEOF
49576 else
49577 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49579 done
49583 for ac_func in __signbit
49585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49586 echo "$as_me:$LINENO: checking for $ac_func" >&5
49587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49588 if eval "test \"\${$as_ac_var+set}\" = set"; then
49589 echo $ECHO_N "(cached) $ECHO_C" >&6
49590 else
49591 if test x$gcc_no_link = xyes; then
49592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49594 { (exit 1); exit 1; }; }
49596 cat >conftest.$ac_ext <<_ACEOF
49597 /* confdefs.h. */
49598 _ACEOF
49599 cat confdefs.h >>conftest.$ac_ext
49600 cat >>conftest.$ac_ext <<_ACEOF
49601 /* end confdefs.h. */
49602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49604 #define $ac_func innocuous_$ac_func
49606 /* System header to define __stub macros and hopefully few prototypes,
49607 which can conflict with char $ac_func (); below.
49608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49609 <limits.h> exists even on freestanding compilers. */
49611 #ifdef __STDC__
49612 # include <limits.h>
49613 #else
49614 # include <assert.h>
49615 #endif
49617 #undef $ac_func
49619 /* Override any gcc2 internal prototype to avoid an error. */
49620 #ifdef __cplusplus
49621 extern "C"
49623 #endif
49624 /* We use char because int might match the return type of a gcc2
49625 builtin and then its argument prototype would still apply. */
49626 char $ac_func ();
49627 /* The GNU C library defines this for functions which it implements
49628 to always fail with ENOSYS. Some functions are actually named
49629 something starting with __ and the normal name is an alias. */
49630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49631 choke me
49632 #else
49633 char (*f) () = $ac_func;
49634 #endif
49635 #ifdef __cplusplus
49637 #endif
49640 main ()
49642 return f != $ac_func;
49644 return 0;
49646 _ACEOF
49647 rm -f conftest.$ac_objext conftest$ac_exeext
49648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49649 (eval $ac_link) 2>conftest.er1
49650 ac_status=$?
49651 grep -v '^ *+' conftest.er1 >conftest.err
49652 rm -f conftest.er1
49653 cat conftest.err >&5
49654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49655 (exit $ac_status); } &&
49656 { ac_try='test -z "$ac_c_werror_flag"
49657 || test ! -s conftest.err'
49658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49659 (eval $ac_try) 2>&5
49660 ac_status=$?
49661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49662 (exit $ac_status); }; } &&
49663 { ac_try='test -s conftest$ac_exeext'
49664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49665 (eval $ac_try) 2>&5
49666 ac_status=$?
49667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49668 (exit $ac_status); }; }; then
49669 eval "$as_ac_var=yes"
49670 else
49671 echo "$as_me: failed program was:" >&5
49672 sed 's/^/| /' conftest.$ac_ext >&5
49674 eval "$as_ac_var=no"
49676 rm -f conftest.err conftest.$ac_objext \
49677 conftest$ac_exeext conftest.$ac_ext
49679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49681 if test `eval echo '${'$as_ac_var'}'` = yes; then
49682 cat >>confdefs.h <<_ACEOF
49683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49684 _ACEOF
49686 else
49687 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49689 done
49693 for ac_func in __signbitf
49695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49696 echo "$as_me:$LINENO: checking for $ac_func" >&5
49697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49698 if eval "test \"\${$as_ac_var+set}\" = set"; then
49699 echo $ECHO_N "(cached) $ECHO_C" >&6
49700 else
49701 if test x$gcc_no_link = xyes; then
49702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49704 { (exit 1); exit 1; }; }
49706 cat >conftest.$ac_ext <<_ACEOF
49707 /* confdefs.h. */
49708 _ACEOF
49709 cat confdefs.h >>conftest.$ac_ext
49710 cat >>conftest.$ac_ext <<_ACEOF
49711 /* end confdefs.h. */
49712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49714 #define $ac_func innocuous_$ac_func
49716 /* System header to define __stub macros and hopefully few prototypes,
49717 which can conflict with char $ac_func (); below.
49718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49719 <limits.h> exists even on freestanding compilers. */
49721 #ifdef __STDC__
49722 # include <limits.h>
49723 #else
49724 # include <assert.h>
49725 #endif
49727 #undef $ac_func
49729 /* Override any gcc2 internal prototype to avoid an error. */
49730 #ifdef __cplusplus
49731 extern "C"
49733 #endif
49734 /* We use char because int might match the return type of a gcc2
49735 builtin and then its argument prototype would still apply. */
49736 char $ac_func ();
49737 /* The GNU C library defines this for functions which it implements
49738 to always fail with ENOSYS. Some functions are actually named
49739 something starting with __ and the normal name is an alias. */
49740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49741 choke me
49742 #else
49743 char (*f) () = $ac_func;
49744 #endif
49745 #ifdef __cplusplus
49747 #endif
49750 main ()
49752 return f != $ac_func;
49754 return 0;
49756 _ACEOF
49757 rm -f conftest.$ac_objext conftest$ac_exeext
49758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49759 (eval $ac_link) 2>conftest.er1
49760 ac_status=$?
49761 grep -v '^ *+' conftest.er1 >conftest.err
49762 rm -f conftest.er1
49763 cat conftest.err >&5
49764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49765 (exit $ac_status); } &&
49766 { ac_try='test -z "$ac_c_werror_flag"
49767 || test ! -s conftest.err'
49768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49769 (eval $ac_try) 2>&5
49770 ac_status=$?
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); }; } &&
49773 { ac_try='test -s conftest$ac_exeext'
49774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49775 (eval $ac_try) 2>&5
49776 ac_status=$?
49777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49778 (exit $ac_status); }; }; then
49779 eval "$as_ac_var=yes"
49780 else
49781 echo "$as_me: failed program was:" >&5
49782 sed 's/^/| /' conftest.$ac_ext >&5
49784 eval "$as_ac_var=no"
49786 rm -f conftest.err conftest.$ac_objext \
49787 conftest$ac_exeext conftest.$ac_ext
49789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49791 if test `eval echo '${'$as_ac_var'}'` = yes; then
49792 cat >>confdefs.h <<_ACEOF
49793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49794 _ACEOF
49796 else
49797 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49799 done
49802 if test x$ac_cv_func_copysignl = x"yes"; then
49804 for ac_func in __signbitl
49806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49807 echo "$as_me:$LINENO: checking for $ac_func" >&5
49808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49809 if eval "test \"\${$as_ac_var+set}\" = set"; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49811 else
49812 if test x$gcc_no_link = xyes; then
49813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49815 { (exit 1); exit 1; }; }
49817 cat >conftest.$ac_ext <<_ACEOF
49818 /* confdefs.h. */
49819 _ACEOF
49820 cat confdefs.h >>conftest.$ac_ext
49821 cat >>conftest.$ac_ext <<_ACEOF
49822 /* end confdefs.h. */
49823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49825 #define $ac_func innocuous_$ac_func
49827 /* System header to define __stub macros and hopefully few prototypes,
49828 which can conflict with char $ac_func (); below.
49829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49830 <limits.h> exists even on freestanding compilers. */
49832 #ifdef __STDC__
49833 # include <limits.h>
49834 #else
49835 # include <assert.h>
49836 #endif
49838 #undef $ac_func
49840 /* Override any gcc2 internal prototype to avoid an error. */
49841 #ifdef __cplusplus
49842 extern "C"
49844 #endif
49845 /* We use char because int might match the return type of a gcc2
49846 builtin and then its argument prototype would still apply. */
49847 char $ac_func ();
49848 /* The GNU C library defines this for functions which it implements
49849 to always fail with ENOSYS. Some functions are actually named
49850 something starting with __ and the normal name is an alias. */
49851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49852 choke me
49853 #else
49854 char (*f) () = $ac_func;
49855 #endif
49856 #ifdef __cplusplus
49858 #endif
49861 main ()
49863 return f != $ac_func;
49865 return 0;
49867 _ACEOF
49868 rm -f conftest.$ac_objext conftest$ac_exeext
49869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49870 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
49891 else
49892 echo "$as_me: failed program was:" >&5
49893 sed 's/^/| /' conftest.$ac_ext >&5
49895 eval "$as_ac_var=no"
49897 rm -f conftest.err conftest.$ac_objext \
49898 conftest$ac_exeext conftest.$ac_ext
49900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49902 if test `eval echo '${'$as_ac_var'}'` = yes; then
49903 cat >>confdefs.h <<_ACEOF
49904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49905 _ACEOF
49907 else
49908 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49910 done
49914 # Used in libmath/Makefile.am.
49915 if test -n "$LIBMATHOBJS"; then
49916 need_libmath=yes
49922 enable_iconv=no
49923 # Only continue checking if the ISO C99 headers exist and support is on.
49924 if test x"$enable_wchar_t" = xyes; then
49926 # Use iconv for wchar_t to char conversions. As such, check for
49927 # X/Open Portability Guide, version 2 features (XPG2).
49928 if test "${ac_cv_header_iconv_h+set}" = set; then
49929 echo "$as_me:$LINENO: checking for iconv.h" >&5
49930 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
49931 if test "${ac_cv_header_iconv_h+set}" = set; then
49932 echo $ECHO_N "(cached) $ECHO_C" >&6
49934 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
49935 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
49936 else
49937 # Is the header compilable?
49938 echo "$as_me:$LINENO: checking iconv.h usability" >&5
49939 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
49940 cat >conftest.$ac_ext <<_ACEOF
49941 /* confdefs.h. */
49942 _ACEOF
49943 cat confdefs.h >>conftest.$ac_ext
49944 cat >>conftest.$ac_ext <<_ACEOF
49945 /* end confdefs.h. */
49946 $ac_includes_default
49947 #include <iconv.h>
49948 _ACEOF
49949 rm -f conftest.$ac_objext
49950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49951 (eval $ac_compile) 2>conftest.er1
49952 ac_status=$?
49953 grep -v '^ *+' conftest.er1 >conftest.err
49954 rm -f conftest.er1
49955 cat conftest.err >&5
49956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49957 (exit $ac_status); } &&
49958 { ac_try='test -z "$ac_c_werror_flag"
49959 || test ! -s conftest.err'
49960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49961 (eval $ac_try) 2>&5
49962 ac_status=$?
49963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49964 (exit $ac_status); }; } &&
49965 { ac_try='test -s conftest.$ac_objext'
49966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49967 (eval $ac_try) 2>&5
49968 ac_status=$?
49969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49970 (exit $ac_status); }; }; then
49971 ac_header_compiler=yes
49972 else
49973 echo "$as_me: failed program was:" >&5
49974 sed 's/^/| /' conftest.$ac_ext >&5
49976 ac_header_compiler=no
49978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49980 echo "${ECHO_T}$ac_header_compiler" >&6
49982 # Is the header present?
49983 echo "$as_me:$LINENO: checking iconv.h presence" >&5
49984 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
49985 cat >conftest.$ac_ext <<_ACEOF
49986 /* confdefs.h. */
49987 _ACEOF
49988 cat confdefs.h >>conftest.$ac_ext
49989 cat >>conftest.$ac_ext <<_ACEOF
49990 /* end confdefs.h. */
49991 #include <iconv.h>
49992 _ACEOF
49993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49995 ac_status=$?
49996 grep -v '^ *+' conftest.er1 >conftest.err
49997 rm -f conftest.er1
49998 cat conftest.err >&5
49999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50000 (exit $ac_status); } >/dev/null; then
50001 if test -s conftest.err; then
50002 ac_cpp_err=$ac_c_preproc_warn_flag
50003 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50004 else
50005 ac_cpp_err=
50007 else
50008 ac_cpp_err=yes
50010 if test -z "$ac_cpp_err"; then
50011 ac_header_preproc=yes
50012 else
50013 echo "$as_me: failed program was:" >&5
50014 sed 's/^/| /' conftest.$ac_ext >&5
50016 ac_header_preproc=no
50018 rm -f conftest.err conftest.$ac_ext
50019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50020 echo "${ECHO_T}$ac_header_preproc" >&6
50022 # So? What about this header?
50023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50024 yes:no: )
50025 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50026 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50027 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
50028 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
50029 ac_header_preproc=yes
50031 no:yes:* )
50032 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50033 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50034 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50035 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50036 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
50037 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
50038 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
50039 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
50040 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50041 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50042 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
50043 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
50045 cat <<\_ASBOX
50046 ## ----------------------------------------- ##
50047 ## Report this to the package-unused lists. ##
50048 ## ----------------------------------------- ##
50049 _ASBOX
50051 sed "s/^/$as_me: WARNING: /" >&2
50053 esac
50054 echo "$as_me:$LINENO: checking for iconv.h" >&5
50055 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50056 if test "${ac_cv_header_iconv_h+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50058 else
50059 ac_cv_header_iconv_h=$ac_header_preproc
50061 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50062 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50065 if test $ac_cv_header_iconv_h = yes; then
50066 ac_has_iconv_h=yes
50067 else
50068 ac_has_iconv_h=no
50072 if test "${ac_cv_header_langinfo_h+set}" = set; then
50073 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50074 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50075 if test "${ac_cv_header_langinfo_h+set}" = set; then
50076 echo $ECHO_N "(cached) $ECHO_C" >&6
50078 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50079 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50080 else
50081 # Is the header compilable?
50082 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50083 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50084 cat >conftest.$ac_ext <<_ACEOF
50085 /* confdefs.h. */
50086 _ACEOF
50087 cat confdefs.h >>conftest.$ac_ext
50088 cat >>conftest.$ac_ext <<_ACEOF
50089 /* end confdefs.h. */
50090 $ac_includes_default
50091 #include <langinfo.h>
50092 _ACEOF
50093 rm -f conftest.$ac_objext
50094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50095 (eval $ac_compile) 2>conftest.er1
50096 ac_status=$?
50097 grep -v '^ *+' conftest.er1 >conftest.err
50098 rm -f conftest.er1
50099 cat conftest.err >&5
50100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101 (exit $ac_status); } &&
50102 { ac_try='test -z "$ac_c_werror_flag"
50103 || test ! -s conftest.err'
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); }; } &&
50109 { ac_try='test -s conftest.$ac_objext'
50110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50111 (eval $ac_try) 2>&5
50112 ac_status=$?
50113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50114 (exit $ac_status); }; }; then
50115 ac_header_compiler=yes
50116 else
50117 echo "$as_me: failed program was:" >&5
50118 sed 's/^/| /' conftest.$ac_ext >&5
50120 ac_header_compiler=no
50122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50124 echo "${ECHO_T}$ac_header_compiler" >&6
50126 # Is the header present?
50127 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50128 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50129 cat >conftest.$ac_ext <<_ACEOF
50130 /* confdefs.h. */
50131 _ACEOF
50132 cat confdefs.h >>conftest.$ac_ext
50133 cat >>conftest.$ac_ext <<_ACEOF
50134 /* end confdefs.h. */
50135 #include <langinfo.h>
50136 _ACEOF
50137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50139 ac_status=$?
50140 grep -v '^ *+' conftest.er1 >conftest.err
50141 rm -f conftest.er1
50142 cat conftest.err >&5
50143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50144 (exit $ac_status); } >/dev/null; then
50145 if test -s conftest.err; then
50146 ac_cpp_err=$ac_c_preproc_warn_flag
50147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50148 else
50149 ac_cpp_err=
50151 else
50152 ac_cpp_err=yes
50154 if test -z "$ac_cpp_err"; then
50155 ac_header_preproc=yes
50156 else
50157 echo "$as_me: failed program was:" >&5
50158 sed 's/^/| /' conftest.$ac_ext >&5
50160 ac_header_preproc=no
50162 rm -f conftest.err conftest.$ac_ext
50163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50164 echo "${ECHO_T}$ac_header_preproc" >&6
50166 # So? What about this header?
50167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50168 yes:no: )
50169 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50170 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50171 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
50172 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
50173 ac_header_preproc=yes
50175 no:yes:* )
50176 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50177 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50178 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50179 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50180 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
50181 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
50182 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
50183 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
50184 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50185 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50186 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
50187 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
50189 cat <<\_ASBOX
50190 ## ----------------------------------------- ##
50191 ## Report this to the package-unused lists. ##
50192 ## ----------------------------------------- ##
50193 _ASBOX
50195 sed "s/^/$as_me: WARNING: /" >&2
50197 esac
50198 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50199 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50200 if test "${ac_cv_header_langinfo_h+set}" = set; then
50201 echo $ECHO_N "(cached) $ECHO_C" >&6
50202 else
50203 ac_cv_header_langinfo_h=$ac_header_preproc
50205 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50206 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50209 if test $ac_cv_header_langinfo_h = yes; then
50210 ac_has_langinfo_h=yes
50211 else
50212 ac_has_langinfo_h=no
50217 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50218 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50219 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50220 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50221 echo $ECHO_N "(cached) $ECHO_C" >&6
50222 else
50223 ac_check_lib_save_LIBS=$LIBS
50224 LIBS="-liconv $LIBS"
50225 if test x$gcc_no_link = xyes; then
50226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50228 { (exit 1); exit 1; }; }
50230 cat >conftest.$ac_ext <<_ACEOF
50231 /* confdefs.h. */
50232 _ACEOF
50233 cat confdefs.h >>conftest.$ac_ext
50234 cat >>conftest.$ac_ext <<_ACEOF
50235 /* end confdefs.h. */
50237 /* Override any gcc2 internal prototype to avoid an error. */
50238 #ifdef __cplusplus
50239 extern "C"
50240 #endif
50241 /* We use char because int might match the return type of a gcc2
50242 builtin and then its argument prototype would still apply. */
50243 char iconv ();
50245 main ()
50247 iconv ();
50249 return 0;
50251 _ACEOF
50252 rm -f conftest.$ac_objext conftest$ac_exeext
50253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50254 (eval $ac_link) 2>conftest.er1
50255 ac_status=$?
50256 grep -v '^ *+' conftest.er1 >conftest.err
50257 rm -f conftest.er1
50258 cat conftest.err >&5
50259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50260 (exit $ac_status); } &&
50261 { ac_try='test -z "$ac_c_werror_flag"
50262 || test ! -s conftest.err'
50263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50264 (eval $ac_try) 2>&5
50265 ac_status=$?
50266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50267 (exit $ac_status); }; } &&
50268 { ac_try='test -s conftest$ac_exeext'
50269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50270 (eval $ac_try) 2>&5
50271 ac_status=$?
50272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50273 (exit $ac_status); }; }; then
50274 ac_cv_lib_iconv_iconv=yes
50275 else
50276 echo "$as_me: failed program was:" >&5
50277 sed 's/^/| /' conftest.$ac_ext >&5
50279 ac_cv_lib_iconv_iconv=no
50281 rm -f conftest.err conftest.$ac_objext \
50282 conftest$ac_exeext conftest.$ac_ext
50283 LIBS=$ac_check_lib_save_LIBS
50285 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50286 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50287 if test $ac_cv_lib_iconv_iconv = yes; then
50288 LIBICONV="-liconv"
50291 ac_save_LIBS="$LIBS"
50292 LIBS="$LIBS $LIBICONV"
50299 for ac_func in iconv_open iconv_close iconv nl_langinfo
50301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50302 echo "$as_me:$LINENO: checking for $ac_func" >&5
50303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50304 if eval "test \"\${$as_ac_var+set}\" = set"; then
50305 echo $ECHO_N "(cached) $ECHO_C" >&6
50306 else
50307 if test x$gcc_no_link = xyes; then
50308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50310 { (exit 1); exit 1; }; }
50312 cat >conftest.$ac_ext <<_ACEOF
50313 /* confdefs.h. */
50314 _ACEOF
50315 cat confdefs.h >>conftest.$ac_ext
50316 cat >>conftest.$ac_ext <<_ACEOF
50317 /* end confdefs.h. */
50318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50320 #define $ac_func innocuous_$ac_func
50322 /* System header to define __stub macros and hopefully few prototypes,
50323 which can conflict with char $ac_func (); below.
50324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50325 <limits.h> exists even on freestanding compilers. */
50327 #ifdef __STDC__
50328 # include <limits.h>
50329 #else
50330 # include <assert.h>
50331 #endif
50333 #undef $ac_func
50335 /* Override any gcc2 internal prototype to avoid an error. */
50336 #ifdef __cplusplus
50337 extern "C"
50339 #endif
50340 /* We use char because int might match the return type of a gcc2
50341 builtin and then its argument prototype would still apply. */
50342 char $ac_func ();
50343 /* The GNU C library defines this for functions which it implements
50344 to always fail with ENOSYS. Some functions are actually named
50345 something starting with __ and the normal name is an alias. */
50346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50347 choke me
50348 #else
50349 char (*f) () = $ac_func;
50350 #endif
50351 #ifdef __cplusplus
50353 #endif
50356 main ()
50358 return f != $ac_func;
50360 return 0;
50362 _ACEOF
50363 rm -f conftest.$ac_objext conftest$ac_exeext
50364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50365 (eval $ac_link) 2>conftest.er1
50366 ac_status=$?
50367 grep -v '^ *+' conftest.er1 >conftest.err
50368 rm -f conftest.er1
50369 cat conftest.err >&5
50370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50371 (exit $ac_status); } &&
50372 { ac_try='test -z "$ac_c_werror_flag"
50373 || test ! -s conftest.err'
50374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50375 (eval $ac_try) 2>&5
50376 ac_status=$?
50377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50378 (exit $ac_status); }; } &&
50379 { ac_try='test -s conftest$ac_exeext'
50380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50381 (eval $ac_try) 2>&5
50382 ac_status=$?
50383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50384 (exit $ac_status); }; }; then
50385 eval "$as_ac_var=yes"
50386 else
50387 echo "$as_me: failed program was:" >&5
50388 sed 's/^/| /' conftest.$ac_ext >&5
50390 eval "$as_ac_var=no"
50392 rm -f conftest.err conftest.$ac_objext \
50393 conftest$ac_exeext conftest.$ac_ext
50395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50397 if test `eval echo '${'$as_ac_var'}'` = yes; then
50398 cat >>confdefs.h <<_ACEOF
50399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50400 _ACEOF
50401 ac_XPG2funcs=yes
50402 else
50403 ac_XPG2funcs=no
50405 done
50408 LIBS="$ac_save_LIBS"
50410 if test x"$ac_has_iconv_h" = xyes &&
50411 test x"$ac_has_langinfo_h" = xyes &&
50412 test x"$ac_XPG2funcs" = xyes;
50413 then
50415 cat >>confdefs.h <<\_ACEOF
50416 #define _GLIBCXX_USE_ICONV 1
50417 _ACEOF
50419 enable_iconv=yes
50422 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
50423 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
50424 echo "$as_me:$LINENO: result: $enable_iconv" >&5
50425 echo "${ECHO_T}$enable_iconv" >&6
50428 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50429 ac_save_CXXFLAGS="$CXXFLAGS"
50430 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50433 echo "$as_me:$LINENO: checking for strtold declaration" >&5
50434 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
50435 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50436 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
50437 echo $ECHO_N "(cached) $ECHO_C" >&6
50438 else
50442 ac_ext=cc
50443 ac_cpp='$CXXCPP $CPPFLAGS'
50444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50448 cat >conftest.$ac_ext <<_ACEOF
50449 /* confdefs.h. */
50450 _ACEOF
50451 cat confdefs.h >>conftest.$ac_ext
50452 cat >>conftest.$ac_ext <<_ACEOF
50453 /* end confdefs.h. */
50454 #include <stdlib.h>
50456 main ()
50458 strtold(0, 0);
50460 return 0;
50462 _ACEOF
50463 rm -f conftest.$ac_objext
50464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50465 (eval $ac_compile) 2>conftest.er1
50466 ac_status=$?
50467 grep -v '^ *+' conftest.er1 >conftest.err
50468 rm -f conftest.er1
50469 cat conftest.err >&5
50470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50471 (exit $ac_status); } &&
50472 { ac_try='test -z "$ac_cxx_werror_flag"
50473 || test ! -s conftest.err'
50474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50475 (eval $ac_try) 2>&5
50476 ac_status=$?
50477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50478 (exit $ac_status); }; } &&
50479 { ac_try='test -s conftest.$ac_objext'
50480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50481 (eval $ac_try) 2>&5
50482 ac_status=$?
50483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50484 (exit $ac_status); }; }; then
50485 glibcxx_cv_func_strtold_use=yes
50486 else
50487 echo "$as_me: failed program was:" >&5
50488 sed 's/^/| /' conftest.$ac_ext >&5
50490 glibcxx_cv_func_strtold_use=no
50492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50493 ac_ext=c
50494 ac_cpp='$CPP $CPPFLAGS'
50495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
50504 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
50505 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50507 for ac_func in strtold
50509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50510 echo "$as_me:$LINENO: checking for $ac_func" >&5
50511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50512 if eval "test \"\${$as_ac_var+set}\" = set"; then
50513 echo $ECHO_N "(cached) $ECHO_C" >&6
50514 else
50515 if test x$gcc_no_link = xyes; then
50516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50518 { (exit 1); exit 1; }; }
50520 cat >conftest.$ac_ext <<_ACEOF
50521 /* confdefs.h. */
50522 _ACEOF
50523 cat confdefs.h >>conftest.$ac_ext
50524 cat >>conftest.$ac_ext <<_ACEOF
50525 /* end confdefs.h. */
50526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50528 #define $ac_func innocuous_$ac_func
50530 /* System header to define __stub macros and hopefully few prototypes,
50531 which can conflict with char $ac_func (); below.
50532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50533 <limits.h> exists even on freestanding compilers. */
50535 #ifdef __STDC__
50536 # include <limits.h>
50537 #else
50538 # include <assert.h>
50539 #endif
50541 #undef $ac_func
50543 /* Override any gcc2 internal prototype to avoid an error. */
50544 #ifdef __cplusplus
50545 extern "C"
50547 #endif
50548 /* We use char because int might match the return type of a gcc2
50549 builtin and then its argument prototype would still apply. */
50550 char $ac_func ();
50551 /* The GNU C library defines this for functions which it implements
50552 to always fail with ENOSYS. Some functions are actually named
50553 something starting with __ and the normal name is an alias. */
50554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50555 choke me
50556 #else
50557 char (*f) () = $ac_func;
50558 #endif
50559 #ifdef __cplusplus
50561 #endif
50564 main ()
50566 return f != $ac_func;
50568 return 0;
50570 _ACEOF
50571 rm -f conftest.$ac_objext conftest$ac_exeext
50572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50573 (eval $ac_link) 2>conftest.er1
50574 ac_status=$?
50575 grep -v '^ *+' conftest.er1 >conftest.err
50576 rm -f conftest.er1
50577 cat conftest.err >&5
50578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579 (exit $ac_status); } &&
50580 { ac_try='test -z "$ac_c_werror_flag"
50581 || test ! -s conftest.err'
50582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50583 (eval $ac_try) 2>&5
50584 ac_status=$?
50585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50586 (exit $ac_status); }; } &&
50587 { ac_try='test -s conftest$ac_exeext'
50588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50589 (eval $ac_try) 2>&5
50590 ac_status=$?
50591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50592 (exit $ac_status); }; }; then
50593 eval "$as_ac_var=yes"
50594 else
50595 echo "$as_me: failed program was:" >&5
50596 sed 's/^/| /' conftest.$ac_ext >&5
50598 eval "$as_ac_var=no"
50600 rm -f conftest.err conftest.$ac_objext \
50601 conftest$ac_exeext conftest.$ac_ext
50603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50605 if test `eval echo '${'$as_ac_var'}'` = yes; then
50606 cat >>confdefs.h <<_ACEOF
50607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50608 _ACEOF
50611 done
50616 echo "$as_me:$LINENO: checking for strtof declaration" >&5
50617 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
50618 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50619 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
50620 echo $ECHO_N "(cached) $ECHO_C" >&6
50621 else
50625 ac_ext=cc
50626 ac_cpp='$CXXCPP $CPPFLAGS'
50627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631 cat >conftest.$ac_ext <<_ACEOF
50632 /* confdefs.h. */
50633 _ACEOF
50634 cat confdefs.h >>conftest.$ac_ext
50635 cat >>conftest.$ac_ext <<_ACEOF
50636 /* end confdefs.h. */
50637 #include <stdlib.h>
50639 main ()
50641 strtof(0, 0);
50643 return 0;
50645 _ACEOF
50646 rm -f conftest.$ac_objext
50647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50648 (eval $ac_compile) 2>conftest.er1
50649 ac_status=$?
50650 grep -v '^ *+' conftest.er1 >conftest.err
50651 rm -f conftest.er1
50652 cat conftest.err >&5
50653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50654 (exit $ac_status); } &&
50655 { ac_try='test -z "$ac_cxx_werror_flag"
50656 || test ! -s conftest.err'
50657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50658 (eval $ac_try) 2>&5
50659 ac_status=$?
50660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50661 (exit $ac_status); }; } &&
50662 { ac_try='test -s conftest.$ac_objext'
50663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50664 (eval $ac_try) 2>&5
50665 ac_status=$?
50666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50667 (exit $ac_status); }; }; then
50668 glibcxx_cv_func_strtof_use=yes
50669 else
50670 echo "$as_me: failed program was:" >&5
50671 sed 's/^/| /' conftest.$ac_ext >&5
50673 glibcxx_cv_func_strtof_use=no
50675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50676 ac_ext=c
50677 ac_cpp='$CPP $CPPFLAGS'
50678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50686 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
50687 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
50688 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50690 for ac_func in strtof
50692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50693 echo "$as_me:$LINENO: checking for $ac_func" >&5
50694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50695 if eval "test \"\${$as_ac_var+set}\" = set"; then
50696 echo $ECHO_N "(cached) $ECHO_C" >&6
50697 else
50698 if test x$gcc_no_link = xyes; then
50699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50701 { (exit 1); exit 1; }; }
50703 cat >conftest.$ac_ext <<_ACEOF
50704 /* confdefs.h. */
50705 _ACEOF
50706 cat confdefs.h >>conftest.$ac_ext
50707 cat >>conftest.$ac_ext <<_ACEOF
50708 /* end confdefs.h. */
50709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50711 #define $ac_func innocuous_$ac_func
50713 /* System header to define __stub macros and hopefully few prototypes,
50714 which can conflict with char $ac_func (); below.
50715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50716 <limits.h> exists even on freestanding compilers. */
50718 #ifdef __STDC__
50719 # include <limits.h>
50720 #else
50721 # include <assert.h>
50722 #endif
50724 #undef $ac_func
50726 /* Override any gcc2 internal prototype to avoid an error. */
50727 #ifdef __cplusplus
50728 extern "C"
50730 #endif
50731 /* We use char because int might match the return type of a gcc2
50732 builtin and then its argument prototype would still apply. */
50733 char $ac_func ();
50734 /* The GNU C library defines this for functions which it implements
50735 to always fail with ENOSYS. Some functions are actually named
50736 something starting with __ and the normal name is an alias. */
50737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50738 choke me
50739 #else
50740 char (*f) () = $ac_func;
50741 #endif
50742 #ifdef __cplusplus
50744 #endif
50747 main ()
50749 return f != $ac_func;
50751 return 0;
50753 _ACEOF
50754 rm -f conftest.$ac_objext conftest$ac_exeext
50755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50756 (eval $ac_link) 2>conftest.er1
50757 ac_status=$?
50758 grep -v '^ *+' conftest.er1 >conftest.err
50759 rm -f conftest.er1
50760 cat conftest.err >&5
50761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762 (exit $ac_status); } &&
50763 { ac_try='test -z "$ac_c_werror_flag"
50764 || test ! -s conftest.err'
50765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50766 (eval $ac_try) 2>&5
50767 ac_status=$?
50768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50769 (exit $ac_status); }; } &&
50770 { ac_try='test -s conftest$ac_exeext'
50771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50772 (eval $ac_try) 2>&5
50773 ac_status=$?
50774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50775 (exit $ac_status); }; }; then
50776 eval "$as_ac_var=yes"
50777 else
50778 echo "$as_me: failed program was:" >&5
50779 sed 's/^/| /' conftest.$ac_ext >&5
50781 eval "$as_ac_var=no"
50783 rm -f conftest.err conftest.$ac_objext \
50784 conftest$ac_exeext conftest.$ac_ext
50786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50788 if test `eval echo '${'$as_ac_var'}'` = yes; then
50789 cat >>confdefs.h <<_ACEOF
50790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50791 _ACEOF
50794 done
50799 CXXFLAGS="$ac_save_CXXFLAGS"
50802 # For showmanyc_helper().
50805 for ac_header in sys/ioctl.h sys/filio.h
50807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50809 echo "$as_me:$LINENO: checking for $ac_header" >&5
50810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50812 echo $ECHO_N "(cached) $ECHO_C" >&6
50814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50816 else
50817 # Is the header compilable?
50818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50820 cat >conftest.$ac_ext <<_ACEOF
50821 /* confdefs.h. */
50822 _ACEOF
50823 cat confdefs.h >>conftest.$ac_ext
50824 cat >>conftest.$ac_ext <<_ACEOF
50825 /* end confdefs.h. */
50826 $ac_includes_default
50827 #include <$ac_header>
50828 _ACEOF
50829 rm -f conftest.$ac_objext
50830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50831 (eval $ac_compile) 2>conftest.er1
50832 ac_status=$?
50833 grep -v '^ *+' conftest.er1 >conftest.err
50834 rm -f conftest.er1
50835 cat conftest.err >&5
50836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50837 (exit $ac_status); } &&
50838 { ac_try='test -z "$ac_c_werror_flag"
50839 || test ! -s conftest.err'
50840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50841 (eval $ac_try) 2>&5
50842 ac_status=$?
50843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50844 (exit $ac_status); }; } &&
50845 { ac_try='test -s conftest.$ac_objext'
50846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50847 (eval $ac_try) 2>&5
50848 ac_status=$?
50849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50850 (exit $ac_status); }; }; then
50851 ac_header_compiler=yes
50852 else
50853 echo "$as_me: failed program was:" >&5
50854 sed 's/^/| /' conftest.$ac_ext >&5
50856 ac_header_compiler=no
50858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50860 echo "${ECHO_T}$ac_header_compiler" >&6
50862 # Is the header present?
50863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50865 cat >conftest.$ac_ext <<_ACEOF
50866 /* confdefs.h. */
50867 _ACEOF
50868 cat confdefs.h >>conftest.$ac_ext
50869 cat >>conftest.$ac_ext <<_ACEOF
50870 /* end confdefs.h. */
50871 #include <$ac_header>
50872 _ACEOF
50873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50875 ac_status=$?
50876 grep -v '^ *+' conftest.er1 >conftest.err
50877 rm -f conftest.er1
50878 cat conftest.err >&5
50879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50880 (exit $ac_status); } >/dev/null; then
50881 if test -s conftest.err; then
50882 ac_cpp_err=$ac_c_preproc_warn_flag
50883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50884 else
50885 ac_cpp_err=
50887 else
50888 ac_cpp_err=yes
50890 if test -z "$ac_cpp_err"; then
50891 ac_header_preproc=yes
50892 else
50893 echo "$as_me: failed program was:" >&5
50894 sed 's/^/| /' conftest.$ac_ext >&5
50896 ac_header_preproc=no
50898 rm -f conftest.err conftest.$ac_ext
50899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50900 echo "${ECHO_T}$ac_header_preproc" >&6
50902 # So? What about this header?
50903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50904 yes:no: )
50905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50909 ac_header_preproc=yes
50911 no:yes:* )
50912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50925 cat <<\_ASBOX
50926 ## ----------------------------------------- ##
50927 ## Report this to the package-unused lists. ##
50928 ## ----------------------------------------- ##
50929 _ASBOX
50931 sed "s/^/$as_me: WARNING: /" >&2
50933 esac
50934 echo "$as_me:$LINENO: checking for $ac_header" >&5
50935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50937 echo $ECHO_N "(cached) $ECHO_C" >&6
50938 else
50939 eval "$as_ac_Header=\$ac_header_preproc"
50941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50946 cat >>confdefs.h <<_ACEOF
50947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50948 _ACEOF
50952 done
50955 if test "${glibcxx_cv_POLL+set}" = set; then
50956 echo $ECHO_N "(cached) $ECHO_C" >&6
50957 else
50959 if test x$gcc_no_link = xyes; then
50960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50962 { (exit 1); exit 1; }; }
50964 cat >conftest.$ac_ext <<_ACEOF
50965 /* confdefs.h. */
50966 _ACEOF
50967 cat confdefs.h >>conftest.$ac_ext
50968 cat >>conftest.$ac_ext <<_ACEOF
50969 /* end confdefs.h. */
50970 #include <poll.h>
50972 main ()
50974 struct pollfd pfd[1];
50975 pfd[0].events = POLLIN;
50976 poll(pfd, 1, 0);
50978 return 0;
50980 _ACEOF
50981 rm -f conftest.$ac_objext conftest$ac_exeext
50982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50983 (eval $ac_link) 2>conftest.er1
50984 ac_status=$?
50985 grep -v '^ *+' conftest.er1 >conftest.err
50986 rm -f conftest.er1
50987 cat conftest.err >&5
50988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50989 (exit $ac_status); } &&
50990 { ac_try='test -z "$ac_c_werror_flag"
50991 || test ! -s conftest.err'
50992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50993 (eval $ac_try) 2>&5
50994 ac_status=$?
50995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50996 (exit $ac_status); }; } &&
50997 { ac_try='test -s conftest$ac_exeext'
50998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50999 (eval $ac_try) 2>&5
51000 ac_status=$?
51001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51002 (exit $ac_status); }; }; then
51003 glibcxx_cv_POLL=yes
51004 else
51005 echo "$as_me: failed program was:" >&5
51006 sed 's/^/| /' conftest.$ac_ext >&5
51008 glibcxx_cv_POLL=no
51010 rm -f conftest.err conftest.$ac_objext \
51011 conftest$ac_exeext conftest.$ac_ext
51015 if test $glibcxx_cv_POLL = yes; then
51016 cat >>confdefs.h <<\_ACEOF
51017 #define HAVE_POLL 1
51018 _ACEOF
51023 if test "${glibcxx_cv_S_ISREG+set}" = set; then
51024 echo $ECHO_N "(cached) $ECHO_C" >&6
51025 else
51027 if test x$gcc_no_link = xyes; then
51028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51030 { (exit 1); exit 1; }; }
51032 cat >conftest.$ac_ext <<_ACEOF
51033 /* confdefs.h. */
51034 _ACEOF
51035 cat confdefs.h >>conftest.$ac_ext
51036 cat >>conftest.$ac_ext <<_ACEOF
51037 /* end confdefs.h. */
51038 #include <sys/stat.h>
51040 main ()
51042 struct stat buffer;
51043 fstat(0, &buffer);
51044 S_ISREG(buffer.st_mode);
51046 return 0;
51048 _ACEOF
51049 rm -f conftest.$ac_objext conftest$ac_exeext
51050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51051 (eval $ac_link) 2>conftest.er1
51052 ac_status=$?
51053 grep -v '^ *+' conftest.er1 >conftest.err
51054 rm -f conftest.er1
51055 cat conftest.err >&5
51056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51057 (exit $ac_status); } &&
51058 { ac_try='test -z "$ac_c_werror_flag"
51059 || test ! -s conftest.err'
51060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51061 (eval $ac_try) 2>&5
51062 ac_status=$?
51063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51064 (exit $ac_status); }; } &&
51065 { ac_try='test -s conftest$ac_exeext'
51066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51067 (eval $ac_try) 2>&5
51068 ac_status=$?
51069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51070 (exit $ac_status); }; }; then
51071 glibcxx_cv_S_ISREG=yes
51072 else
51073 echo "$as_me: failed program was:" >&5
51074 sed 's/^/| /' conftest.$ac_ext >&5
51076 glibcxx_cv_S_ISREG=no
51078 rm -f conftest.err conftest.$ac_objext \
51079 conftest$ac_exeext conftest.$ac_ext
51083 if test "${glibcxx_cv_S_IFREG+set}" = set; then
51084 echo $ECHO_N "(cached) $ECHO_C" >&6
51085 else
51087 if test x$gcc_no_link = xyes; then
51088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51090 { (exit 1); exit 1; }; }
51092 cat >conftest.$ac_ext <<_ACEOF
51093 /* confdefs.h. */
51094 _ACEOF
51095 cat confdefs.h >>conftest.$ac_ext
51096 cat >>conftest.$ac_ext <<_ACEOF
51097 /* end confdefs.h. */
51098 #include <sys/stat.h>
51100 main ()
51102 struct stat buffer;
51103 fstat(0, &buffer);
51104 S_IFREG & buffer.st_mode;
51106 return 0;
51108 _ACEOF
51109 rm -f conftest.$ac_objext conftest$ac_exeext
51110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51111 (eval $ac_link) 2>conftest.er1
51112 ac_status=$?
51113 grep -v '^ *+' conftest.er1 >conftest.err
51114 rm -f conftest.er1
51115 cat conftest.err >&5
51116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51117 (exit $ac_status); } &&
51118 { ac_try='test -z "$ac_c_werror_flag"
51119 || test ! -s conftest.err'
51120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51121 (eval $ac_try) 2>&5
51122 ac_status=$?
51123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51124 (exit $ac_status); }; } &&
51125 { ac_try='test -s conftest$ac_exeext'
51126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51127 (eval $ac_try) 2>&5
51128 ac_status=$?
51129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51130 (exit $ac_status); }; }; then
51131 glibcxx_cv_S_IFREG=yes
51132 else
51133 echo "$as_me: failed program was:" >&5
51134 sed 's/^/| /' conftest.$ac_ext >&5
51136 glibcxx_cv_S_IFREG=no
51138 rm -f conftest.err conftest.$ac_objext \
51139 conftest$ac_exeext conftest.$ac_ext
51143 if test $glibcxx_cv_S_ISREG = yes; then
51144 cat >>confdefs.h <<\_ACEOF
51145 #define HAVE_S_ISREG 1
51146 _ACEOF
51148 elif test $glibcxx_cv_S_IFREG = yes; then
51149 cat >>confdefs.h <<\_ACEOF
51150 #define HAVE_S_IFREG 1
51151 _ACEOF
51156 # For xsputn_2().
51158 for ac_header in sys/uio.h
51160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51162 echo "$as_me:$LINENO: checking for $ac_header" >&5
51163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51165 echo $ECHO_N "(cached) $ECHO_C" >&6
51167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51169 else
51170 # Is the header compilable?
51171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51173 cat >conftest.$ac_ext <<_ACEOF
51174 /* confdefs.h. */
51175 _ACEOF
51176 cat confdefs.h >>conftest.$ac_ext
51177 cat >>conftest.$ac_ext <<_ACEOF
51178 /* end confdefs.h. */
51179 $ac_includes_default
51180 #include <$ac_header>
51181 _ACEOF
51182 rm -f conftest.$ac_objext
51183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51184 (eval $ac_compile) 2>conftest.er1
51185 ac_status=$?
51186 grep -v '^ *+' conftest.er1 >conftest.err
51187 rm -f conftest.er1
51188 cat conftest.err >&5
51189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51190 (exit $ac_status); } &&
51191 { ac_try='test -z "$ac_c_werror_flag"
51192 || test ! -s conftest.err'
51193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51194 (eval $ac_try) 2>&5
51195 ac_status=$?
51196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51197 (exit $ac_status); }; } &&
51198 { ac_try='test -s conftest.$ac_objext'
51199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51200 (eval $ac_try) 2>&5
51201 ac_status=$?
51202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51203 (exit $ac_status); }; }; then
51204 ac_header_compiler=yes
51205 else
51206 echo "$as_me: failed program was:" >&5
51207 sed 's/^/| /' conftest.$ac_ext >&5
51209 ac_header_compiler=no
51211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51213 echo "${ECHO_T}$ac_header_compiler" >&6
51215 # Is the header present?
51216 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51217 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51218 cat >conftest.$ac_ext <<_ACEOF
51219 /* confdefs.h. */
51220 _ACEOF
51221 cat confdefs.h >>conftest.$ac_ext
51222 cat >>conftest.$ac_ext <<_ACEOF
51223 /* end confdefs.h. */
51224 #include <$ac_header>
51225 _ACEOF
51226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51228 ac_status=$?
51229 grep -v '^ *+' conftest.er1 >conftest.err
51230 rm -f conftest.er1
51231 cat conftest.err >&5
51232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51233 (exit $ac_status); } >/dev/null; then
51234 if test -s conftest.err; then
51235 ac_cpp_err=$ac_c_preproc_warn_flag
51236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51237 else
51238 ac_cpp_err=
51240 else
51241 ac_cpp_err=yes
51243 if test -z "$ac_cpp_err"; then
51244 ac_header_preproc=yes
51245 else
51246 echo "$as_me: failed program was:" >&5
51247 sed 's/^/| /' conftest.$ac_ext >&5
51249 ac_header_preproc=no
51251 rm -f conftest.err conftest.$ac_ext
51252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51253 echo "${ECHO_T}$ac_header_preproc" >&6
51255 # So? What about this header?
51256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51257 yes:no: )
51258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51262 ac_header_preproc=yes
51264 no:yes:* )
51265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51278 cat <<\_ASBOX
51279 ## ----------------------------------------- ##
51280 ## Report this to the package-unused lists. ##
51281 ## ----------------------------------------- ##
51282 _ASBOX
51284 sed "s/^/$as_me: WARNING: /" >&2
51286 esac
51287 echo "$as_me:$LINENO: checking for $ac_header" >&5
51288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51290 echo $ECHO_N "(cached) $ECHO_C" >&6
51291 else
51292 eval "$as_ac_Header=\$ac_header_preproc"
51294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51299 cat >>confdefs.h <<_ACEOF
51300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51301 _ACEOF
51305 done
51308 if test "${glibcxx_cv_WRITEV+set}" = set; then
51309 echo $ECHO_N "(cached) $ECHO_C" >&6
51310 else
51312 if test x$gcc_no_link = xyes; then
51313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51315 { (exit 1); exit 1; }; }
51317 cat >conftest.$ac_ext <<_ACEOF
51318 /* confdefs.h. */
51319 _ACEOF
51320 cat confdefs.h >>conftest.$ac_ext
51321 cat >>conftest.$ac_ext <<_ACEOF
51322 /* end confdefs.h. */
51323 #include <sys/uio.h>
51325 main ()
51327 struct iovec iov[2];
51328 writev(0, iov, 0);
51330 return 0;
51332 _ACEOF
51333 rm -f conftest.$ac_objext conftest$ac_exeext
51334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51335 (eval $ac_link) 2>conftest.er1
51336 ac_status=$?
51337 grep -v '^ *+' conftest.er1 >conftest.err
51338 rm -f conftest.er1
51339 cat conftest.err >&5
51340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51341 (exit $ac_status); } &&
51342 { ac_try='test -z "$ac_c_werror_flag"
51343 || test ! -s conftest.err'
51344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51345 (eval $ac_try) 2>&5
51346 ac_status=$?
51347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51348 (exit $ac_status); }; } &&
51349 { ac_try='test -s conftest$ac_exeext'
51350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51351 (eval $ac_try) 2>&5
51352 ac_status=$?
51353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51354 (exit $ac_status); }; }; then
51355 glibcxx_cv_WRITEV=yes
51356 else
51357 echo "$as_me: failed program was:" >&5
51358 sed 's/^/| /' conftest.$ac_ext >&5
51360 glibcxx_cv_WRITEV=no
51362 rm -f conftest.err conftest.$ac_objext \
51363 conftest$ac_exeext conftest.$ac_ext
51367 if test $glibcxx_cv_WRITEV = yes; then
51368 cat >>confdefs.h <<\_ACEOF
51369 #define HAVE_WRITEV 1
51370 _ACEOF
51375 cat >>confdefs.h <<\_ACEOF
51376 #define HAVE_LC_MESSAGES 1
51377 _ACEOF
51380 cat >conftest.$ac_ext <<_ACEOF
51381 /* confdefs.h. */
51382 _ACEOF
51383 cat confdefs.h >>conftest.$ac_ext
51384 cat >>conftest.$ac_ext <<_ACEOF
51385 /* end confdefs.h. */
51386 #include <setjmp.h>
51388 main ()
51390 sigjmp_buf env;
51391 while (! sigsetjmp (env, 1))
51392 siglongjmp (env, 1);
51395 return 0;
51397 _ACEOF
51398 rm -f conftest.$ac_objext
51399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51400 (eval $ac_compile) 2>conftest.er1
51401 ac_status=$?
51402 grep -v '^ *+' conftest.er1 >conftest.err
51403 rm -f conftest.er1
51404 cat conftest.err >&5
51405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406 (exit $ac_status); } &&
51407 { ac_try='test -z "$ac_c_werror_flag"
51408 || test ! -s conftest.err'
51409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51410 (eval $ac_try) 2>&5
51411 ac_status=$?
51412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51413 (exit $ac_status); }; } &&
51414 { ac_try='test -s conftest.$ac_objext'
51415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51416 (eval $ac_try) 2>&5
51417 ac_status=$?
51418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51419 (exit $ac_status); }; }; then
51421 cat >>confdefs.h <<\_ACEOF
51422 #define HAVE_SIGSETJMP 1
51423 _ACEOF
51425 else
51426 echo "$as_me: failed program was:" >&5
51427 sed 's/^/| /' conftest.$ac_ext >&5
51430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51432 cat >>confdefs.h <<\_ACEOF
51433 #define HAVE_MMAP 1
51434 _ACEOF
51438 *djgpp)
51459 for ac_header in float.h ieeefp.h inttypes.h locale.h \
51460 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
51461 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
51462 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
51464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51466 echo "$as_me:$LINENO: checking for $ac_header" >&5
51467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51469 echo $ECHO_N "(cached) $ECHO_C" >&6
51471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51473 else
51474 # Is the header compilable?
51475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51477 cat >conftest.$ac_ext <<_ACEOF
51478 /* confdefs.h. */
51479 _ACEOF
51480 cat confdefs.h >>conftest.$ac_ext
51481 cat >>conftest.$ac_ext <<_ACEOF
51482 /* end confdefs.h. */
51483 $ac_includes_default
51484 #include <$ac_header>
51485 _ACEOF
51486 rm -f conftest.$ac_objext
51487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51488 (eval $ac_compile) 2>conftest.er1
51489 ac_status=$?
51490 grep -v '^ *+' conftest.er1 >conftest.err
51491 rm -f conftest.er1
51492 cat conftest.err >&5
51493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51494 (exit $ac_status); } &&
51495 { ac_try='test -z "$ac_c_werror_flag"
51496 || test ! -s conftest.err'
51497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51498 (eval $ac_try) 2>&5
51499 ac_status=$?
51500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51501 (exit $ac_status); }; } &&
51502 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
51508 ac_header_compiler=yes
51509 else
51510 echo "$as_me: failed program was:" >&5
51511 sed 's/^/| /' conftest.$ac_ext >&5
51513 ac_header_compiler=no
51515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51517 echo "${ECHO_T}$ac_header_compiler" >&6
51519 # Is the header present?
51520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51522 cat >conftest.$ac_ext <<_ACEOF
51523 /* confdefs.h. */
51524 _ACEOF
51525 cat confdefs.h >>conftest.$ac_ext
51526 cat >>conftest.$ac_ext <<_ACEOF
51527 /* end confdefs.h. */
51528 #include <$ac_header>
51529 _ACEOF
51530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51532 ac_status=$?
51533 grep -v '^ *+' conftest.er1 >conftest.err
51534 rm -f conftest.er1
51535 cat conftest.err >&5
51536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51537 (exit $ac_status); } >/dev/null; then
51538 if test -s conftest.err; then
51539 ac_cpp_err=$ac_c_preproc_warn_flag
51540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51541 else
51542 ac_cpp_err=
51544 else
51545 ac_cpp_err=yes
51547 if test -z "$ac_cpp_err"; then
51548 ac_header_preproc=yes
51549 else
51550 echo "$as_me: failed program was:" >&5
51551 sed 's/^/| /' conftest.$ac_ext >&5
51553 ac_header_preproc=no
51555 rm -f conftest.err conftest.$ac_ext
51556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51557 echo "${ECHO_T}$ac_header_preproc" >&6
51559 # So? What about this header?
51560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51561 yes:no: )
51562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51566 ac_header_preproc=yes
51568 no:yes:* )
51569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51582 cat <<\_ASBOX
51583 ## ----------------------------------------- ##
51584 ## Report this to the package-unused lists. ##
51585 ## ----------------------------------------- ##
51586 _ASBOX
51588 sed "s/^/$as_me: WARNING: /" >&2
51590 esac
51591 echo "$as_me:$LINENO: checking for $ac_header" >&5
51592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51594 echo $ECHO_N "(cached) $ECHO_C" >&6
51595 else
51596 eval "$as_ac_Header=\$ac_header_preproc"
51598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51603 cat >>confdefs.h <<_ACEOF
51604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51605 _ACEOF
51609 done
51612 # All these tests are for C++; save the language and the compiler flags.
51613 # The CXXFLAGS thing is suspicious, but based on similar bits previously
51614 # found in GLIBCXX_CONFIGURE.
51617 ac_ext=cc
51618 ac_cpp='$CXXCPP $CPPFLAGS'
51619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51623 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51624 ac_save_CXXFLAGS="$CXXFLAGS"
51626 # Check for maintainer-mode bits.
51627 if test x"$USE_MAINTAINER_MODE" = xno; then
51628 WERROR=''
51629 else
51630 WERROR='-Werror'
51633 # Check for -ffunction-sections -fdata-sections
51634 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
51635 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
51636 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
51637 cat >conftest.$ac_ext <<_ACEOF
51638 /* confdefs.h. */
51639 _ACEOF
51640 cat confdefs.h >>conftest.$ac_ext
51641 cat >>conftest.$ac_ext <<_ACEOF
51642 /* end confdefs.h. */
51645 main ()
51647 int foo;
51649 return 0;
51651 _ACEOF
51652 rm -f conftest.$ac_objext
51653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51654 (eval $ac_compile) 2>conftest.er1
51655 ac_status=$?
51656 grep -v '^ *+' conftest.er1 >conftest.err
51657 rm -f conftest.er1
51658 cat conftest.err >&5
51659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51660 (exit $ac_status); } &&
51661 { ac_try='test -z "$ac_cxx_werror_flag"
51662 || test ! -s conftest.err'
51663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51664 (eval $ac_try) 2>&5
51665 ac_status=$?
51666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51667 (exit $ac_status); }; } &&
51668 { ac_try='test -s conftest.$ac_objext'
51669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51670 (eval $ac_try) 2>&5
51671 ac_status=$?
51672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51673 (exit $ac_status); }; }; then
51674 ac_fdsections=yes
51675 else
51676 echo "$as_me: failed program was:" >&5
51677 sed 's/^/| /' conftest.$ac_ext >&5
51679 ac_fdsections=no
51681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51682 if test "$ac_test_CXXFLAGS" = set; then
51683 CXXFLAGS="$ac_save_CXXFLAGS"
51684 else
51685 # this is the suspicious part
51686 CXXFLAGS=''
51688 if test x"$ac_fdsections" = x"yes"; then
51689 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51691 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
51692 echo "${ECHO_T}$ac_fdsections" >&6
51694 ac_ext=c
51695 ac_cpp='$CPP $CPPFLAGS'
51696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51704 # If we're not using GNU ld, then there's no point in even trying these
51705 # tests. Check for that first. We should have already tested for gld
51706 # by now (in libtool), but require it now just to be safe...
51707 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51708 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51712 # The name set by libtool depends on the version of libtool. Shame on us
51713 # for depending on an impl detail, but c'est la vie. Older versions used
51714 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51715 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51716 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51717 # set (hence we're using an older libtool), then set it.
51718 if test x${with_gnu_ld+set} != xset; then
51719 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51720 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51721 with_gnu_ld=no
51722 else
51723 with_gnu_ld=$ac_cv_prog_gnu_ld
51727 # Start by getting the version number. I think the libtool test already
51728 # does some of this, but throws away the result.
51730 ldver=`$LD --version 2>/dev/null | head -1 | \
51731 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51733 glibcxx_gnu_ld_version=`echo $ldver | \
51734 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51736 # Set --gc-sections.
51737 if test "$with_gnu_ld" = "notbroken"; then
51738 # GNU ld it is! Joy and bunny rabbits!
51740 # All these tests are for C++; save the language and the compiler flags.
51741 # Need to do this so that g++ won't try to link in libstdc++
51742 ac_test_CFLAGS="${CFLAGS+set}"
51743 ac_save_CFLAGS="$CFLAGS"
51744 CFLAGS='-x c++ -Wl,--gc-sections'
51746 # Check for -Wl,--gc-sections
51747 # XXX This test is broken at the moment, as symbols required for linking
51748 # are now in libsupc++ (not built yet). In addition, this test has
51749 # cored on solaris in the past. In addition, --gc-sections doesn't
51750 # really work at the moment (keeps on discarding used sections, first
51751 # .eh_frame and now some of the glibc sections for iconv).
51752 # Bzzzzt. Thanks for playing, maybe next time.
51753 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51754 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51755 if test "$cross_compiling" = yes; then
51756 ac_sectionLDflags=yes
51757 else
51758 cat >conftest.$ac_ext <<_ACEOF
51759 /* confdefs.h. */
51760 _ACEOF
51761 cat confdefs.h >>conftest.$ac_ext
51762 cat >>conftest.$ac_ext <<_ACEOF
51763 /* end confdefs.h. */
51765 int main(void)
51767 try { throw 1; }
51768 catch (...) { };
51769 return 0;
51772 _ACEOF
51773 rm -f conftest$ac_exeext
51774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51775 (eval $ac_link) 2>&5
51776 ac_status=$?
51777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51780 (eval $ac_try) 2>&5
51781 ac_status=$?
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); }; }; then
51784 ac_sectionLDflags=yes
51785 else
51786 echo "$as_me: program exited with status $ac_status" >&5
51787 echo "$as_me: failed program was:" >&5
51788 sed 's/^/| /' conftest.$ac_ext >&5
51790 ( exit $ac_status )
51791 ac_sectionLDflags=no
51793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51795 if test "$ac_test_CFLAGS" = set; then
51796 CFLAGS="$ac_save_CFLAGS"
51797 else
51798 # this is the suspicious part
51799 CFLAGS=''
51801 if test "$ac_sectionLDflags" = "yes"; then
51802 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51804 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51805 echo "${ECHO_T}$ac_sectionLDflags" >&6
51808 # Set linker optimization flags.
51809 if test x"$with_gnu_ld" = x"yes"; then
51810 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51817 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51818 ac_save_CXXFLAGS="$CXXFLAGS"
51819 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51821 echo "$as_me:$LINENO: checking for sin in -lm" >&5
51822 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
51823 if test "${ac_cv_lib_m_sin+set}" = set; then
51824 echo $ECHO_N "(cached) $ECHO_C" >&6
51825 else
51826 ac_check_lib_save_LIBS=$LIBS
51827 LIBS="-lm $LIBS"
51828 if test x$gcc_no_link = xyes; then
51829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51831 { (exit 1); exit 1; }; }
51833 cat >conftest.$ac_ext <<_ACEOF
51834 /* confdefs.h. */
51835 _ACEOF
51836 cat confdefs.h >>conftest.$ac_ext
51837 cat >>conftest.$ac_ext <<_ACEOF
51838 /* end confdefs.h. */
51840 /* Override any gcc2 internal prototype to avoid an error. */
51841 #ifdef __cplusplus
51842 extern "C"
51843 #endif
51844 /* We use char because int might match the return type of a gcc2
51845 builtin and then its argument prototype would still apply. */
51846 char sin ();
51848 main ()
51850 sin ();
51852 return 0;
51854 _ACEOF
51855 rm -f conftest.$ac_objext conftest$ac_exeext
51856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51857 (eval $ac_link) 2>conftest.er1
51858 ac_status=$?
51859 grep -v '^ *+' conftest.er1 >conftest.err
51860 rm -f conftest.er1
51861 cat conftest.err >&5
51862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51863 (exit $ac_status); } &&
51864 { ac_try='test -z "$ac_c_werror_flag"
51865 || test ! -s conftest.err'
51866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51867 (eval $ac_try) 2>&5
51868 ac_status=$?
51869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51870 (exit $ac_status); }; } &&
51871 { ac_try='test -s conftest$ac_exeext'
51872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51873 (eval $ac_try) 2>&5
51874 ac_status=$?
51875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51876 (exit $ac_status); }; }; then
51877 ac_cv_lib_m_sin=yes
51878 else
51879 echo "$as_me: failed program was:" >&5
51880 sed 's/^/| /' conftest.$ac_ext >&5
51882 ac_cv_lib_m_sin=no
51884 rm -f conftest.err conftest.$ac_objext \
51885 conftest$ac_exeext conftest.$ac_ext
51886 LIBS=$ac_check_lib_save_LIBS
51888 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
51889 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
51890 if test $ac_cv_lib_m_sin = yes; then
51891 libm="-lm"
51894 ac_save_LIBS="$LIBS"
51895 LIBS="$LIBS $libm"
51899 echo "$as_me:$LINENO: checking for isinf declaration" >&5
51900 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
51901 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51902 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
51903 echo $ECHO_N "(cached) $ECHO_C" >&6
51904 else
51908 ac_ext=cc
51909 ac_cpp='$CXXCPP $CPPFLAGS'
51910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51914 cat >conftest.$ac_ext <<_ACEOF
51915 /* confdefs.h. */
51916 _ACEOF
51917 cat confdefs.h >>conftest.$ac_ext
51918 cat >>conftest.$ac_ext <<_ACEOF
51919 /* end confdefs.h. */
51920 #include <math.h>
51921 #ifdef HAVE_IEEEFP_H
51922 #include <ieeefp.h>
51923 #endif
51926 main ()
51928 isinf(0);
51930 return 0;
51932 _ACEOF
51933 rm -f conftest.$ac_objext
51934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51935 (eval $ac_compile) 2>conftest.er1
51936 ac_status=$?
51937 grep -v '^ *+' conftest.er1 >conftest.err
51938 rm -f conftest.er1
51939 cat conftest.err >&5
51940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941 (exit $ac_status); } &&
51942 { ac_try='test -z "$ac_cxx_werror_flag"
51943 || test ! -s conftest.err'
51944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51945 (eval $ac_try) 2>&5
51946 ac_status=$?
51947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51948 (exit $ac_status); }; } &&
51949 { ac_try='test -s conftest.$ac_objext'
51950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51951 (eval $ac_try) 2>&5
51952 ac_status=$?
51953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51954 (exit $ac_status); }; }; then
51955 glibcxx_cv_func_isinf_use=yes
51956 else
51957 echo "$as_me: failed program was:" >&5
51958 sed 's/^/| /' conftest.$ac_ext >&5
51960 glibcxx_cv_func_isinf_use=no
51962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51963 ac_ext=c
51964 ac_cpp='$CPP $CPPFLAGS'
51965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
51974 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
51976 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51978 for ac_func in isinf
51980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51981 echo "$as_me:$LINENO: checking for $ac_func" >&5
51982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51983 if eval "test \"\${$as_ac_var+set}\" = set"; then
51984 echo $ECHO_N "(cached) $ECHO_C" >&6
51985 else
51986 if test x$gcc_no_link = xyes; then
51987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51989 { (exit 1); exit 1; }; }
51991 cat >conftest.$ac_ext <<_ACEOF
51992 /* confdefs.h. */
51993 _ACEOF
51994 cat confdefs.h >>conftest.$ac_ext
51995 cat >>conftest.$ac_ext <<_ACEOF
51996 /* end confdefs.h. */
51997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51999 #define $ac_func innocuous_$ac_func
52001 /* System header to define __stub macros and hopefully few prototypes,
52002 which can conflict with char $ac_func (); below.
52003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52004 <limits.h> exists even on freestanding compilers. */
52006 #ifdef __STDC__
52007 # include <limits.h>
52008 #else
52009 # include <assert.h>
52010 #endif
52012 #undef $ac_func
52014 /* Override any gcc2 internal prototype to avoid an error. */
52015 #ifdef __cplusplus
52016 extern "C"
52018 #endif
52019 /* We use char because int might match the return type of a gcc2
52020 builtin and then its argument prototype would still apply. */
52021 char $ac_func ();
52022 /* The GNU C library defines this for functions which it implements
52023 to always fail with ENOSYS. Some functions are actually named
52024 something starting with __ and the normal name is an alias. */
52025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52026 choke me
52027 #else
52028 char (*f) () = $ac_func;
52029 #endif
52030 #ifdef __cplusplus
52032 #endif
52035 main ()
52037 return f != $ac_func;
52039 return 0;
52041 _ACEOF
52042 rm -f conftest.$ac_objext conftest$ac_exeext
52043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52044 (eval $ac_link) 2>conftest.er1
52045 ac_status=$?
52046 grep -v '^ *+' conftest.er1 >conftest.err
52047 rm -f conftest.er1
52048 cat conftest.err >&5
52049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52050 (exit $ac_status); } &&
52051 { ac_try='test -z "$ac_c_werror_flag"
52052 || test ! -s conftest.err'
52053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52054 (eval $ac_try) 2>&5
52055 ac_status=$?
52056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52057 (exit $ac_status); }; } &&
52058 { ac_try='test -s conftest$ac_exeext'
52059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52060 (eval $ac_try) 2>&5
52061 ac_status=$?
52062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52063 (exit $ac_status); }; }; then
52064 eval "$as_ac_var=yes"
52065 else
52066 echo "$as_me: failed program was:" >&5
52067 sed 's/^/| /' conftest.$ac_ext >&5
52069 eval "$as_ac_var=no"
52071 rm -f conftest.err conftest.$ac_objext \
52072 conftest$ac_exeext conftest.$ac_ext
52074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52076 if test `eval echo '${'$as_ac_var'}'` = yes; then
52077 cat >>confdefs.h <<_ACEOF
52078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52079 _ACEOF
52082 done
52084 else
52086 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
52087 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
52088 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52089 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
52090 echo $ECHO_N "(cached) $ECHO_C" >&6
52091 else
52095 ac_ext=cc
52096 ac_cpp='$CXXCPP $CPPFLAGS'
52097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52101 cat >conftest.$ac_ext <<_ACEOF
52102 /* confdefs.h. */
52103 _ACEOF
52104 cat confdefs.h >>conftest.$ac_ext
52105 cat >>conftest.$ac_ext <<_ACEOF
52106 /* end confdefs.h. */
52107 #include <math.h>
52108 #ifdef HAVE_IEEEFP_H
52109 #include <ieeefp.h>
52110 #endif
52113 main ()
52115 _isinf(0);
52117 return 0;
52119 _ACEOF
52120 rm -f conftest.$ac_objext
52121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52122 (eval $ac_compile) 2>conftest.er1
52123 ac_status=$?
52124 grep -v '^ *+' conftest.er1 >conftest.err
52125 rm -f conftest.er1
52126 cat conftest.err >&5
52127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52128 (exit $ac_status); } &&
52129 { ac_try='test -z "$ac_cxx_werror_flag"
52130 || test ! -s conftest.err'
52131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52132 (eval $ac_try) 2>&5
52133 ac_status=$?
52134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52135 (exit $ac_status); }; } &&
52136 { ac_try='test -s conftest.$ac_objext'
52137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52138 (eval $ac_try) 2>&5
52139 ac_status=$?
52140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52141 (exit $ac_status); }; }; then
52142 glibcxx_cv_func__isinf_use=yes
52143 else
52144 echo "$as_me: failed program was:" >&5
52145 sed 's/^/| /' conftest.$ac_ext >&5
52147 glibcxx_cv_func__isinf_use=no
52149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52150 ac_ext=c
52151 ac_cpp='$CPP $CPPFLAGS'
52152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
52161 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
52163 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52165 for ac_func in _isinf
52167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52168 echo "$as_me:$LINENO: checking for $ac_func" >&5
52169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52170 if eval "test \"\${$as_ac_var+set}\" = set"; then
52171 echo $ECHO_N "(cached) $ECHO_C" >&6
52172 else
52173 if test x$gcc_no_link = xyes; then
52174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52176 { (exit 1); exit 1; }; }
52178 cat >conftest.$ac_ext <<_ACEOF
52179 /* confdefs.h. */
52180 _ACEOF
52181 cat confdefs.h >>conftest.$ac_ext
52182 cat >>conftest.$ac_ext <<_ACEOF
52183 /* end confdefs.h. */
52184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52186 #define $ac_func innocuous_$ac_func
52188 /* System header to define __stub macros and hopefully few prototypes,
52189 which can conflict with char $ac_func (); below.
52190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52191 <limits.h> exists even on freestanding compilers. */
52193 #ifdef __STDC__
52194 # include <limits.h>
52195 #else
52196 # include <assert.h>
52197 #endif
52199 #undef $ac_func
52201 /* Override any gcc2 internal prototype to avoid an error. */
52202 #ifdef __cplusplus
52203 extern "C"
52205 #endif
52206 /* We use char because int might match the return type of a gcc2
52207 builtin and then its argument prototype would still apply. */
52208 char $ac_func ();
52209 /* The GNU C library defines this for functions which it implements
52210 to always fail with ENOSYS. Some functions are actually named
52211 something starting with __ and the normal name is an alias. */
52212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52213 choke me
52214 #else
52215 char (*f) () = $ac_func;
52216 #endif
52217 #ifdef __cplusplus
52219 #endif
52222 main ()
52224 return f != $ac_func;
52226 return 0;
52228 _ACEOF
52229 rm -f conftest.$ac_objext conftest$ac_exeext
52230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52231 (eval $ac_link) 2>conftest.er1
52232 ac_status=$?
52233 grep -v '^ *+' conftest.er1 >conftest.err
52234 rm -f conftest.er1
52235 cat conftest.err >&5
52236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237 (exit $ac_status); } &&
52238 { ac_try='test -z "$ac_c_werror_flag"
52239 || test ! -s conftest.err'
52240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52241 (eval $ac_try) 2>&5
52242 ac_status=$?
52243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52244 (exit $ac_status); }; } &&
52245 { ac_try='test -s conftest$ac_exeext'
52246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52247 (eval $ac_try) 2>&5
52248 ac_status=$?
52249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52250 (exit $ac_status); }; }; then
52251 eval "$as_ac_var=yes"
52252 else
52253 echo "$as_me: failed program was:" >&5
52254 sed 's/^/| /' conftest.$ac_ext >&5
52256 eval "$as_ac_var=no"
52258 rm -f conftest.err conftest.$ac_objext \
52259 conftest$ac_exeext conftest.$ac_ext
52261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52263 if test `eval echo '${'$as_ac_var'}'` = yes; then
52264 cat >>confdefs.h <<_ACEOF
52265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52266 _ACEOF
52269 done
52276 echo "$as_me:$LINENO: checking for isnan declaration" >&5
52277 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
52278 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52279 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
52280 echo $ECHO_N "(cached) $ECHO_C" >&6
52281 else
52285 ac_ext=cc
52286 ac_cpp='$CXXCPP $CPPFLAGS'
52287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52291 cat >conftest.$ac_ext <<_ACEOF
52292 /* confdefs.h. */
52293 _ACEOF
52294 cat confdefs.h >>conftest.$ac_ext
52295 cat >>conftest.$ac_ext <<_ACEOF
52296 /* end confdefs.h. */
52297 #include <math.h>
52298 #ifdef HAVE_IEEEFP_H
52299 #include <ieeefp.h>
52300 #endif
52303 main ()
52305 isnan(0);
52307 return 0;
52309 _ACEOF
52310 rm -f conftest.$ac_objext
52311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52312 (eval $ac_compile) 2>conftest.er1
52313 ac_status=$?
52314 grep -v '^ *+' conftest.er1 >conftest.err
52315 rm -f conftest.er1
52316 cat conftest.err >&5
52317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52318 (exit $ac_status); } &&
52319 { ac_try='test -z "$ac_cxx_werror_flag"
52320 || test ! -s conftest.err'
52321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52322 (eval $ac_try) 2>&5
52323 ac_status=$?
52324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52325 (exit $ac_status); }; } &&
52326 { ac_try='test -s conftest.$ac_objext'
52327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52328 (eval $ac_try) 2>&5
52329 ac_status=$?
52330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52331 (exit $ac_status); }; }; then
52332 glibcxx_cv_func_isnan_use=yes
52333 else
52334 echo "$as_me: failed program was:" >&5
52335 sed 's/^/| /' conftest.$ac_ext >&5
52337 glibcxx_cv_func_isnan_use=no
52339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52340 ac_ext=c
52341 ac_cpp='$CPP $CPPFLAGS'
52342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
52351 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
52353 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52355 for ac_func in isnan
52357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52358 echo "$as_me:$LINENO: checking for $ac_func" >&5
52359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52360 if eval "test \"\${$as_ac_var+set}\" = set"; then
52361 echo $ECHO_N "(cached) $ECHO_C" >&6
52362 else
52363 if test x$gcc_no_link = xyes; then
52364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52366 { (exit 1); exit 1; }; }
52368 cat >conftest.$ac_ext <<_ACEOF
52369 /* confdefs.h. */
52370 _ACEOF
52371 cat confdefs.h >>conftest.$ac_ext
52372 cat >>conftest.$ac_ext <<_ACEOF
52373 /* end confdefs.h. */
52374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52376 #define $ac_func innocuous_$ac_func
52378 /* System header to define __stub macros and hopefully few prototypes,
52379 which can conflict with char $ac_func (); below.
52380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52381 <limits.h> exists even on freestanding compilers. */
52383 #ifdef __STDC__
52384 # include <limits.h>
52385 #else
52386 # include <assert.h>
52387 #endif
52389 #undef $ac_func
52391 /* Override any gcc2 internal prototype to avoid an error. */
52392 #ifdef __cplusplus
52393 extern "C"
52395 #endif
52396 /* We use char because int might match the return type of a gcc2
52397 builtin and then its argument prototype would still apply. */
52398 char $ac_func ();
52399 /* The GNU C library defines this for functions which it implements
52400 to always fail with ENOSYS. Some functions are actually named
52401 something starting with __ and the normal name is an alias. */
52402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52403 choke me
52404 #else
52405 char (*f) () = $ac_func;
52406 #endif
52407 #ifdef __cplusplus
52409 #endif
52412 main ()
52414 return f != $ac_func;
52416 return 0;
52418 _ACEOF
52419 rm -f conftest.$ac_objext conftest$ac_exeext
52420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52421 (eval $ac_link) 2>conftest.er1
52422 ac_status=$?
52423 grep -v '^ *+' conftest.er1 >conftest.err
52424 rm -f conftest.er1
52425 cat conftest.err >&5
52426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52427 (exit $ac_status); } &&
52428 { ac_try='test -z "$ac_c_werror_flag"
52429 || test ! -s conftest.err'
52430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52431 (eval $ac_try) 2>&5
52432 ac_status=$?
52433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52434 (exit $ac_status); }; } &&
52435 { ac_try='test -s conftest$ac_exeext'
52436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52437 (eval $ac_try) 2>&5
52438 ac_status=$?
52439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52440 (exit $ac_status); }; }; then
52441 eval "$as_ac_var=yes"
52442 else
52443 echo "$as_me: failed program was:" >&5
52444 sed 's/^/| /' conftest.$ac_ext >&5
52446 eval "$as_ac_var=no"
52448 rm -f conftest.err conftest.$ac_objext \
52449 conftest$ac_exeext conftest.$ac_ext
52451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52453 if test `eval echo '${'$as_ac_var'}'` = yes; then
52454 cat >>confdefs.h <<_ACEOF
52455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52456 _ACEOF
52459 done
52461 else
52463 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
52464 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
52465 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52466 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
52467 echo $ECHO_N "(cached) $ECHO_C" >&6
52468 else
52472 ac_ext=cc
52473 ac_cpp='$CXXCPP $CPPFLAGS'
52474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52478 cat >conftest.$ac_ext <<_ACEOF
52479 /* confdefs.h. */
52480 _ACEOF
52481 cat confdefs.h >>conftest.$ac_ext
52482 cat >>conftest.$ac_ext <<_ACEOF
52483 /* end confdefs.h. */
52484 #include <math.h>
52485 #ifdef HAVE_IEEEFP_H
52486 #include <ieeefp.h>
52487 #endif
52490 main ()
52492 _isnan(0);
52494 return 0;
52496 _ACEOF
52497 rm -f conftest.$ac_objext
52498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52499 (eval $ac_compile) 2>conftest.er1
52500 ac_status=$?
52501 grep -v '^ *+' conftest.er1 >conftest.err
52502 rm -f conftest.er1
52503 cat conftest.err >&5
52504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505 (exit $ac_status); } &&
52506 { ac_try='test -z "$ac_cxx_werror_flag"
52507 || test ! -s conftest.err'
52508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52509 (eval $ac_try) 2>&5
52510 ac_status=$?
52511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52512 (exit $ac_status); }; } &&
52513 { ac_try='test -s conftest.$ac_objext'
52514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52515 (eval $ac_try) 2>&5
52516 ac_status=$?
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); }; }; then
52519 glibcxx_cv_func__isnan_use=yes
52520 else
52521 echo "$as_me: failed program was:" >&5
52522 sed 's/^/| /' conftest.$ac_ext >&5
52524 glibcxx_cv_func__isnan_use=no
52526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52527 ac_ext=c
52528 ac_cpp='$CPP $CPPFLAGS'
52529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
52538 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
52540 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52542 for ac_func in _isnan
52544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52545 echo "$as_me:$LINENO: checking for $ac_func" >&5
52546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52547 if eval "test \"\${$as_ac_var+set}\" = set"; then
52548 echo $ECHO_N "(cached) $ECHO_C" >&6
52549 else
52550 if test x$gcc_no_link = xyes; then
52551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52553 { (exit 1); exit 1; }; }
52555 cat >conftest.$ac_ext <<_ACEOF
52556 /* confdefs.h. */
52557 _ACEOF
52558 cat confdefs.h >>conftest.$ac_ext
52559 cat >>conftest.$ac_ext <<_ACEOF
52560 /* end confdefs.h. */
52561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52563 #define $ac_func innocuous_$ac_func
52565 /* System header to define __stub macros and hopefully few prototypes,
52566 which can conflict with char $ac_func (); below.
52567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52568 <limits.h> exists even on freestanding compilers. */
52570 #ifdef __STDC__
52571 # include <limits.h>
52572 #else
52573 # include <assert.h>
52574 #endif
52576 #undef $ac_func
52578 /* Override any gcc2 internal prototype to avoid an error. */
52579 #ifdef __cplusplus
52580 extern "C"
52582 #endif
52583 /* We use char because int might match the return type of a gcc2
52584 builtin and then its argument prototype would still apply. */
52585 char $ac_func ();
52586 /* The GNU C library defines this for functions which it implements
52587 to always fail with ENOSYS. Some functions are actually named
52588 something starting with __ and the normal name is an alias. */
52589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52590 choke me
52591 #else
52592 char (*f) () = $ac_func;
52593 #endif
52594 #ifdef __cplusplus
52596 #endif
52599 main ()
52601 return f != $ac_func;
52603 return 0;
52605 _ACEOF
52606 rm -f conftest.$ac_objext conftest$ac_exeext
52607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52608 (eval $ac_link) 2>conftest.er1
52609 ac_status=$?
52610 grep -v '^ *+' conftest.er1 >conftest.err
52611 rm -f conftest.er1
52612 cat conftest.err >&5
52613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52614 (exit $ac_status); } &&
52615 { ac_try='test -z "$ac_c_werror_flag"
52616 || test ! -s conftest.err'
52617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52618 (eval $ac_try) 2>&5
52619 ac_status=$?
52620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52621 (exit $ac_status); }; } &&
52622 { ac_try='test -s conftest$ac_exeext'
52623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52624 (eval $ac_try) 2>&5
52625 ac_status=$?
52626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52627 (exit $ac_status); }; }; then
52628 eval "$as_ac_var=yes"
52629 else
52630 echo "$as_me: failed program was:" >&5
52631 sed 's/^/| /' conftest.$ac_ext >&5
52633 eval "$as_ac_var=no"
52635 rm -f conftest.err conftest.$ac_objext \
52636 conftest$ac_exeext conftest.$ac_ext
52638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52640 if test `eval echo '${'$as_ac_var'}'` = yes; then
52641 cat >>confdefs.h <<_ACEOF
52642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52643 _ACEOF
52646 done
52653 echo "$as_me:$LINENO: checking for finite declaration" >&5
52654 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
52655 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52656 if test "${glibcxx_cv_func_finite_use+set}" = set; then
52657 echo $ECHO_N "(cached) $ECHO_C" >&6
52658 else
52662 ac_ext=cc
52663 ac_cpp='$CXXCPP $CPPFLAGS'
52664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52668 cat >conftest.$ac_ext <<_ACEOF
52669 /* confdefs.h. */
52670 _ACEOF
52671 cat confdefs.h >>conftest.$ac_ext
52672 cat >>conftest.$ac_ext <<_ACEOF
52673 /* end confdefs.h. */
52674 #include <math.h>
52675 #ifdef HAVE_IEEEFP_H
52676 #include <ieeefp.h>
52677 #endif
52680 main ()
52682 finite(0);
52684 return 0;
52686 _ACEOF
52687 rm -f conftest.$ac_objext
52688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52689 (eval $ac_compile) 2>conftest.er1
52690 ac_status=$?
52691 grep -v '^ *+' conftest.er1 >conftest.err
52692 rm -f conftest.er1
52693 cat conftest.err >&5
52694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52695 (exit $ac_status); } &&
52696 { ac_try='test -z "$ac_cxx_werror_flag"
52697 || test ! -s conftest.err'
52698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52699 (eval $ac_try) 2>&5
52700 ac_status=$?
52701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52702 (exit $ac_status); }; } &&
52703 { ac_try='test -s conftest.$ac_objext'
52704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52705 (eval $ac_try) 2>&5
52706 ac_status=$?
52707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52708 (exit $ac_status); }; }; then
52709 glibcxx_cv_func_finite_use=yes
52710 else
52711 echo "$as_me: failed program was:" >&5
52712 sed 's/^/| /' conftest.$ac_ext >&5
52714 glibcxx_cv_func_finite_use=no
52716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52717 ac_ext=c
52718 ac_cpp='$CPP $CPPFLAGS'
52719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
52728 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
52730 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52732 for ac_func in finite
52734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52735 echo "$as_me:$LINENO: checking for $ac_func" >&5
52736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52737 if eval "test \"\${$as_ac_var+set}\" = set"; then
52738 echo $ECHO_N "(cached) $ECHO_C" >&6
52739 else
52740 if test x$gcc_no_link = xyes; then
52741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52743 { (exit 1); exit 1; }; }
52745 cat >conftest.$ac_ext <<_ACEOF
52746 /* confdefs.h. */
52747 _ACEOF
52748 cat confdefs.h >>conftest.$ac_ext
52749 cat >>conftest.$ac_ext <<_ACEOF
52750 /* end confdefs.h. */
52751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52753 #define $ac_func innocuous_$ac_func
52755 /* System header to define __stub macros and hopefully few prototypes,
52756 which can conflict with char $ac_func (); below.
52757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52758 <limits.h> exists even on freestanding compilers. */
52760 #ifdef __STDC__
52761 # include <limits.h>
52762 #else
52763 # include <assert.h>
52764 #endif
52766 #undef $ac_func
52768 /* Override any gcc2 internal prototype to avoid an error. */
52769 #ifdef __cplusplus
52770 extern "C"
52772 #endif
52773 /* We use char because int might match the return type of a gcc2
52774 builtin and then its argument prototype would still apply. */
52775 char $ac_func ();
52776 /* The GNU C library defines this for functions which it implements
52777 to always fail with ENOSYS. Some functions are actually named
52778 something starting with __ and the normal name is an alias. */
52779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52780 choke me
52781 #else
52782 char (*f) () = $ac_func;
52783 #endif
52784 #ifdef __cplusplus
52786 #endif
52789 main ()
52791 return f != $ac_func;
52793 return 0;
52795 _ACEOF
52796 rm -f conftest.$ac_objext conftest$ac_exeext
52797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52798 (eval $ac_link) 2>conftest.er1
52799 ac_status=$?
52800 grep -v '^ *+' conftest.er1 >conftest.err
52801 rm -f conftest.er1
52802 cat conftest.err >&5
52803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52804 (exit $ac_status); } &&
52805 { ac_try='test -z "$ac_c_werror_flag"
52806 || test ! -s conftest.err'
52807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52808 (eval $ac_try) 2>&5
52809 ac_status=$?
52810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52811 (exit $ac_status); }; } &&
52812 { ac_try='test -s conftest$ac_exeext'
52813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52814 (eval $ac_try) 2>&5
52815 ac_status=$?
52816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52817 (exit $ac_status); }; }; then
52818 eval "$as_ac_var=yes"
52819 else
52820 echo "$as_me: failed program was:" >&5
52821 sed 's/^/| /' conftest.$ac_ext >&5
52823 eval "$as_ac_var=no"
52825 rm -f conftest.err conftest.$ac_objext \
52826 conftest$ac_exeext conftest.$ac_ext
52828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52830 if test `eval echo '${'$as_ac_var'}'` = yes; then
52831 cat >>confdefs.h <<_ACEOF
52832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52833 _ACEOF
52836 done
52838 else
52840 echo "$as_me:$LINENO: checking for _finite declaration" >&5
52841 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
52842 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52843 if test "${glibcxx_cv_func__finite_use+set}" = set; then
52844 echo $ECHO_N "(cached) $ECHO_C" >&6
52845 else
52849 ac_ext=cc
52850 ac_cpp='$CXXCPP $CPPFLAGS'
52851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52855 cat >conftest.$ac_ext <<_ACEOF
52856 /* confdefs.h. */
52857 _ACEOF
52858 cat confdefs.h >>conftest.$ac_ext
52859 cat >>conftest.$ac_ext <<_ACEOF
52860 /* end confdefs.h. */
52861 #include <math.h>
52862 #ifdef HAVE_IEEEFP_H
52863 #include <ieeefp.h>
52864 #endif
52867 main ()
52869 _finite(0);
52871 return 0;
52873 _ACEOF
52874 rm -f conftest.$ac_objext
52875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52876 (eval $ac_compile) 2>conftest.er1
52877 ac_status=$?
52878 grep -v '^ *+' conftest.er1 >conftest.err
52879 rm -f conftest.er1
52880 cat conftest.err >&5
52881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52882 (exit $ac_status); } &&
52883 { ac_try='test -z "$ac_cxx_werror_flag"
52884 || test ! -s conftest.err'
52885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52886 (eval $ac_try) 2>&5
52887 ac_status=$?
52888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889 (exit $ac_status); }; } &&
52890 { ac_try='test -s conftest.$ac_objext'
52891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52892 (eval $ac_try) 2>&5
52893 ac_status=$?
52894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52895 (exit $ac_status); }; }; then
52896 glibcxx_cv_func__finite_use=yes
52897 else
52898 echo "$as_me: failed program was:" >&5
52899 sed 's/^/| /' conftest.$ac_ext >&5
52901 glibcxx_cv_func__finite_use=no
52903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52904 ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
52915 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
52917 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52919 for ac_func in _finite
52921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52922 echo "$as_me:$LINENO: checking for $ac_func" >&5
52923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52924 if eval "test \"\${$as_ac_var+set}\" = set"; then
52925 echo $ECHO_N "(cached) $ECHO_C" >&6
52926 else
52927 if test x$gcc_no_link = xyes; then
52928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52930 { (exit 1); exit 1; }; }
52932 cat >conftest.$ac_ext <<_ACEOF
52933 /* confdefs.h. */
52934 _ACEOF
52935 cat confdefs.h >>conftest.$ac_ext
52936 cat >>conftest.$ac_ext <<_ACEOF
52937 /* end confdefs.h. */
52938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52940 #define $ac_func innocuous_$ac_func
52942 /* System header to define __stub macros and hopefully few prototypes,
52943 which can conflict with char $ac_func (); below.
52944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52945 <limits.h> exists even on freestanding compilers. */
52947 #ifdef __STDC__
52948 # include <limits.h>
52949 #else
52950 # include <assert.h>
52951 #endif
52953 #undef $ac_func
52955 /* Override any gcc2 internal prototype to avoid an error. */
52956 #ifdef __cplusplus
52957 extern "C"
52959 #endif
52960 /* We use char because int might match the return type of a gcc2
52961 builtin and then its argument prototype would still apply. */
52962 char $ac_func ();
52963 /* The GNU C library defines this for functions which it implements
52964 to always fail with ENOSYS. Some functions are actually named
52965 something starting with __ and the normal name is an alias. */
52966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52967 choke me
52968 #else
52969 char (*f) () = $ac_func;
52970 #endif
52971 #ifdef __cplusplus
52973 #endif
52976 main ()
52978 return f != $ac_func;
52980 return 0;
52982 _ACEOF
52983 rm -f conftest.$ac_objext conftest$ac_exeext
52984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52985 (eval $ac_link) 2>conftest.er1
52986 ac_status=$?
52987 grep -v '^ *+' conftest.er1 >conftest.err
52988 rm -f conftest.er1
52989 cat conftest.err >&5
52990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52991 (exit $ac_status); } &&
52992 { ac_try='test -z "$ac_c_werror_flag"
52993 || test ! -s conftest.err'
52994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52995 (eval $ac_try) 2>&5
52996 ac_status=$?
52997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52998 (exit $ac_status); }; } &&
52999 { ac_try='test -s conftest$ac_exeext'
53000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53001 (eval $ac_try) 2>&5
53002 ac_status=$?
53003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53004 (exit $ac_status); }; }; then
53005 eval "$as_ac_var=yes"
53006 else
53007 echo "$as_me: failed program was:" >&5
53008 sed 's/^/| /' conftest.$ac_ext >&5
53010 eval "$as_ac_var=no"
53012 rm -f conftest.err conftest.$ac_objext \
53013 conftest$ac_exeext conftest.$ac_ext
53015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53017 if test `eval echo '${'$as_ac_var'}'` = yes; then
53018 cat >>confdefs.h <<_ACEOF
53019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53020 _ACEOF
53023 done
53030 echo "$as_me:$LINENO: checking for copysign declaration" >&5
53031 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
53032 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
53033 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
53034 echo $ECHO_N "(cached) $ECHO_C" >&6
53035 else
53039 ac_ext=cc
53040 ac_cpp='$CXXCPP $CPPFLAGS'
53041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53045 cat >conftest.$ac_ext <<_ACEOF
53046 /* confdefs.h. */
53047 _ACEOF
53048 cat confdefs.h >>conftest.$ac_ext
53049 cat >>conftest.$ac_ext <<_ACEOF
53050 /* end confdefs.h. */
53051 #include <math.h>
53053 main ()
53055 copysign(0, 0);
53057 return 0;
53059 _ACEOF
53060 rm -f conftest.$ac_objext
53061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53062 (eval $ac_compile) 2>conftest.er1
53063 ac_status=$?
53064 grep -v '^ *+' conftest.er1 >conftest.err
53065 rm -f conftest.er1
53066 cat conftest.err >&5
53067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53068 (exit $ac_status); } &&
53069 { ac_try='test -z "$ac_cxx_werror_flag"
53070 || test ! -s conftest.err'
53071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53072 (eval $ac_try) 2>&5
53073 ac_status=$?
53074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53075 (exit $ac_status); }; } &&
53076 { ac_try='test -s conftest.$ac_objext'
53077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53078 (eval $ac_try) 2>&5
53079 ac_status=$?
53080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53081 (exit $ac_status); }; }; then
53082 glibcxx_cv_func_copysign_use=yes
53083 else
53084 echo "$as_me: failed program was:" >&5
53085 sed 's/^/| /' conftest.$ac_ext >&5
53087 glibcxx_cv_func_copysign_use=no
53089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53090 ac_ext=c
53091 ac_cpp='$CPP $CPPFLAGS'
53092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
53101 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
53103 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
53105 for ac_func in copysign
53107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53108 echo "$as_me:$LINENO: checking for $ac_func" >&5
53109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53110 if eval "test \"\${$as_ac_var+set}\" = set"; then
53111 echo $ECHO_N "(cached) $ECHO_C" >&6
53112 else
53113 if test x$gcc_no_link = xyes; then
53114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53116 { (exit 1); exit 1; }; }
53118 cat >conftest.$ac_ext <<_ACEOF
53119 /* confdefs.h. */
53120 _ACEOF
53121 cat confdefs.h >>conftest.$ac_ext
53122 cat >>conftest.$ac_ext <<_ACEOF
53123 /* end confdefs.h. */
53124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53126 #define $ac_func innocuous_$ac_func
53128 /* System header to define __stub macros and hopefully few prototypes,
53129 which can conflict with char $ac_func (); below.
53130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53131 <limits.h> exists even on freestanding compilers. */
53133 #ifdef __STDC__
53134 # include <limits.h>
53135 #else
53136 # include <assert.h>
53137 #endif
53139 #undef $ac_func
53141 /* Override any gcc2 internal prototype to avoid an error. */
53142 #ifdef __cplusplus
53143 extern "C"
53145 #endif
53146 /* We use char because int might match the return type of a gcc2
53147 builtin and then its argument prototype would still apply. */
53148 char $ac_func ();
53149 /* The GNU C library defines this for functions which it implements
53150 to always fail with ENOSYS. Some functions are actually named
53151 something starting with __ and the normal name is an alias. */
53152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53153 choke me
53154 #else
53155 char (*f) () = $ac_func;
53156 #endif
53157 #ifdef __cplusplus
53159 #endif
53162 main ()
53164 return f != $ac_func;
53166 return 0;
53168 _ACEOF
53169 rm -f conftest.$ac_objext conftest$ac_exeext
53170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53171 (eval $ac_link) 2>conftest.er1
53172 ac_status=$?
53173 grep -v '^ *+' conftest.er1 >conftest.err
53174 rm -f conftest.er1
53175 cat conftest.err >&5
53176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53177 (exit $ac_status); } &&
53178 { ac_try='test -z "$ac_c_werror_flag"
53179 || test ! -s conftest.err'
53180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53181 (eval $ac_try) 2>&5
53182 ac_status=$?
53183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53184 (exit $ac_status); }; } &&
53185 { ac_try='test -s conftest$ac_exeext'
53186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53187 (eval $ac_try) 2>&5
53188 ac_status=$?
53189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53190 (exit $ac_status); }; }; then
53191 eval "$as_ac_var=yes"
53192 else
53193 echo "$as_me: failed program was:" >&5
53194 sed 's/^/| /' conftest.$ac_ext >&5
53196 eval "$as_ac_var=no"
53198 rm -f conftest.err conftest.$ac_objext \
53199 conftest$ac_exeext conftest.$ac_ext
53201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53203 if test `eval echo '${'$as_ac_var'}'` = yes; then
53204 cat >>confdefs.h <<_ACEOF
53205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53206 _ACEOF
53209 done
53211 else
53213 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
53214 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
53215 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
53216 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
53217 echo $ECHO_N "(cached) $ECHO_C" >&6
53218 else
53222 ac_ext=cc
53223 ac_cpp='$CXXCPP $CPPFLAGS'
53224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53228 cat >conftest.$ac_ext <<_ACEOF
53229 /* confdefs.h. */
53230 _ACEOF
53231 cat confdefs.h >>conftest.$ac_ext
53232 cat >>conftest.$ac_ext <<_ACEOF
53233 /* end confdefs.h. */
53234 #include <math.h>
53236 main ()
53238 _copysign(0, 0);
53240 return 0;
53242 _ACEOF
53243 rm -f conftest.$ac_objext
53244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53245 (eval $ac_compile) 2>conftest.er1
53246 ac_status=$?
53247 grep -v '^ *+' conftest.er1 >conftest.err
53248 rm -f conftest.er1
53249 cat conftest.err >&5
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); } &&
53252 { ac_try='test -z "$ac_cxx_werror_flag"
53253 || test ! -s conftest.err'
53254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53255 (eval $ac_try) 2>&5
53256 ac_status=$?
53257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53258 (exit $ac_status); }; } &&
53259 { ac_try='test -s conftest.$ac_objext'
53260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53261 (eval $ac_try) 2>&5
53262 ac_status=$?
53263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53264 (exit $ac_status); }; }; then
53265 glibcxx_cv_func__copysign_use=yes
53266 else
53267 echo "$as_me: failed program was:" >&5
53268 sed 's/^/| /' conftest.$ac_ext >&5
53270 glibcxx_cv_func__copysign_use=no
53272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53273 ac_ext=c
53274 ac_cpp='$CPP $CPPFLAGS'
53275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
53284 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
53286 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
53288 for ac_func in _copysign
53290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53291 echo "$as_me:$LINENO: checking for $ac_func" >&5
53292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53293 if eval "test \"\${$as_ac_var+set}\" = set"; then
53294 echo $ECHO_N "(cached) $ECHO_C" >&6
53295 else
53296 if test x$gcc_no_link = xyes; then
53297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53299 { (exit 1); exit 1; }; }
53301 cat >conftest.$ac_ext <<_ACEOF
53302 /* confdefs.h. */
53303 _ACEOF
53304 cat confdefs.h >>conftest.$ac_ext
53305 cat >>conftest.$ac_ext <<_ACEOF
53306 /* end confdefs.h. */
53307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53309 #define $ac_func innocuous_$ac_func
53311 /* System header to define __stub macros and hopefully few prototypes,
53312 which can conflict with char $ac_func (); below.
53313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53314 <limits.h> exists even on freestanding compilers. */
53316 #ifdef __STDC__
53317 # include <limits.h>
53318 #else
53319 # include <assert.h>
53320 #endif
53322 #undef $ac_func
53324 /* Override any gcc2 internal prototype to avoid an error. */
53325 #ifdef __cplusplus
53326 extern "C"
53328 #endif
53329 /* We use char because int might match the return type of a gcc2
53330 builtin and then its argument prototype would still apply. */
53331 char $ac_func ();
53332 /* The GNU C library defines this for functions which it implements
53333 to always fail with ENOSYS. Some functions are actually named
53334 something starting with __ and the normal name is an alias. */
53335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53336 choke me
53337 #else
53338 char (*f) () = $ac_func;
53339 #endif
53340 #ifdef __cplusplus
53342 #endif
53345 main ()
53347 return f != $ac_func;
53349 return 0;
53351 _ACEOF
53352 rm -f conftest.$ac_objext conftest$ac_exeext
53353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53354 (eval $ac_link) 2>conftest.er1
53355 ac_status=$?
53356 grep -v '^ *+' conftest.er1 >conftest.err
53357 rm -f conftest.er1
53358 cat conftest.err >&5
53359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53360 (exit $ac_status); } &&
53361 { ac_try='test -z "$ac_c_werror_flag"
53362 || test ! -s conftest.err'
53363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53364 (eval $ac_try) 2>&5
53365 ac_status=$?
53366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367 (exit $ac_status); }; } &&
53368 { ac_try='test -s conftest$ac_exeext'
53369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53370 (eval $ac_try) 2>&5
53371 ac_status=$?
53372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53373 (exit $ac_status); }; }; then
53374 eval "$as_ac_var=yes"
53375 else
53376 echo "$as_me: failed program was:" >&5
53377 sed 's/^/| /' conftest.$ac_ext >&5
53379 eval "$as_ac_var=no"
53381 rm -f conftest.err conftest.$ac_objext \
53382 conftest$ac_exeext conftest.$ac_ext
53384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53386 if test `eval echo '${'$as_ac_var'}'` = yes; then
53387 cat >>confdefs.h <<_ACEOF
53388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53389 _ACEOF
53392 done
53399 echo "$as_me:$LINENO: checking for sincos declaration" >&5
53400 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
53401 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53402 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
53403 echo $ECHO_N "(cached) $ECHO_C" >&6
53404 else
53408 ac_ext=cc
53409 ac_cpp='$CXXCPP $CPPFLAGS'
53410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53414 cat >conftest.$ac_ext <<_ACEOF
53415 /* confdefs.h. */
53416 _ACEOF
53417 cat confdefs.h >>conftest.$ac_ext
53418 cat >>conftest.$ac_ext <<_ACEOF
53419 /* end confdefs.h. */
53420 #include <math.h>
53422 main ()
53424 sincos(0, 0, 0);
53426 return 0;
53428 _ACEOF
53429 rm -f conftest.$ac_objext
53430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53431 (eval $ac_compile) 2>conftest.er1
53432 ac_status=$?
53433 grep -v '^ *+' conftest.er1 >conftest.err
53434 rm -f conftest.er1
53435 cat conftest.err >&5
53436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437 (exit $ac_status); } &&
53438 { ac_try='test -z "$ac_cxx_werror_flag"
53439 || test ! -s conftest.err'
53440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53441 (eval $ac_try) 2>&5
53442 ac_status=$?
53443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53444 (exit $ac_status); }; } &&
53445 { ac_try='test -s conftest.$ac_objext'
53446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53447 (eval $ac_try) 2>&5
53448 ac_status=$?
53449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53450 (exit $ac_status); }; }; then
53451 glibcxx_cv_func_sincos_use=yes
53452 else
53453 echo "$as_me: failed program was:" >&5
53454 sed 's/^/| /' conftest.$ac_ext >&5
53456 glibcxx_cv_func_sincos_use=no
53458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53459 ac_ext=c
53460 ac_cpp='$CPP $CPPFLAGS'
53461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
53470 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
53472 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53474 for ac_func in sincos
53476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53477 echo "$as_me:$LINENO: checking for $ac_func" >&5
53478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53479 if eval "test \"\${$as_ac_var+set}\" = set"; then
53480 echo $ECHO_N "(cached) $ECHO_C" >&6
53481 else
53482 if test x$gcc_no_link = xyes; then
53483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53485 { (exit 1); exit 1; }; }
53487 cat >conftest.$ac_ext <<_ACEOF
53488 /* confdefs.h. */
53489 _ACEOF
53490 cat confdefs.h >>conftest.$ac_ext
53491 cat >>conftest.$ac_ext <<_ACEOF
53492 /* end confdefs.h. */
53493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53495 #define $ac_func innocuous_$ac_func
53497 /* System header to define __stub macros and hopefully few prototypes,
53498 which can conflict with char $ac_func (); below.
53499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53500 <limits.h> exists even on freestanding compilers. */
53502 #ifdef __STDC__
53503 # include <limits.h>
53504 #else
53505 # include <assert.h>
53506 #endif
53508 #undef $ac_func
53510 /* Override any gcc2 internal prototype to avoid an error. */
53511 #ifdef __cplusplus
53512 extern "C"
53514 #endif
53515 /* We use char because int might match the return type of a gcc2
53516 builtin and then its argument prototype would still apply. */
53517 char $ac_func ();
53518 /* The GNU C library defines this for functions which it implements
53519 to always fail with ENOSYS. Some functions are actually named
53520 something starting with __ and the normal name is an alias. */
53521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53522 choke me
53523 #else
53524 char (*f) () = $ac_func;
53525 #endif
53526 #ifdef __cplusplus
53528 #endif
53531 main ()
53533 return f != $ac_func;
53535 return 0;
53537 _ACEOF
53538 rm -f conftest.$ac_objext conftest$ac_exeext
53539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53540 (eval $ac_link) 2>conftest.er1
53541 ac_status=$?
53542 grep -v '^ *+' conftest.er1 >conftest.err
53543 rm -f conftest.er1
53544 cat conftest.err >&5
53545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53546 (exit $ac_status); } &&
53547 { ac_try='test -z "$ac_c_werror_flag"
53548 || test ! -s conftest.err'
53549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53550 (eval $ac_try) 2>&5
53551 ac_status=$?
53552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553 (exit $ac_status); }; } &&
53554 { ac_try='test -s conftest$ac_exeext'
53555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53556 (eval $ac_try) 2>&5
53557 ac_status=$?
53558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53559 (exit $ac_status); }; }; then
53560 eval "$as_ac_var=yes"
53561 else
53562 echo "$as_me: failed program was:" >&5
53563 sed 's/^/| /' conftest.$ac_ext >&5
53565 eval "$as_ac_var=no"
53567 rm -f conftest.err conftest.$ac_objext \
53568 conftest$ac_exeext conftest.$ac_ext
53570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53572 if test `eval echo '${'$as_ac_var'}'` = yes; then
53573 cat >>confdefs.h <<_ACEOF
53574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53575 _ACEOF
53578 done
53580 else
53582 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
53583 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
53584 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53585 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
53586 echo $ECHO_N "(cached) $ECHO_C" >&6
53587 else
53591 ac_ext=cc
53592 ac_cpp='$CXXCPP $CPPFLAGS'
53593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53597 cat >conftest.$ac_ext <<_ACEOF
53598 /* confdefs.h. */
53599 _ACEOF
53600 cat confdefs.h >>conftest.$ac_ext
53601 cat >>conftest.$ac_ext <<_ACEOF
53602 /* end confdefs.h. */
53603 #include <math.h>
53605 main ()
53607 _sincos(0, 0, 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__sincos_use=yes
53635 else
53636 echo "$as_me: failed program was:" >&5
53637 sed 's/^/| /' conftest.$ac_ext >&5
53639 glibcxx_cv_func__sincos_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__sincos_use" >&5
53653 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
53655 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53657 for ac_func in _sincos
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 fpclass declaration" >&5
53769 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
53770 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53771 if test "${glibcxx_cv_func_fpclass_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>
53790 #ifdef HAVE_IEEEFP_H
53791 #include <ieeefp.h>
53792 #endif
53795 main ()
53797 fpclass(0);
53799 return 0;
53801 _ACEOF
53802 rm -f conftest.$ac_objext
53803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53804 (eval $ac_compile) 2>conftest.er1
53805 ac_status=$?
53806 grep -v '^ *+' conftest.er1 >conftest.err
53807 rm -f conftest.er1
53808 cat conftest.err >&5
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); } &&
53811 { ac_try='test -z "$ac_cxx_werror_flag"
53812 || test ! -s conftest.err'
53813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53814 (eval $ac_try) 2>&5
53815 ac_status=$?
53816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53817 (exit $ac_status); }; } &&
53818 { ac_try='test -s conftest.$ac_objext'
53819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53820 (eval $ac_try) 2>&5
53821 ac_status=$?
53822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53823 (exit $ac_status); }; }; then
53824 glibcxx_cv_func_fpclass_use=yes
53825 else
53826 echo "$as_me: failed program was:" >&5
53827 sed 's/^/| /' conftest.$ac_ext >&5
53829 glibcxx_cv_func_fpclass_use=no
53831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53832 ac_ext=c
53833 ac_cpp='$CPP $CPPFLAGS'
53834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53842 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
53843 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
53845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53847 for ac_func in fpclass
53849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53850 echo "$as_me:$LINENO: checking for $ac_func" >&5
53851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53852 if eval "test \"\${$as_ac_var+set}\" = set"; then
53853 echo $ECHO_N "(cached) $ECHO_C" >&6
53854 else
53855 if test x$gcc_no_link = xyes; then
53856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53858 { (exit 1); exit 1; }; }
53860 cat >conftest.$ac_ext <<_ACEOF
53861 /* confdefs.h. */
53862 _ACEOF
53863 cat confdefs.h >>conftest.$ac_ext
53864 cat >>conftest.$ac_ext <<_ACEOF
53865 /* end confdefs.h. */
53866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53868 #define $ac_func innocuous_$ac_func
53870 /* System header to define __stub macros and hopefully few prototypes,
53871 which can conflict with char $ac_func (); below.
53872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53873 <limits.h> exists even on freestanding compilers. */
53875 #ifdef __STDC__
53876 # include <limits.h>
53877 #else
53878 # include <assert.h>
53879 #endif
53881 #undef $ac_func
53883 /* Override any gcc2 internal prototype to avoid an error. */
53884 #ifdef __cplusplus
53885 extern "C"
53887 #endif
53888 /* We use char because int might match the return type of a gcc2
53889 builtin and then its argument prototype would still apply. */
53890 char $ac_func ();
53891 /* The GNU C library defines this for functions which it implements
53892 to always fail with ENOSYS. Some functions are actually named
53893 something starting with __ and the normal name is an alias. */
53894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53895 choke me
53896 #else
53897 char (*f) () = $ac_func;
53898 #endif
53899 #ifdef __cplusplus
53901 #endif
53904 main ()
53906 return f != $ac_func;
53908 return 0;
53910 _ACEOF
53911 rm -f conftest.$ac_objext conftest$ac_exeext
53912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53913 (eval $ac_link) 2>conftest.er1
53914 ac_status=$?
53915 grep -v '^ *+' conftest.er1 >conftest.err
53916 rm -f conftest.er1
53917 cat conftest.err >&5
53918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919 (exit $ac_status); } &&
53920 { ac_try='test -z "$ac_c_werror_flag"
53921 || test ! -s conftest.err'
53922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53923 (eval $ac_try) 2>&5
53924 ac_status=$?
53925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53926 (exit $ac_status); }; } &&
53927 { ac_try='test -s conftest$ac_exeext'
53928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53929 (eval $ac_try) 2>&5
53930 ac_status=$?
53931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53932 (exit $ac_status); }; }; then
53933 eval "$as_ac_var=yes"
53934 else
53935 echo "$as_me: failed program was:" >&5
53936 sed 's/^/| /' conftest.$ac_ext >&5
53938 eval "$as_ac_var=no"
53940 rm -f conftest.err conftest.$ac_objext \
53941 conftest$ac_exeext conftest.$ac_ext
53943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53945 if test `eval echo '${'$as_ac_var'}'` = yes; then
53946 cat >>confdefs.h <<_ACEOF
53947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53948 _ACEOF
53951 done
53953 else
53955 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
53956 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
53957 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53958 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
53959 echo $ECHO_N "(cached) $ECHO_C" >&6
53960 else
53964 ac_ext=cc
53965 ac_cpp='$CXXCPP $CPPFLAGS'
53966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53970 cat >conftest.$ac_ext <<_ACEOF
53971 /* confdefs.h. */
53972 _ACEOF
53973 cat confdefs.h >>conftest.$ac_ext
53974 cat >>conftest.$ac_ext <<_ACEOF
53975 /* end confdefs.h. */
53976 #include <math.h>
53977 #ifdef HAVE_IEEEFP_H
53978 #include <ieeefp.h>
53979 #endif
53982 main ()
53984 _fpclass(0);
53986 return 0;
53988 _ACEOF
53989 rm -f conftest.$ac_objext
53990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53991 (eval $ac_compile) 2>conftest.er1
53992 ac_status=$?
53993 grep -v '^ *+' conftest.er1 >conftest.err
53994 rm -f conftest.er1
53995 cat conftest.err >&5
53996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53997 (exit $ac_status); } &&
53998 { ac_try='test -z "$ac_cxx_werror_flag"
53999 || test ! -s conftest.err'
54000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54001 (eval $ac_try) 2>&5
54002 ac_status=$?
54003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54004 (exit $ac_status); }; } &&
54005 { ac_try='test -s conftest.$ac_objext'
54006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54007 (eval $ac_try) 2>&5
54008 ac_status=$?
54009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010 (exit $ac_status); }; }; then
54011 glibcxx_cv_func__fpclass_use=yes
54012 else
54013 echo "$as_me: failed program was:" >&5
54014 sed 's/^/| /' conftest.$ac_ext >&5
54016 glibcxx_cv_func__fpclass_use=no
54018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54019 ac_ext=c
54020 ac_cpp='$CPP $CPPFLAGS'
54021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
54030 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
54032 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54034 for ac_func in _fpclass
54036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54037 echo "$as_me:$LINENO: checking for $ac_func" >&5
54038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54039 if eval "test \"\${$as_ac_var+set}\" = set"; then
54040 echo $ECHO_N "(cached) $ECHO_C" >&6
54041 else
54042 if test x$gcc_no_link = xyes; then
54043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54045 { (exit 1); exit 1; }; }
54047 cat >conftest.$ac_ext <<_ACEOF
54048 /* confdefs.h. */
54049 _ACEOF
54050 cat confdefs.h >>conftest.$ac_ext
54051 cat >>conftest.$ac_ext <<_ACEOF
54052 /* end confdefs.h. */
54053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54055 #define $ac_func innocuous_$ac_func
54057 /* System header to define __stub macros and hopefully few prototypes,
54058 which can conflict with char $ac_func (); below.
54059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54060 <limits.h> exists even on freestanding compilers. */
54062 #ifdef __STDC__
54063 # include <limits.h>
54064 #else
54065 # include <assert.h>
54066 #endif
54068 #undef $ac_func
54070 /* Override any gcc2 internal prototype to avoid an error. */
54071 #ifdef __cplusplus
54072 extern "C"
54074 #endif
54075 /* We use char because int might match the return type of a gcc2
54076 builtin and then its argument prototype would still apply. */
54077 char $ac_func ();
54078 /* The GNU C library defines this for functions which it implements
54079 to always fail with ENOSYS. Some functions are actually named
54080 something starting with __ and the normal name is an alias. */
54081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54082 choke me
54083 #else
54084 char (*f) () = $ac_func;
54085 #endif
54086 #ifdef __cplusplus
54088 #endif
54091 main ()
54093 return f != $ac_func;
54095 return 0;
54097 _ACEOF
54098 rm -f conftest.$ac_objext conftest$ac_exeext
54099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54100 (eval $ac_link) 2>conftest.er1
54101 ac_status=$?
54102 grep -v '^ *+' conftest.er1 >conftest.err
54103 rm -f conftest.er1
54104 cat conftest.err >&5
54105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54106 (exit $ac_status); } &&
54107 { ac_try='test -z "$ac_c_werror_flag"
54108 || test ! -s conftest.err'
54109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54110 (eval $ac_try) 2>&5
54111 ac_status=$?
54112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54113 (exit $ac_status); }; } &&
54114 { ac_try='test -s conftest$ac_exeext'
54115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54116 (eval $ac_try) 2>&5
54117 ac_status=$?
54118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54119 (exit $ac_status); }; }; then
54120 eval "$as_ac_var=yes"
54121 else
54122 echo "$as_me: failed program was:" >&5
54123 sed 's/^/| /' conftest.$ac_ext >&5
54125 eval "$as_ac_var=no"
54127 rm -f conftest.err conftest.$ac_objext \
54128 conftest$ac_exeext conftest.$ac_ext
54130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54132 if test `eval echo '${'$as_ac_var'}'` = yes; then
54133 cat >>confdefs.h <<_ACEOF
54134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54135 _ACEOF
54138 done
54145 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
54146 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
54147 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54148 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
54149 echo $ECHO_N "(cached) $ECHO_C" >&6
54150 else
54154 ac_ext=cc
54155 ac_cpp='$CXXCPP $CPPFLAGS'
54156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54160 cat >conftest.$ac_ext <<_ACEOF
54161 /* confdefs.h. */
54162 _ACEOF
54163 cat confdefs.h >>conftest.$ac_ext
54164 cat >>conftest.$ac_ext <<_ACEOF
54165 /* end confdefs.h. */
54166 #include <math.h>
54167 #ifdef HAVE_IEEEFP_H
54168 #include <ieeefp.h>
54169 #endif
54172 main ()
54174 qfpclass(0);
54176 return 0;
54178 _ACEOF
54179 rm -f conftest.$ac_objext
54180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54181 (eval $ac_compile) 2>conftest.er1
54182 ac_status=$?
54183 grep -v '^ *+' conftest.er1 >conftest.err
54184 rm -f conftest.er1
54185 cat conftest.err >&5
54186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54187 (exit $ac_status); } &&
54188 { ac_try='test -z "$ac_cxx_werror_flag"
54189 || test ! -s conftest.err'
54190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54191 (eval $ac_try) 2>&5
54192 ac_status=$?
54193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54194 (exit $ac_status); }; } &&
54195 { ac_try='test -s conftest.$ac_objext'
54196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54197 (eval $ac_try) 2>&5
54198 ac_status=$?
54199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54200 (exit $ac_status); }; }; then
54201 glibcxx_cv_func_qfpclass_use=yes
54202 else
54203 echo "$as_me: failed program was:" >&5
54204 sed 's/^/| /' conftest.$ac_ext >&5
54206 glibcxx_cv_func_qfpclass_use=no
54208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54209 ac_ext=c
54210 ac_cpp='$CPP $CPPFLAGS'
54211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
54220 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
54222 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54224 for ac_func in qfpclass
54226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54227 echo "$as_me:$LINENO: checking for $ac_func" >&5
54228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54229 if eval "test \"\${$as_ac_var+set}\" = set"; then
54230 echo $ECHO_N "(cached) $ECHO_C" >&6
54231 else
54232 if test x$gcc_no_link = xyes; then
54233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54235 { (exit 1); exit 1; }; }
54237 cat >conftest.$ac_ext <<_ACEOF
54238 /* confdefs.h. */
54239 _ACEOF
54240 cat confdefs.h >>conftest.$ac_ext
54241 cat >>conftest.$ac_ext <<_ACEOF
54242 /* end confdefs.h. */
54243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54245 #define $ac_func innocuous_$ac_func
54247 /* System header to define __stub macros and hopefully few prototypes,
54248 which can conflict with char $ac_func (); below.
54249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54250 <limits.h> exists even on freestanding compilers. */
54252 #ifdef __STDC__
54253 # include <limits.h>
54254 #else
54255 # include <assert.h>
54256 #endif
54258 #undef $ac_func
54260 /* Override any gcc2 internal prototype to avoid an error. */
54261 #ifdef __cplusplus
54262 extern "C"
54264 #endif
54265 /* We use char because int might match the return type of a gcc2
54266 builtin and then its argument prototype would still apply. */
54267 char $ac_func ();
54268 /* The GNU C library defines this for functions which it implements
54269 to always fail with ENOSYS. Some functions are actually named
54270 something starting with __ and the normal name is an alias. */
54271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54272 choke me
54273 #else
54274 char (*f) () = $ac_func;
54275 #endif
54276 #ifdef __cplusplus
54278 #endif
54281 main ()
54283 return f != $ac_func;
54285 return 0;
54287 _ACEOF
54288 rm -f conftest.$ac_objext conftest$ac_exeext
54289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54290 (eval $ac_link) 2>conftest.er1
54291 ac_status=$?
54292 grep -v '^ *+' conftest.er1 >conftest.err
54293 rm -f conftest.er1
54294 cat conftest.err >&5
54295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54296 (exit $ac_status); } &&
54297 { ac_try='test -z "$ac_c_werror_flag"
54298 || test ! -s conftest.err'
54299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54300 (eval $ac_try) 2>&5
54301 ac_status=$?
54302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54303 (exit $ac_status); }; } &&
54304 { ac_try='test -s conftest$ac_exeext'
54305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54306 (eval $ac_try) 2>&5
54307 ac_status=$?
54308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54309 (exit $ac_status); }; }; then
54310 eval "$as_ac_var=yes"
54311 else
54312 echo "$as_me: failed program was:" >&5
54313 sed 's/^/| /' conftest.$ac_ext >&5
54315 eval "$as_ac_var=no"
54317 rm -f conftest.err conftest.$ac_objext \
54318 conftest$ac_exeext conftest.$ac_ext
54320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54322 if test `eval echo '${'$as_ac_var'}'` = yes; then
54323 cat >>confdefs.h <<_ACEOF
54324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54328 done
54330 else
54332 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
54333 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
54334 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54335 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
54336 echo $ECHO_N "(cached) $ECHO_C" >&6
54337 else
54341 ac_ext=cc
54342 ac_cpp='$CXXCPP $CPPFLAGS'
54343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54347 cat >conftest.$ac_ext <<_ACEOF
54348 /* confdefs.h. */
54349 _ACEOF
54350 cat confdefs.h >>conftest.$ac_ext
54351 cat >>conftest.$ac_ext <<_ACEOF
54352 /* end confdefs.h. */
54353 #include <math.h>
54354 #ifdef HAVE_IEEEFP_H
54355 #include <ieeefp.h>
54356 #endif
54359 main ()
54361 _qfpclass(0);
54363 return 0;
54365 _ACEOF
54366 rm -f conftest.$ac_objext
54367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54368 (eval $ac_compile) 2>conftest.er1
54369 ac_status=$?
54370 grep -v '^ *+' conftest.er1 >conftest.err
54371 rm -f conftest.er1
54372 cat conftest.err >&5
54373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54374 (exit $ac_status); } &&
54375 { ac_try='test -z "$ac_cxx_werror_flag"
54376 || test ! -s conftest.err'
54377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54378 (eval $ac_try) 2>&5
54379 ac_status=$?
54380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54381 (exit $ac_status); }; } &&
54382 { ac_try='test -s conftest.$ac_objext'
54383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54384 (eval $ac_try) 2>&5
54385 ac_status=$?
54386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54387 (exit $ac_status); }; }; then
54388 glibcxx_cv_func__qfpclass_use=yes
54389 else
54390 echo "$as_me: failed program was:" >&5
54391 sed 's/^/| /' conftest.$ac_ext >&5
54393 glibcxx_cv_func__qfpclass_use=no
54395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54396 ac_ext=c
54397 ac_cpp='$CPP $CPPFLAGS'
54398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
54407 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
54409 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54411 for ac_func in _qfpclass
54413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54414 echo "$as_me:$LINENO: checking for $ac_func" >&5
54415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54416 if eval "test \"\${$as_ac_var+set}\" = set"; then
54417 echo $ECHO_N "(cached) $ECHO_C" >&6
54418 else
54419 if test x$gcc_no_link = xyes; then
54420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54422 { (exit 1); exit 1; }; }
54424 cat >conftest.$ac_ext <<_ACEOF
54425 /* confdefs.h. */
54426 _ACEOF
54427 cat confdefs.h >>conftest.$ac_ext
54428 cat >>conftest.$ac_ext <<_ACEOF
54429 /* end confdefs.h. */
54430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54432 #define $ac_func innocuous_$ac_func
54434 /* System header to define __stub macros and hopefully few prototypes,
54435 which can conflict with char $ac_func (); below.
54436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54437 <limits.h> exists even on freestanding compilers. */
54439 #ifdef __STDC__
54440 # include <limits.h>
54441 #else
54442 # include <assert.h>
54443 #endif
54445 #undef $ac_func
54447 /* Override any gcc2 internal prototype to avoid an error. */
54448 #ifdef __cplusplus
54449 extern "C"
54451 #endif
54452 /* We use char because int might match the return type of a gcc2
54453 builtin and then its argument prototype would still apply. */
54454 char $ac_func ();
54455 /* The GNU C library defines this for functions which it implements
54456 to always fail with ENOSYS. Some functions are actually named
54457 something starting with __ and the normal name is an alias. */
54458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54459 choke me
54460 #else
54461 char (*f) () = $ac_func;
54462 #endif
54463 #ifdef __cplusplus
54465 #endif
54468 main ()
54470 return f != $ac_func;
54472 return 0;
54474 _ACEOF
54475 rm -f conftest.$ac_objext conftest$ac_exeext
54476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54477 (eval $ac_link) 2>conftest.er1
54478 ac_status=$?
54479 grep -v '^ *+' conftest.er1 >conftest.err
54480 rm -f conftest.er1
54481 cat conftest.err >&5
54482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54483 (exit $ac_status); } &&
54484 { ac_try='test -z "$ac_c_werror_flag"
54485 || test ! -s conftest.err'
54486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54487 (eval $ac_try) 2>&5
54488 ac_status=$?
54489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54490 (exit $ac_status); }; } &&
54491 { ac_try='test -s conftest$ac_exeext'
54492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54493 (eval $ac_try) 2>&5
54494 ac_status=$?
54495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54496 (exit $ac_status); }; }; then
54497 eval "$as_ac_var=yes"
54498 else
54499 echo "$as_me: failed program was:" >&5
54500 sed 's/^/| /' conftest.$ac_ext >&5
54502 eval "$as_ac_var=no"
54504 rm -f conftest.err conftest.$ac_objext \
54505 conftest$ac_exeext conftest.$ac_ext
54507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54509 if test `eval echo '${'$as_ac_var'}'` = yes; then
54510 cat >>confdefs.h <<_ACEOF
54511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54512 _ACEOF
54515 done
54522 echo "$as_me:$LINENO: checking for hypot declaration" >&5
54523 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
54524 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54525 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
54526 echo $ECHO_N "(cached) $ECHO_C" >&6
54527 else
54531 ac_ext=cc
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54537 cat >conftest.$ac_ext <<_ACEOF
54538 /* confdefs.h. */
54539 _ACEOF
54540 cat confdefs.h >>conftest.$ac_ext
54541 cat >>conftest.$ac_ext <<_ACEOF
54542 /* end confdefs.h. */
54543 #include <math.h>
54545 main ()
54547 hypot(0, 0);
54549 return 0;
54551 _ACEOF
54552 rm -f conftest.$ac_objext
54553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54554 (eval $ac_compile) 2>conftest.er1
54555 ac_status=$?
54556 grep -v '^ *+' conftest.er1 >conftest.err
54557 rm -f conftest.er1
54558 cat conftest.err >&5
54559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54560 (exit $ac_status); } &&
54561 { ac_try='test -z "$ac_cxx_werror_flag"
54562 || test ! -s conftest.err'
54563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54564 (eval $ac_try) 2>&5
54565 ac_status=$?
54566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54567 (exit $ac_status); }; } &&
54568 { ac_try='test -s conftest.$ac_objext'
54569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54570 (eval $ac_try) 2>&5
54571 ac_status=$?
54572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54573 (exit $ac_status); }; }; then
54574 glibcxx_cv_func_hypot_use=yes
54575 else
54576 echo "$as_me: failed program was:" >&5
54577 sed 's/^/| /' conftest.$ac_ext >&5
54579 glibcxx_cv_func_hypot_use=no
54581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54582 ac_ext=c
54583 ac_cpp='$CPP $CPPFLAGS'
54584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
54593 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
54595 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54597 for ac_func in hypot
54599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54600 echo "$as_me:$LINENO: checking for $ac_func" >&5
54601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54602 if eval "test \"\${$as_ac_var+set}\" = set"; then
54603 echo $ECHO_N "(cached) $ECHO_C" >&6
54604 else
54605 if test x$gcc_no_link = xyes; then
54606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54608 { (exit 1); exit 1; }; }
54610 cat >conftest.$ac_ext <<_ACEOF
54611 /* confdefs.h. */
54612 _ACEOF
54613 cat confdefs.h >>conftest.$ac_ext
54614 cat >>conftest.$ac_ext <<_ACEOF
54615 /* end confdefs.h. */
54616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54618 #define $ac_func innocuous_$ac_func
54620 /* System header to define __stub macros and hopefully few prototypes,
54621 which can conflict with char $ac_func (); below.
54622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54623 <limits.h> exists even on freestanding compilers. */
54625 #ifdef __STDC__
54626 # include <limits.h>
54627 #else
54628 # include <assert.h>
54629 #endif
54631 #undef $ac_func
54633 /* Override any gcc2 internal prototype to avoid an error. */
54634 #ifdef __cplusplus
54635 extern "C"
54637 #endif
54638 /* We use char because int might match the return type of a gcc2
54639 builtin and then its argument prototype would still apply. */
54640 char $ac_func ();
54641 /* The GNU C library defines this for functions which it implements
54642 to always fail with ENOSYS. Some functions are actually named
54643 something starting with __ and the normal name is an alias. */
54644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54645 choke me
54646 #else
54647 char (*f) () = $ac_func;
54648 #endif
54649 #ifdef __cplusplus
54651 #endif
54654 main ()
54656 return f != $ac_func;
54658 return 0;
54660 _ACEOF
54661 rm -f conftest.$ac_objext conftest$ac_exeext
54662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54663 (eval $ac_link) 2>conftest.er1
54664 ac_status=$?
54665 grep -v '^ *+' conftest.er1 >conftest.err
54666 rm -f conftest.er1
54667 cat conftest.err >&5
54668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54669 (exit $ac_status); } &&
54670 { ac_try='test -z "$ac_c_werror_flag"
54671 || test ! -s conftest.err'
54672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54673 (eval $ac_try) 2>&5
54674 ac_status=$?
54675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54676 (exit $ac_status); }; } &&
54677 { ac_try='test -s conftest$ac_exeext'
54678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54679 (eval $ac_try) 2>&5
54680 ac_status=$?
54681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54682 (exit $ac_status); }; }; then
54683 eval "$as_ac_var=yes"
54684 else
54685 echo "$as_me: failed program was:" >&5
54686 sed 's/^/| /' conftest.$ac_ext >&5
54688 eval "$as_ac_var=no"
54690 rm -f conftest.err conftest.$ac_objext \
54691 conftest$ac_exeext conftest.$ac_ext
54693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54695 if test `eval echo '${'$as_ac_var'}'` = yes; then
54696 cat >>confdefs.h <<_ACEOF
54697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54698 _ACEOF
54701 done
54703 else
54705 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
54706 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
54707 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54708 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
54709 echo $ECHO_N "(cached) $ECHO_C" >&6
54710 else
54714 ac_ext=cc
54715 ac_cpp='$CXXCPP $CPPFLAGS'
54716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54720 cat >conftest.$ac_ext <<_ACEOF
54721 /* confdefs.h. */
54722 _ACEOF
54723 cat confdefs.h >>conftest.$ac_ext
54724 cat >>conftest.$ac_ext <<_ACEOF
54725 /* end confdefs.h. */
54726 #include <math.h>
54728 main ()
54730 _hypot(0, 0);
54732 return 0;
54734 _ACEOF
54735 rm -f conftest.$ac_objext
54736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54737 (eval $ac_compile) 2>conftest.er1
54738 ac_status=$?
54739 grep -v '^ *+' conftest.er1 >conftest.err
54740 rm -f conftest.er1
54741 cat conftest.err >&5
54742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54743 (exit $ac_status); } &&
54744 { ac_try='test -z "$ac_cxx_werror_flag"
54745 || test ! -s conftest.err'
54746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54747 (eval $ac_try) 2>&5
54748 ac_status=$?
54749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54750 (exit $ac_status); }; } &&
54751 { ac_try='test -s conftest.$ac_objext'
54752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54753 (eval $ac_try) 2>&5
54754 ac_status=$?
54755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54756 (exit $ac_status); }; }; then
54757 glibcxx_cv_func__hypot_use=yes
54758 else
54759 echo "$as_me: failed program was:" >&5
54760 sed 's/^/| /' conftest.$ac_ext >&5
54762 glibcxx_cv_func__hypot_use=no
54764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54765 ac_ext=c
54766 ac_cpp='$CPP $CPPFLAGS'
54767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
54776 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
54778 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54780 for ac_func in _hypot
54782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54783 echo "$as_me:$LINENO: checking for $ac_func" >&5
54784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54785 if eval "test \"\${$as_ac_var+set}\" = set"; then
54786 echo $ECHO_N "(cached) $ECHO_C" >&6
54787 else
54788 if test x$gcc_no_link = xyes; then
54789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54791 { (exit 1); exit 1; }; }
54793 cat >conftest.$ac_ext <<_ACEOF
54794 /* confdefs.h. */
54795 _ACEOF
54796 cat confdefs.h >>conftest.$ac_ext
54797 cat >>conftest.$ac_ext <<_ACEOF
54798 /* end confdefs.h. */
54799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54801 #define $ac_func innocuous_$ac_func
54803 /* System header to define __stub macros and hopefully few prototypes,
54804 which can conflict with char $ac_func (); below.
54805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54806 <limits.h> exists even on freestanding compilers. */
54808 #ifdef __STDC__
54809 # include <limits.h>
54810 #else
54811 # include <assert.h>
54812 #endif
54814 #undef $ac_func
54816 /* Override any gcc2 internal prototype to avoid an error. */
54817 #ifdef __cplusplus
54818 extern "C"
54820 #endif
54821 /* We use char because int might match the return type of a gcc2
54822 builtin and then its argument prototype would still apply. */
54823 char $ac_func ();
54824 /* The GNU C library defines this for functions which it implements
54825 to always fail with ENOSYS. Some functions are actually named
54826 something starting with __ and the normal name is an alias. */
54827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54828 choke me
54829 #else
54830 char (*f) () = $ac_func;
54831 #endif
54832 #ifdef __cplusplus
54834 #endif
54837 main ()
54839 return f != $ac_func;
54841 return 0;
54843 _ACEOF
54844 rm -f conftest.$ac_objext conftest$ac_exeext
54845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54846 (eval $ac_link) 2>conftest.er1
54847 ac_status=$?
54848 grep -v '^ *+' conftest.er1 >conftest.err
54849 rm -f conftest.er1
54850 cat conftest.err >&5
54851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54852 (exit $ac_status); } &&
54853 { ac_try='test -z "$ac_c_werror_flag"
54854 || test ! -s conftest.err'
54855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54856 (eval $ac_try) 2>&5
54857 ac_status=$?
54858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54859 (exit $ac_status); }; } &&
54860 { ac_try='test -s conftest$ac_exeext'
54861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54862 (eval $ac_try) 2>&5
54863 ac_status=$?
54864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54865 (exit $ac_status); }; }; then
54866 eval "$as_ac_var=yes"
54867 else
54868 echo "$as_me: failed program was:" >&5
54869 sed 's/^/| /' conftest.$ac_ext >&5
54871 eval "$as_ac_var=no"
54873 rm -f conftest.err conftest.$ac_objext \
54874 conftest$ac_exeext conftest.$ac_ext
54876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54878 if test `eval echo '${'$as_ac_var'}'` = yes; then
54879 cat >>confdefs.h <<_ACEOF
54880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54881 _ACEOF
54884 done
54891 echo "$as_me:$LINENO: checking for float trig functions" >&5
54892 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
54893 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
54894 echo $ECHO_N "(cached) $ECHO_C" >&6
54895 else
54899 ac_ext=cc
54900 ac_cpp='$CXXCPP $CPPFLAGS'
54901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54905 cat >conftest.$ac_ext <<_ACEOF
54906 /* confdefs.h. */
54907 _ACEOF
54908 cat confdefs.h >>conftest.$ac_ext
54909 cat >>conftest.$ac_ext <<_ACEOF
54910 /* end confdefs.h. */
54911 #include <math.h>
54913 main ()
54915 `for x in acosf asinf atanf \
54916 cosf sinf tanf \
54917 coshf sinhf tanhf; do echo "$x (0);"; done`
54919 return 0;
54921 _ACEOF
54922 rm -f conftest.$ac_objext
54923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54924 (eval $ac_compile) 2>conftest.er1
54925 ac_status=$?
54926 grep -v '^ *+' conftest.er1 >conftest.err
54927 rm -f conftest.er1
54928 cat conftest.err >&5
54929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54930 (exit $ac_status); } &&
54931 { ac_try='test -z "$ac_cxx_werror_flag"
54932 || test ! -s conftest.err'
54933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54934 (eval $ac_try) 2>&5
54935 ac_status=$?
54936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937 (exit $ac_status); }; } &&
54938 { ac_try='test -s conftest.$ac_objext'
54939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54940 (eval $ac_try) 2>&5
54941 ac_status=$?
54942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54943 (exit $ac_status); }; }; then
54944 glibcxx_cv_func_float_trig_use=yes
54945 else
54946 echo "$as_me: failed program was:" >&5
54947 sed 's/^/| /' conftest.$ac_ext >&5
54949 glibcxx_cv_func_float_trig_use=no
54951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54952 ac_ext=c
54953 ac_cpp='$CPP $CPPFLAGS'
54954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
54961 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
54962 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54972 for ac_func in acosf asinf atanf \
54973 cosf sinf tanf \
54974 coshf sinhf tanhf
54976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54977 echo "$as_me:$LINENO: checking for $ac_func" >&5
54978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54979 if eval "test \"\${$as_ac_var+set}\" = set"; then
54980 echo $ECHO_N "(cached) $ECHO_C" >&6
54981 else
54982 if test x$gcc_no_link = xyes; then
54983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54985 { (exit 1); exit 1; }; }
54987 cat >conftest.$ac_ext <<_ACEOF
54988 /* confdefs.h. */
54989 _ACEOF
54990 cat confdefs.h >>conftest.$ac_ext
54991 cat >>conftest.$ac_ext <<_ACEOF
54992 /* end confdefs.h. */
54993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54995 #define $ac_func innocuous_$ac_func
54997 /* System header to define __stub macros and hopefully few prototypes,
54998 which can conflict with char $ac_func (); below.
54999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55000 <limits.h> exists even on freestanding compilers. */
55002 #ifdef __STDC__
55003 # include <limits.h>
55004 #else
55005 # include <assert.h>
55006 #endif
55008 #undef $ac_func
55010 /* Override any gcc2 internal prototype to avoid an error. */
55011 #ifdef __cplusplus
55012 extern "C"
55014 #endif
55015 /* We use char because int might match the return type of a gcc2
55016 builtin and then its argument prototype would still apply. */
55017 char $ac_func ();
55018 /* The GNU C library defines this for functions which it implements
55019 to always fail with ENOSYS. Some functions are actually named
55020 something starting with __ and the normal name is an alias. */
55021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55022 choke me
55023 #else
55024 char (*f) () = $ac_func;
55025 #endif
55026 #ifdef __cplusplus
55028 #endif
55031 main ()
55033 return f != $ac_func;
55035 return 0;
55037 _ACEOF
55038 rm -f conftest.$ac_objext conftest$ac_exeext
55039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55040 (eval $ac_link) 2>conftest.er1
55041 ac_status=$?
55042 grep -v '^ *+' conftest.er1 >conftest.err
55043 rm -f conftest.er1
55044 cat conftest.err >&5
55045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55046 (exit $ac_status); } &&
55047 { ac_try='test -z "$ac_c_werror_flag"
55048 || test ! -s conftest.err'
55049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55050 (eval $ac_try) 2>&5
55051 ac_status=$?
55052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55053 (exit $ac_status); }; } &&
55054 { ac_try='test -s conftest$ac_exeext'
55055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55056 (eval $ac_try) 2>&5
55057 ac_status=$?
55058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55059 (exit $ac_status); }; }; then
55060 eval "$as_ac_var=yes"
55061 else
55062 echo "$as_me: failed program was:" >&5
55063 sed 's/^/| /' conftest.$ac_ext >&5
55065 eval "$as_ac_var=no"
55067 rm -f conftest.err conftest.$ac_objext \
55068 conftest$ac_exeext conftest.$ac_ext
55070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55072 if test `eval echo '${'$as_ac_var'}'` = yes; then
55073 cat >>confdefs.h <<_ACEOF
55074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55075 _ACEOF
55078 done
55083 echo "$as_me:$LINENO: checking for float round functions" >&5
55084 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
55085 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
55086 echo $ECHO_N "(cached) $ECHO_C" >&6
55087 else
55091 ac_ext=cc
55092 ac_cpp='$CXXCPP $CPPFLAGS'
55093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55097 cat >conftest.$ac_ext <<_ACEOF
55098 /* confdefs.h. */
55099 _ACEOF
55100 cat confdefs.h >>conftest.$ac_ext
55101 cat >>conftest.$ac_ext <<_ACEOF
55102 /* end confdefs.h. */
55103 #include <math.h>
55105 main ()
55107 `for x in ceilf floorf; do echo "$x (0);"; done`
55109 return 0;
55111 _ACEOF
55112 rm -f conftest.$ac_objext
55113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55114 (eval $ac_compile) 2>conftest.er1
55115 ac_status=$?
55116 grep -v '^ *+' conftest.er1 >conftest.err
55117 rm -f conftest.er1
55118 cat conftest.err >&5
55119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55120 (exit $ac_status); } &&
55121 { ac_try='test -z "$ac_cxx_werror_flag"
55122 || test ! -s conftest.err'
55123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55124 (eval $ac_try) 2>&5
55125 ac_status=$?
55126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55127 (exit $ac_status); }; } &&
55128 { ac_try='test -s conftest.$ac_objext'
55129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55130 (eval $ac_try) 2>&5
55131 ac_status=$?
55132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55133 (exit $ac_status); }; }; then
55134 glibcxx_cv_func_float_round_use=yes
55135 else
55136 echo "$as_me: failed program was:" >&5
55137 sed 's/^/| /' conftest.$ac_ext >&5
55139 glibcxx_cv_func_float_round_use=no
55141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55142 ac_ext=c
55143 ac_cpp='$CPP $CPPFLAGS'
55144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
55151 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
55152 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55155 for ac_func in ceilf floorf
55157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55158 echo "$as_me:$LINENO: checking for $ac_func" >&5
55159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55160 if eval "test \"\${$as_ac_var+set}\" = set"; then
55161 echo $ECHO_N "(cached) $ECHO_C" >&6
55162 else
55163 if test x$gcc_no_link = xyes; then
55164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55166 { (exit 1); exit 1; }; }
55168 cat >conftest.$ac_ext <<_ACEOF
55169 /* confdefs.h. */
55170 _ACEOF
55171 cat confdefs.h >>conftest.$ac_ext
55172 cat >>conftest.$ac_ext <<_ACEOF
55173 /* end confdefs.h. */
55174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55176 #define $ac_func innocuous_$ac_func
55178 /* System header to define __stub macros and hopefully few prototypes,
55179 which can conflict with char $ac_func (); below.
55180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55181 <limits.h> exists even on freestanding compilers. */
55183 #ifdef __STDC__
55184 # include <limits.h>
55185 #else
55186 # include <assert.h>
55187 #endif
55189 #undef $ac_func
55191 /* Override any gcc2 internal prototype to avoid an error. */
55192 #ifdef __cplusplus
55193 extern "C"
55195 #endif
55196 /* We use char because int might match the return type of a gcc2
55197 builtin and then its argument prototype would still apply. */
55198 char $ac_func ();
55199 /* The GNU C library defines this for functions which it implements
55200 to always fail with ENOSYS. Some functions are actually named
55201 something starting with __ and the normal name is an alias. */
55202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55203 choke me
55204 #else
55205 char (*f) () = $ac_func;
55206 #endif
55207 #ifdef __cplusplus
55209 #endif
55212 main ()
55214 return f != $ac_func;
55216 return 0;
55218 _ACEOF
55219 rm -f conftest.$ac_objext conftest$ac_exeext
55220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55221 (eval $ac_link) 2>conftest.er1
55222 ac_status=$?
55223 grep -v '^ *+' conftest.er1 >conftest.err
55224 rm -f conftest.er1
55225 cat conftest.err >&5
55226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55227 (exit $ac_status); } &&
55228 { ac_try='test -z "$ac_c_werror_flag"
55229 || test ! -s conftest.err'
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); }; } &&
55235 { ac_try='test -s conftest$ac_exeext'
55236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55237 (eval $ac_try) 2>&5
55238 ac_status=$?
55239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55240 (exit $ac_status); }; }; then
55241 eval "$as_ac_var=yes"
55242 else
55243 echo "$as_me: failed program was:" >&5
55244 sed 's/^/| /' conftest.$ac_ext >&5
55246 eval "$as_ac_var=no"
55248 rm -f conftest.err conftest.$ac_objext \
55249 conftest$ac_exeext conftest.$ac_ext
55251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55253 if test `eval echo '${'$as_ac_var'}'` = yes; then
55254 cat >>confdefs.h <<_ACEOF
55255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55256 _ACEOF
55259 done
55265 echo "$as_me:$LINENO: checking for expf declaration" >&5
55266 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
55267 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55268 if test "${glibcxx_cv_func_expf_use+set}" = set; then
55269 echo $ECHO_N "(cached) $ECHO_C" >&6
55270 else
55274 ac_ext=cc
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280 cat >conftest.$ac_ext <<_ACEOF
55281 /* confdefs.h. */
55282 _ACEOF
55283 cat confdefs.h >>conftest.$ac_ext
55284 cat >>conftest.$ac_ext <<_ACEOF
55285 /* end confdefs.h. */
55286 #include <math.h>
55287 #ifdef HAVE_IEEEFP_H
55288 #include <ieeefp.h>
55289 #endif
55292 main ()
55294 expf(0);
55296 return 0;
55298 _ACEOF
55299 rm -f conftest.$ac_objext
55300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55301 (eval $ac_compile) 2>conftest.er1
55302 ac_status=$?
55303 grep -v '^ *+' conftest.er1 >conftest.err
55304 rm -f conftest.er1
55305 cat conftest.err >&5
55306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55307 (exit $ac_status); } &&
55308 { ac_try='test -z "$ac_cxx_werror_flag"
55309 || test ! -s conftest.err'
55310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55311 (eval $ac_try) 2>&5
55312 ac_status=$?
55313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55314 (exit $ac_status); }; } &&
55315 { ac_try='test -s conftest.$ac_objext'
55316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55317 (eval $ac_try) 2>&5
55318 ac_status=$?
55319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55320 (exit $ac_status); }; }; then
55321 glibcxx_cv_func_expf_use=yes
55322 else
55323 echo "$as_me: failed program was:" >&5
55324 sed 's/^/| /' conftest.$ac_ext >&5
55326 glibcxx_cv_func_expf_use=no
55328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55329 ac_ext=c
55330 ac_cpp='$CPP $CPPFLAGS'
55331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
55340 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
55342 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55344 for ac_func in expf
55346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55347 echo "$as_me:$LINENO: checking for $ac_func" >&5
55348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55349 if eval "test \"\${$as_ac_var+set}\" = set"; then
55350 echo $ECHO_N "(cached) $ECHO_C" >&6
55351 else
55352 if test x$gcc_no_link = xyes; then
55353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55355 { (exit 1); exit 1; }; }
55357 cat >conftest.$ac_ext <<_ACEOF
55358 /* confdefs.h. */
55359 _ACEOF
55360 cat confdefs.h >>conftest.$ac_ext
55361 cat >>conftest.$ac_ext <<_ACEOF
55362 /* end confdefs.h. */
55363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55365 #define $ac_func innocuous_$ac_func
55367 /* System header to define __stub macros and hopefully few prototypes,
55368 which can conflict with char $ac_func (); below.
55369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55370 <limits.h> exists even on freestanding compilers. */
55372 #ifdef __STDC__
55373 # include <limits.h>
55374 #else
55375 # include <assert.h>
55376 #endif
55378 #undef $ac_func
55380 /* Override any gcc2 internal prototype to avoid an error. */
55381 #ifdef __cplusplus
55382 extern "C"
55384 #endif
55385 /* We use char because int might match the return type of a gcc2
55386 builtin and then its argument prototype would still apply. */
55387 char $ac_func ();
55388 /* The GNU C library defines this for functions which it implements
55389 to always fail with ENOSYS. Some functions are actually named
55390 something starting with __ and the normal name is an alias. */
55391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55392 choke me
55393 #else
55394 char (*f) () = $ac_func;
55395 #endif
55396 #ifdef __cplusplus
55398 #endif
55401 main ()
55403 return f != $ac_func;
55405 return 0;
55407 _ACEOF
55408 rm -f conftest.$ac_objext conftest$ac_exeext
55409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55410 (eval $ac_link) 2>conftest.er1
55411 ac_status=$?
55412 grep -v '^ *+' conftest.er1 >conftest.err
55413 rm -f conftest.er1
55414 cat conftest.err >&5
55415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55416 (exit $ac_status); } &&
55417 { ac_try='test -z "$ac_c_werror_flag"
55418 || test ! -s conftest.err'
55419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55420 (eval $ac_try) 2>&5
55421 ac_status=$?
55422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55423 (exit $ac_status); }; } &&
55424 { ac_try='test -s conftest$ac_exeext'
55425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55426 (eval $ac_try) 2>&5
55427 ac_status=$?
55428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55429 (exit $ac_status); }; }; then
55430 eval "$as_ac_var=yes"
55431 else
55432 echo "$as_me: failed program was:" >&5
55433 sed 's/^/| /' conftest.$ac_ext >&5
55435 eval "$as_ac_var=no"
55437 rm -f conftest.err conftest.$ac_objext \
55438 conftest$ac_exeext conftest.$ac_ext
55440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55442 if test `eval echo '${'$as_ac_var'}'` = yes; then
55443 cat >>confdefs.h <<_ACEOF
55444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55445 _ACEOF
55448 done
55450 else
55452 echo "$as_me:$LINENO: checking for _expf declaration" >&5
55453 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
55454 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55455 if test "${glibcxx_cv_func__expf_use+set}" = set; then
55456 echo $ECHO_N "(cached) $ECHO_C" >&6
55457 else
55461 ac_ext=cc
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467 cat >conftest.$ac_ext <<_ACEOF
55468 /* confdefs.h. */
55469 _ACEOF
55470 cat confdefs.h >>conftest.$ac_ext
55471 cat >>conftest.$ac_ext <<_ACEOF
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 #ifdef HAVE_IEEEFP_H
55475 #include <ieeefp.h>
55476 #endif
55479 main ()
55481 _expf(0);
55483 return 0;
55485 _ACEOF
55486 rm -f conftest.$ac_objext
55487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55488 (eval $ac_compile) 2>conftest.er1
55489 ac_status=$?
55490 grep -v '^ *+' conftest.er1 >conftest.err
55491 rm -f conftest.er1
55492 cat conftest.err >&5
55493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55494 (exit $ac_status); } &&
55495 { ac_try='test -z "$ac_cxx_werror_flag"
55496 || test ! -s conftest.err'
55497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55498 (eval $ac_try) 2>&5
55499 ac_status=$?
55500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55501 (exit $ac_status); }; } &&
55502 { ac_try='test -s conftest.$ac_objext'
55503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55504 (eval $ac_try) 2>&5
55505 ac_status=$?
55506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55507 (exit $ac_status); }; }; then
55508 glibcxx_cv_func__expf_use=yes
55509 else
55510 echo "$as_me: failed program was:" >&5
55511 sed 's/^/| /' conftest.$ac_ext >&5
55513 glibcxx_cv_func__expf_use=no
55515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55516 ac_ext=c
55517 ac_cpp='$CPP $CPPFLAGS'
55518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
55527 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
55529 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55531 for ac_func in _expf
55533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55534 echo "$as_me:$LINENO: checking for $ac_func" >&5
55535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55536 if eval "test \"\${$as_ac_var+set}\" = set"; then
55537 echo $ECHO_N "(cached) $ECHO_C" >&6
55538 else
55539 if test x$gcc_no_link = xyes; then
55540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55542 { (exit 1); exit 1; }; }
55544 cat >conftest.$ac_ext <<_ACEOF
55545 /* confdefs.h. */
55546 _ACEOF
55547 cat confdefs.h >>conftest.$ac_ext
55548 cat >>conftest.$ac_ext <<_ACEOF
55549 /* end confdefs.h. */
55550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55552 #define $ac_func innocuous_$ac_func
55554 /* System header to define __stub macros and hopefully few prototypes,
55555 which can conflict with char $ac_func (); below.
55556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55557 <limits.h> exists even on freestanding compilers. */
55559 #ifdef __STDC__
55560 # include <limits.h>
55561 #else
55562 # include <assert.h>
55563 #endif
55565 #undef $ac_func
55567 /* Override any gcc2 internal prototype to avoid an error. */
55568 #ifdef __cplusplus
55569 extern "C"
55571 #endif
55572 /* We use char because int might match the return type of a gcc2
55573 builtin and then its argument prototype would still apply. */
55574 char $ac_func ();
55575 /* The GNU C library defines this for functions which it implements
55576 to always fail with ENOSYS. Some functions are actually named
55577 something starting with __ and the normal name is an alias. */
55578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55579 choke me
55580 #else
55581 char (*f) () = $ac_func;
55582 #endif
55583 #ifdef __cplusplus
55585 #endif
55588 main ()
55590 return f != $ac_func;
55592 return 0;
55594 _ACEOF
55595 rm -f conftest.$ac_objext conftest$ac_exeext
55596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55597 (eval $ac_link) 2>conftest.er1
55598 ac_status=$?
55599 grep -v '^ *+' conftest.er1 >conftest.err
55600 rm -f conftest.er1
55601 cat conftest.err >&5
55602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55603 (exit $ac_status); } &&
55604 { ac_try='test -z "$ac_c_werror_flag"
55605 || test ! -s conftest.err'
55606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55607 (eval $ac_try) 2>&5
55608 ac_status=$?
55609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55610 (exit $ac_status); }; } &&
55611 { ac_try='test -s conftest$ac_exeext'
55612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55613 (eval $ac_try) 2>&5
55614 ac_status=$?
55615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55616 (exit $ac_status); }; }; then
55617 eval "$as_ac_var=yes"
55618 else
55619 echo "$as_me: failed program was:" >&5
55620 sed 's/^/| /' conftest.$ac_ext >&5
55622 eval "$as_ac_var=no"
55624 rm -f conftest.err conftest.$ac_objext \
55625 conftest$ac_exeext conftest.$ac_ext
55627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55629 if test `eval echo '${'$as_ac_var'}'` = yes; then
55630 cat >>confdefs.h <<_ACEOF
55631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55632 _ACEOF
55635 done
55642 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
55643 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
55644 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55645 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
55646 echo $ECHO_N "(cached) $ECHO_C" >&6
55647 else
55651 ac_ext=cc
55652 ac_cpp='$CXXCPP $CPPFLAGS'
55653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55657 cat >conftest.$ac_ext <<_ACEOF
55658 /* confdefs.h. */
55659 _ACEOF
55660 cat confdefs.h >>conftest.$ac_ext
55661 cat >>conftest.$ac_ext <<_ACEOF
55662 /* end confdefs.h. */
55663 #include <math.h>
55664 #ifdef HAVE_IEEEFP_H
55665 #include <ieeefp.h>
55666 #endif
55669 main ()
55671 isnanf(0);
55673 return 0;
55675 _ACEOF
55676 rm -f conftest.$ac_objext
55677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55678 (eval $ac_compile) 2>conftest.er1
55679 ac_status=$?
55680 grep -v '^ *+' conftest.er1 >conftest.err
55681 rm -f conftest.er1
55682 cat conftest.err >&5
55683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55684 (exit $ac_status); } &&
55685 { ac_try='test -z "$ac_cxx_werror_flag"
55686 || test ! -s conftest.err'
55687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55688 (eval $ac_try) 2>&5
55689 ac_status=$?
55690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55691 (exit $ac_status); }; } &&
55692 { ac_try='test -s conftest.$ac_objext'
55693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55694 (eval $ac_try) 2>&5
55695 ac_status=$?
55696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55697 (exit $ac_status); }; }; then
55698 glibcxx_cv_func_isnanf_use=yes
55699 else
55700 echo "$as_me: failed program was:" >&5
55701 sed 's/^/| /' conftest.$ac_ext >&5
55703 glibcxx_cv_func_isnanf_use=no
55705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55706 ac_ext=c
55707 ac_cpp='$CPP $CPPFLAGS'
55708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
55717 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
55719 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55721 for ac_func in isnanf
55723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55724 echo "$as_me:$LINENO: checking for $ac_func" >&5
55725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55726 if eval "test \"\${$as_ac_var+set}\" = set"; then
55727 echo $ECHO_N "(cached) $ECHO_C" >&6
55728 else
55729 if test x$gcc_no_link = xyes; then
55730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55732 { (exit 1); exit 1; }; }
55734 cat >conftest.$ac_ext <<_ACEOF
55735 /* confdefs.h. */
55736 _ACEOF
55737 cat confdefs.h >>conftest.$ac_ext
55738 cat >>conftest.$ac_ext <<_ACEOF
55739 /* end confdefs.h. */
55740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55742 #define $ac_func innocuous_$ac_func
55744 /* System header to define __stub macros and hopefully few prototypes,
55745 which can conflict with char $ac_func (); below.
55746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55747 <limits.h> exists even on freestanding compilers. */
55749 #ifdef __STDC__
55750 # include <limits.h>
55751 #else
55752 # include <assert.h>
55753 #endif
55755 #undef $ac_func
55757 /* Override any gcc2 internal prototype to avoid an error. */
55758 #ifdef __cplusplus
55759 extern "C"
55761 #endif
55762 /* We use char because int might match the return type of a gcc2
55763 builtin and then its argument prototype would still apply. */
55764 char $ac_func ();
55765 /* The GNU C library defines this for functions which it implements
55766 to always fail with ENOSYS. Some functions are actually named
55767 something starting with __ and the normal name is an alias. */
55768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55769 choke me
55770 #else
55771 char (*f) () = $ac_func;
55772 #endif
55773 #ifdef __cplusplus
55775 #endif
55778 main ()
55780 return f != $ac_func;
55782 return 0;
55784 _ACEOF
55785 rm -f conftest.$ac_objext conftest$ac_exeext
55786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55787 (eval $ac_link) 2>conftest.er1
55788 ac_status=$?
55789 grep -v '^ *+' conftest.er1 >conftest.err
55790 rm -f conftest.er1
55791 cat conftest.err >&5
55792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55793 (exit $ac_status); } &&
55794 { ac_try='test -z "$ac_c_werror_flag"
55795 || test ! -s conftest.err'
55796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55797 (eval $ac_try) 2>&5
55798 ac_status=$?
55799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55800 (exit $ac_status); }; } &&
55801 { ac_try='test -s conftest$ac_exeext'
55802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55803 (eval $ac_try) 2>&5
55804 ac_status=$?
55805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55806 (exit $ac_status); }; }; then
55807 eval "$as_ac_var=yes"
55808 else
55809 echo "$as_me: failed program was:" >&5
55810 sed 's/^/| /' conftest.$ac_ext >&5
55812 eval "$as_ac_var=no"
55814 rm -f conftest.err conftest.$ac_objext \
55815 conftest$ac_exeext conftest.$ac_ext
55817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55819 if test `eval echo '${'$as_ac_var'}'` = yes; then
55820 cat >>confdefs.h <<_ACEOF
55821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55822 _ACEOF
55825 done
55827 else
55829 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
55830 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
55831 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55832 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
55833 echo $ECHO_N "(cached) $ECHO_C" >&6
55834 else
55838 ac_ext=cc
55839 ac_cpp='$CXXCPP $CPPFLAGS'
55840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55844 cat >conftest.$ac_ext <<_ACEOF
55845 /* confdefs.h. */
55846 _ACEOF
55847 cat confdefs.h >>conftest.$ac_ext
55848 cat >>conftest.$ac_ext <<_ACEOF
55849 /* end confdefs.h. */
55850 #include <math.h>
55851 #ifdef HAVE_IEEEFP_H
55852 #include <ieeefp.h>
55853 #endif
55856 main ()
55858 _isnanf(0);
55860 return 0;
55862 _ACEOF
55863 rm -f conftest.$ac_objext
55864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55865 (eval $ac_compile) 2>conftest.er1
55866 ac_status=$?
55867 grep -v '^ *+' conftest.er1 >conftest.err
55868 rm -f conftest.er1
55869 cat conftest.err >&5
55870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55871 (exit $ac_status); } &&
55872 { ac_try='test -z "$ac_cxx_werror_flag"
55873 || test ! -s conftest.err'
55874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55875 (eval $ac_try) 2>&5
55876 ac_status=$?
55877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55878 (exit $ac_status); }; } &&
55879 { ac_try='test -s conftest.$ac_objext'
55880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55881 (eval $ac_try) 2>&5
55882 ac_status=$?
55883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55884 (exit $ac_status); }; }; then
55885 glibcxx_cv_func__isnanf_use=yes
55886 else
55887 echo "$as_me: failed program was:" >&5
55888 sed 's/^/| /' conftest.$ac_ext >&5
55890 glibcxx_cv_func__isnanf_use=no
55892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55893 ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
55904 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
55906 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55908 for ac_func in _isnanf
55910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55911 echo "$as_me:$LINENO: checking for $ac_func" >&5
55912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55913 if eval "test \"\${$as_ac_var+set}\" = set"; then
55914 echo $ECHO_N "(cached) $ECHO_C" >&6
55915 else
55916 if test x$gcc_no_link = xyes; then
55917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55919 { (exit 1); exit 1; }; }
55921 cat >conftest.$ac_ext <<_ACEOF
55922 /* confdefs.h. */
55923 _ACEOF
55924 cat confdefs.h >>conftest.$ac_ext
55925 cat >>conftest.$ac_ext <<_ACEOF
55926 /* end confdefs.h. */
55927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55929 #define $ac_func innocuous_$ac_func
55931 /* System header to define __stub macros and hopefully few prototypes,
55932 which can conflict with char $ac_func (); below.
55933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55934 <limits.h> exists even on freestanding compilers. */
55936 #ifdef __STDC__
55937 # include <limits.h>
55938 #else
55939 # include <assert.h>
55940 #endif
55942 #undef $ac_func
55944 /* Override any gcc2 internal prototype to avoid an error. */
55945 #ifdef __cplusplus
55946 extern "C"
55948 #endif
55949 /* We use char because int might match the return type of a gcc2
55950 builtin and then its argument prototype would still apply. */
55951 char $ac_func ();
55952 /* The GNU C library defines this for functions which it implements
55953 to always fail with ENOSYS. Some functions are actually named
55954 something starting with __ and the normal name is an alias. */
55955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55956 choke me
55957 #else
55958 char (*f) () = $ac_func;
55959 #endif
55960 #ifdef __cplusplus
55962 #endif
55965 main ()
55967 return f != $ac_func;
55969 return 0;
55971 _ACEOF
55972 rm -f conftest.$ac_objext conftest$ac_exeext
55973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55974 (eval $ac_link) 2>conftest.er1
55975 ac_status=$?
55976 grep -v '^ *+' conftest.er1 >conftest.err
55977 rm -f conftest.er1
55978 cat conftest.err >&5
55979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55980 (exit $ac_status); } &&
55981 { ac_try='test -z "$ac_c_werror_flag"
55982 || test ! -s conftest.err'
55983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55984 (eval $ac_try) 2>&5
55985 ac_status=$?
55986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55987 (exit $ac_status); }; } &&
55988 { ac_try='test -s conftest$ac_exeext'
55989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55990 (eval $ac_try) 2>&5
55991 ac_status=$?
55992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55993 (exit $ac_status); }; }; then
55994 eval "$as_ac_var=yes"
55995 else
55996 echo "$as_me: failed program was:" >&5
55997 sed 's/^/| /' conftest.$ac_ext >&5
55999 eval "$as_ac_var=no"
56001 rm -f conftest.err conftest.$ac_objext \
56002 conftest$ac_exeext conftest.$ac_ext
56004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56006 if test `eval echo '${'$as_ac_var'}'` = yes; then
56007 cat >>confdefs.h <<_ACEOF
56008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56009 _ACEOF
56012 done
56019 echo "$as_me:$LINENO: checking for isinff declaration" >&5
56020 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
56021 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56022 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
56023 echo $ECHO_N "(cached) $ECHO_C" >&6
56024 else
56028 ac_ext=cc
56029 ac_cpp='$CXXCPP $CPPFLAGS'
56030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56034 cat >conftest.$ac_ext <<_ACEOF
56035 /* confdefs.h. */
56036 _ACEOF
56037 cat confdefs.h >>conftest.$ac_ext
56038 cat >>conftest.$ac_ext <<_ACEOF
56039 /* end confdefs.h. */
56040 #include <math.h>
56041 #ifdef HAVE_IEEEFP_H
56042 #include <ieeefp.h>
56043 #endif
56046 main ()
56048 isinff(0);
56050 return 0;
56052 _ACEOF
56053 rm -f conftest.$ac_objext
56054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56055 (eval $ac_compile) 2>conftest.er1
56056 ac_status=$?
56057 grep -v '^ *+' conftest.er1 >conftest.err
56058 rm -f conftest.er1
56059 cat conftest.err >&5
56060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56061 (exit $ac_status); } &&
56062 { ac_try='test -z "$ac_cxx_werror_flag"
56063 || test ! -s conftest.err'
56064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56065 (eval $ac_try) 2>&5
56066 ac_status=$?
56067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56068 (exit $ac_status); }; } &&
56069 { ac_try='test -s conftest.$ac_objext'
56070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56071 (eval $ac_try) 2>&5
56072 ac_status=$?
56073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56074 (exit $ac_status); }; }; then
56075 glibcxx_cv_func_isinff_use=yes
56076 else
56077 echo "$as_me: failed program was:" >&5
56078 sed 's/^/| /' conftest.$ac_ext >&5
56080 glibcxx_cv_func_isinff_use=no
56082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56083 ac_ext=c
56084 ac_cpp='$CPP $CPPFLAGS'
56085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
56094 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
56096 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56098 for ac_func in isinff
56100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56101 echo "$as_me:$LINENO: checking for $ac_func" >&5
56102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56103 if eval "test \"\${$as_ac_var+set}\" = set"; then
56104 echo $ECHO_N "(cached) $ECHO_C" >&6
56105 else
56106 if test x$gcc_no_link = xyes; then
56107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56109 { (exit 1); exit 1; }; }
56111 cat >conftest.$ac_ext <<_ACEOF
56112 /* confdefs.h. */
56113 _ACEOF
56114 cat confdefs.h >>conftest.$ac_ext
56115 cat >>conftest.$ac_ext <<_ACEOF
56116 /* end confdefs.h. */
56117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56119 #define $ac_func innocuous_$ac_func
56121 /* System header to define __stub macros and hopefully few prototypes,
56122 which can conflict with char $ac_func (); below.
56123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56124 <limits.h> exists even on freestanding compilers. */
56126 #ifdef __STDC__
56127 # include <limits.h>
56128 #else
56129 # include <assert.h>
56130 #endif
56132 #undef $ac_func
56134 /* Override any gcc2 internal prototype to avoid an error. */
56135 #ifdef __cplusplus
56136 extern "C"
56138 #endif
56139 /* We use char because int might match the return type of a gcc2
56140 builtin and then its argument prototype would still apply. */
56141 char $ac_func ();
56142 /* The GNU C library defines this for functions which it implements
56143 to always fail with ENOSYS. Some functions are actually named
56144 something starting with __ and the normal name is an alias. */
56145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56146 choke me
56147 #else
56148 char (*f) () = $ac_func;
56149 #endif
56150 #ifdef __cplusplus
56152 #endif
56155 main ()
56157 return f != $ac_func;
56159 return 0;
56161 _ACEOF
56162 rm -f conftest.$ac_objext conftest$ac_exeext
56163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56164 (eval $ac_link) 2>conftest.er1
56165 ac_status=$?
56166 grep -v '^ *+' conftest.er1 >conftest.err
56167 rm -f conftest.er1
56168 cat conftest.err >&5
56169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56170 (exit $ac_status); } &&
56171 { ac_try='test -z "$ac_c_werror_flag"
56172 || test ! -s conftest.err'
56173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56174 (eval $ac_try) 2>&5
56175 ac_status=$?
56176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56177 (exit $ac_status); }; } &&
56178 { ac_try='test -s conftest$ac_exeext'
56179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56180 (eval $ac_try) 2>&5
56181 ac_status=$?
56182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56183 (exit $ac_status); }; }; then
56184 eval "$as_ac_var=yes"
56185 else
56186 echo "$as_me: failed program was:" >&5
56187 sed 's/^/| /' conftest.$ac_ext >&5
56189 eval "$as_ac_var=no"
56191 rm -f conftest.err conftest.$ac_objext \
56192 conftest$ac_exeext conftest.$ac_ext
56194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56196 if test `eval echo '${'$as_ac_var'}'` = yes; then
56197 cat >>confdefs.h <<_ACEOF
56198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56199 _ACEOF
56202 done
56204 else
56206 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
56207 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
56208 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56209 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
56210 echo $ECHO_N "(cached) $ECHO_C" >&6
56211 else
56215 ac_ext=cc
56216 ac_cpp='$CXXCPP $CPPFLAGS'
56217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56221 cat >conftest.$ac_ext <<_ACEOF
56222 /* confdefs.h. */
56223 _ACEOF
56224 cat confdefs.h >>conftest.$ac_ext
56225 cat >>conftest.$ac_ext <<_ACEOF
56226 /* end confdefs.h. */
56227 #include <math.h>
56228 #ifdef HAVE_IEEEFP_H
56229 #include <ieeefp.h>
56230 #endif
56233 main ()
56235 _isinff(0);
56237 return 0;
56239 _ACEOF
56240 rm -f conftest.$ac_objext
56241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56242 (eval $ac_compile) 2>conftest.er1
56243 ac_status=$?
56244 grep -v '^ *+' conftest.er1 >conftest.err
56245 rm -f conftest.er1
56246 cat conftest.err >&5
56247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56248 (exit $ac_status); } &&
56249 { ac_try='test -z "$ac_cxx_werror_flag"
56250 || test ! -s conftest.err'
56251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56252 (eval $ac_try) 2>&5
56253 ac_status=$?
56254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255 (exit $ac_status); }; } &&
56256 { ac_try='test -s conftest.$ac_objext'
56257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56258 (eval $ac_try) 2>&5
56259 ac_status=$?
56260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56261 (exit $ac_status); }; }; then
56262 glibcxx_cv_func__isinff_use=yes
56263 else
56264 echo "$as_me: failed program was:" >&5
56265 sed 's/^/| /' conftest.$ac_ext >&5
56267 glibcxx_cv_func__isinff_use=no
56269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56270 ac_ext=c
56271 ac_cpp='$CPP $CPPFLAGS'
56272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
56281 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
56283 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56285 for ac_func in _isinff
56287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56288 echo "$as_me:$LINENO: checking for $ac_func" >&5
56289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56290 if eval "test \"\${$as_ac_var+set}\" = set"; then
56291 echo $ECHO_N "(cached) $ECHO_C" >&6
56292 else
56293 if test x$gcc_no_link = xyes; then
56294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56296 { (exit 1); exit 1; }; }
56298 cat >conftest.$ac_ext <<_ACEOF
56299 /* confdefs.h. */
56300 _ACEOF
56301 cat confdefs.h >>conftest.$ac_ext
56302 cat >>conftest.$ac_ext <<_ACEOF
56303 /* end confdefs.h. */
56304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56306 #define $ac_func innocuous_$ac_func
56308 /* System header to define __stub macros and hopefully few prototypes,
56309 which can conflict with char $ac_func (); below.
56310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56311 <limits.h> exists even on freestanding compilers. */
56313 #ifdef __STDC__
56314 # include <limits.h>
56315 #else
56316 # include <assert.h>
56317 #endif
56319 #undef $ac_func
56321 /* Override any gcc2 internal prototype to avoid an error. */
56322 #ifdef __cplusplus
56323 extern "C"
56325 #endif
56326 /* We use char because int might match the return type of a gcc2
56327 builtin and then its argument prototype would still apply. */
56328 char $ac_func ();
56329 /* The GNU C library defines this for functions which it implements
56330 to always fail with ENOSYS. Some functions are actually named
56331 something starting with __ and the normal name is an alias. */
56332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56333 choke me
56334 #else
56335 char (*f) () = $ac_func;
56336 #endif
56337 #ifdef __cplusplus
56339 #endif
56342 main ()
56344 return f != $ac_func;
56346 return 0;
56348 _ACEOF
56349 rm -f conftest.$ac_objext conftest$ac_exeext
56350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56351 (eval $ac_link) 2>conftest.er1
56352 ac_status=$?
56353 grep -v '^ *+' conftest.er1 >conftest.err
56354 rm -f conftest.er1
56355 cat conftest.err >&5
56356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56357 (exit $ac_status); } &&
56358 { ac_try='test -z "$ac_c_werror_flag"
56359 || test ! -s conftest.err'
56360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56361 (eval $ac_try) 2>&5
56362 ac_status=$?
56363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56364 (exit $ac_status); }; } &&
56365 { ac_try='test -s conftest$ac_exeext'
56366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56367 (eval $ac_try) 2>&5
56368 ac_status=$?
56369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56370 (exit $ac_status); }; }; then
56371 eval "$as_ac_var=yes"
56372 else
56373 echo "$as_me: failed program was:" >&5
56374 sed 's/^/| /' conftest.$ac_ext >&5
56376 eval "$as_ac_var=no"
56378 rm -f conftest.err conftest.$ac_objext \
56379 conftest$ac_exeext conftest.$ac_ext
56381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56383 if test `eval echo '${'$as_ac_var'}'` = yes; then
56384 cat >>confdefs.h <<_ACEOF
56385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56386 _ACEOF
56389 done
56396 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
56397 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
56398 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56399 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
56400 echo $ECHO_N "(cached) $ECHO_C" >&6
56401 else
56405 ac_ext=cc
56406 ac_cpp='$CXXCPP $CPPFLAGS'
56407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56411 cat >conftest.$ac_ext <<_ACEOF
56412 /* confdefs.h. */
56413 _ACEOF
56414 cat confdefs.h >>conftest.$ac_ext
56415 cat >>conftest.$ac_ext <<_ACEOF
56416 /* end confdefs.h. */
56417 #include <math.h>
56419 main ()
56421 atan2f(0, 0);
56423 return 0;
56425 _ACEOF
56426 rm -f conftest.$ac_objext
56427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56428 (eval $ac_compile) 2>conftest.er1
56429 ac_status=$?
56430 grep -v '^ *+' conftest.er1 >conftest.err
56431 rm -f conftest.er1
56432 cat conftest.err >&5
56433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56434 (exit $ac_status); } &&
56435 { ac_try='test -z "$ac_cxx_werror_flag"
56436 || test ! -s conftest.err'
56437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56438 (eval $ac_try) 2>&5
56439 ac_status=$?
56440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56441 (exit $ac_status); }; } &&
56442 { ac_try='test -s conftest.$ac_objext'
56443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56444 (eval $ac_try) 2>&5
56445 ac_status=$?
56446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56447 (exit $ac_status); }; }; then
56448 glibcxx_cv_func_atan2f_use=yes
56449 else
56450 echo "$as_me: failed program was:" >&5
56451 sed 's/^/| /' conftest.$ac_ext >&5
56453 glibcxx_cv_func_atan2f_use=no
56455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56456 ac_ext=c
56457 ac_cpp='$CPP $CPPFLAGS'
56458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
56467 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
56469 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56471 for ac_func in atan2f
56473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56474 echo "$as_me:$LINENO: checking for $ac_func" >&5
56475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56476 if eval "test \"\${$as_ac_var+set}\" = set"; then
56477 echo $ECHO_N "(cached) $ECHO_C" >&6
56478 else
56479 if test x$gcc_no_link = xyes; then
56480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56482 { (exit 1); exit 1; }; }
56484 cat >conftest.$ac_ext <<_ACEOF
56485 /* confdefs.h. */
56486 _ACEOF
56487 cat confdefs.h >>conftest.$ac_ext
56488 cat >>conftest.$ac_ext <<_ACEOF
56489 /* end confdefs.h. */
56490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56492 #define $ac_func innocuous_$ac_func
56494 /* System header to define __stub macros and hopefully few prototypes,
56495 which can conflict with char $ac_func (); below.
56496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56497 <limits.h> exists even on freestanding compilers. */
56499 #ifdef __STDC__
56500 # include <limits.h>
56501 #else
56502 # include <assert.h>
56503 #endif
56505 #undef $ac_func
56507 /* Override any gcc2 internal prototype to avoid an error. */
56508 #ifdef __cplusplus
56509 extern "C"
56511 #endif
56512 /* We use char because int might match the return type of a gcc2
56513 builtin and then its argument prototype would still apply. */
56514 char $ac_func ();
56515 /* The GNU C library defines this for functions which it implements
56516 to always fail with ENOSYS. Some functions are actually named
56517 something starting with __ and the normal name is an alias. */
56518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56519 choke me
56520 #else
56521 char (*f) () = $ac_func;
56522 #endif
56523 #ifdef __cplusplus
56525 #endif
56528 main ()
56530 return f != $ac_func;
56532 return 0;
56534 _ACEOF
56535 rm -f conftest.$ac_objext conftest$ac_exeext
56536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56537 (eval $ac_link) 2>conftest.er1
56538 ac_status=$?
56539 grep -v '^ *+' conftest.er1 >conftest.err
56540 rm -f conftest.er1
56541 cat conftest.err >&5
56542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56543 (exit $ac_status); } &&
56544 { ac_try='test -z "$ac_c_werror_flag"
56545 || test ! -s conftest.err'
56546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56547 (eval $ac_try) 2>&5
56548 ac_status=$?
56549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550 (exit $ac_status); }; } &&
56551 { ac_try='test -s conftest$ac_exeext'
56552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56553 (eval $ac_try) 2>&5
56554 ac_status=$?
56555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56556 (exit $ac_status); }; }; then
56557 eval "$as_ac_var=yes"
56558 else
56559 echo "$as_me: failed program was:" >&5
56560 sed 's/^/| /' conftest.$ac_ext >&5
56562 eval "$as_ac_var=no"
56564 rm -f conftest.err conftest.$ac_objext \
56565 conftest$ac_exeext conftest.$ac_ext
56567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56569 if test `eval echo '${'$as_ac_var'}'` = yes; then
56570 cat >>confdefs.h <<_ACEOF
56571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56572 _ACEOF
56575 done
56577 else
56579 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
56580 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
56581 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56582 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
56583 echo $ECHO_N "(cached) $ECHO_C" >&6
56584 else
56588 ac_ext=cc
56589 ac_cpp='$CXXCPP $CPPFLAGS'
56590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56594 cat >conftest.$ac_ext <<_ACEOF
56595 /* confdefs.h. */
56596 _ACEOF
56597 cat confdefs.h >>conftest.$ac_ext
56598 cat >>conftest.$ac_ext <<_ACEOF
56599 /* end confdefs.h. */
56600 #include <math.h>
56602 main ()
56604 _atan2f(0, 0);
56606 return 0;
56608 _ACEOF
56609 rm -f conftest.$ac_objext
56610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56611 (eval $ac_compile) 2>conftest.er1
56612 ac_status=$?
56613 grep -v '^ *+' conftest.er1 >conftest.err
56614 rm -f conftest.er1
56615 cat conftest.err >&5
56616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56617 (exit $ac_status); } &&
56618 { ac_try='test -z "$ac_cxx_werror_flag"
56619 || test ! -s conftest.err'
56620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56621 (eval $ac_try) 2>&5
56622 ac_status=$?
56623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56624 (exit $ac_status); }; } &&
56625 { ac_try='test -s conftest.$ac_objext'
56626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56627 (eval $ac_try) 2>&5
56628 ac_status=$?
56629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56630 (exit $ac_status); }; }; then
56631 glibcxx_cv_func__atan2f_use=yes
56632 else
56633 echo "$as_me: failed program was:" >&5
56634 sed 's/^/| /' conftest.$ac_ext >&5
56636 glibcxx_cv_func__atan2f_use=no
56638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56639 ac_ext=c
56640 ac_cpp='$CPP $CPPFLAGS'
56641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
56650 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
56652 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56654 for ac_func in _atan2f
56656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56657 echo "$as_me:$LINENO: checking for $ac_func" >&5
56658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56659 if eval "test \"\${$as_ac_var+set}\" = set"; then
56660 echo $ECHO_N "(cached) $ECHO_C" >&6
56661 else
56662 if test x$gcc_no_link = xyes; then
56663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56665 { (exit 1); exit 1; }; }
56667 cat >conftest.$ac_ext <<_ACEOF
56668 /* confdefs.h. */
56669 _ACEOF
56670 cat confdefs.h >>conftest.$ac_ext
56671 cat >>conftest.$ac_ext <<_ACEOF
56672 /* end confdefs.h. */
56673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56675 #define $ac_func innocuous_$ac_func
56677 /* System header to define __stub macros and hopefully few prototypes,
56678 which can conflict with char $ac_func (); below.
56679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56680 <limits.h> exists even on freestanding compilers. */
56682 #ifdef __STDC__
56683 # include <limits.h>
56684 #else
56685 # include <assert.h>
56686 #endif
56688 #undef $ac_func
56690 /* Override any gcc2 internal prototype to avoid an error. */
56691 #ifdef __cplusplus
56692 extern "C"
56694 #endif
56695 /* We use char because int might match the return type of a gcc2
56696 builtin and then its argument prototype would still apply. */
56697 char $ac_func ();
56698 /* The GNU C library defines this for functions which it implements
56699 to always fail with ENOSYS. Some functions are actually named
56700 something starting with __ and the normal name is an alias. */
56701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56702 choke me
56703 #else
56704 char (*f) () = $ac_func;
56705 #endif
56706 #ifdef __cplusplus
56708 #endif
56711 main ()
56713 return f != $ac_func;
56715 return 0;
56717 _ACEOF
56718 rm -f conftest.$ac_objext conftest$ac_exeext
56719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56720 (eval $ac_link) 2>conftest.er1
56721 ac_status=$?
56722 grep -v '^ *+' conftest.er1 >conftest.err
56723 rm -f conftest.er1
56724 cat conftest.err >&5
56725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56726 (exit $ac_status); } &&
56727 { ac_try='test -z "$ac_c_werror_flag"
56728 || test ! -s conftest.err'
56729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56730 (eval $ac_try) 2>&5
56731 ac_status=$?
56732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56733 (exit $ac_status); }; } &&
56734 { ac_try='test -s conftest$ac_exeext'
56735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56736 (eval $ac_try) 2>&5
56737 ac_status=$?
56738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56739 (exit $ac_status); }; }; then
56740 eval "$as_ac_var=yes"
56741 else
56742 echo "$as_me: failed program was:" >&5
56743 sed 's/^/| /' conftest.$ac_ext >&5
56745 eval "$as_ac_var=no"
56747 rm -f conftest.err conftest.$ac_objext \
56748 conftest$ac_exeext conftest.$ac_ext
56750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56752 if test `eval echo '${'$as_ac_var'}'` = yes; then
56753 cat >>confdefs.h <<_ACEOF
56754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56755 _ACEOF
56758 done
56765 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
56766 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
56767 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56768 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
56769 echo $ECHO_N "(cached) $ECHO_C" >&6
56770 else
56774 ac_ext=cc
56775 ac_cpp='$CXXCPP $CPPFLAGS'
56776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780 cat >conftest.$ac_ext <<_ACEOF
56781 /* confdefs.h. */
56782 _ACEOF
56783 cat confdefs.h >>conftest.$ac_ext
56784 cat >>conftest.$ac_ext <<_ACEOF
56785 /* end confdefs.h. */
56786 #include <math.h>
56787 #ifdef HAVE_IEEEFP_H
56788 #include <ieeefp.h>
56789 #endif
56792 main ()
56794 fabsf(0);
56796 return 0;
56798 _ACEOF
56799 rm -f conftest.$ac_objext
56800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56801 (eval $ac_compile) 2>conftest.er1
56802 ac_status=$?
56803 grep -v '^ *+' conftest.er1 >conftest.err
56804 rm -f conftest.er1
56805 cat conftest.err >&5
56806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56807 (exit $ac_status); } &&
56808 { ac_try='test -z "$ac_cxx_werror_flag"
56809 || test ! -s conftest.err'
56810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56811 (eval $ac_try) 2>&5
56812 ac_status=$?
56813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56814 (exit $ac_status); }; } &&
56815 { ac_try='test -s conftest.$ac_objext'
56816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56817 (eval $ac_try) 2>&5
56818 ac_status=$?
56819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56820 (exit $ac_status); }; }; then
56821 glibcxx_cv_func_fabsf_use=yes
56822 else
56823 echo "$as_me: failed program was:" >&5
56824 sed 's/^/| /' conftest.$ac_ext >&5
56826 glibcxx_cv_func_fabsf_use=no
56828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56829 ac_ext=c
56830 ac_cpp='$CPP $CPPFLAGS'
56831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
56840 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
56842 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56844 for ac_func in fabsf
56846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56847 echo "$as_me:$LINENO: checking for $ac_func" >&5
56848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56849 if eval "test \"\${$as_ac_var+set}\" = set"; then
56850 echo $ECHO_N "(cached) $ECHO_C" >&6
56851 else
56852 if test x$gcc_no_link = xyes; then
56853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56855 { (exit 1); exit 1; }; }
56857 cat >conftest.$ac_ext <<_ACEOF
56858 /* confdefs.h. */
56859 _ACEOF
56860 cat confdefs.h >>conftest.$ac_ext
56861 cat >>conftest.$ac_ext <<_ACEOF
56862 /* end confdefs.h. */
56863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56865 #define $ac_func innocuous_$ac_func
56867 /* System header to define __stub macros and hopefully few prototypes,
56868 which can conflict with char $ac_func (); below.
56869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56870 <limits.h> exists even on freestanding compilers. */
56872 #ifdef __STDC__
56873 # include <limits.h>
56874 #else
56875 # include <assert.h>
56876 #endif
56878 #undef $ac_func
56880 /* Override any gcc2 internal prototype to avoid an error. */
56881 #ifdef __cplusplus
56882 extern "C"
56884 #endif
56885 /* We use char because int might match the return type of a gcc2
56886 builtin and then its argument prototype would still apply. */
56887 char $ac_func ();
56888 /* The GNU C library defines this for functions which it implements
56889 to always fail with ENOSYS. Some functions are actually named
56890 something starting with __ and the normal name is an alias. */
56891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56892 choke me
56893 #else
56894 char (*f) () = $ac_func;
56895 #endif
56896 #ifdef __cplusplus
56898 #endif
56901 main ()
56903 return f != $ac_func;
56905 return 0;
56907 _ACEOF
56908 rm -f conftest.$ac_objext conftest$ac_exeext
56909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56910 (eval $ac_link) 2>conftest.er1
56911 ac_status=$?
56912 grep -v '^ *+' conftest.er1 >conftest.err
56913 rm -f conftest.er1
56914 cat conftest.err >&5
56915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56916 (exit $ac_status); } &&
56917 { ac_try='test -z "$ac_c_werror_flag"
56918 || test ! -s conftest.err'
56919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56920 (eval $ac_try) 2>&5
56921 ac_status=$?
56922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56923 (exit $ac_status); }; } &&
56924 { ac_try='test -s conftest$ac_exeext'
56925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56926 (eval $ac_try) 2>&5
56927 ac_status=$?
56928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56929 (exit $ac_status); }; }; then
56930 eval "$as_ac_var=yes"
56931 else
56932 echo "$as_me: failed program was:" >&5
56933 sed 's/^/| /' conftest.$ac_ext >&5
56935 eval "$as_ac_var=no"
56937 rm -f conftest.err conftest.$ac_objext \
56938 conftest$ac_exeext conftest.$ac_ext
56940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56942 if test `eval echo '${'$as_ac_var'}'` = yes; then
56943 cat >>confdefs.h <<_ACEOF
56944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56945 _ACEOF
56948 done
56950 else
56952 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
56953 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
56954 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56955 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
56956 echo $ECHO_N "(cached) $ECHO_C" >&6
56957 else
56961 ac_ext=cc
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56967 cat >conftest.$ac_ext <<_ACEOF
56968 /* confdefs.h. */
56969 _ACEOF
56970 cat confdefs.h >>conftest.$ac_ext
56971 cat >>conftest.$ac_ext <<_ACEOF
56972 /* end confdefs.h. */
56973 #include <math.h>
56974 #ifdef HAVE_IEEEFP_H
56975 #include <ieeefp.h>
56976 #endif
56979 main ()
56981 _fabsf(0);
56983 return 0;
56985 _ACEOF
56986 rm -f conftest.$ac_objext
56987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56988 (eval $ac_compile) 2>conftest.er1
56989 ac_status=$?
56990 grep -v '^ *+' conftest.er1 >conftest.err
56991 rm -f conftest.er1
56992 cat conftest.err >&5
56993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56994 (exit $ac_status); } &&
56995 { ac_try='test -z "$ac_cxx_werror_flag"
56996 || test ! -s conftest.err'
56997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56998 (eval $ac_try) 2>&5
56999 ac_status=$?
57000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57001 (exit $ac_status); }; } &&
57002 { ac_try='test -s conftest.$ac_objext'
57003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57004 (eval $ac_try) 2>&5
57005 ac_status=$?
57006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57007 (exit $ac_status); }; }; then
57008 glibcxx_cv_func__fabsf_use=yes
57009 else
57010 echo "$as_me: failed program was:" >&5
57011 sed 's/^/| /' conftest.$ac_ext >&5
57013 glibcxx_cv_func__fabsf_use=no
57015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57016 ac_ext=c
57017 ac_cpp='$CPP $CPPFLAGS'
57018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
57027 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
57029 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
57031 for ac_func in _fabsf
57033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57034 echo "$as_me:$LINENO: checking for $ac_func" >&5
57035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57036 if eval "test \"\${$as_ac_var+set}\" = set"; then
57037 echo $ECHO_N "(cached) $ECHO_C" >&6
57038 else
57039 if test x$gcc_no_link = xyes; then
57040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57042 { (exit 1); exit 1; }; }
57044 cat >conftest.$ac_ext <<_ACEOF
57045 /* confdefs.h. */
57046 _ACEOF
57047 cat confdefs.h >>conftest.$ac_ext
57048 cat >>conftest.$ac_ext <<_ACEOF
57049 /* end confdefs.h. */
57050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57052 #define $ac_func innocuous_$ac_func
57054 /* System header to define __stub macros and hopefully few prototypes,
57055 which can conflict with char $ac_func (); below.
57056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57057 <limits.h> exists even on freestanding compilers. */
57059 #ifdef __STDC__
57060 # include <limits.h>
57061 #else
57062 # include <assert.h>
57063 #endif
57065 #undef $ac_func
57067 /* Override any gcc2 internal prototype to avoid an error. */
57068 #ifdef __cplusplus
57069 extern "C"
57071 #endif
57072 /* We use char because int might match the return type of a gcc2
57073 builtin and then its argument prototype would still apply. */
57074 char $ac_func ();
57075 /* The GNU C library defines this for functions which it implements
57076 to always fail with ENOSYS. Some functions are actually named
57077 something starting with __ and the normal name is an alias. */
57078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57079 choke me
57080 #else
57081 char (*f) () = $ac_func;
57082 #endif
57083 #ifdef __cplusplus
57085 #endif
57088 main ()
57090 return f != $ac_func;
57092 return 0;
57094 _ACEOF
57095 rm -f conftest.$ac_objext conftest$ac_exeext
57096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57097 (eval $ac_link) 2>conftest.er1
57098 ac_status=$?
57099 grep -v '^ *+' conftest.er1 >conftest.err
57100 rm -f conftest.er1
57101 cat conftest.err >&5
57102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57103 (exit $ac_status); } &&
57104 { ac_try='test -z "$ac_c_werror_flag"
57105 || test ! -s conftest.err'
57106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57107 (eval $ac_try) 2>&5
57108 ac_status=$?
57109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57110 (exit $ac_status); }; } &&
57111 { ac_try='test -s conftest$ac_exeext'
57112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57113 (eval $ac_try) 2>&5
57114 ac_status=$?
57115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57116 (exit $ac_status); }; }; then
57117 eval "$as_ac_var=yes"
57118 else
57119 echo "$as_me: failed program was:" >&5
57120 sed 's/^/| /' conftest.$ac_ext >&5
57122 eval "$as_ac_var=no"
57124 rm -f conftest.err conftest.$ac_objext \
57125 conftest$ac_exeext conftest.$ac_ext
57127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57129 if test `eval echo '${'$as_ac_var'}'` = yes; then
57130 cat >>confdefs.h <<_ACEOF
57131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57132 _ACEOF
57135 done
57142 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
57143 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
57144 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
57145 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
57146 echo $ECHO_N "(cached) $ECHO_C" >&6
57147 else
57151 ac_ext=cc
57152 ac_cpp='$CXXCPP $CPPFLAGS'
57153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57157 cat >conftest.$ac_ext <<_ACEOF
57158 /* confdefs.h. */
57159 _ACEOF
57160 cat confdefs.h >>conftest.$ac_ext
57161 cat >>conftest.$ac_ext <<_ACEOF
57162 /* end confdefs.h. */
57163 #include <math.h>
57165 main ()
57167 fmodf(0, 0);
57169 return 0;
57171 _ACEOF
57172 rm -f conftest.$ac_objext
57173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57174 (eval $ac_compile) 2>conftest.er1
57175 ac_status=$?
57176 grep -v '^ *+' conftest.er1 >conftest.err
57177 rm -f conftest.er1
57178 cat conftest.err >&5
57179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57180 (exit $ac_status); } &&
57181 { ac_try='test -z "$ac_cxx_werror_flag"
57182 || test ! -s conftest.err'
57183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57184 (eval $ac_try) 2>&5
57185 ac_status=$?
57186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57187 (exit $ac_status); }; } &&
57188 { ac_try='test -s conftest.$ac_objext'
57189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57190 (eval $ac_try) 2>&5
57191 ac_status=$?
57192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57193 (exit $ac_status); }; }; then
57194 glibcxx_cv_func_fmodf_use=yes
57195 else
57196 echo "$as_me: failed program was:" >&5
57197 sed 's/^/| /' conftest.$ac_ext >&5
57199 glibcxx_cv_func_fmodf_use=no
57201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57202 ac_ext=c
57203 ac_cpp='$CPP $CPPFLAGS'
57204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
57213 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
57215 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
57217 for ac_func in fmodf
57219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57220 echo "$as_me:$LINENO: checking for $ac_func" >&5
57221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57222 if eval "test \"\${$as_ac_var+set}\" = set"; then
57223 echo $ECHO_N "(cached) $ECHO_C" >&6
57224 else
57225 if test x$gcc_no_link = xyes; then
57226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57228 { (exit 1); exit 1; }; }
57230 cat >conftest.$ac_ext <<_ACEOF
57231 /* confdefs.h. */
57232 _ACEOF
57233 cat confdefs.h >>conftest.$ac_ext
57234 cat >>conftest.$ac_ext <<_ACEOF
57235 /* end confdefs.h. */
57236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57238 #define $ac_func innocuous_$ac_func
57240 /* System header to define __stub macros and hopefully few prototypes,
57241 which can conflict with char $ac_func (); below.
57242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57243 <limits.h> exists even on freestanding compilers. */
57245 #ifdef __STDC__
57246 # include <limits.h>
57247 #else
57248 # include <assert.h>
57249 #endif
57251 #undef $ac_func
57253 /* Override any gcc2 internal prototype to avoid an error. */
57254 #ifdef __cplusplus
57255 extern "C"
57257 #endif
57258 /* We use char because int might match the return type of a gcc2
57259 builtin and then its argument prototype would still apply. */
57260 char $ac_func ();
57261 /* The GNU C library defines this for functions which it implements
57262 to always fail with ENOSYS. Some functions are actually named
57263 something starting with __ and the normal name is an alias. */
57264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57265 choke me
57266 #else
57267 char (*f) () = $ac_func;
57268 #endif
57269 #ifdef __cplusplus
57271 #endif
57274 main ()
57276 return f != $ac_func;
57278 return 0;
57280 _ACEOF
57281 rm -f conftest.$ac_objext conftest$ac_exeext
57282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57283 (eval $ac_link) 2>conftest.er1
57284 ac_status=$?
57285 grep -v '^ *+' conftest.er1 >conftest.err
57286 rm -f conftest.er1
57287 cat conftest.err >&5
57288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57289 (exit $ac_status); } &&
57290 { ac_try='test -z "$ac_c_werror_flag"
57291 || test ! -s conftest.err'
57292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57293 (eval $ac_try) 2>&5
57294 ac_status=$?
57295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57296 (exit $ac_status); }; } &&
57297 { ac_try='test -s conftest$ac_exeext'
57298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57299 (eval $ac_try) 2>&5
57300 ac_status=$?
57301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57302 (exit $ac_status); }; }; then
57303 eval "$as_ac_var=yes"
57304 else
57305 echo "$as_me: failed program was:" >&5
57306 sed 's/^/| /' conftest.$ac_ext >&5
57308 eval "$as_ac_var=no"
57310 rm -f conftest.err conftest.$ac_objext \
57311 conftest$ac_exeext conftest.$ac_ext
57313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57315 if test `eval echo '${'$as_ac_var'}'` = yes; then
57316 cat >>confdefs.h <<_ACEOF
57317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57318 _ACEOF
57321 done
57323 else
57325 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
57326 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
57327 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
57328 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
57329 echo $ECHO_N "(cached) $ECHO_C" >&6
57330 else
57334 ac_ext=cc
57335 ac_cpp='$CXXCPP $CPPFLAGS'
57336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57340 cat >conftest.$ac_ext <<_ACEOF
57341 /* confdefs.h. */
57342 _ACEOF
57343 cat confdefs.h >>conftest.$ac_ext
57344 cat >>conftest.$ac_ext <<_ACEOF
57345 /* end confdefs.h. */
57346 #include <math.h>
57348 main ()
57350 _fmodf(0, 0);
57352 return 0;
57354 _ACEOF
57355 rm -f conftest.$ac_objext
57356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57357 (eval $ac_compile) 2>conftest.er1
57358 ac_status=$?
57359 grep -v '^ *+' conftest.er1 >conftest.err
57360 rm -f conftest.er1
57361 cat conftest.err >&5
57362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57363 (exit $ac_status); } &&
57364 { ac_try='test -z "$ac_cxx_werror_flag"
57365 || test ! -s conftest.err'
57366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57367 (eval $ac_try) 2>&5
57368 ac_status=$?
57369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57370 (exit $ac_status); }; } &&
57371 { ac_try='test -s conftest.$ac_objext'
57372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57373 (eval $ac_try) 2>&5
57374 ac_status=$?
57375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57376 (exit $ac_status); }; }; then
57377 glibcxx_cv_func__fmodf_use=yes
57378 else
57379 echo "$as_me: failed program was:" >&5
57380 sed 's/^/| /' conftest.$ac_ext >&5
57382 glibcxx_cv_func__fmodf_use=no
57384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57385 ac_ext=c
57386 ac_cpp='$CPP $CPPFLAGS'
57387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
57396 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
57398 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
57400 for ac_func in _fmodf
57402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57403 echo "$as_me:$LINENO: checking for $ac_func" >&5
57404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57405 if eval "test \"\${$as_ac_var+set}\" = set"; then
57406 echo $ECHO_N "(cached) $ECHO_C" >&6
57407 else
57408 if test x$gcc_no_link = xyes; then
57409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57411 { (exit 1); exit 1; }; }
57413 cat >conftest.$ac_ext <<_ACEOF
57414 /* confdefs.h. */
57415 _ACEOF
57416 cat confdefs.h >>conftest.$ac_ext
57417 cat >>conftest.$ac_ext <<_ACEOF
57418 /* end confdefs.h. */
57419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57421 #define $ac_func innocuous_$ac_func
57423 /* System header to define __stub macros and hopefully few prototypes,
57424 which can conflict with char $ac_func (); below.
57425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57426 <limits.h> exists even on freestanding compilers. */
57428 #ifdef __STDC__
57429 # include <limits.h>
57430 #else
57431 # include <assert.h>
57432 #endif
57434 #undef $ac_func
57436 /* Override any gcc2 internal prototype to avoid an error. */
57437 #ifdef __cplusplus
57438 extern "C"
57440 #endif
57441 /* We use char because int might match the return type of a gcc2
57442 builtin and then its argument prototype would still apply. */
57443 char $ac_func ();
57444 /* The GNU C library defines this for functions which it implements
57445 to always fail with ENOSYS. Some functions are actually named
57446 something starting with __ and the normal name is an alias. */
57447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57448 choke me
57449 #else
57450 char (*f) () = $ac_func;
57451 #endif
57452 #ifdef __cplusplus
57454 #endif
57457 main ()
57459 return f != $ac_func;
57461 return 0;
57463 _ACEOF
57464 rm -f conftest.$ac_objext conftest$ac_exeext
57465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57466 (eval $ac_link) 2>conftest.er1
57467 ac_status=$?
57468 grep -v '^ *+' conftest.er1 >conftest.err
57469 rm -f conftest.er1
57470 cat conftest.err >&5
57471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57472 (exit $ac_status); } &&
57473 { ac_try='test -z "$ac_c_werror_flag"
57474 || test ! -s conftest.err'
57475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57476 (eval $ac_try) 2>&5
57477 ac_status=$?
57478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57479 (exit $ac_status); }; } &&
57480 { ac_try='test -s conftest$ac_exeext'
57481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57482 (eval $ac_try) 2>&5
57483 ac_status=$?
57484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57485 (exit $ac_status); }; }; then
57486 eval "$as_ac_var=yes"
57487 else
57488 echo "$as_me: failed program was:" >&5
57489 sed 's/^/| /' conftest.$ac_ext >&5
57491 eval "$as_ac_var=no"
57493 rm -f conftest.err conftest.$ac_objext \
57494 conftest$ac_exeext conftest.$ac_ext
57496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57498 if test `eval echo '${'$as_ac_var'}'` = yes; then
57499 cat >>confdefs.h <<_ACEOF
57500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57501 _ACEOF
57504 done
57511 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
57512 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
57513 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
57514 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
57515 echo $ECHO_N "(cached) $ECHO_C" >&6
57516 else
57520 ac_ext=cc
57521 ac_cpp='$CXXCPP $CPPFLAGS'
57522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57526 cat >conftest.$ac_ext <<_ACEOF
57527 /* confdefs.h. */
57528 _ACEOF
57529 cat confdefs.h >>conftest.$ac_ext
57530 cat >>conftest.$ac_ext <<_ACEOF
57531 /* end confdefs.h. */
57532 #include <math.h>
57534 main ()
57536 frexpf(0, 0);
57538 return 0;
57540 _ACEOF
57541 rm -f conftest.$ac_objext
57542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57543 (eval $ac_compile) 2>conftest.er1
57544 ac_status=$?
57545 grep -v '^ *+' conftest.er1 >conftest.err
57546 rm -f conftest.er1
57547 cat conftest.err >&5
57548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549 (exit $ac_status); } &&
57550 { ac_try='test -z "$ac_cxx_werror_flag"
57551 || test ! -s conftest.err'
57552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57553 (eval $ac_try) 2>&5
57554 ac_status=$?
57555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556 (exit $ac_status); }; } &&
57557 { ac_try='test -s conftest.$ac_objext'
57558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57559 (eval $ac_try) 2>&5
57560 ac_status=$?
57561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57562 (exit $ac_status); }; }; then
57563 glibcxx_cv_func_frexpf_use=yes
57564 else
57565 echo "$as_me: failed program was:" >&5
57566 sed 's/^/| /' conftest.$ac_ext >&5
57568 glibcxx_cv_func_frexpf_use=no
57570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57571 ac_ext=c
57572 ac_cpp='$CPP $CPPFLAGS'
57573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
57582 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
57584 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57586 for ac_func in frexpf
57588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57589 echo "$as_me:$LINENO: checking for $ac_func" >&5
57590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57591 if eval "test \"\${$as_ac_var+set}\" = set"; then
57592 echo $ECHO_N "(cached) $ECHO_C" >&6
57593 else
57594 if test x$gcc_no_link = xyes; then
57595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57597 { (exit 1); exit 1; }; }
57599 cat >conftest.$ac_ext <<_ACEOF
57600 /* confdefs.h. */
57601 _ACEOF
57602 cat confdefs.h >>conftest.$ac_ext
57603 cat >>conftest.$ac_ext <<_ACEOF
57604 /* end confdefs.h. */
57605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57607 #define $ac_func innocuous_$ac_func
57609 /* System header to define __stub macros and hopefully few prototypes,
57610 which can conflict with char $ac_func (); below.
57611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57612 <limits.h> exists even on freestanding compilers. */
57614 #ifdef __STDC__
57615 # include <limits.h>
57616 #else
57617 # include <assert.h>
57618 #endif
57620 #undef $ac_func
57622 /* Override any gcc2 internal prototype to avoid an error. */
57623 #ifdef __cplusplus
57624 extern "C"
57626 #endif
57627 /* We use char because int might match the return type of a gcc2
57628 builtin and then its argument prototype would still apply. */
57629 char $ac_func ();
57630 /* The GNU C library defines this for functions which it implements
57631 to always fail with ENOSYS. Some functions are actually named
57632 something starting with __ and the normal name is an alias. */
57633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57634 choke me
57635 #else
57636 char (*f) () = $ac_func;
57637 #endif
57638 #ifdef __cplusplus
57640 #endif
57643 main ()
57645 return f != $ac_func;
57647 return 0;
57649 _ACEOF
57650 rm -f conftest.$ac_objext conftest$ac_exeext
57651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57652 (eval $ac_link) 2>conftest.er1
57653 ac_status=$?
57654 grep -v '^ *+' conftest.er1 >conftest.err
57655 rm -f conftest.er1
57656 cat conftest.err >&5
57657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57658 (exit $ac_status); } &&
57659 { ac_try='test -z "$ac_c_werror_flag"
57660 || test ! -s conftest.err'
57661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57662 (eval $ac_try) 2>&5
57663 ac_status=$?
57664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57665 (exit $ac_status); }; } &&
57666 { ac_try='test -s conftest$ac_exeext'
57667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57668 (eval $ac_try) 2>&5
57669 ac_status=$?
57670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57671 (exit $ac_status); }; }; then
57672 eval "$as_ac_var=yes"
57673 else
57674 echo "$as_me: failed program was:" >&5
57675 sed 's/^/| /' conftest.$ac_ext >&5
57677 eval "$as_ac_var=no"
57679 rm -f conftest.err conftest.$ac_objext \
57680 conftest$ac_exeext conftest.$ac_ext
57682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57684 if test `eval echo '${'$as_ac_var'}'` = yes; then
57685 cat >>confdefs.h <<_ACEOF
57686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57687 _ACEOF
57690 done
57692 else
57694 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
57695 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
57696 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57697 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
57698 echo $ECHO_N "(cached) $ECHO_C" >&6
57699 else
57703 ac_ext=cc
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57709 cat >conftest.$ac_ext <<_ACEOF
57710 /* confdefs.h. */
57711 _ACEOF
57712 cat confdefs.h >>conftest.$ac_ext
57713 cat >>conftest.$ac_ext <<_ACEOF
57714 /* end confdefs.h. */
57715 #include <math.h>
57717 main ()
57719 _frexpf(0, 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__frexpf_use=yes
57747 else
57748 echo "$as_me: failed program was:" >&5
57749 sed 's/^/| /' conftest.$ac_ext >&5
57751 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
57765 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
57767 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57769 for ac_func in _frexpf
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 hypotf declaration" >&5
57881 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
57882 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57883 if test "${glibcxx_cv_func_hypotf_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 hypotf(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_hypotf_use=yes
57933 else
57934 echo "$as_me: failed program was:" >&5
57935 sed 's/^/| /' conftest.$ac_ext >&5
57937 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
57951 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
57953 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57955 for ac_func in hypotf
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 _hypotf declaration" >&5
58064 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
58065 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58066 if test "${glibcxx_cv_func__hypotf_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 _hypotf(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__hypotf_use=yes
58116 else
58117 echo "$as_me: failed program was:" >&5
58118 sed 's/^/| /' conftest.$ac_ext >&5
58120 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
58134 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
58136 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58138 for ac_func in _hypotf
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 ldexpf declaration" >&5
58250 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
58251 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58252 if test "${glibcxx_cv_func_ldexpf_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 ldexpf(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_ldexpf_use=yes
58302 else
58303 echo "$as_me: failed program was:" >&5
58304 sed 's/^/| /' conftest.$ac_ext >&5
58306 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
58320 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
58322 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58324 for ac_func in ldexpf
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 _ldexpf declaration" >&5
58433 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
58434 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58435 if test "${glibcxx_cv_func__ldexpf_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 _ldexpf(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__ldexpf_use=yes
58485 else
58486 echo "$as_me: failed program was:" >&5
58487 sed 's/^/| /' conftest.$ac_ext >&5
58489 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
58503 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
58505 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58507 for ac_func in _ldexpf
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 logf declaration" >&5
58619 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
58620 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58621 if test "${glibcxx_cv_func_logf_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>
58640 #ifdef HAVE_IEEEFP_H
58641 #include <ieeefp.h>
58642 #endif
58645 main ()
58647 logf(0);
58649 return 0;
58651 _ACEOF
58652 rm -f conftest.$ac_objext
58653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58654 (eval $ac_compile) 2>conftest.er1
58655 ac_status=$?
58656 grep -v '^ *+' conftest.er1 >conftest.err
58657 rm -f conftest.er1
58658 cat conftest.err >&5
58659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660 (exit $ac_status); } &&
58661 { ac_try='test -z "$ac_cxx_werror_flag"
58662 || test ! -s conftest.err'
58663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58664 (eval $ac_try) 2>&5
58665 ac_status=$?
58666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58667 (exit $ac_status); }; } &&
58668 { ac_try='test -s conftest.$ac_objext'
58669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58670 (eval $ac_try) 2>&5
58671 ac_status=$?
58672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58673 (exit $ac_status); }; }; then
58674 glibcxx_cv_func_logf_use=yes
58675 else
58676 echo "$as_me: failed program was:" >&5
58677 sed 's/^/| /' conftest.$ac_ext >&5
58679 glibcxx_cv_func_logf_use=no
58681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58682 ac_ext=c
58683 ac_cpp='$CPP $CPPFLAGS'
58684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
58693 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
58695 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58697 for ac_func in logf
58699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58700 echo "$as_me:$LINENO: checking for $ac_func" >&5
58701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58702 if eval "test \"\${$as_ac_var+set}\" = set"; then
58703 echo $ECHO_N "(cached) $ECHO_C" >&6
58704 else
58705 if test x$gcc_no_link = xyes; then
58706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58708 { (exit 1); exit 1; }; }
58710 cat >conftest.$ac_ext <<_ACEOF
58711 /* confdefs.h. */
58712 _ACEOF
58713 cat confdefs.h >>conftest.$ac_ext
58714 cat >>conftest.$ac_ext <<_ACEOF
58715 /* end confdefs.h. */
58716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58718 #define $ac_func innocuous_$ac_func
58720 /* System header to define __stub macros and hopefully few prototypes,
58721 which can conflict with char $ac_func (); below.
58722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58723 <limits.h> exists even on freestanding compilers. */
58725 #ifdef __STDC__
58726 # include <limits.h>
58727 #else
58728 # include <assert.h>
58729 #endif
58731 #undef $ac_func
58733 /* Override any gcc2 internal prototype to avoid an error. */
58734 #ifdef __cplusplus
58735 extern "C"
58737 #endif
58738 /* We use char because int might match the return type of a gcc2
58739 builtin and then its argument prototype would still apply. */
58740 char $ac_func ();
58741 /* The GNU C library defines this for functions which it implements
58742 to always fail with ENOSYS. Some functions are actually named
58743 something starting with __ and the normal name is an alias. */
58744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58745 choke me
58746 #else
58747 char (*f) () = $ac_func;
58748 #endif
58749 #ifdef __cplusplus
58751 #endif
58754 main ()
58756 return f != $ac_func;
58758 return 0;
58760 _ACEOF
58761 rm -f conftest.$ac_objext conftest$ac_exeext
58762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58763 (eval $ac_link) 2>conftest.er1
58764 ac_status=$?
58765 grep -v '^ *+' conftest.er1 >conftest.err
58766 rm -f conftest.er1
58767 cat conftest.err >&5
58768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58769 (exit $ac_status); } &&
58770 { ac_try='test -z "$ac_c_werror_flag"
58771 || test ! -s conftest.err'
58772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58773 (eval $ac_try) 2>&5
58774 ac_status=$?
58775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58776 (exit $ac_status); }; } &&
58777 { ac_try='test -s conftest$ac_exeext'
58778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58779 (eval $ac_try) 2>&5
58780 ac_status=$?
58781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58782 (exit $ac_status); }; }; then
58783 eval "$as_ac_var=yes"
58784 else
58785 echo "$as_me: failed program was:" >&5
58786 sed 's/^/| /' conftest.$ac_ext >&5
58788 eval "$as_ac_var=no"
58790 rm -f conftest.err conftest.$ac_objext \
58791 conftest$ac_exeext conftest.$ac_ext
58793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58795 if test `eval echo '${'$as_ac_var'}'` = yes; then
58796 cat >>confdefs.h <<_ACEOF
58797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58798 _ACEOF
58801 done
58803 else
58805 echo "$as_me:$LINENO: checking for _logf declaration" >&5
58806 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
58807 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58808 if test "${glibcxx_cv_func__logf_use+set}" = set; then
58809 echo $ECHO_N "(cached) $ECHO_C" >&6
58810 else
58814 ac_ext=cc
58815 ac_cpp='$CXXCPP $CPPFLAGS'
58816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58820 cat >conftest.$ac_ext <<_ACEOF
58821 /* confdefs.h. */
58822 _ACEOF
58823 cat confdefs.h >>conftest.$ac_ext
58824 cat >>conftest.$ac_ext <<_ACEOF
58825 /* end confdefs.h. */
58826 #include <math.h>
58827 #ifdef HAVE_IEEEFP_H
58828 #include <ieeefp.h>
58829 #endif
58832 main ()
58834 _logf(0);
58836 return 0;
58838 _ACEOF
58839 rm -f conftest.$ac_objext
58840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58841 (eval $ac_compile) 2>conftest.er1
58842 ac_status=$?
58843 grep -v '^ *+' conftest.er1 >conftest.err
58844 rm -f conftest.er1
58845 cat conftest.err >&5
58846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58847 (exit $ac_status); } &&
58848 { ac_try='test -z "$ac_cxx_werror_flag"
58849 || test ! -s conftest.err'
58850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58851 (eval $ac_try) 2>&5
58852 ac_status=$?
58853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58854 (exit $ac_status); }; } &&
58855 { ac_try='test -s conftest.$ac_objext'
58856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58857 (eval $ac_try) 2>&5
58858 ac_status=$?
58859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58860 (exit $ac_status); }; }; then
58861 glibcxx_cv_func__logf_use=yes
58862 else
58863 echo "$as_me: failed program was:" >&5
58864 sed 's/^/| /' conftest.$ac_ext >&5
58866 glibcxx_cv_func__logf_use=no
58868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58869 ac_ext=c
58870 ac_cpp='$CPP $CPPFLAGS'
58871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
58880 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
58882 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58884 for ac_func in _logf
58886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58887 echo "$as_me:$LINENO: checking for $ac_func" >&5
58888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58889 if eval "test \"\${$as_ac_var+set}\" = set"; then
58890 echo $ECHO_N "(cached) $ECHO_C" >&6
58891 else
58892 if test x$gcc_no_link = xyes; then
58893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58895 { (exit 1); exit 1; }; }
58897 cat >conftest.$ac_ext <<_ACEOF
58898 /* confdefs.h. */
58899 _ACEOF
58900 cat confdefs.h >>conftest.$ac_ext
58901 cat >>conftest.$ac_ext <<_ACEOF
58902 /* end confdefs.h. */
58903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58905 #define $ac_func innocuous_$ac_func
58907 /* System header to define __stub macros and hopefully few prototypes,
58908 which can conflict with char $ac_func (); below.
58909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58910 <limits.h> exists even on freestanding compilers. */
58912 #ifdef __STDC__
58913 # include <limits.h>
58914 #else
58915 # include <assert.h>
58916 #endif
58918 #undef $ac_func
58920 /* Override any gcc2 internal prototype to avoid an error. */
58921 #ifdef __cplusplus
58922 extern "C"
58924 #endif
58925 /* We use char because int might match the return type of a gcc2
58926 builtin and then its argument prototype would still apply. */
58927 char $ac_func ();
58928 /* The GNU C library defines this for functions which it implements
58929 to always fail with ENOSYS. Some functions are actually named
58930 something starting with __ and the normal name is an alias. */
58931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58932 choke me
58933 #else
58934 char (*f) () = $ac_func;
58935 #endif
58936 #ifdef __cplusplus
58938 #endif
58941 main ()
58943 return f != $ac_func;
58945 return 0;
58947 _ACEOF
58948 rm -f conftest.$ac_objext conftest$ac_exeext
58949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58950 (eval $ac_link) 2>conftest.er1
58951 ac_status=$?
58952 grep -v '^ *+' conftest.er1 >conftest.err
58953 rm -f conftest.er1
58954 cat conftest.err >&5
58955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956 (exit $ac_status); } &&
58957 { ac_try='test -z "$ac_c_werror_flag"
58958 || test ! -s conftest.err'
58959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58960 (eval $ac_try) 2>&5
58961 ac_status=$?
58962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58963 (exit $ac_status); }; } &&
58964 { ac_try='test -s conftest$ac_exeext'
58965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58966 (eval $ac_try) 2>&5
58967 ac_status=$?
58968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58969 (exit $ac_status); }; }; then
58970 eval "$as_ac_var=yes"
58971 else
58972 echo "$as_me: failed program was:" >&5
58973 sed 's/^/| /' conftest.$ac_ext >&5
58975 eval "$as_ac_var=no"
58977 rm -f conftest.err conftest.$ac_objext \
58978 conftest$ac_exeext conftest.$ac_ext
58980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58982 if test `eval echo '${'$as_ac_var'}'` = yes; then
58983 cat >>confdefs.h <<_ACEOF
58984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58985 _ACEOF
58988 done
58995 echo "$as_me:$LINENO: checking for log10f declaration" >&5
58996 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
58997 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58998 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
58999 echo $ECHO_N "(cached) $ECHO_C" >&6
59000 else
59004 ac_ext=cc
59005 ac_cpp='$CXXCPP $CPPFLAGS'
59006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59010 cat >conftest.$ac_ext <<_ACEOF
59011 /* confdefs.h. */
59012 _ACEOF
59013 cat confdefs.h >>conftest.$ac_ext
59014 cat >>conftest.$ac_ext <<_ACEOF
59015 /* end confdefs.h. */
59016 #include <math.h>
59017 #ifdef HAVE_IEEEFP_H
59018 #include <ieeefp.h>
59019 #endif
59022 main ()
59024 log10f(0);
59026 return 0;
59028 _ACEOF
59029 rm -f conftest.$ac_objext
59030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59031 (eval $ac_compile) 2>conftest.er1
59032 ac_status=$?
59033 grep -v '^ *+' conftest.er1 >conftest.err
59034 rm -f conftest.er1
59035 cat conftest.err >&5
59036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59037 (exit $ac_status); } &&
59038 { ac_try='test -z "$ac_cxx_werror_flag"
59039 || test ! -s conftest.err'
59040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59041 (eval $ac_try) 2>&5
59042 ac_status=$?
59043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59044 (exit $ac_status); }; } &&
59045 { ac_try='test -s conftest.$ac_objext'
59046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59047 (eval $ac_try) 2>&5
59048 ac_status=$?
59049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59050 (exit $ac_status); }; }; then
59051 glibcxx_cv_func_log10f_use=yes
59052 else
59053 echo "$as_me: failed program was:" >&5
59054 sed 's/^/| /' conftest.$ac_ext >&5
59056 glibcxx_cv_func_log10f_use=no
59058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59059 ac_ext=c
59060 ac_cpp='$CPP $CPPFLAGS'
59061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
59070 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
59072 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59074 for ac_func in log10f
59076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59077 echo "$as_me:$LINENO: checking for $ac_func" >&5
59078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59079 if eval "test \"\${$as_ac_var+set}\" = set"; then
59080 echo $ECHO_N "(cached) $ECHO_C" >&6
59081 else
59082 if test x$gcc_no_link = xyes; then
59083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59085 { (exit 1); exit 1; }; }
59087 cat >conftest.$ac_ext <<_ACEOF
59088 /* confdefs.h. */
59089 _ACEOF
59090 cat confdefs.h >>conftest.$ac_ext
59091 cat >>conftest.$ac_ext <<_ACEOF
59092 /* end confdefs.h. */
59093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59095 #define $ac_func innocuous_$ac_func
59097 /* System header to define __stub macros and hopefully few prototypes,
59098 which can conflict with char $ac_func (); below.
59099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59100 <limits.h> exists even on freestanding compilers. */
59102 #ifdef __STDC__
59103 # include <limits.h>
59104 #else
59105 # include <assert.h>
59106 #endif
59108 #undef $ac_func
59110 /* Override any gcc2 internal prototype to avoid an error. */
59111 #ifdef __cplusplus
59112 extern "C"
59114 #endif
59115 /* We use char because int might match the return type of a gcc2
59116 builtin and then its argument prototype would still apply. */
59117 char $ac_func ();
59118 /* The GNU C library defines this for functions which it implements
59119 to always fail with ENOSYS. Some functions are actually named
59120 something starting with __ and the normal name is an alias. */
59121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59122 choke me
59123 #else
59124 char (*f) () = $ac_func;
59125 #endif
59126 #ifdef __cplusplus
59128 #endif
59131 main ()
59133 return f != $ac_func;
59135 return 0;
59137 _ACEOF
59138 rm -f conftest.$ac_objext conftest$ac_exeext
59139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59140 (eval $ac_link) 2>conftest.er1
59141 ac_status=$?
59142 grep -v '^ *+' conftest.er1 >conftest.err
59143 rm -f conftest.er1
59144 cat conftest.err >&5
59145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146 (exit $ac_status); } &&
59147 { ac_try='test -z "$ac_c_werror_flag"
59148 || test ! -s conftest.err'
59149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59150 (eval $ac_try) 2>&5
59151 ac_status=$?
59152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59153 (exit $ac_status); }; } &&
59154 { ac_try='test -s conftest$ac_exeext'
59155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59156 (eval $ac_try) 2>&5
59157 ac_status=$?
59158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59159 (exit $ac_status); }; }; then
59160 eval "$as_ac_var=yes"
59161 else
59162 echo "$as_me: failed program was:" >&5
59163 sed 's/^/| /' conftest.$ac_ext >&5
59165 eval "$as_ac_var=no"
59167 rm -f conftest.err conftest.$ac_objext \
59168 conftest$ac_exeext conftest.$ac_ext
59170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59172 if test `eval echo '${'$as_ac_var'}'` = yes; then
59173 cat >>confdefs.h <<_ACEOF
59174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59175 _ACEOF
59178 done
59180 else
59182 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
59183 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
59184 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59185 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
59186 echo $ECHO_N "(cached) $ECHO_C" >&6
59187 else
59191 ac_ext=cc
59192 ac_cpp='$CXXCPP $CPPFLAGS'
59193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59197 cat >conftest.$ac_ext <<_ACEOF
59198 /* confdefs.h. */
59199 _ACEOF
59200 cat confdefs.h >>conftest.$ac_ext
59201 cat >>conftest.$ac_ext <<_ACEOF
59202 /* end confdefs.h. */
59203 #include <math.h>
59204 #ifdef HAVE_IEEEFP_H
59205 #include <ieeefp.h>
59206 #endif
59209 main ()
59211 _log10f(0);
59213 return 0;
59215 _ACEOF
59216 rm -f conftest.$ac_objext
59217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59218 (eval $ac_compile) 2>conftest.er1
59219 ac_status=$?
59220 grep -v '^ *+' conftest.er1 >conftest.err
59221 rm -f conftest.er1
59222 cat conftest.err >&5
59223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59224 (exit $ac_status); } &&
59225 { ac_try='test -z "$ac_cxx_werror_flag"
59226 || test ! -s conftest.err'
59227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59228 (eval $ac_try) 2>&5
59229 ac_status=$?
59230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59231 (exit $ac_status); }; } &&
59232 { ac_try='test -s conftest.$ac_objext'
59233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59234 (eval $ac_try) 2>&5
59235 ac_status=$?
59236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59237 (exit $ac_status); }; }; then
59238 glibcxx_cv_func__log10f_use=yes
59239 else
59240 echo "$as_me: failed program was:" >&5
59241 sed 's/^/| /' conftest.$ac_ext >&5
59243 glibcxx_cv_func__log10f_use=no
59245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59246 ac_ext=c
59247 ac_cpp='$CPP $CPPFLAGS'
59248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
59257 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
59259 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59261 for ac_func in _log10f
59263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59264 echo "$as_me:$LINENO: checking for $ac_func" >&5
59265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59266 if eval "test \"\${$as_ac_var+set}\" = set"; then
59267 echo $ECHO_N "(cached) $ECHO_C" >&6
59268 else
59269 if test x$gcc_no_link = xyes; then
59270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59272 { (exit 1); exit 1; }; }
59274 cat >conftest.$ac_ext <<_ACEOF
59275 /* confdefs.h. */
59276 _ACEOF
59277 cat confdefs.h >>conftest.$ac_ext
59278 cat >>conftest.$ac_ext <<_ACEOF
59279 /* end confdefs.h. */
59280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59282 #define $ac_func innocuous_$ac_func
59284 /* System header to define __stub macros and hopefully few prototypes,
59285 which can conflict with char $ac_func (); below.
59286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59287 <limits.h> exists even on freestanding compilers. */
59289 #ifdef __STDC__
59290 # include <limits.h>
59291 #else
59292 # include <assert.h>
59293 #endif
59295 #undef $ac_func
59297 /* Override any gcc2 internal prototype to avoid an error. */
59298 #ifdef __cplusplus
59299 extern "C"
59301 #endif
59302 /* We use char because int might match the return type of a gcc2
59303 builtin and then its argument prototype would still apply. */
59304 char $ac_func ();
59305 /* The GNU C library defines this for functions which it implements
59306 to always fail with ENOSYS. Some functions are actually named
59307 something starting with __ and the normal name is an alias. */
59308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59309 choke me
59310 #else
59311 char (*f) () = $ac_func;
59312 #endif
59313 #ifdef __cplusplus
59315 #endif
59318 main ()
59320 return f != $ac_func;
59322 return 0;
59324 _ACEOF
59325 rm -f conftest.$ac_objext conftest$ac_exeext
59326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59327 (eval $ac_link) 2>conftest.er1
59328 ac_status=$?
59329 grep -v '^ *+' conftest.er1 >conftest.err
59330 rm -f conftest.er1
59331 cat conftest.err >&5
59332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59333 (exit $ac_status); } &&
59334 { ac_try='test -z "$ac_c_werror_flag"
59335 || test ! -s conftest.err'
59336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59337 (eval $ac_try) 2>&5
59338 ac_status=$?
59339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59340 (exit $ac_status); }; } &&
59341 { ac_try='test -s conftest$ac_exeext'
59342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59343 (eval $ac_try) 2>&5
59344 ac_status=$?
59345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59346 (exit $ac_status); }; }; then
59347 eval "$as_ac_var=yes"
59348 else
59349 echo "$as_me: failed program was:" >&5
59350 sed 's/^/| /' conftest.$ac_ext >&5
59352 eval "$as_ac_var=no"
59354 rm -f conftest.err conftest.$ac_objext \
59355 conftest$ac_exeext conftest.$ac_ext
59357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59359 if test `eval echo '${'$as_ac_var'}'` = yes; then
59360 cat >>confdefs.h <<_ACEOF
59361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59362 _ACEOF
59365 done
59372 echo "$as_me:$LINENO: checking for modff declaration" >&5
59373 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
59374 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59375 if test "${glibcxx_cv_func_modff_use+set}" = set; then
59376 echo $ECHO_N "(cached) $ECHO_C" >&6
59377 else
59381 ac_ext=cc
59382 ac_cpp='$CXXCPP $CPPFLAGS'
59383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59387 cat >conftest.$ac_ext <<_ACEOF
59388 /* confdefs.h. */
59389 _ACEOF
59390 cat confdefs.h >>conftest.$ac_ext
59391 cat >>conftest.$ac_ext <<_ACEOF
59392 /* end confdefs.h. */
59393 #include <math.h>
59395 main ()
59397 modff(0, 0);
59399 return 0;
59401 _ACEOF
59402 rm -f conftest.$ac_objext
59403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59404 (eval $ac_compile) 2>conftest.er1
59405 ac_status=$?
59406 grep -v '^ *+' conftest.er1 >conftest.err
59407 rm -f conftest.er1
59408 cat conftest.err >&5
59409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59410 (exit $ac_status); } &&
59411 { ac_try='test -z "$ac_cxx_werror_flag"
59412 || test ! -s conftest.err'
59413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59414 (eval $ac_try) 2>&5
59415 ac_status=$?
59416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59417 (exit $ac_status); }; } &&
59418 { ac_try='test -s conftest.$ac_objext'
59419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59420 (eval $ac_try) 2>&5
59421 ac_status=$?
59422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59423 (exit $ac_status); }; }; then
59424 glibcxx_cv_func_modff_use=yes
59425 else
59426 echo "$as_me: failed program was:" >&5
59427 sed 's/^/| /' conftest.$ac_ext >&5
59429 glibcxx_cv_func_modff_use=no
59431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59432 ac_ext=c
59433 ac_cpp='$CPP $CPPFLAGS'
59434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
59443 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
59445 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59447 for ac_func in modff
59449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59450 echo "$as_me:$LINENO: checking for $ac_func" >&5
59451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59452 if eval "test \"\${$as_ac_var+set}\" = set"; then
59453 echo $ECHO_N "(cached) $ECHO_C" >&6
59454 else
59455 if test x$gcc_no_link = xyes; then
59456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59458 { (exit 1); exit 1; }; }
59460 cat >conftest.$ac_ext <<_ACEOF
59461 /* confdefs.h. */
59462 _ACEOF
59463 cat confdefs.h >>conftest.$ac_ext
59464 cat >>conftest.$ac_ext <<_ACEOF
59465 /* end confdefs.h. */
59466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59468 #define $ac_func innocuous_$ac_func
59470 /* System header to define __stub macros and hopefully few prototypes,
59471 which can conflict with char $ac_func (); below.
59472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59473 <limits.h> exists even on freestanding compilers. */
59475 #ifdef __STDC__
59476 # include <limits.h>
59477 #else
59478 # include <assert.h>
59479 #endif
59481 #undef $ac_func
59483 /* Override any gcc2 internal prototype to avoid an error. */
59484 #ifdef __cplusplus
59485 extern "C"
59487 #endif
59488 /* We use char because int might match the return type of a gcc2
59489 builtin and then its argument prototype would still apply. */
59490 char $ac_func ();
59491 /* The GNU C library defines this for functions which it implements
59492 to always fail with ENOSYS. Some functions are actually named
59493 something starting with __ and the normal name is an alias. */
59494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59495 choke me
59496 #else
59497 char (*f) () = $ac_func;
59498 #endif
59499 #ifdef __cplusplus
59501 #endif
59504 main ()
59506 return f != $ac_func;
59508 return 0;
59510 _ACEOF
59511 rm -f conftest.$ac_objext conftest$ac_exeext
59512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59513 (eval $ac_link) 2>conftest.er1
59514 ac_status=$?
59515 grep -v '^ *+' conftest.er1 >conftest.err
59516 rm -f conftest.er1
59517 cat conftest.err >&5
59518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59519 (exit $ac_status); } &&
59520 { ac_try='test -z "$ac_c_werror_flag"
59521 || test ! -s conftest.err'
59522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59523 (eval $ac_try) 2>&5
59524 ac_status=$?
59525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59526 (exit $ac_status); }; } &&
59527 { ac_try='test -s conftest$ac_exeext'
59528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59529 (eval $ac_try) 2>&5
59530 ac_status=$?
59531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59532 (exit $ac_status); }; }; then
59533 eval "$as_ac_var=yes"
59534 else
59535 echo "$as_me: failed program was:" >&5
59536 sed 's/^/| /' conftest.$ac_ext >&5
59538 eval "$as_ac_var=no"
59540 rm -f conftest.err conftest.$ac_objext \
59541 conftest$ac_exeext conftest.$ac_ext
59543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59545 if test `eval echo '${'$as_ac_var'}'` = yes; then
59546 cat >>confdefs.h <<_ACEOF
59547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59548 _ACEOF
59551 done
59553 else
59555 echo "$as_me:$LINENO: checking for _modff declaration" >&5
59556 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
59557 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59558 if test "${glibcxx_cv_func__modff_use+set}" = set; then
59559 echo $ECHO_N "(cached) $ECHO_C" >&6
59560 else
59564 ac_ext=cc
59565 ac_cpp='$CXXCPP $CPPFLAGS'
59566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59570 cat >conftest.$ac_ext <<_ACEOF
59571 /* confdefs.h. */
59572 _ACEOF
59573 cat confdefs.h >>conftest.$ac_ext
59574 cat >>conftest.$ac_ext <<_ACEOF
59575 /* end confdefs.h. */
59576 #include <math.h>
59578 main ()
59580 _modff(0, 0);
59582 return 0;
59584 _ACEOF
59585 rm -f conftest.$ac_objext
59586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59587 (eval $ac_compile) 2>conftest.er1
59588 ac_status=$?
59589 grep -v '^ *+' conftest.er1 >conftest.err
59590 rm -f conftest.er1
59591 cat conftest.err >&5
59592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59593 (exit $ac_status); } &&
59594 { ac_try='test -z "$ac_cxx_werror_flag"
59595 || test ! -s conftest.err'
59596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59597 (eval $ac_try) 2>&5
59598 ac_status=$?
59599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59600 (exit $ac_status); }; } &&
59601 { ac_try='test -s conftest.$ac_objext'
59602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59603 (eval $ac_try) 2>&5
59604 ac_status=$?
59605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59606 (exit $ac_status); }; }; then
59607 glibcxx_cv_func__modff_use=yes
59608 else
59609 echo "$as_me: failed program was:" >&5
59610 sed 's/^/| /' conftest.$ac_ext >&5
59612 glibcxx_cv_func__modff_use=no
59614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59615 ac_ext=c
59616 ac_cpp='$CPP $CPPFLAGS'
59617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
59626 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
59628 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59630 for ac_func in _modff
59632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59633 echo "$as_me:$LINENO: checking for $ac_func" >&5
59634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59635 if eval "test \"\${$as_ac_var+set}\" = set"; then
59636 echo $ECHO_N "(cached) $ECHO_C" >&6
59637 else
59638 if test x$gcc_no_link = xyes; then
59639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59641 { (exit 1); exit 1; }; }
59643 cat >conftest.$ac_ext <<_ACEOF
59644 /* confdefs.h. */
59645 _ACEOF
59646 cat confdefs.h >>conftest.$ac_ext
59647 cat >>conftest.$ac_ext <<_ACEOF
59648 /* end confdefs.h. */
59649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59651 #define $ac_func innocuous_$ac_func
59653 /* System header to define __stub macros and hopefully few prototypes,
59654 which can conflict with char $ac_func (); below.
59655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59656 <limits.h> exists even on freestanding compilers. */
59658 #ifdef __STDC__
59659 # include <limits.h>
59660 #else
59661 # include <assert.h>
59662 #endif
59664 #undef $ac_func
59666 /* Override any gcc2 internal prototype to avoid an error. */
59667 #ifdef __cplusplus
59668 extern "C"
59670 #endif
59671 /* We use char because int might match the return type of a gcc2
59672 builtin and then its argument prototype would still apply. */
59673 char $ac_func ();
59674 /* The GNU C library defines this for functions which it implements
59675 to always fail with ENOSYS. Some functions are actually named
59676 something starting with __ and the normal name is an alias. */
59677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59678 choke me
59679 #else
59680 char (*f) () = $ac_func;
59681 #endif
59682 #ifdef __cplusplus
59684 #endif
59687 main ()
59689 return f != $ac_func;
59691 return 0;
59693 _ACEOF
59694 rm -f conftest.$ac_objext conftest$ac_exeext
59695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59696 (eval $ac_link) 2>conftest.er1
59697 ac_status=$?
59698 grep -v '^ *+' conftest.er1 >conftest.err
59699 rm -f conftest.er1
59700 cat conftest.err >&5
59701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59702 (exit $ac_status); } &&
59703 { ac_try='test -z "$ac_c_werror_flag"
59704 || test ! -s conftest.err'
59705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59706 (eval $ac_try) 2>&5
59707 ac_status=$?
59708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59709 (exit $ac_status); }; } &&
59710 { ac_try='test -s conftest$ac_exeext'
59711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59712 (eval $ac_try) 2>&5
59713 ac_status=$?
59714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59715 (exit $ac_status); }; }; then
59716 eval "$as_ac_var=yes"
59717 else
59718 echo "$as_me: failed program was:" >&5
59719 sed 's/^/| /' conftest.$ac_ext >&5
59721 eval "$as_ac_var=no"
59723 rm -f conftest.err conftest.$ac_objext \
59724 conftest$ac_exeext conftest.$ac_ext
59726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59728 if test `eval echo '${'$as_ac_var'}'` = yes; then
59729 cat >>confdefs.h <<_ACEOF
59730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59731 _ACEOF
59734 done
59741 echo "$as_me:$LINENO: checking for powf declaration" >&5
59742 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
59743 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59744 if test "${glibcxx_cv_func_powf_use+set}" = set; then
59745 echo $ECHO_N "(cached) $ECHO_C" >&6
59746 else
59750 ac_ext=cc
59751 ac_cpp='$CXXCPP $CPPFLAGS'
59752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59756 cat >conftest.$ac_ext <<_ACEOF
59757 /* confdefs.h. */
59758 _ACEOF
59759 cat confdefs.h >>conftest.$ac_ext
59760 cat >>conftest.$ac_ext <<_ACEOF
59761 /* end confdefs.h. */
59762 #include <math.h>
59764 main ()
59766 powf(0, 0);
59768 return 0;
59770 _ACEOF
59771 rm -f conftest.$ac_objext
59772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59773 (eval $ac_compile) 2>conftest.er1
59774 ac_status=$?
59775 grep -v '^ *+' conftest.er1 >conftest.err
59776 rm -f conftest.er1
59777 cat conftest.err >&5
59778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59779 (exit $ac_status); } &&
59780 { ac_try='test -z "$ac_cxx_werror_flag"
59781 || test ! -s conftest.err'
59782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59783 (eval $ac_try) 2>&5
59784 ac_status=$?
59785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786 (exit $ac_status); }; } &&
59787 { ac_try='test -s conftest.$ac_objext'
59788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59789 (eval $ac_try) 2>&5
59790 ac_status=$?
59791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59792 (exit $ac_status); }; }; then
59793 glibcxx_cv_func_powf_use=yes
59794 else
59795 echo "$as_me: failed program was:" >&5
59796 sed 's/^/| /' conftest.$ac_ext >&5
59798 glibcxx_cv_func_powf_use=no
59800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59801 ac_ext=c
59802 ac_cpp='$CPP $CPPFLAGS'
59803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
59812 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
59814 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59816 for ac_func in powf
59818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59819 echo "$as_me:$LINENO: checking for $ac_func" >&5
59820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59821 if eval "test \"\${$as_ac_var+set}\" = set"; then
59822 echo $ECHO_N "(cached) $ECHO_C" >&6
59823 else
59824 if test x$gcc_no_link = xyes; then
59825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59827 { (exit 1); exit 1; }; }
59829 cat >conftest.$ac_ext <<_ACEOF
59830 /* confdefs.h. */
59831 _ACEOF
59832 cat confdefs.h >>conftest.$ac_ext
59833 cat >>conftest.$ac_ext <<_ACEOF
59834 /* end confdefs.h. */
59835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59837 #define $ac_func innocuous_$ac_func
59839 /* System header to define __stub macros and hopefully few prototypes,
59840 which can conflict with char $ac_func (); below.
59841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59842 <limits.h> exists even on freestanding compilers. */
59844 #ifdef __STDC__
59845 # include <limits.h>
59846 #else
59847 # include <assert.h>
59848 #endif
59850 #undef $ac_func
59852 /* Override any gcc2 internal prototype to avoid an error. */
59853 #ifdef __cplusplus
59854 extern "C"
59856 #endif
59857 /* We use char because int might match the return type of a gcc2
59858 builtin and then its argument prototype would still apply. */
59859 char $ac_func ();
59860 /* The GNU C library defines this for functions which it implements
59861 to always fail with ENOSYS. Some functions are actually named
59862 something starting with __ and the normal name is an alias. */
59863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59864 choke me
59865 #else
59866 char (*f) () = $ac_func;
59867 #endif
59868 #ifdef __cplusplus
59870 #endif
59873 main ()
59875 return f != $ac_func;
59877 return 0;
59879 _ACEOF
59880 rm -f conftest.$ac_objext conftest$ac_exeext
59881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59882 (eval $ac_link) 2>conftest.er1
59883 ac_status=$?
59884 grep -v '^ *+' conftest.er1 >conftest.err
59885 rm -f conftest.er1
59886 cat conftest.err >&5
59887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59888 (exit $ac_status); } &&
59889 { ac_try='test -z "$ac_c_werror_flag"
59890 || test ! -s conftest.err'
59891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59892 (eval $ac_try) 2>&5
59893 ac_status=$?
59894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59895 (exit $ac_status); }; } &&
59896 { ac_try='test -s conftest$ac_exeext'
59897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59898 (eval $ac_try) 2>&5
59899 ac_status=$?
59900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59901 (exit $ac_status); }; }; then
59902 eval "$as_ac_var=yes"
59903 else
59904 echo "$as_me: failed program was:" >&5
59905 sed 's/^/| /' conftest.$ac_ext >&5
59907 eval "$as_ac_var=no"
59909 rm -f conftest.err conftest.$ac_objext \
59910 conftest$ac_exeext conftest.$ac_ext
59912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59914 if test `eval echo '${'$as_ac_var'}'` = yes; then
59915 cat >>confdefs.h <<_ACEOF
59916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59917 _ACEOF
59920 done
59922 else
59924 echo "$as_me:$LINENO: checking for _powf declaration" >&5
59925 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
59926 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59927 if test "${glibcxx_cv_func__powf_use+set}" = set; then
59928 echo $ECHO_N "(cached) $ECHO_C" >&6
59929 else
59933 ac_ext=cc
59934 ac_cpp='$CXXCPP $CPPFLAGS'
59935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59939 cat >conftest.$ac_ext <<_ACEOF
59940 /* confdefs.h. */
59941 _ACEOF
59942 cat confdefs.h >>conftest.$ac_ext
59943 cat >>conftest.$ac_ext <<_ACEOF
59944 /* end confdefs.h. */
59945 #include <math.h>
59947 main ()
59949 _powf(0, 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__powf_use=yes
59977 else
59978 echo "$as_me: failed program was:" >&5
59979 sed 's/^/| /' conftest.$ac_ext >&5
59981 glibcxx_cv_func__powf_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__powf_use" >&5
59995 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
59997 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59999 for ac_func in _powf
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 sqrtf declaration" >&5
60111 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
60112 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60113 if test "${glibcxx_cv_func_sqrtf_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>
60132 #ifdef HAVE_IEEEFP_H
60133 #include <ieeefp.h>
60134 #endif
60137 main ()
60139 sqrtf(0);
60141 return 0;
60143 _ACEOF
60144 rm -f conftest.$ac_objext
60145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60146 (eval $ac_compile) 2>conftest.er1
60147 ac_status=$?
60148 grep -v '^ *+' conftest.er1 >conftest.err
60149 rm -f conftest.er1
60150 cat conftest.err >&5
60151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60152 (exit $ac_status); } &&
60153 { ac_try='test -z "$ac_cxx_werror_flag"
60154 || test ! -s conftest.err'
60155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60156 (eval $ac_try) 2>&5
60157 ac_status=$?
60158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60159 (exit $ac_status); }; } &&
60160 { ac_try='test -s conftest.$ac_objext'
60161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60162 (eval $ac_try) 2>&5
60163 ac_status=$?
60164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60165 (exit $ac_status); }; }; then
60166 glibcxx_cv_func_sqrtf_use=yes
60167 else
60168 echo "$as_me: failed program was:" >&5
60169 sed 's/^/| /' conftest.$ac_ext >&5
60171 glibcxx_cv_func_sqrtf_use=no
60173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60174 ac_ext=c
60175 ac_cpp='$CPP $CPPFLAGS'
60176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
60185 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
60187 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60189 for ac_func in sqrtf
60191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60192 echo "$as_me:$LINENO: checking for $ac_func" >&5
60193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60194 if eval "test \"\${$as_ac_var+set}\" = set"; then
60195 echo $ECHO_N "(cached) $ECHO_C" >&6
60196 else
60197 if test x$gcc_no_link = xyes; then
60198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60200 { (exit 1); exit 1; }; }
60202 cat >conftest.$ac_ext <<_ACEOF
60203 /* confdefs.h. */
60204 _ACEOF
60205 cat confdefs.h >>conftest.$ac_ext
60206 cat >>conftest.$ac_ext <<_ACEOF
60207 /* end confdefs.h. */
60208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60210 #define $ac_func innocuous_$ac_func
60212 /* System header to define __stub macros and hopefully few prototypes,
60213 which can conflict with char $ac_func (); below.
60214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60215 <limits.h> exists even on freestanding compilers. */
60217 #ifdef __STDC__
60218 # include <limits.h>
60219 #else
60220 # include <assert.h>
60221 #endif
60223 #undef $ac_func
60225 /* Override any gcc2 internal prototype to avoid an error. */
60226 #ifdef __cplusplus
60227 extern "C"
60229 #endif
60230 /* We use char because int might match the return type of a gcc2
60231 builtin and then its argument prototype would still apply. */
60232 char $ac_func ();
60233 /* The GNU C library defines this for functions which it implements
60234 to always fail with ENOSYS. Some functions are actually named
60235 something starting with __ and the normal name is an alias. */
60236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60237 choke me
60238 #else
60239 char (*f) () = $ac_func;
60240 #endif
60241 #ifdef __cplusplus
60243 #endif
60246 main ()
60248 return f != $ac_func;
60250 return 0;
60252 _ACEOF
60253 rm -f conftest.$ac_objext conftest$ac_exeext
60254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60255 (eval $ac_link) 2>conftest.er1
60256 ac_status=$?
60257 grep -v '^ *+' conftest.er1 >conftest.err
60258 rm -f conftest.er1
60259 cat conftest.err >&5
60260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60261 (exit $ac_status); } &&
60262 { ac_try='test -z "$ac_c_werror_flag"
60263 || test ! -s conftest.err'
60264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60265 (eval $ac_try) 2>&5
60266 ac_status=$?
60267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60268 (exit $ac_status); }; } &&
60269 { ac_try='test -s conftest$ac_exeext'
60270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60271 (eval $ac_try) 2>&5
60272 ac_status=$?
60273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60274 (exit $ac_status); }; }; then
60275 eval "$as_ac_var=yes"
60276 else
60277 echo "$as_me: failed program was:" >&5
60278 sed 's/^/| /' conftest.$ac_ext >&5
60280 eval "$as_ac_var=no"
60282 rm -f conftest.err conftest.$ac_objext \
60283 conftest$ac_exeext conftest.$ac_ext
60285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60287 if test `eval echo '${'$as_ac_var'}'` = yes; then
60288 cat >>confdefs.h <<_ACEOF
60289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60290 _ACEOF
60293 done
60295 else
60297 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
60298 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
60299 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60300 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
60301 echo $ECHO_N "(cached) $ECHO_C" >&6
60302 else
60306 ac_ext=cc
60307 ac_cpp='$CXXCPP $CPPFLAGS'
60308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60312 cat >conftest.$ac_ext <<_ACEOF
60313 /* confdefs.h. */
60314 _ACEOF
60315 cat confdefs.h >>conftest.$ac_ext
60316 cat >>conftest.$ac_ext <<_ACEOF
60317 /* end confdefs.h. */
60318 #include <math.h>
60319 #ifdef HAVE_IEEEFP_H
60320 #include <ieeefp.h>
60321 #endif
60324 main ()
60326 _sqrtf(0);
60328 return 0;
60330 _ACEOF
60331 rm -f conftest.$ac_objext
60332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60333 (eval $ac_compile) 2>conftest.er1
60334 ac_status=$?
60335 grep -v '^ *+' conftest.er1 >conftest.err
60336 rm -f conftest.er1
60337 cat conftest.err >&5
60338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60339 (exit $ac_status); } &&
60340 { ac_try='test -z "$ac_cxx_werror_flag"
60341 || test ! -s conftest.err'
60342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60343 (eval $ac_try) 2>&5
60344 ac_status=$?
60345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60346 (exit $ac_status); }; } &&
60347 { ac_try='test -s conftest.$ac_objext'
60348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60349 (eval $ac_try) 2>&5
60350 ac_status=$?
60351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60352 (exit $ac_status); }; }; then
60353 glibcxx_cv_func__sqrtf_use=yes
60354 else
60355 echo "$as_me: failed program was:" >&5
60356 sed 's/^/| /' conftest.$ac_ext >&5
60358 glibcxx_cv_func__sqrtf_use=no
60360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60361 ac_ext=c
60362 ac_cpp='$CPP $CPPFLAGS'
60363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
60372 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
60374 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60376 for ac_func in _sqrtf
60378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60379 echo "$as_me:$LINENO: checking for $ac_func" >&5
60380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60381 if eval "test \"\${$as_ac_var+set}\" = set"; then
60382 echo $ECHO_N "(cached) $ECHO_C" >&6
60383 else
60384 if test x$gcc_no_link = xyes; then
60385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60387 { (exit 1); exit 1; }; }
60389 cat >conftest.$ac_ext <<_ACEOF
60390 /* confdefs.h. */
60391 _ACEOF
60392 cat confdefs.h >>conftest.$ac_ext
60393 cat >>conftest.$ac_ext <<_ACEOF
60394 /* end confdefs.h. */
60395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60397 #define $ac_func innocuous_$ac_func
60399 /* System header to define __stub macros and hopefully few prototypes,
60400 which can conflict with char $ac_func (); below.
60401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60402 <limits.h> exists even on freestanding compilers. */
60404 #ifdef __STDC__
60405 # include <limits.h>
60406 #else
60407 # include <assert.h>
60408 #endif
60410 #undef $ac_func
60412 /* Override any gcc2 internal prototype to avoid an error. */
60413 #ifdef __cplusplus
60414 extern "C"
60416 #endif
60417 /* We use char because int might match the return type of a gcc2
60418 builtin and then its argument prototype would still apply. */
60419 char $ac_func ();
60420 /* The GNU C library defines this for functions which it implements
60421 to always fail with ENOSYS. Some functions are actually named
60422 something starting with __ and the normal name is an alias. */
60423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60424 choke me
60425 #else
60426 char (*f) () = $ac_func;
60427 #endif
60428 #ifdef __cplusplus
60430 #endif
60433 main ()
60435 return f != $ac_func;
60437 return 0;
60439 _ACEOF
60440 rm -f conftest.$ac_objext conftest$ac_exeext
60441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60442 (eval $ac_link) 2>conftest.er1
60443 ac_status=$?
60444 grep -v '^ *+' conftest.er1 >conftest.err
60445 rm -f conftest.er1
60446 cat conftest.err >&5
60447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448 (exit $ac_status); } &&
60449 { ac_try='test -z "$ac_c_werror_flag"
60450 || test ! -s conftest.err'
60451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60452 (eval $ac_try) 2>&5
60453 ac_status=$?
60454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60455 (exit $ac_status); }; } &&
60456 { ac_try='test -s conftest$ac_exeext'
60457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60458 (eval $ac_try) 2>&5
60459 ac_status=$?
60460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60461 (exit $ac_status); }; }; then
60462 eval "$as_ac_var=yes"
60463 else
60464 echo "$as_me: failed program was:" >&5
60465 sed 's/^/| /' conftest.$ac_ext >&5
60467 eval "$as_ac_var=no"
60469 rm -f conftest.err conftest.$ac_objext \
60470 conftest$ac_exeext conftest.$ac_ext
60472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60474 if test `eval echo '${'$as_ac_var'}'` = yes; then
60475 cat >>confdefs.h <<_ACEOF
60476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60477 _ACEOF
60480 done
60487 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
60488 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
60489 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60490 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
60491 echo $ECHO_N "(cached) $ECHO_C" >&6
60492 else
60496 ac_ext=cc
60497 ac_cpp='$CXXCPP $CPPFLAGS'
60498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60502 cat >conftest.$ac_ext <<_ACEOF
60503 /* confdefs.h. */
60504 _ACEOF
60505 cat confdefs.h >>conftest.$ac_ext
60506 cat >>conftest.$ac_ext <<_ACEOF
60507 /* end confdefs.h. */
60508 #include <math.h>
60510 main ()
60512 sincosf(0, 0, 0);
60514 return 0;
60516 _ACEOF
60517 rm -f conftest.$ac_objext
60518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60519 (eval $ac_compile) 2>conftest.er1
60520 ac_status=$?
60521 grep -v '^ *+' conftest.er1 >conftest.err
60522 rm -f conftest.er1
60523 cat conftest.err >&5
60524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60525 (exit $ac_status); } &&
60526 { ac_try='test -z "$ac_cxx_werror_flag"
60527 || test ! -s conftest.err'
60528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60529 (eval $ac_try) 2>&5
60530 ac_status=$?
60531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60532 (exit $ac_status); }; } &&
60533 { ac_try='test -s conftest.$ac_objext'
60534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60535 (eval $ac_try) 2>&5
60536 ac_status=$?
60537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60538 (exit $ac_status); }; }; then
60539 glibcxx_cv_func_sincosf_use=yes
60540 else
60541 echo "$as_me: failed program was:" >&5
60542 sed 's/^/| /' conftest.$ac_ext >&5
60544 glibcxx_cv_func_sincosf_use=no
60546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60547 ac_ext=c
60548 ac_cpp='$CPP $CPPFLAGS'
60549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60557 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
60558 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
60560 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60562 for ac_func in sincosf
60564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60565 echo "$as_me:$LINENO: checking for $ac_func" >&5
60566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60567 if eval "test \"\${$as_ac_var+set}\" = set"; then
60568 echo $ECHO_N "(cached) $ECHO_C" >&6
60569 else
60570 if test x$gcc_no_link = xyes; then
60571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60573 { (exit 1); exit 1; }; }
60575 cat >conftest.$ac_ext <<_ACEOF
60576 /* confdefs.h. */
60577 _ACEOF
60578 cat confdefs.h >>conftest.$ac_ext
60579 cat >>conftest.$ac_ext <<_ACEOF
60580 /* end confdefs.h. */
60581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60583 #define $ac_func innocuous_$ac_func
60585 /* System header to define __stub macros and hopefully few prototypes,
60586 which can conflict with char $ac_func (); below.
60587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60588 <limits.h> exists even on freestanding compilers. */
60590 #ifdef __STDC__
60591 # include <limits.h>
60592 #else
60593 # include <assert.h>
60594 #endif
60596 #undef $ac_func
60598 /* Override any gcc2 internal prototype to avoid an error. */
60599 #ifdef __cplusplus
60600 extern "C"
60602 #endif
60603 /* We use char because int might match the return type of a gcc2
60604 builtin and then its argument prototype would still apply. */
60605 char $ac_func ();
60606 /* The GNU C library defines this for functions which it implements
60607 to always fail with ENOSYS. Some functions are actually named
60608 something starting with __ and the normal name is an alias. */
60609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60610 choke me
60611 #else
60612 char (*f) () = $ac_func;
60613 #endif
60614 #ifdef __cplusplus
60616 #endif
60619 main ()
60621 return f != $ac_func;
60623 return 0;
60625 _ACEOF
60626 rm -f conftest.$ac_objext conftest$ac_exeext
60627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60628 (eval $ac_link) 2>conftest.er1
60629 ac_status=$?
60630 grep -v '^ *+' conftest.er1 >conftest.err
60631 rm -f conftest.er1
60632 cat conftest.err >&5
60633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60634 (exit $ac_status); } &&
60635 { ac_try='test -z "$ac_c_werror_flag"
60636 || test ! -s conftest.err'
60637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60638 (eval $ac_try) 2>&5
60639 ac_status=$?
60640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60641 (exit $ac_status); }; } &&
60642 { ac_try='test -s conftest$ac_exeext'
60643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60644 (eval $ac_try) 2>&5
60645 ac_status=$?
60646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60647 (exit $ac_status); }; }; then
60648 eval "$as_ac_var=yes"
60649 else
60650 echo "$as_me: failed program was:" >&5
60651 sed 's/^/| /' conftest.$ac_ext >&5
60653 eval "$as_ac_var=no"
60655 rm -f conftest.err conftest.$ac_objext \
60656 conftest$ac_exeext conftest.$ac_ext
60658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60660 if test `eval echo '${'$as_ac_var'}'` = yes; then
60661 cat >>confdefs.h <<_ACEOF
60662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60663 _ACEOF
60666 done
60668 else
60670 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
60671 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
60672 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60673 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
60674 echo $ECHO_N "(cached) $ECHO_C" >&6
60675 else
60679 ac_ext=cc
60680 ac_cpp='$CXXCPP $CPPFLAGS'
60681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60685 cat >conftest.$ac_ext <<_ACEOF
60686 /* confdefs.h. */
60687 _ACEOF
60688 cat confdefs.h >>conftest.$ac_ext
60689 cat >>conftest.$ac_ext <<_ACEOF
60690 /* end confdefs.h. */
60691 #include <math.h>
60693 main ()
60695 _sincosf(0, 0, 0);
60697 return 0;
60699 _ACEOF
60700 rm -f conftest.$ac_objext
60701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60702 (eval $ac_compile) 2>conftest.er1
60703 ac_status=$?
60704 grep -v '^ *+' conftest.er1 >conftest.err
60705 rm -f conftest.er1
60706 cat conftest.err >&5
60707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60708 (exit $ac_status); } &&
60709 { ac_try='test -z "$ac_cxx_werror_flag"
60710 || test ! -s conftest.err'
60711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60712 (eval $ac_try) 2>&5
60713 ac_status=$?
60714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60715 (exit $ac_status); }; } &&
60716 { ac_try='test -s conftest.$ac_objext'
60717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60718 (eval $ac_try) 2>&5
60719 ac_status=$?
60720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60721 (exit $ac_status); }; }; then
60722 glibcxx_cv_func__sincosf_use=yes
60723 else
60724 echo "$as_me: failed program was:" >&5
60725 sed 's/^/| /' conftest.$ac_ext >&5
60727 glibcxx_cv_func__sincosf_use=no
60729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60730 ac_ext=c
60731 ac_cpp='$CPP $CPPFLAGS'
60732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
60741 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
60743 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60745 for ac_func in _sincosf
60747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60748 echo "$as_me:$LINENO: checking for $ac_func" >&5
60749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60750 if eval "test \"\${$as_ac_var+set}\" = set"; then
60751 echo $ECHO_N "(cached) $ECHO_C" >&6
60752 else
60753 if test x$gcc_no_link = xyes; then
60754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60756 { (exit 1); exit 1; }; }
60758 cat >conftest.$ac_ext <<_ACEOF
60759 /* confdefs.h. */
60760 _ACEOF
60761 cat confdefs.h >>conftest.$ac_ext
60762 cat >>conftest.$ac_ext <<_ACEOF
60763 /* end confdefs.h. */
60764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60766 #define $ac_func innocuous_$ac_func
60768 /* System header to define __stub macros and hopefully few prototypes,
60769 which can conflict with char $ac_func (); below.
60770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60771 <limits.h> exists even on freestanding compilers. */
60773 #ifdef __STDC__
60774 # include <limits.h>
60775 #else
60776 # include <assert.h>
60777 #endif
60779 #undef $ac_func
60781 /* Override any gcc2 internal prototype to avoid an error. */
60782 #ifdef __cplusplus
60783 extern "C"
60785 #endif
60786 /* We use char because int might match the return type of a gcc2
60787 builtin and then its argument prototype would still apply. */
60788 char $ac_func ();
60789 /* The GNU C library defines this for functions which it implements
60790 to always fail with ENOSYS. Some functions are actually named
60791 something starting with __ and the normal name is an alias. */
60792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60793 choke me
60794 #else
60795 char (*f) () = $ac_func;
60796 #endif
60797 #ifdef __cplusplus
60799 #endif
60802 main ()
60804 return f != $ac_func;
60806 return 0;
60808 _ACEOF
60809 rm -f conftest.$ac_objext conftest$ac_exeext
60810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60811 (eval $ac_link) 2>conftest.er1
60812 ac_status=$?
60813 grep -v '^ *+' conftest.er1 >conftest.err
60814 rm -f conftest.er1
60815 cat conftest.err >&5
60816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60817 (exit $ac_status); } &&
60818 { ac_try='test -z "$ac_c_werror_flag"
60819 || test ! -s conftest.err'
60820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60821 (eval $ac_try) 2>&5
60822 ac_status=$?
60823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60824 (exit $ac_status); }; } &&
60825 { ac_try='test -s conftest$ac_exeext'
60826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60827 (eval $ac_try) 2>&5
60828 ac_status=$?
60829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60830 (exit $ac_status); }; }; then
60831 eval "$as_ac_var=yes"
60832 else
60833 echo "$as_me: failed program was:" >&5
60834 sed 's/^/| /' conftest.$ac_ext >&5
60836 eval "$as_ac_var=no"
60838 rm -f conftest.err conftest.$ac_objext \
60839 conftest$ac_exeext conftest.$ac_ext
60841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60843 if test `eval echo '${'$as_ac_var'}'` = yes; then
60844 cat >>confdefs.h <<_ACEOF
60845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60846 _ACEOF
60849 done
60856 echo "$as_me:$LINENO: checking for finitef declaration" >&5
60857 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
60858 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60859 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
60860 echo $ECHO_N "(cached) $ECHO_C" >&6
60861 else
60865 ac_ext=cc
60866 ac_cpp='$CXXCPP $CPPFLAGS'
60867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60871 cat >conftest.$ac_ext <<_ACEOF
60872 /* confdefs.h. */
60873 _ACEOF
60874 cat confdefs.h >>conftest.$ac_ext
60875 cat >>conftest.$ac_ext <<_ACEOF
60876 /* end confdefs.h. */
60877 #include <math.h>
60878 #ifdef HAVE_IEEEFP_H
60879 #include <ieeefp.h>
60880 #endif
60883 main ()
60885 finitef(0);
60887 return 0;
60889 _ACEOF
60890 rm -f conftest.$ac_objext
60891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60892 (eval $ac_compile) 2>conftest.er1
60893 ac_status=$?
60894 grep -v '^ *+' conftest.er1 >conftest.err
60895 rm -f conftest.er1
60896 cat conftest.err >&5
60897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60898 (exit $ac_status); } &&
60899 { ac_try='test -z "$ac_cxx_werror_flag"
60900 || test ! -s conftest.err'
60901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60902 (eval $ac_try) 2>&5
60903 ac_status=$?
60904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60905 (exit $ac_status); }; } &&
60906 { ac_try='test -s conftest.$ac_objext'
60907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60908 (eval $ac_try) 2>&5
60909 ac_status=$?
60910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60911 (exit $ac_status); }; }; then
60912 glibcxx_cv_func_finitef_use=yes
60913 else
60914 echo "$as_me: failed program was:" >&5
60915 sed 's/^/| /' conftest.$ac_ext >&5
60917 glibcxx_cv_func_finitef_use=no
60919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60920 ac_ext=c
60921 ac_cpp='$CPP $CPPFLAGS'
60922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
60931 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
60933 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60935 for ac_func in finitef
60937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60938 echo "$as_me:$LINENO: checking for $ac_func" >&5
60939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60940 if eval "test \"\${$as_ac_var+set}\" = set"; then
60941 echo $ECHO_N "(cached) $ECHO_C" >&6
60942 else
60943 if test x$gcc_no_link = xyes; then
60944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60946 { (exit 1); exit 1; }; }
60948 cat >conftest.$ac_ext <<_ACEOF
60949 /* confdefs.h. */
60950 _ACEOF
60951 cat confdefs.h >>conftest.$ac_ext
60952 cat >>conftest.$ac_ext <<_ACEOF
60953 /* end confdefs.h. */
60954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60956 #define $ac_func innocuous_$ac_func
60958 /* System header to define __stub macros and hopefully few prototypes,
60959 which can conflict with char $ac_func (); below.
60960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60961 <limits.h> exists even on freestanding compilers. */
60963 #ifdef __STDC__
60964 # include <limits.h>
60965 #else
60966 # include <assert.h>
60967 #endif
60969 #undef $ac_func
60971 /* Override any gcc2 internal prototype to avoid an error. */
60972 #ifdef __cplusplus
60973 extern "C"
60975 #endif
60976 /* We use char because int might match the return type of a gcc2
60977 builtin and then its argument prototype would still apply. */
60978 char $ac_func ();
60979 /* The GNU C library defines this for functions which it implements
60980 to always fail with ENOSYS. Some functions are actually named
60981 something starting with __ and the normal name is an alias. */
60982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60983 choke me
60984 #else
60985 char (*f) () = $ac_func;
60986 #endif
60987 #ifdef __cplusplus
60989 #endif
60992 main ()
60994 return f != $ac_func;
60996 return 0;
60998 _ACEOF
60999 rm -f conftest.$ac_objext conftest$ac_exeext
61000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61001 (eval $ac_link) 2>conftest.er1
61002 ac_status=$?
61003 grep -v '^ *+' conftest.er1 >conftest.err
61004 rm -f conftest.er1
61005 cat conftest.err >&5
61006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61007 (exit $ac_status); } &&
61008 { ac_try='test -z "$ac_c_werror_flag"
61009 || test ! -s conftest.err'
61010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61011 (eval $ac_try) 2>&5
61012 ac_status=$?
61013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61014 (exit $ac_status); }; } &&
61015 { ac_try='test -s conftest$ac_exeext'
61016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61017 (eval $ac_try) 2>&5
61018 ac_status=$?
61019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61020 (exit $ac_status); }; }; then
61021 eval "$as_ac_var=yes"
61022 else
61023 echo "$as_me: failed program was:" >&5
61024 sed 's/^/| /' conftest.$ac_ext >&5
61026 eval "$as_ac_var=no"
61028 rm -f conftest.err conftest.$ac_objext \
61029 conftest$ac_exeext conftest.$ac_ext
61031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61033 if test `eval echo '${'$as_ac_var'}'` = yes; then
61034 cat >>confdefs.h <<_ACEOF
61035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61036 _ACEOF
61039 done
61041 else
61043 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
61044 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
61045 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61046 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
61047 echo $ECHO_N "(cached) $ECHO_C" >&6
61048 else
61052 ac_ext=cc
61053 ac_cpp='$CXXCPP $CPPFLAGS'
61054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61058 cat >conftest.$ac_ext <<_ACEOF
61059 /* confdefs.h. */
61060 _ACEOF
61061 cat confdefs.h >>conftest.$ac_ext
61062 cat >>conftest.$ac_ext <<_ACEOF
61063 /* end confdefs.h. */
61064 #include <math.h>
61065 #ifdef HAVE_IEEEFP_H
61066 #include <ieeefp.h>
61067 #endif
61070 main ()
61072 _finitef(0);
61074 return 0;
61076 _ACEOF
61077 rm -f conftest.$ac_objext
61078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61079 (eval $ac_compile) 2>conftest.er1
61080 ac_status=$?
61081 grep -v '^ *+' conftest.er1 >conftest.err
61082 rm -f conftest.er1
61083 cat conftest.err >&5
61084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61085 (exit $ac_status); } &&
61086 { ac_try='test -z "$ac_cxx_werror_flag"
61087 || test ! -s conftest.err'
61088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61089 (eval $ac_try) 2>&5
61090 ac_status=$?
61091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61092 (exit $ac_status); }; } &&
61093 { ac_try='test -s conftest.$ac_objext'
61094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61095 (eval $ac_try) 2>&5
61096 ac_status=$?
61097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61098 (exit $ac_status); }; }; then
61099 glibcxx_cv_func__finitef_use=yes
61100 else
61101 echo "$as_me: failed program was:" >&5
61102 sed 's/^/| /' conftest.$ac_ext >&5
61104 glibcxx_cv_func__finitef_use=no
61106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61107 ac_ext=c
61108 ac_cpp='$CPP $CPPFLAGS'
61109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
61118 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
61120 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61122 for ac_func in _finitef
61124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61125 echo "$as_me:$LINENO: checking for $ac_func" >&5
61126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61127 if eval "test \"\${$as_ac_var+set}\" = set"; then
61128 echo $ECHO_N "(cached) $ECHO_C" >&6
61129 else
61130 if test x$gcc_no_link = xyes; then
61131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61133 { (exit 1); exit 1; }; }
61135 cat >conftest.$ac_ext <<_ACEOF
61136 /* confdefs.h. */
61137 _ACEOF
61138 cat confdefs.h >>conftest.$ac_ext
61139 cat >>conftest.$ac_ext <<_ACEOF
61140 /* end confdefs.h. */
61141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61143 #define $ac_func innocuous_$ac_func
61145 /* System header to define __stub macros and hopefully few prototypes,
61146 which can conflict with char $ac_func (); below.
61147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61148 <limits.h> exists even on freestanding compilers. */
61150 #ifdef __STDC__
61151 # include <limits.h>
61152 #else
61153 # include <assert.h>
61154 #endif
61156 #undef $ac_func
61158 /* Override any gcc2 internal prototype to avoid an error. */
61159 #ifdef __cplusplus
61160 extern "C"
61162 #endif
61163 /* We use char because int might match the return type of a gcc2
61164 builtin and then its argument prototype would still apply. */
61165 char $ac_func ();
61166 /* The GNU C library defines this for functions which it implements
61167 to always fail with ENOSYS. Some functions are actually named
61168 something starting with __ and the normal name is an alias. */
61169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61170 choke me
61171 #else
61172 char (*f) () = $ac_func;
61173 #endif
61174 #ifdef __cplusplus
61176 #endif
61179 main ()
61181 return f != $ac_func;
61183 return 0;
61185 _ACEOF
61186 rm -f conftest.$ac_objext conftest$ac_exeext
61187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61188 (eval $ac_link) 2>conftest.er1
61189 ac_status=$?
61190 grep -v '^ *+' conftest.er1 >conftest.err
61191 rm -f conftest.er1
61192 cat conftest.err >&5
61193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61194 (exit $ac_status); } &&
61195 { ac_try='test -z "$ac_c_werror_flag"
61196 || test ! -s conftest.err'
61197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61198 (eval $ac_try) 2>&5
61199 ac_status=$?
61200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61201 (exit $ac_status); }; } &&
61202 { ac_try='test -s conftest$ac_exeext'
61203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61204 (eval $ac_try) 2>&5
61205 ac_status=$?
61206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61207 (exit $ac_status); }; }; then
61208 eval "$as_ac_var=yes"
61209 else
61210 echo "$as_me: failed program was:" >&5
61211 sed 's/^/| /' conftest.$ac_ext >&5
61213 eval "$as_ac_var=no"
61215 rm -f conftest.err conftest.$ac_objext \
61216 conftest$ac_exeext conftest.$ac_ext
61218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61220 if test `eval echo '${'$as_ac_var'}'` = yes; then
61221 cat >>confdefs.h <<_ACEOF
61222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61223 _ACEOF
61226 done
61233 echo "$as_me:$LINENO: checking for long double trig functions" >&5
61234 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
61235 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
61236 echo $ECHO_N "(cached) $ECHO_C" >&6
61237 else
61241 ac_ext=cc
61242 ac_cpp='$CXXCPP $CPPFLAGS'
61243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247 cat >conftest.$ac_ext <<_ACEOF
61248 /* confdefs.h. */
61249 _ACEOF
61250 cat confdefs.h >>conftest.$ac_ext
61251 cat >>conftest.$ac_ext <<_ACEOF
61252 /* end confdefs.h. */
61253 #include <math.h>
61255 main ()
61257 `for x in acosl asinl atanl \
61258 cosl sinl tanl \
61259 coshl sinhl tanhl; do echo "$x (0);"; done`
61261 return 0;
61263 _ACEOF
61264 rm -f conftest.$ac_objext
61265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61266 (eval $ac_compile) 2>conftest.er1
61267 ac_status=$?
61268 grep -v '^ *+' conftest.er1 >conftest.err
61269 rm -f conftest.er1
61270 cat conftest.err >&5
61271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61272 (exit $ac_status); } &&
61273 { ac_try='test -z "$ac_cxx_werror_flag"
61274 || test ! -s conftest.err'
61275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61276 (eval $ac_try) 2>&5
61277 ac_status=$?
61278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61279 (exit $ac_status); }; } &&
61280 { ac_try='test -s conftest.$ac_objext'
61281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61282 (eval $ac_try) 2>&5
61283 ac_status=$?
61284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61285 (exit $ac_status); }; }; then
61286 glibcxx_cv_func_long_double_trig_use=yes
61287 else
61288 echo "$as_me: failed program was:" >&5
61289 sed 's/^/| /' conftest.$ac_ext >&5
61291 glibcxx_cv_func_long_double_trig_use=no
61293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61294 ac_ext=c
61295 ac_cpp='$CPP $CPPFLAGS'
61296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61302 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
61303 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
61304 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61314 for ac_func in acosl asinl atanl \
61315 cosl sinl tanl \
61316 coshl sinhl tanhl
61318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61319 echo "$as_me:$LINENO: checking for $ac_func" >&5
61320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61321 if eval "test \"\${$as_ac_var+set}\" = set"; then
61322 echo $ECHO_N "(cached) $ECHO_C" >&6
61323 else
61324 if test x$gcc_no_link = xyes; then
61325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61327 { (exit 1); exit 1; }; }
61329 cat >conftest.$ac_ext <<_ACEOF
61330 /* confdefs.h. */
61331 _ACEOF
61332 cat confdefs.h >>conftest.$ac_ext
61333 cat >>conftest.$ac_ext <<_ACEOF
61334 /* end confdefs.h. */
61335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61337 #define $ac_func innocuous_$ac_func
61339 /* System header to define __stub macros and hopefully few prototypes,
61340 which can conflict with char $ac_func (); below.
61341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61342 <limits.h> exists even on freestanding compilers. */
61344 #ifdef __STDC__
61345 # include <limits.h>
61346 #else
61347 # include <assert.h>
61348 #endif
61350 #undef $ac_func
61352 /* Override any gcc2 internal prototype to avoid an error. */
61353 #ifdef __cplusplus
61354 extern "C"
61356 #endif
61357 /* We use char because int might match the return type of a gcc2
61358 builtin and then its argument prototype would still apply. */
61359 char $ac_func ();
61360 /* The GNU C library defines this for functions which it implements
61361 to always fail with ENOSYS. Some functions are actually named
61362 something starting with __ and the normal name is an alias. */
61363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61364 choke me
61365 #else
61366 char (*f) () = $ac_func;
61367 #endif
61368 #ifdef __cplusplus
61370 #endif
61373 main ()
61375 return f != $ac_func;
61377 return 0;
61379 _ACEOF
61380 rm -f conftest.$ac_objext conftest$ac_exeext
61381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61382 (eval $ac_link) 2>conftest.er1
61383 ac_status=$?
61384 grep -v '^ *+' conftest.er1 >conftest.err
61385 rm -f conftest.er1
61386 cat conftest.err >&5
61387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61388 (exit $ac_status); } &&
61389 { ac_try='test -z "$ac_c_werror_flag"
61390 || test ! -s conftest.err'
61391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61392 (eval $ac_try) 2>&5
61393 ac_status=$?
61394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61395 (exit $ac_status); }; } &&
61396 { ac_try='test -s conftest$ac_exeext'
61397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61398 (eval $ac_try) 2>&5
61399 ac_status=$?
61400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61401 (exit $ac_status); }; }; then
61402 eval "$as_ac_var=yes"
61403 else
61404 echo "$as_me: failed program was:" >&5
61405 sed 's/^/| /' conftest.$ac_ext >&5
61407 eval "$as_ac_var=no"
61409 rm -f conftest.err conftest.$ac_objext \
61410 conftest$ac_exeext conftest.$ac_ext
61412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61414 if test `eval echo '${'$as_ac_var'}'` = yes; then
61415 cat >>confdefs.h <<_ACEOF
61416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61417 _ACEOF
61420 done
61425 echo "$as_me:$LINENO: checking for long double round functions" >&5
61426 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
61427 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
61428 echo $ECHO_N "(cached) $ECHO_C" >&6
61429 else
61433 ac_ext=cc
61434 ac_cpp='$CXXCPP $CPPFLAGS'
61435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61439 cat >conftest.$ac_ext <<_ACEOF
61440 /* confdefs.h. */
61441 _ACEOF
61442 cat confdefs.h >>conftest.$ac_ext
61443 cat >>conftest.$ac_ext <<_ACEOF
61444 /* end confdefs.h. */
61445 #include <math.h>
61447 main ()
61449 `for x in ceill floorl; do echo "$x (0);"; done`
61451 return 0;
61453 _ACEOF
61454 rm -f conftest.$ac_objext
61455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61456 (eval $ac_compile) 2>conftest.er1
61457 ac_status=$?
61458 grep -v '^ *+' conftest.er1 >conftest.err
61459 rm -f conftest.er1
61460 cat conftest.err >&5
61461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61462 (exit $ac_status); } &&
61463 { ac_try='test -z "$ac_cxx_werror_flag"
61464 || test ! -s conftest.err'
61465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61466 (eval $ac_try) 2>&5
61467 ac_status=$?
61468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61469 (exit $ac_status); }; } &&
61470 { ac_try='test -s conftest.$ac_objext'
61471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61472 (eval $ac_try) 2>&5
61473 ac_status=$?
61474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61475 (exit $ac_status); }; }; then
61476 glibcxx_cv_func_long_double_round_use=yes
61477 else
61478 echo "$as_me: failed program was:" >&5
61479 sed 's/^/| /' conftest.$ac_ext >&5
61481 glibcxx_cv_func_long_double_round_use=no
61483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61484 ac_ext=c
61485 ac_cpp='$CPP $CPPFLAGS'
61486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
61493 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
61494 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61497 for ac_func in ceill floorl
61499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61500 echo "$as_me:$LINENO: checking for $ac_func" >&5
61501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61502 if eval "test \"\${$as_ac_var+set}\" = set"; then
61503 echo $ECHO_N "(cached) $ECHO_C" >&6
61504 else
61505 if test x$gcc_no_link = xyes; then
61506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61508 { (exit 1); exit 1; }; }
61510 cat >conftest.$ac_ext <<_ACEOF
61511 /* confdefs.h. */
61512 _ACEOF
61513 cat confdefs.h >>conftest.$ac_ext
61514 cat >>conftest.$ac_ext <<_ACEOF
61515 /* end confdefs.h. */
61516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61518 #define $ac_func innocuous_$ac_func
61520 /* System header to define __stub macros and hopefully few prototypes,
61521 which can conflict with char $ac_func (); below.
61522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61523 <limits.h> exists even on freestanding compilers. */
61525 #ifdef __STDC__
61526 # include <limits.h>
61527 #else
61528 # include <assert.h>
61529 #endif
61531 #undef $ac_func
61533 /* Override any gcc2 internal prototype to avoid an error. */
61534 #ifdef __cplusplus
61535 extern "C"
61537 #endif
61538 /* We use char because int might match the return type of a gcc2
61539 builtin and then its argument prototype would still apply. */
61540 char $ac_func ();
61541 /* The GNU C library defines this for functions which it implements
61542 to always fail with ENOSYS. Some functions are actually named
61543 something starting with __ and the normal name is an alias. */
61544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61545 choke me
61546 #else
61547 char (*f) () = $ac_func;
61548 #endif
61549 #ifdef __cplusplus
61551 #endif
61554 main ()
61556 return f != $ac_func;
61558 return 0;
61560 _ACEOF
61561 rm -f conftest.$ac_objext conftest$ac_exeext
61562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61563 (eval $ac_link) 2>conftest.er1
61564 ac_status=$?
61565 grep -v '^ *+' conftest.er1 >conftest.err
61566 rm -f conftest.er1
61567 cat conftest.err >&5
61568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61569 (exit $ac_status); } &&
61570 { ac_try='test -z "$ac_c_werror_flag"
61571 || test ! -s conftest.err'
61572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61573 (eval $ac_try) 2>&5
61574 ac_status=$?
61575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576 (exit $ac_status); }; } &&
61577 { ac_try='test -s conftest$ac_exeext'
61578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579 (eval $ac_try) 2>&5
61580 ac_status=$?
61581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582 (exit $ac_status); }; }; then
61583 eval "$as_ac_var=yes"
61584 else
61585 echo "$as_me: failed program was:" >&5
61586 sed 's/^/| /' conftest.$ac_ext >&5
61588 eval "$as_ac_var=no"
61590 rm -f conftest.err conftest.$ac_objext \
61591 conftest$ac_exeext conftest.$ac_ext
61593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61595 if test `eval echo '${'$as_ac_var'}'` = yes; then
61596 cat >>confdefs.h <<_ACEOF
61597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61598 _ACEOF
61601 done
61607 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
61608 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
61609 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61610 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
61611 echo $ECHO_N "(cached) $ECHO_C" >&6
61612 else
61616 ac_ext=cc
61617 ac_cpp='$CXXCPP $CPPFLAGS'
61618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61622 cat >conftest.$ac_ext <<_ACEOF
61623 /* confdefs.h. */
61624 _ACEOF
61625 cat confdefs.h >>conftest.$ac_ext
61626 cat >>conftest.$ac_ext <<_ACEOF
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 #ifdef HAVE_IEEEFP_H
61630 #include <ieeefp.h>
61631 #endif
61634 main ()
61636 isnanl(0);
61638 return 0;
61640 _ACEOF
61641 rm -f conftest.$ac_objext
61642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61643 (eval $ac_compile) 2>conftest.er1
61644 ac_status=$?
61645 grep -v '^ *+' conftest.er1 >conftest.err
61646 rm -f conftest.er1
61647 cat conftest.err >&5
61648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61649 (exit $ac_status); } &&
61650 { ac_try='test -z "$ac_cxx_werror_flag"
61651 || test ! -s conftest.err'
61652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61653 (eval $ac_try) 2>&5
61654 ac_status=$?
61655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61656 (exit $ac_status); }; } &&
61657 { ac_try='test -s conftest.$ac_objext'
61658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61659 (eval $ac_try) 2>&5
61660 ac_status=$?
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); }; }; then
61663 glibcxx_cv_func_isnanl_use=yes
61664 else
61665 echo "$as_me: failed program was:" >&5
61666 sed 's/^/| /' conftest.$ac_ext >&5
61668 glibcxx_cv_func_isnanl_use=no
61670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61671 ac_ext=c
61672 ac_cpp='$CPP $CPPFLAGS'
61673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
61682 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
61684 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61686 for ac_func in isnanl
61688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61689 echo "$as_me:$LINENO: checking for $ac_func" >&5
61690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61691 if eval "test \"\${$as_ac_var+set}\" = set"; then
61692 echo $ECHO_N "(cached) $ECHO_C" >&6
61693 else
61694 if test x$gcc_no_link = xyes; then
61695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61697 { (exit 1); exit 1; }; }
61699 cat >conftest.$ac_ext <<_ACEOF
61700 /* confdefs.h. */
61701 _ACEOF
61702 cat confdefs.h >>conftest.$ac_ext
61703 cat >>conftest.$ac_ext <<_ACEOF
61704 /* end confdefs.h. */
61705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61707 #define $ac_func innocuous_$ac_func
61709 /* System header to define __stub macros and hopefully few prototypes,
61710 which can conflict with char $ac_func (); below.
61711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61712 <limits.h> exists even on freestanding compilers. */
61714 #ifdef __STDC__
61715 # include <limits.h>
61716 #else
61717 # include <assert.h>
61718 #endif
61720 #undef $ac_func
61722 /* Override any gcc2 internal prototype to avoid an error. */
61723 #ifdef __cplusplus
61724 extern "C"
61726 #endif
61727 /* We use char because int might match the return type of a gcc2
61728 builtin and then its argument prototype would still apply. */
61729 char $ac_func ();
61730 /* The GNU C library defines this for functions which it implements
61731 to always fail with ENOSYS. Some functions are actually named
61732 something starting with __ and the normal name is an alias. */
61733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61734 choke me
61735 #else
61736 char (*f) () = $ac_func;
61737 #endif
61738 #ifdef __cplusplus
61740 #endif
61743 main ()
61745 return f != $ac_func;
61747 return 0;
61749 _ACEOF
61750 rm -f conftest.$ac_objext conftest$ac_exeext
61751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61752 (eval $ac_link) 2>conftest.er1
61753 ac_status=$?
61754 grep -v '^ *+' conftest.er1 >conftest.err
61755 rm -f conftest.er1
61756 cat conftest.err >&5
61757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61758 (exit $ac_status); } &&
61759 { ac_try='test -z "$ac_c_werror_flag"
61760 || test ! -s conftest.err'
61761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61762 (eval $ac_try) 2>&5
61763 ac_status=$?
61764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61765 (exit $ac_status); }; } &&
61766 { ac_try='test -s conftest$ac_exeext'
61767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61768 (eval $ac_try) 2>&5
61769 ac_status=$?
61770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771 (exit $ac_status); }; }; then
61772 eval "$as_ac_var=yes"
61773 else
61774 echo "$as_me: failed program was:" >&5
61775 sed 's/^/| /' conftest.$ac_ext >&5
61777 eval "$as_ac_var=no"
61779 rm -f conftest.err conftest.$ac_objext \
61780 conftest$ac_exeext conftest.$ac_ext
61782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61784 if test `eval echo '${'$as_ac_var'}'` = yes; then
61785 cat >>confdefs.h <<_ACEOF
61786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61787 _ACEOF
61790 done
61792 else
61794 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
61795 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
61796 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61797 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
61798 echo $ECHO_N "(cached) $ECHO_C" >&6
61799 else
61803 ac_ext=cc
61804 ac_cpp='$CXXCPP $CPPFLAGS'
61805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61809 cat >conftest.$ac_ext <<_ACEOF
61810 /* confdefs.h. */
61811 _ACEOF
61812 cat confdefs.h >>conftest.$ac_ext
61813 cat >>conftest.$ac_ext <<_ACEOF
61814 /* end confdefs.h. */
61815 #include <math.h>
61816 #ifdef HAVE_IEEEFP_H
61817 #include <ieeefp.h>
61818 #endif
61821 main ()
61823 _isnanl(0);
61825 return 0;
61827 _ACEOF
61828 rm -f conftest.$ac_objext
61829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61830 (eval $ac_compile) 2>conftest.er1
61831 ac_status=$?
61832 grep -v '^ *+' conftest.er1 >conftest.err
61833 rm -f conftest.er1
61834 cat conftest.err >&5
61835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61836 (exit $ac_status); } &&
61837 { ac_try='test -z "$ac_cxx_werror_flag"
61838 || test ! -s conftest.err'
61839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61840 (eval $ac_try) 2>&5
61841 ac_status=$?
61842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61843 (exit $ac_status); }; } &&
61844 { ac_try='test -s conftest.$ac_objext'
61845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61846 (eval $ac_try) 2>&5
61847 ac_status=$?
61848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61849 (exit $ac_status); }; }; then
61850 glibcxx_cv_func__isnanl_use=yes
61851 else
61852 echo "$as_me: failed program was:" >&5
61853 sed 's/^/| /' conftest.$ac_ext >&5
61855 glibcxx_cv_func__isnanl_use=no
61857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61858 ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
61869 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
61871 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61873 for ac_func in _isnanl
61875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61876 echo "$as_me:$LINENO: checking for $ac_func" >&5
61877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61878 if eval "test \"\${$as_ac_var+set}\" = set"; then
61879 echo $ECHO_N "(cached) $ECHO_C" >&6
61880 else
61881 if test x$gcc_no_link = xyes; then
61882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61884 { (exit 1); exit 1; }; }
61886 cat >conftest.$ac_ext <<_ACEOF
61887 /* confdefs.h. */
61888 _ACEOF
61889 cat confdefs.h >>conftest.$ac_ext
61890 cat >>conftest.$ac_ext <<_ACEOF
61891 /* end confdefs.h. */
61892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61894 #define $ac_func innocuous_$ac_func
61896 /* System header to define __stub macros and hopefully few prototypes,
61897 which can conflict with char $ac_func (); below.
61898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61899 <limits.h> exists even on freestanding compilers. */
61901 #ifdef __STDC__
61902 # include <limits.h>
61903 #else
61904 # include <assert.h>
61905 #endif
61907 #undef $ac_func
61909 /* Override any gcc2 internal prototype to avoid an error. */
61910 #ifdef __cplusplus
61911 extern "C"
61913 #endif
61914 /* We use char because int might match the return type of a gcc2
61915 builtin and then its argument prototype would still apply. */
61916 char $ac_func ();
61917 /* The GNU C library defines this for functions which it implements
61918 to always fail with ENOSYS. Some functions are actually named
61919 something starting with __ and the normal name is an alias. */
61920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61921 choke me
61922 #else
61923 char (*f) () = $ac_func;
61924 #endif
61925 #ifdef __cplusplus
61927 #endif
61930 main ()
61932 return f != $ac_func;
61934 return 0;
61936 _ACEOF
61937 rm -f conftest.$ac_objext conftest$ac_exeext
61938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61939 (eval $ac_link) 2>conftest.er1
61940 ac_status=$?
61941 grep -v '^ *+' conftest.er1 >conftest.err
61942 rm -f conftest.er1
61943 cat conftest.err >&5
61944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61945 (exit $ac_status); } &&
61946 { ac_try='test -z "$ac_c_werror_flag"
61947 || test ! -s conftest.err'
61948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61949 (eval $ac_try) 2>&5
61950 ac_status=$?
61951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61952 (exit $ac_status); }; } &&
61953 { ac_try='test -s conftest$ac_exeext'
61954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61955 (eval $ac_try) 2>&5
61956 ac_status=$?
61957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61958 (exit $ac_status); }; }; then
61959 eval "$as_ac_var=yes"
61960 else
61961 echo "$as_me: failed program was:" >&5
61962 sed 's/^/| /' conftest.$ac_ext >&5
61964 eval "$as_ac_var=no"
61966 rm -f conftest.err conftest.$ac_objext \
61967 conftest$ac_exeext conftest.$ac_ext
61969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61971 if test `eval echo '${'$as_ac_var'}'` = yes; then
61972 cat >>confdefs.h <<_ACEOF
61973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61974 _ACEOF
61977 done
61984 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
61985 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
61986 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61987 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
61988 echo $ECHO_N "(cached) $ECHO_C" >&6
61989 else
61993 ac_ext=cc
61994 ac_cpp='$CXXCPP $CPPFLAGS'
61995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61999 cat >conftest.$ac_ext <<_ACEOF
62000 /* confdefs.h. */
62001 _ACEOF
62002 cat confdefs.h >>conftest.$ac_ext
62003 cat >>conftest.$ac_ext <<_ACEOF
62004 /* end confdefs.h. */
62005 #include <math.h>
62006 #ifdef HAVE_IEEEFP_H
62007 #include <ieeefp.h>
62008 #endif
62011 main ()
62013 isinfl(0);
62015 return 0;
62017 _ACEOF
62018 rm -f conftest.$ac_objext
62019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62020 (eval $ac_compile) 2>conftest.er1
62021 ac_status=$?
62022 grep -v '^ *+' conftest.er1 >conftest.err
62023 rm -f conftest.er1
62024 cat conftest.err >&5
62025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62026 (exit $ac_status); } &&
62027 { ac_try='test -z "$ac_cxx_werror_flag"
62028 || test ! -s conftest.err'
62029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62030 (eval $ac_try) 2>&5
62031 ac_status=$?
62032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62033 (exit $ac_status); }; } &&
62034 { ac_try='test -s conftest.$ac_objext'
62035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62036 (eval $ac_try) 2>&5
62037 ac_status=$?
62038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62039 (exit $ac_status); }; }; then
62040 glibcxx_cv_func_isinfl_use=yes
62041 else
62042 echo "$as_me: failed program was:" >&5
62043 sed 's/^/| /' conftest.$ac_ext >&5
62045 glibcxx_cv_func_isinfl_use=no
62047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62048 ac_ext=c
62049 ac_cpp='$CPP $CPPFLAGS'
62050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
62059 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
62061 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62063 for ac_func in isinfl
62065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62066 echo "$as_me:$LINENO: checking for $ac_func" >&5
62067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62068 if eval "test \"\${$as_ac_var+set}\" = set"; then
62069 echo $ECHO_N "(cached) $ECHO_C" >&6
62070 else
62071 if test x$gcc_no_link = xyes; then
62072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62074 { (exit 1); exit 1; }; }
62076 cat >conftest.$ac_ext <<_ACEOF
62077 /* confdefs.h. */
62078 _ACEOF
62079 cat confdefs.h >>conftest.$ac_ext
62080 cat >>conftest.$ac_ext <<_ACEOF
62081 /* end confdefs.h. */
62082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62084 #define $ac_func innocuous_$ac_func
62086 /* System header to define __stub macros and hopefully few prototypes,
62087 which can conflict with char $ac_func (); below.
62088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62089 <limits.h> exists even on freestanding compilers. */
62091 #ifdef __STDC__
62092 # include <limits.h>
62093 #else
62094 # include <assert.h>
62095 #endif
62097 #undef $ac_func
62099 /* Override any gcc2 internal prototype to avoid an error. */
62100 #ifdef __cplusplus
62101 extern "C"
62103 #endif
62104 /* We use char because int might match the return type of a gcc2
62105 builtin and then its argument prototype would still apply. */
62106 char $ac_func ();
62107 /* The GNU C library defines this for functions which it implements
62108 to always fail with ENOSYS. Some functions are actually named
62109 something starting with __ and the normal name is an alias. */
62110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62111 choke me
62112 #else
62113 char (*f) () = $ac_func;
62114 #endif
62115 #ifdef __cplusplus
62117 #endif
62120 main ()
62122 return f != $ac_func;
62124 return 0;
62126 _ACEOF
62127 rm -f conftest.$ac_objext conftest$ac_exeext
62128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62129 (eval $ac_link) 2>conftest.er1
62130 ac_status=$?
62131 grep -v '^ *+' conftest.er1 >conftest.err
62132 rm -f conftest.er1
62133 cat conftest.err >&5
62134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62135 (exit $ac_status); } &&
62136 { ac_try='test -z "$ac_c_werror_flag"
62137 || test ! -s conftest.err'
62138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62139 (eval $ac_try) 2>&5
62140 ac_status=$?
62141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62142 (exit $ac_status); }; } &&
62143 { ac_try='test -s conftest$ac_exeext'
62144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62145 (eval $ac_try) 2>&5
62146 ac_status=$?
62147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62148 (exit $ac_status); }; }; then
62149 eval "$as_ac_var=yes"
62150 else
62151 echo "$as_me: failed program was:" >&5
62152 sed 's/^/| /' conftest.$ac_ext >&5
62154 eval "$as_ac_var=no"
62156 rm -f conftest.err conftest.$ac_objext \
62157 conftest$ac_exeext conftest.$ac_ext
62159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62161 if test `eval echo '${'$as_ac_var'}'` = yes; then
62162 cat >>confdefs.h <<_ACEOF
62163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62164 _ACEOF
62167 done
62169 else
62171 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
62172 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
62173 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62174 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
62175 echo $ECHO_N "(cached) $ECHO_C" >&6
62176 else
62180 ac_ext=cc
62181 ac_cpp='$CXXCPP $CPPFLAGS'
62182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62186 cat >conftest.$ac_ext <<_ACEOF
62187 /* confdefs.h. */
62188 _ACEOF
62189 cat confdefs.h >>conftest.$ac_ext
62190 cat >>conftest.$ac_ext <<_ACEOF
62191 /* end confdefs.h. */
62192 #include <math.h>
62193 #ifdef HAVE_IEEEFP_H
62194 #include <ieeefp.h>
62195 #endif
62198 main ()
62200 _isinfl(0);
62202 return 0;
62204 _ACEOF
62205 rm -f conftest.$ac_objext
62206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62207 (eval $ac_compile) 2>conftest.er1
62208 ac_status=$?
62209 grep -v '^ *+' conftest.er1 >conftest.err
62210 rm -f conftest.er1
62211 cat conftest.err >&5
62212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62213 (exit $ac_status); } &&
62214 { ac_try='test -z "$ac_cxx_werror_flag"
62215 || test ! -s conftest.err'
62216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62217 (eval $ac_try) 2>&5
62218 ac_status=$?
62219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62220 (exit $ac_status); }; } &&
62221 { ac_try='test -s conftest.$ac_objext'
62222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62223 (eval $ac_try) 2>&5
62224 ac_status=$?
62225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62226 (exit $ac_status); }; }; then
62227 glibcxx_cv_func__isinfl_use=yes
62228 else
62229 echo "$as_me: failed program was:" >&5
62230 sed 's/^/| /' conftest.$ac_ext >&5
62232 glibcxx_cv_func__isinfl_use=no
62234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62235 ac_ext=c
62236 ac_cpp='$CPP $CPPFLAGS'
62237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
62246 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
62248 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62250 for ac_func in _isinfl
62252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62253 echo "$as_me:$LINENO: checking for $ac_func" >&5
62254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62255 if eval "test \"\${$as_ac_var+set}\" = set"; then
62256 echo $ECHO_N "(cached) $ECHO_C" >&6
62257 else
62258 if test x$gcc_no_link = xyes; then
62259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62261 { (exit 1); exit 1; }; }
62263 cat >conftest.$ac_ext <<_ACEOF
62264 /* confdefs.h. */
62265 _ACEOF
62266 cat confdefs.h >>conftest.$ac_ext
62267 cat >>conftest.$ac_ext <<_ACEOF
62268 /* end confdefs.h. */
62269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62271 #define $ac_func innocuous_$ac_func
62273 /* System header to define __stub macros and hopefully few prototypes,
62274 which can conflict with char $ac_func (); below.
62275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62276 <limits.h> exists even on freestanding compilers. */
62278 #ifdef __STDC__
62279 # include <limits.h>
62280 #else
62281 # include <assert.h>
62282 #endif
62284 #undef $ac_func
62286 /* Override any gcc2 internal prototype to avoid an error. */
62287 #ifdef __cplusplus
62288 extern "C"
62290 #endif
62291 /* We use char because int might match the return type of a gcc2
62292 builtin and then its argument prototype would still apply. */
62293 char $ac_func ();
62294 /* The GNU C library defines this for functions which it implements
62295 to always fail with ENOSYS. Some functions are actually named
62296 something starting with __ and the normal name is an alias. */
62297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62298 choke me
62299 #else
62300 char (*f) () = $ac_func;
62301 #endif
62302 #ifdef __cplusplus
62304 #endif
62307 main ()
62309 return f != $ac_func;
62311 return 0;
62313 _ACEOF
62314 rm -f conftest.$ac_objext conftest$ac_exeext
62315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62316 (eval $ac_link) 2>conftest.er1
62317 ac_status=$?
62318 grep -v '^ *+' conftest.er1 >conftest.err
62319 rm -f conftest.er1
62320 cat conftest.err >&5
62321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62322 (exit $ac_status); } &&
62323 { ac_try='test -z "$ac_c_werror_flag"
62324 || test ! -s conftest.err'
62325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62326 (eval $ac_try) 2>&5
62327 ac_status=$?
62328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329 (exit $ac_status); }; } &&
62330 { ac_try='test -s conftest$ac_exeext'
62331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62332 (eval $ac_try) 2>&5
62333 ac_status=$?
62334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62335 (exit $ac_status); }; }; then
62336 eval "$as_ac_var=yes"
62337 else
62338 echo "$as_me: failed program was:" >&5
62339 sed 's/^/| /' conftest.$ac_ext >&5
62341 eval "$as_ac_var=no"
62343 rm -f conftest.err conftest.$ac_objext \
62344 conftest$ac_exeext conftest.$ac_ext
62346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62348 if test `eval echo '${'$as_ac_var'}'` = yes; then
62349 cat >>confdefs.h <<_ACEOF
62350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62351 _ACEOF
62354 done
62361 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
62362 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
62363 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
62364 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
62365 echo $ECHO_N "(cached) $ECHO_C" >&6
62366 else
62370 ac_ext=cc
62371 ac_cpp='$CXXCPP $CPPFLAGS'
62372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62376 cat >conftest.$ac_ext <<_ACEOF
62377 /* confdefs.h. */
62378 _ACEOF
62379 cat confdefs.h >>conftest.$ac_ext
62380 cat >>conftest.$ac_ext <<_ACEOF
62381 /* end confdefs.h. */
62382 #include <math.h>
62384 main ()
62386 copysignl(0, 0);
62388 return 0;
62390 _ACEOF
62391 rm -f conftest.$ac_objext
62392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62393 (eval $ac_compile) 2>conftest.er1
62394 ac_status=$?
62395 grep -v '^ *+' conftest.er1 >conftest.err
62396 rm -f conftest.er1
62397 cat conftest.err >&5
62398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62399 (exit $ac_status); } &&
62400 { ac_try='test -z "$ac_cxx_werror_flag"
62401 || test ! -s conftest.err'
62402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62403 (eval $ac_try) 2>&5
62404 ac_status=$?
62405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62406 (exit $ac_status); }; } &&
62407 { ac_try='test -s conftest.$ac_objext'
62408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62409 (eval $ac_try) 2>&5
62410 ac_status=$?
62411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62412 (exit $ac_status); }; }; then
62413 glibcxx_cv_func_copysignl_use=yes
62414 else
62415 echo "$as_me: failed program was:" >&5
62416 sed 's/^/| /' conftest.$ac_ext >&5
62418 glibcxx_cv_func_copysignl_use=no
62420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62421 ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
62432 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
62434 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
62436 for ac_func in copysignl
62438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62439 echo "$as_me:$LINENO: checking for $ac_func" >&5
62440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62441 if eval "test \"\${$as_ac_var+set}\" = set"; then
62442 echo $ECHO_N "(cached) $ECHO_C" >&6
62443 else
62444 if test x$gcc_no_link = xyes; then
62445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62447 { (exit 1); exit 1; }; }
62449 cat >conftest.$ac_ext <<_ACEOF
62450 /* confdefs.h. */
62451 _ACEOF
62452 cat confdefs.h >>conftest.$ac_ext
62453 cat >>conftest.$ac_ext <<_ACEOF
62454 /* end confdefs.h. */
62455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62457 #define $ac_func innocuous_$ac_func
62459 /* System header to define __stub macros and hopefully few prototypes,
62460 which can conflict with char $ac_func (); below.
62461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62462 <limits.h> exists even on freestanding compilers. */
62464 #ifdef __STDC__
62465 # include <limits.h>
62466 #else
62467 # include <assert.h>
62468 #endif
62470 #undef $ac_func
62472 /* Override any gcc2 internal prototype to avoid an error. */
62473 #ifdef __cplusplus
62474 extern "C"
62476 #endif
62477 /* We use char because int might match the return type of a gcc2
62478 builtin and then its argument prototype would still apply. */
62479 char $ac_func ();
62480 /* The GNU C library defines this for functions which it implements
62481 to always fail with ENOSYS. Some functions are actually named
62482 something starting with __ and the normal name is an alias. */
62483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62484 choke me
62485 #else
62486 char (*f) () = $ac_func;
62487 #endif
62488 #ifdef __cplusplus
62490 #endif
62493 main ()
62495 return f != $ac_func;
62497 return 0;
62499 _ACEOF
62500 rm -f conftest.$ac_objext conftest$ac_exeext
62501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62502 (eval $ac_link) 2>conftest.er1
62503 ac_status=$?
62504 grep -v '^ *+' conftest.er1 >conftest.err
62505 rm -f conftest.er1
62506 cat conftest.err >&5
62507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62508 (exit $ac_status); } &&
62509 { ac_try='test -z "$ac_c_werror_flag"
62510 || test ! -s conftest.err'
62511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62512 (eval $ac_try) 2>&5
62513 ac_status=$?
62514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62515 (exit $ac_status); }; } &&
62516 { ac_try='test -s conftest$ac_exeext'
62517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62518 (eval $ac_try) 2>&5
62519 ac_status=$?
62520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62521 (exit $ac_status); }; }; then
62522 eval "$as_ac_var=yes"
62523 else
62524 echo "$as_me: failed program was:" >&5
62525 sed 's/^/| /' conftest.$ac_ext >&5
62527 eval "$as_ac_var=no"
62529 rm -f conftest.err conftest.$ac_objext \
62530 conftest$ac_exeext conftest.$ac_ext
62532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62534 if test `eval echo '${'$as_ac_var'}'` = yes; then
62535 cat >>confdefs.h <<_ACEOF
62536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62537 _ACEOF
62540 done
62542 else
62544 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
62545 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
62546 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
62547 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
62548 echo $ECHO_N "(cached) $ECHO_C" >&6
62549 else
62553 ac_ext=cc
62554 ac_cpp='$CXXCPP $CPPFLAGS'
62555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62559 cat >conftest.$ac_ext <<_ACEOF
62560 /* confdefs.h. */
62561 _ACEOF
62562 cat confdefs.h >>conftest.$ac_ext
62563 cat >>conftest.$ac_ext <<_ACEOF
62564 /* end confdefs.h. */
62565 #include <math.h>
62567 main ()
62569 _copysignl(0, 0);
62571 return 0;
62573 _ACEOF
62574 rm -f conftest.$ac_objext
62575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62576 (eval $ac_compile) 2>conftest.er1
62577 ac_status=$?
62578 grep -v '^ *+' conftest.er1 >conftest.err
62579 rm -f conftest.er1
62580 cat conftest.err >&5
62581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62582 (exit $ac_status); } &&
62583 { ac_try='test -z "$ac_cxx_werror_flag"
62584 || test ! -s conftest.err'
62585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62586 (eval $ac_try) 2>&5
62587 ac_status=$?
62588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62589 (exit $ac_status); }; } &&
62590 { ac_try='test -s conftest.$ac_objext'
62591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62592 (eval $ac_try) 2>&5
62593 ac_status=$?
62594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62595 (exit $ac_status); }; }; then
62596 glibcxx_cv_func__copysignl_use=yes
62597 else
62598 echo "$as_me: failed program was:" >&5
62599 sed 's/^/| /' conftest.$ac_ext >&5
62601 glibcxx_cv_func__copysignl_use=no
62603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_ext=c
62605 ac_cpp='$CPP $CPPFLAGS'
62606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
62615 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
62617 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
62619 for ac_func in _copysignl
62621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62622 echo "$as_me:$LINENO: checking for $ac_func" >&5
62623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62624 if eval "test \"\${$as_ac_var+set}\" = set"; then
62625 echo $ECHO_N "(cached) $ECHO_C" >&6
62626 else
62627 if test x$gcc_no_link = xyes; then
62628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62630 { (exit 1); exit 1; }; }
62632 cat >conftest.$ac_ext <<_ACEOF
62633 /* confdefs.h. */
62634 _ACEOF
62635 cat confdefs.h >>conftest.$ac_ext
62636 cat >>conftest.$ac_ext <<_ACEOF
62637 /* end confdefs.h. */
62638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62640 #define $ac_func innocuous_$ac_func
62642 /* System header to define __stub macros and hopefully few prototypes,
62643 which can conflict with char $ac_func (); below.
62644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62645 <limits.h> exists even on freestanding compilers. */
62647 #ifdef __STDC__
62648 # include <limits.h>
62649 #else
62650 # include <assert.h>
62651 #endif
62653 #undef $ac_func
62655 /* Override any gcc2 internal prototype to avoid an error. */
62656 #ifdef __cplusplus
62657 extern "C"
62659 #endif
62660 /* We use char because int might match the return type of a gcc2
62661 builtin and then its argument prototype would still apply. */
62662 char $ac_func ();
62663 /* The GNU C library defines this for functions which it implements
62664 to always fail with ENOSYS. Some functions are actually named
62665 something starting with __ and the normal name is an alias. */
62666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62667 choke me
62668 #else
62669 char (*f) () = $ac_func;
62670 #endif
62671 #ifdef __cplusplus
62673 #endif
62676 main ()
62678 return f != $ac_func;
62680 return 0;
62682 _ACEOF
62683 rm -f conftest.$ac_objext conftest$ac_exeext
62684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62685 (eval $ac_link) 2>conftest.er1
62686 ac_status=$?
62687 grep -v '^ *+' conftest.er1 >conftest.err
62688 rm -f conftest.er1
62689 cat conftest.err >&5
62690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62691 (exit $ac_status); } &&
62692 { ac_try='test -z "$ac_c_werror_flag"
62693 || test ! -s conftest.err'
62694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62695 (eval $ac_try) 2>&5
62696 ac_status=$?
62697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62698 (exit $ac_status); }; } &&
62699 { ac_try='test -s conftest$ac_exeext'
62700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62701 (eval $ac_try) 2>&5
62702 ac_status=$?
62703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62704 (exit $ac_status); }; }; then
62705 eval "$as_ac_var=yes"
62706 else
62707 echo "$as_me: failed program was:" >&5
62708 sed 's/^/| /' conftest.$ac_ext >&5
62710 eval "$as_ac_var=no"
62712 rm -f conftest.err conftest.$ac_objext \
62713 conftest$ac_exeext conftest.$ac_ext
62715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62717 if test `eval echo '${'$as_ac_var'}'` = yes; then
62718 cat >>confdefs.h <<_ACEOF
62719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62720 _ACEOF
62723 done
62730 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
62731 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
62732 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62733 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
62734 echo $ECHO_N "(cached) $ECHO_C" >&6
62735 else
62739 ac_ext=cc
62740 ac_cpp='$CXXCPP $CPPFLAGS'
62741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62745 cat >conftest.$ac_ext <<_ACEOF
62746 /* confdefs.h. */
62747 _ACEOF
62748 cat confdefs.h >>conftest.$ac_ext
62749 cat >>conftest.$ac_ext <<_ACEOF
62750 /* end confdefs.h. */
62751 #include <math.h>
62753 main ()
62755 atan2l(0, 0);
62757 return 0;
62759 _ACEOF
62760 rm -f conftest.$ac_objext
62761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62762 (eval $ac_compile) 2>conftest.er1
62763 ac_status=$?
62764 grep -v '^ *+' conftest.er1 >conftest.err
62765 rm -f conftest.er1
62766 cat conftest.err >&5
62767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62768 (exit $ac_status); } &&
62769 { ac_try='test -z "$ac_cxx_werror_flag"
62770 || test ! -s conftest.err'
62771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62772 (eval $ac_try) 2>&5
62773 ac_status=$?
62774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62775 (exit $ac_status); }; } &&
62776 { ac_try='test -s conftest.$ac_objext'
62777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62778 (eval $ac_try) 2>&5
62779 ac_status=$?
62780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62781 (exit $ac_status); }; }; then
62782 glibcxx_cv_func_atan2l_use=yes
62783 else
62784 echo "$as_me: failed program was:" >&5
62785 sed 's/^/| /' conftest.$ac_ext >&5
62787 glibcxx_cv_func_atan2l_use=no
62789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62790 ac_ext=c
62791 ac_cpp='$CPP $CPPFLAGS'
62792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
62801 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
62803 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62805 for ac_func in atan2l
62807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62808 echo "$as_me:$LINENO: checking for $ac_func" >&5
62809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62810 if eval "test \"\${$as_ac_var+set}\" = set"; then
62811 echo $ECHO_N "(cached) $ECHO_C" >&6
62812 else
62813 if test x$gcc_no_link = xyes; then
62814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62816 { (exit 1); exit 1; }; }
62818 cat >conftest.$ac_ext <<_ACEOF
62819 /* confdefs.h. */
62820 _ACEOF
62821 cat confdefs.h >>conftest.$ac_ext
62822 cat >>conftest.$ac_ext <<_ACEOF
62823 /* end confdefs.h. */
62824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62826 #define $ac_func innocuous_$ac_func
62828 /* System header to define __stub macros and hopefully few prototypes,
62829 which can conflict with char $ac_func (); below.
62830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62831 <limits.h> exists even on freestanding compilers. */
62833 #ifdef __STDC__
62834 # include <limits.h>
62835 #else
62836 # include <assert.h>
62837 #endif
62839 #undef $ac_func
62841 /* Override any gcc2 internal prototype to avoid an error. */
62842 #ifdef __cplusplus
62843 extern "C"
62845 #endif
62846 /* We use char because int might match the return type of a gcc2
62847 builtin and then its argument prototype would still apply. */
62848 char $ac_func ();
62849 /* The GNU C library defines this for functions which it implements
62850 to always fail with ENOSYS. Some functions are actually named
62851 something starting with __ and the normal name is an alias. */
62852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62853 choke me
62854 #else
62855 char (*f) () = $ac_func;
62856 #endif
62857 #ifdef __cplusplus
62859 #endif
62862 main ()
62864 return f != $ac_func;
62866 return 0;
62868 _ACEOF
62869 rm -f conftest.$ac_objext conftest$ac_exeext
62870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62871 (eval $ac_link) 2>conftest.er1
62872 ac_status=$?
62873 grep -v '^ *+' conftest.er1 >conftest.err
62874 rm -f conftest.er1
62875 cat conftest.err >&5
62876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62877 (exit $ac_status); } &&
62878 { ac_try='test -z "$ac_c_werror_flag"
62879 || test ! -s conftest.err'
62880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62881 (eval $ac_try) 2>&5
62882 ac_status=$?
62883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884 (exit $ac_status); }; } &&
62885 { ac_try='test -s conftest$ac_exeext'
62886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62887 (eval $ac_try) 2>&5
62888 ac_status=$?
62889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62890 (exit $ac_status); }; }; then
62891 eval "$as_ac_var=yes"
62892 else
62893 echo "$as_me: failed program was:" >&5
62894 sed 's/^/| /' conftest.$ac_ext >&5
62896 eval "$as_ac_var=no"
62898 rm -f conftest.err conftest.$ac_objext \
62899 conftest$ac_exeext conftest.$ac_ext
62901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62903 if test `eval echo '${'$as_ac_var'}'` = yes; then
62904 cat >>confdefs.h <<_ACEOF
62905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62906 _ACEOF
62909 done
62911 else
62913 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
62914 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
62915 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62916 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
62917 echo $ECHO_N "(cached) $ECHO_C" >&6
62918 else
62922 ac_ext=cc
62923 ac_cpp='$CXXCPP $CPPFLAGS'
62924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62928 cat >conftest.$ac_ext <<_ACEOF
62929 /* confdefs.h. */
62930 _ACEOF
62931 cat confdefs.h >>conftest.$ac_ext
62932 cat >>conftest.$ac_ext <<_ACEOF
62933 /* end confdefs.h. */
62934 #include <math.h>
62936 main ()
62938 _atan2l(0, 0);
62940 return 0;
62942 _ACEOF
62943 rm -f conftest.$ac_objext
62944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62945 (eval $ac_compile) 2>conftest.er1
62946 ac_status=$?
62947 grep -v '^ *+' conftest.er1 >conftest.err
62948 rm -f conftest.er1
62949 cat conftest.err >&5
62950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62951 (exit $ac_status); } &&
62952 { ac_try='test -z "$ac_cxx_werror_flag"
62953 || test ! -s conftest.err'
62954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62955 (eval $ac_try) 2>&5
62956 ac_status=$?
62957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62958 (exit $ac_status); }; } &&
62959 { ac_try='test -s conftest.$ac_objext'
62960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62961 (eval $ac_try) 2>&5
62962 ac_status=$?
62963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62964 (exit $ac_status); }; }; then
62965 glibcxx_cv_func__atan2l_use=yes
62966 else
62967 echo "$as_me: failed program was:" >&5
62968 sed 's/^/| /' conftest.$ac_ext >&5
62970 glibcxx_cv_func__atan2l_use=no
62972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62973 ac_ext=c
62974 ac_cpp='$CPP $CPPFLAGS'
62975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
62984 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
62986 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62988 for ac_func in _atan2l
62990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62991 echo "$as_me:$LINENO: checking for $ac_func" >&5
62992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62993 if eval "test \"\${$as_ac_var+set}\" = set"; then
62994 echo $ECHO_N "(cached) $ECHO_C" >&6
62995 else
62996 if test x$gcc_no_link = xyes; then
62997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62999 { (exit 1); exit 1; }; }
63001 cat >conftest.$ac_ext <<_ACEOF
63002 /* confdefs.h. */
63003 _ACEOF
63004 cat confdefs.h >>conftest.$ac_ext
63005 cat >>conftest.$ac_ext <<_ACEOF
63006 /* end confdefs.h. */
63007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63009 #define $ac_func innocuous_$ac_func
63011 /* System header to define __stub macros and hopefully few prototypes,
63012 which can conflict with char $ac_func (); below.
63013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63014 <limits.h> exists even on freestanding compilers. */
63016 #ifdef __STDC__
63017 # include <limits.h>
63018 #else
63019 # include <assert.h>
63020 #endif
63022 #undef $ac_func
63024 /* Override any gcc2 internal prototype to avoid an error. */
63025 #ifdef __cplusplus
63026 extern "C"
63028 #endif
63029 /* We use char because int might match the return type of a gcc2
63030 builtin and then its argument prototype would still apply. */
63031 char $ac_func ();
63032 /* The GNU C library defines this for functions which it implements
63033 to always fail with ENOSYS. Some functions are actually named
63034 something starting with __ and the normal name is an alias. */
63035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63036 choke me
63037 #else
63038 char (*f) () = $ac_func;
63039 #endif
63040 #ifdef __cplusplus
63042 #endif
63045 main ()
63047 return f != $ac_func;
63049 return 0;
63051 _ACEOF
63052 rm -f conftest.$ac_objext conftest$ac_exeext
63053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63054 (eval $ac_link) 2>conftest.er1
63055 ac_status=$?
63056 grep -v '^ *+' conftest.er1 >conftest.err
63057 rm -f conftest.er1
63058 cat conftest.err >&5
63059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63060 (exit $ac_status); } &&
63061 { ac_try='test -z "$ac_c_werror_flag"
63062 || test ! -s conftest.err'
63063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63064 (eval $ac_try) 2>&5
63065 ac_status=$?
63066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63067 (exit $ac_status); }; } &&
63068 { ac_try='test -s conftest$ac_exeext'
63069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63070 (eval $ac_try) 2>&5
63071 ac_status=$?
63072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63073 (exit $ac_status); }; }; then
63074 eval "$as_ac_var=yes"
63075 else
63076 echo "$as_me: failed program was:" >&5
63077 sed 's/^/| /' conftest.$ac_ext >&5
63079 eval "$as_ac_var=no"
63081 rm -f conftest.err conftest.$ac_objext \
63082 conftest$ac_exeext conftest.$ac_ext
63084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63086 if test `eval echo '${'$as_ac_var'}'` = yes; then
63087 cat >>confdefs.h <<_ACEOF
63088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63089 _ACEOF
63092 done
63099 echo "$as_me:$LINENO: checking for expl declaration" >&5
63100 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
63101 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63102 if test "${glibcxx_cv_func_expl_use+set}" = set; then
63103 echo $ECHO_N "(cached) $ECHO_C" >&6
63104 else
63108 ac_ext=cc
63109 ac_cpp='$CXXCPP $CPPFLAGS'
63110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63114 cat >conftest.$ac_ext <<_ACEOF
63115 /* confdefs.h. */
63116 _ACEOF
63117 cat confdefs.h >>conftest.$ac_ext
63118 cat >>conftest.$ac_ext <<_ACEOF
63119 /* end confdefs.h. */
63120 #include <math.h>
63121 #ifdef HAVE_IEEEFP_H
63122 #include <ieeefp.h>
63123 #endif
63126 main ()
63128 expl(0);
63130 return 0;
63132 _ACEOF
63133 rm -f conftest.$ac_objext
63134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63135 (eval $ac_compile) 2>conftest.er1
63136 ac_status=$?
63137 grep -v '^ *+' conftest.er1 >conftest.err
63138 rm -f conftest.er1
63139 cat conftest.err >&5
63140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63141 (exit $ac_status); } &&
63142 { ac_try='test -z "$ac_cxx_werror_flag"
63143 || test ! -s conftest.err'
63144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63145 (eval $ac_try) 2>&5
63146 ac_status=$?
63147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63148 (exit $ac_status); }; } &&
63149 { ac_try='test -s conftest.$ac_objext'
63150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63151 (eval $ac_try) 2>&5
63152 ac_status=$?
63153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63154 (exit $ac_status); }; }; then
63155 glibcxx_cv_func_expl_use=yes
63156 else
63157 echo "$as_me: failed program was:" >&5
63158 sed 's/^/| /' conftest.$ac_ext >&5
63160 glibcxx_cv_func_expl_use=no
63162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63163 ac_ext=c
63164 ac_cpp='$CPP $CPPFLAGS'
63165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
63174 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
63176 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63178 for ac_func in expl
63180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63181 echo "$as_me:$LINENO: checking for $ac_func" >&5
63182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63183 if eval "test \"\${$as_ac_var+set}\" = set"; then
63184 echo $ECHO_N "(cached) $ECHO_C" >&6
63185 else
63186 if test x$gcc_no_link = xyes; then
63187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63189 { (exit 1); exit 1; }; }
63191 cat >conftest.$ac_ext <<_ACEOF
63192 /* confdefs.h. */
63193 _ACEOF
63194 cat confdefs.h >>conftest.$ac_ext
63195 cat >>conftest.$ac_ext <<_ACEOF
63196 /* end confdefs.h. */
63197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63199 #define $ac_func innocuous_$ac_func
63201 /* System header to define __stub macros and hopefully few prototypes,
63202 which can conflict with char $ac_func (); below.
63203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63204 <limits.h> exists even on freestanding compilers. */
63206 #ifdef __STDC__
63207 # include <limits.h>
63208 #else
63209 # include <assert.h>
63210 #endif
63212 #undef $ac_func
63214 /* Override any gcc2 internal prototype to avoid an error. */
63215 #ifdef __cplusplus
63216 extern "C"
63218 #endif
63219 /* We use char because int might match the return type of a gcc2
63220 builtin and then its argument prototype would still apply. */
63221 char $ac_func ();
63222 /* The GNU C library defines this for functions which it implements
63223 to always fail with ENOSYS. Some functions are actually named
63224 something starting with __ and the normal name is an alias. */
63225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63226 choke me
63227 #else
63228 char (*f) () = $ac_func;
63229 #endif
63230 #ifdef __cplusplus
63232 #endif
63235 main ()
63237 return f != $ac_func;
63239 return 0;
63241 _ACEOF
63242 rm -f conftest.$ac_objext conftest$ac_exeext
63243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63244 (eval $ac_link) 2>conftest.er1
63245 ac_status=$?
63246 grep -v '^ *+' conftest.er1 >conftest.err
63247 rm -f conftest.er1
63248 cat conftest.err >&5
63249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63250 (exit $ac_status); } &&
63251 { ac_try='test -z "$ac_c_werror_flag"
63252 || test ! -s conftest.err'
63253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63254 (eval $ac_try) 2>&5
63255 ac_status=$?
63256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63257 (exit $ac_status); }; } &&
63258 { ac_try='test -s conftest$ac_exeext'
63259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63260 (eval $ac_try) 2>&5
63261 ac_status=$?
63262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63263 (exit $ac_status); }; }; then
63264 eval "$as_ac_var=yes"
63265 else
63266 echo "$as_me: failed program was:" >&5
63267 sed 's/^/| /' conftest.$ac_ext >&5
63269 eval "$as_ac_var=no"
63271 rm -f conftest.err conftest.$ac_objext \
63272 conftest$ac_exeext conftest.$ac_ext
63274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63276 if test `eval echo '${'$as_ac_var'}'` = yes; then
63277 cat >>confdefs.h <<_ACEOF
63278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63279 _ACEOF
63282 done
63284 else
63286 echo "$as_me:$LINENO: checking for _expl declaration" >&5
63287 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
63288 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63289 if test "${glibcxx_cv_func__expl_use+set}" = set; then
63290 echo $ECHO_N "(cached) $ECHO_C" >&6
63291 else
63295 ac_ext=cc
63296 ac_cpp='$CXXCPP $CPPFLAGS'
63297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63301 cat >conftest.$ac_ext <<_ACEOF
63302 /* confdefs.h. */
63303 _ACEOF
63304 cat confdefs.h >>conftest.$ac_ext
63305 cat >>conftest.$ac_ext <<_ACEOF
63306 /* end confdefs.h. */
63307 #include <math.h>
63308 #ifdef HAVE_IEEEFP_H
63309 #include <ieeefp.h>
63310 #endif
63313 main ()
63315 _expl(0);
63317 return 0;
63319 _ACEOF
63320 rm -f conftest.$ac_objext
63321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63322 (eval $ac_compile) 2>conftest.er1
63323 ac_status=$?
63324 grep -v '^ *+' conftest.er1 >conftest.err
63325 rm -f conftest.er1
63326 cat conftest.err >&5
63327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63328 (exit $ac_status); } &&
63329 { ac_try='test -z "$ac_cxx_werror_flag"
63330 || test ! -s conftest.err'
63331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332 (eval $ac_try) 2>&5
63333 ac_status=$?
63334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335 (exit $ac_status); }; } &&
63336 { ac_try='test -s conftest.$ac_objext'
63337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63338 (eval $ac_try) 2>&5
63339 ac_status=$?
63340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63341 (exit $ac_status); }; }; then
63342 glibcxx_cv_func__expl_use=yes
63343 else
63344 echo "$as_me: failed program was:" >&5
63345 sed 's/^/| /' conftest.$ac_ext >&5
63347 glibcxx_cv_func__expl_use=no
63349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63350 ac_ext=c
63351 ac_cpp='$CPP $CPPFLAGS'
63352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
63361 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
63363 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63365 for ac_func in _expl
63367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63368 echo "$as_me:$LINENO: checking for $ac_func" >&5
63369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63370 if eval "test \"\${$as_ac_var+set}\" = set"; then
63371 echo $ECHO_N "(cached) $ECHO_C" >&6
63372 else
63373 if test x$gcc_no_link = xyes; then
63374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63376 { (exit 1); exit 1; }; }
63378 cat >conftest.$ac_ext <<_ACEOF
63379 /* confdefs.h. */
63380 _ACEOF
63381 cat confdefs.h >>conftest.$ac_ext
63382 cat >>conftest.$ac_ext <<_ACEOF
63383 /* end confdefs.h. */
63384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63386 #define $ac_func innocuous_$ac_func
63388 /* System header to define __stub macros and hopefully few prototypes,
63389 which can conflict with char $ac_func (); below.
63390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63391 <limits.h> exists even on freestanding compilers. */
63393 #ifdef __STDC__
63394 # include <limits.h>
63395 #else
63396 # include <assert.h>
63397 #endif
63399 #undef $ac_func
63401 /* Override any gcc2 internal prototype to avoid an error. */
63402 #ifdef __cplusplus
63403 extern "C"
63405 #endif
63406 /* We use char because int might match the return type of a gcc2
63407 builtin and then its argument prototype would still apply. */
63408 char $ac_func ();
63409 /* The GNU C library defines this for functions which it implements
63410 to always fail with ENOSYS. Some functions are actually named
63411 something starting with __ and the normal name is an alias. */
63412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63413 choke me
63414 #else
63415 char (*f) () = $ac_func;
63416 #endif
63417 #ifdef __cplusplus
63419 #endif
63422 main ()
63424 return f != $ac_func;
63426 return 0;
63428 _ACEOF
63429 rm -f conftest.$ac_objext conftest$ac_exeext
63430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63431 (eval $ac_link) 2>conftest.er1
63432 ac_status=$?
63433 grep -v '^ *+' conftest.er1 >conftest.err
63434 rm -f conftest.er1
63435 cat conftest.err >&5
63436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63437 (exit $ac_status); } &&
63438 { ac_try='test -z "$ac_c_werror_flag"
63439 || test ! -s conftest.err'
63440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63441 (eval $ac_try) 2>&5
63442 ac_status=$?
63443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63444 (exit $ac_status); }; } &&
63445 { ac_try='test -s conftest$ac_exeext'
63446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63447 (eval $ac_try) 2>&5
63448 ac_status=$?
63449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63450 (exit $ac_status); }; }; then
63451 eval "$as_ac_var=yes"
63452 else
63453 echo "$as_me: failed program was:" >&5
63454 sed 's/^/| /' conftest.$ac_ext >&5
63456 eval "$as_ac_var=no"
63458 rm -f conftest.err conftest.$ac_objext \
63459 conftest$ac_exeext conftest.$ac_ext
63461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63463 if test `eval echo '${'$as_ac_var'}'` = yes; then
63464 cat >>confdefs.h <<_ACEOF
63465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63466 _ACEOF
63469 done
63476 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
63477 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
63478 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63479 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
63480 echo $ECHO_N "(cached) $ECHO_C" >&6
63481 else
63485 ac_ext=cc
63486 ac_cpp='$CXXCPP $CPPFLAGS'
63487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63491 cat >conftest.$ac_ext <<_ACEOF
63492 /* confdefs.h. */
63493 _ACEOF
63494 cat confdefs.h >>conftest.$ac_ext
63495 cat >>conftest.$ac_ext <<_ACEOF
63496 /* end confdefs.h. */
63497 #include <math.h>
63498 #ifdef HAVE_IEEEFP_H
63499 #include <ieeefp.h>
63500 #endif
63503 main ()
63505 fabsl(0);
63507 return 0;
63509 _ACEOF
63510 rm -f conftest.$ac_objext
63511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63512 (eval $ac_compile) 2>conftest.er1
63513 ac_status=$?
63514 grep -v '^ *+' conftest.er1 >conftest.err
63515 rm -f conftest.er1
63516 cat conftest.err >&5
63517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63518 (exit $ac_status); } &&
63519 { ac_try='test -z "$ac_cxx_werror_flag"
63520 || test ! -s conftest.err'
63521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63522 (eval $ac_try) 2>&5
63523 ac_status=$?
63524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63525 (exit $ac_status); }; } &&
63526 { ac_try='test -s conftest.$ac_objext'
63527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63528 (eval $ac_try) 2>&5
63529 ac_status=$?
63530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63531 (exit $ac_status); }; }; then
63532 glibcxx_cv_func_fabsl_use=yes
63533 else
63534 echo "$as_me: failed program was:" >&5
63535 sed 's/^/| /' conftest.$ac_ext >&5
63537 glibcxx_cv_func_fabsl_use=no
63539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63540 ac_ext=c
63541 ac_cpp='$CPP $CPPFLAGS'
63542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63550 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
63551 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
63553 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63555 for ac_func in fabsl
63557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63558 echo "$as_me:$LINENO: checking for $ac_func" >&5
63559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63560 if eval "test \"\${$as_ac_var+set}\" = set"; then
63561 echo $ECHO_N "(cached) $ECHO_C" >&6
63562 else
63563 if test x$gcc_no_link = xyes; then
63564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63566 { (exit 1); exit 1; }; }
63568 cat >conftest.$ac_ext <<_ACEOF
63569 /* confdefs.h. */
63570 _ACEOF
63571 cat confdefs.h >>conftest.$ac_ext
63572 cat >>conftest.$ac_ext <<_ACEOF
63573 /* end confdefs.h. */
63574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63576 #define $ac_func innocuous_$ac_func
63578 /* System header to define __stub macros and hopefully few prototypes,
63579 which can conflict with char $ac_func (); below.
63580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63581 <limits.h> exists even on freestanding compilers. */
63583 #ifdef __STDC__
63584 # include <limits.h>
63585 #else
63586 # include <assert.h>
63587 #endif
63589 #undef $ac_func
63591 /* Override any gcc2 internal prototype to avoid an error. */
63592 #ifdef __cplusplus
63593 extern "C"
63595 #endif
63596 /* We use char because int might match the return type of a gcc2
63597 builtin and then its argument prototype would still apply. */
63598 char $ac_func ();
63599 /* The GNU C library defines this for functions which it implements
63600 to always fail with ENOSYS. Some functions are actually named
63601 something starting with __ and the normal name is an alias. */
63602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63603 choke me
63604 #else
63605 char (*f) () = $ac_func;
63606 #endif
63607 #ifdef __cplusplus
63609 #endif
63612 main ()
63614 return f != $ac_func;
63616 return 0;
63618 _ACEOF
63619 rm -f conftest.$ac_objext conftest$ac_exeext
63620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63621 (eval $ac_link) 2>conftest.er1
63622 ac_status=$?
63623 grep -v '^ *+' conftest.er1 >conftest.err
63624 rm -f conftest.er1
63625 cat conftest.err >&5
63626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63627 (exit $ac_status); } &&
63628 { ac_try='test -z "$ac_c_werror_flag"
63629 || test ! -s conftest.err'
63630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63631 (eval $ac_try) 2>&5
63632 ac_status=$?
63633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63634 (exit $ac_status); }; } &&
63635 { ac_try='test -s conftest$ac_exeext'
63636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63637 (eval $ac_try) 2>&5
63638 ac_status=$?
63639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63640 (exit $ac_status); }; }; then
63641 eval "$as_ac_var=yes"
63642 else
63643 echo "$as_me: failed program was:" >&5
63644 sed 's/^/| /' conftest.$ac_ext >&5
63646 eval "$as_ac_var=no"
63648 rm -f conftest.err conftest.$ac_objext \
63649 conftest$ac_exeext conftest.$ac_ext
63651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63653 if test `eval echo '${'$as_ac_var'}'` = yes; then
63654 cat >>confdefs.h <<_ACEOF
63655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63656 _ACEOF
63659 done
63661 else
63663 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
63664 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
63665 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63666 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
63667 echo $ECHO_N "(cached) $ECHO_C" >&6
63668 else
63672 ac_ext=cc
63673 ac_cpp='$CXXCPP $CPPFLAGS'
63674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63678 cat >conftest.$ac_ext <<_ACEOF
63679 /* confdefs.h. */
63680 _ACEOF
63681 cat confdefs.h >>conftest.$ac_ext
63682 cat >>conftest.$ac_ext <<_ACEOF
63683 /* end confdefs.h. */
63684 #include <math.h>
63685 #ifdef HAVE_IEEEFP_H
63686 #include <ieeefp.h>
63687 #endif
63690 main ()
63692 _fabsl(0);
63694 return 0;
63696 _ACEOF
63697 rm -f conftest.$ac_objext
63698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63699 (eval $ac_compile) 2>conftest.er1
63700 ac_status=$?
63701 grep -v '^ *+' conftest.er1 >conftest.err
63702 rm -f conftest.er1
63703 cat conftest.err >&5
63704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63705 (exit $ac_status); } &&
63706 { ac_try='test -z "$ac_cxx_werror_flag"
63707 || test ! -s conftest.err'
63708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63709 (eval $ac_try) 2>&5
63710 ac_status=$?
63711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63712 (exit $ac_status); }; } &&
63713 { ac_try='test -s conftest.$ac_objext'
63714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63715 (eval $ac_try) 2>&5
63716 ac_status=$?
63717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63718 (exit $ac_status); }; }; then
63719 glibcxx_cv_func__fabsl_use=yes
63720 else
63721 echo "$as_me: failed program was:" >&5
63722 sed 's/^/| /' conftest.$ac_ext >&5
63724 glibcxx_cv_func__fabsl_use=no
63726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63727 ac_ext=c
63728 ac_cpp='$CPP $CPPFLAGS'
63729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
63738 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
63740 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63742 for ac_func in _fabsl
63744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63745 echo "$as_me:$LINENO: checking for $ac_func" >&5
63746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63747 if eval "test \"\${$as_ac_var+set}\" = set"; then
63748 echo $ECHO_N "(cached) $ECHO_C" >&6
63749 else
63750 if test x$gcc_no_link = xyes; then
63751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63753 { (exit 1); exit 1; }; }
63755 cat >conftest.$ac_ext <<_ACEOF
63756 /* confdefs.h. */
63757 _ACEOF
63758 cat confdefs.h >>conftest.$ac_ext
63759 cat >>conftest.$ac_ext <<_ACEOF
63760 /* end confdefs.h. */
63761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63763 #define $ac_func innocuous_$ac_func
63765 /* System header to define __stub macros and hopefully few prototypes,
63766 which can conflict with char $ac_func (); below.
63767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63768 <limits.h> exists even on freestanding compilers. */
63770 #ifdef __STDC__
63771 # include <limits.h>
63772 #else
63773 # include <assert.h>
63774 #endif
63776 #undef $ac_func
63778 /* Override any gcc2 internal prototype to avoid an error. */
63779 #ifdef __cplusplus
63780 extern "C"
63782 #endif
63783 /* We use char because int might match the return type of a gcc2
63784 builtin and then its argument prototype would still apply. */
63785 char $ac_func ();
63786 /* The GNU C library defines this for functions which it implements
63787 to always fail with ENOSYS. Some functions are actually named
63788 something starting with __ and the normal name is an alias. */
63789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63790 choke me
63791 #else
63792 char (*f) () = $ac_func;
63793 #endif
63794 #ifdef __cplusplus
63796 #endif
63799 main ()
63801 return f != $ac_func;
63803 return 0;
63805 _ACEOF
63806 rm -f conftest.$ac_objext conftest$ac_exeext
63807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63808 (eval $ac_link) 2>conftest.er1
63809 ac_status=$?
63810 grep -v '^ *+' conftest.er1 >conftest.err
63811 rm -f conftest.er1
63812 cat conftest.err >&5
63813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63814 (exit $ac_status); } &&
63815 { ac_try='test -z "$ac_c_werror_flag"
63816 || test ! -s conftest.err'
63817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63818 (eval $ac_try) 2>&5
63819 ac_status=$?
63820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63821 (exit $ac_status); }; } &&
63822 { ac_try='test -s conftest$ac_exeext'
63823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63824 (eval $ac_try) 2>&5
63825 ac_status=$?
63826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63827 (exit $ac_status); }; }; then
63828 eval "$as_ac_var=yes"
63829 else
63830 echo "$as_me: failed program was:" >&5
63831 sed 's/^/| /' conftest.$ac_ext >&5
63833 eval "$as_ac_var=no"
63835 rm -f conftest.err conftest.$ac_objext \
63836 conftest$ac_exeext conftest.$ac_ext
63838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63840 if test `eval echo '${'$as_ac_var'}'` = yes; then
63841 cat >>confdefs.h <<_ACEOF
63842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63843 _ACEOF
63846 done
63853 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
63854 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
63855 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63856 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
63857 echo $ECHO_N "(cached) $ECHO_C" >&6
63858 else
63862 ac_ext=cc
63863 ac_cpp='$CXXCPP $CPPFLAGS'
63864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63868 cat >conftest.$ac_ext <<_ACEOF
63869 /* confdefs.h. */
63870 _ACEOF
63871 cat confdefs.h >>conftest.$ac_ext
63872 cat >>conftest.$ac_ext <<_ACEOF
63873 /* end confdefs.h. */
63874 #include <math.h>
63876 main ()
63878 fmodl(0, 0);
63880 return 0;
63882 _ACEOF
63883 rm -f conftest.$ac_objext
63884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63885 (eval $ac_compile) 2>conftest.er1
63886 ac_status=$?
63887 grep -v '^ *+' conftest.er1 >conftest.err
63888 rm -f conftest.er1
63889 cat conftest.err >&5
63890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63891 (exit $ac_status); } &&
63892 { ac_try='test -z "$ac_cxx_werror_flag"
63893 || test ! -s conftest.err'
63894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63895 (eval $ac_try) 2>&5
63896 ac_status=$?
63897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63898 (exit $ac_status); }; } &&
63899 { ac_try='test -s conftest.$ac_objext'
63900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63901 (eval $ac_try) 2>&5
63902 ac_status=$?
63903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63904 (exit $ac_status); }; }; then
63905 glibcxx_cv_func_fmodl_use=yes
63906 else
63907 echo "$as_me: failed program was:" >&5
63908 sed 's/^/| /' conftest.$ac_ext >&5
63910 glibcxx_cv_func_fmodl_use=no
63912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63913 ac_ext=c
63914 ac_cpp='$CPP $CPPFLAGS'
63915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
63924 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
63926 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63928 for ac_func in fmodl
63930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63931 echo "$as_me:$LINENO: checking for $ac_func" >&5
63932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63933 if eval "test \"\${$as_ac_var+set}\" = set"; then
63934 echo $ECHO_N "(cached) $ECHO_C" >&6
63935 else
63936 if test x$gcc_no_link = xyes; then
63937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63939 { (exit 1); exit 1; }; }
63941 cat >conftest.$ac_ext <<_ACEOF
63942 /* confdefs.h. */
63943 _ACEOF
63944 cat confdefs.h >>conftest.$ac_ext
63945 cat >>conftest.$ac_ext <<_ACEOF
63946 /* end confdefs.h. */
63947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63949 #define $ac_func innocuous_$ac_func
63951 /* System header to define __stub macros and hopefully few prototypes,
63952 which can conflict with char $ac_func (); below.
63953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63954 <limits.h> exists even on freestanding compilers. */
63956 #ifdef __STDC__
63957 # include <limits.h>
63958 #else
63959 # include <assert.h>
63960 #endif
63962 #undef $ac_func
63964 /* Override any gcc2 internal prototype to avoid an error. */
63965 #ifdef __cplusplus
63966 extern "C"
63968 #endif
63969 /* We use char because int might match the return type of a gcc2
63970 builtin and then its argument prototype would still apply. */
63971 char $ac_func ();
63972 /* The GNU C library defines this for functions which it implements
63973 to always fail with ENOSYS. Some functions are actually named
63974 something starting with __ and the normal name is an alias. */
63975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63976 choke me
63977 #else
63978 char (*f) () = $ac_func;
63979 #endif
63980 #ifdef __cplusplus
63982 #endif
63985 main ()
63987 return f != $ac_func;
63989 return 0;
63991 _ACEOF
63992 rm -f conftest.$ac_objext conftest$ac_exeext
63993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63994 (eval $ac_link) 2>conftest.er1
63995 ac_status=$?
63996 grep -v '^ *+' conftest.er1 >conftest.err
63997 rm -f conftest.er1
63998 cat conftest.err >&5
63999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64000 (exit $ac_status); } &&
64001 { ac_try='test -z "$ac_c_werror_flag"
64002 || test ! -s conftest.err'
64003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64004 (eval $ac_try) 2>&5
64005 ac_status=$?
64006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64007 (exit $ac_status); }; } &&
64008 { ac_try='test -s conftest$ac_exeext'
64009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64010 (eval $ac_try) 2>&5
64011 ac_status=$?
64012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64013 (exit $ac_status); }; }; then
64014 eval "$as_ac_var=yes"
64015 else
64016 echo "$as_me: failed program was:" >&5
64017 sed 's/^/| /' conftest.$ac_ext >&5
64019 eval "$as_ac_var=no"
64021 rm -f conftest.err conftest.$ac_objext \
64022 conftest$ac_exeext conftest.$ac_ext
64024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64026 if test `eval echo '${'$as_ac_var'}'` = yes; then
64027 cat >>confdefs.h <<_ACEOF
64028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64029 _ACEOF
64032 done
64034 else
64036 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
64037 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
64038 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64039 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
64040 echo $ECHO_N "(cached) $ECHO_C" >&6
64041 else
64045 ac_ext=cc
64046 ac_cpp='$CXXCPP $CPPFLAGS'
64047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64051 cat >conftest.$ac_ext <<_ACEOF
64052 /* confdefs.h. */
64053 _ACEOF
64054 cat confdefs.h >>conftest.$ac_ext
64055 cat >>conftest.$ac_ext <<_ACEOF
64056 /* end confdefs.h. */
64057 #include <math.h>
64059 main ()
64061 _fmodl(0, 0);
64063 return 0;
64065 _ACEOF
64066 rm -f conftest.$ac_objext
64067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64068 (eval $ac_compile) 2>conftest.er1
64069 ac_status=$?
64070 grep -v '^ *+' conftest.er1 >conftest.err
64071 rm -f conftest.er1
64072 cat conftest.err >&5
64073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64074 (exit $ac_status); } &&
64075 { ac_try='test -z "$ac_cxx_werror_flag"
64076 || test ! -s conftest.err'
64077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64078 (eval $ac_try) 2>&5
64079 ac_status=$?
64080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64081 (exit $ac_status); }; } &&
64082 { ac_try='test -s conftest.$ac_objext'
64083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64084 (eval $ac_try) 2>&5
64085 ac_status=$?
64086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64087 (exit $ac_status); }; }; then
64088 glibcxx_cv_func__fmodl_use=yes
64089 else
64090 echo "$as_me: failed program was:" >&5
64091 sed 's/^/| /' conftest.$ac_ext >&5
64093 glibcxx_cv_func__fmodl_use=no
64095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64096 ac_ext=c
64097 ac_cpp='$CPP $CPPFLAGS'
64098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
64107 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
64109 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64111 for ac_func in _fmodl
64113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64114 echo "$as_me:$LINENO: checking for $ac_func" >&5
64115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64116 if eval "test \"\${$as_ac_var+set}\" = set"; then
64117 echo $ECHO_N "(cached) $ECHO_C" >&6
64118 else
64119 if test x$gcc_no_link = xyes; then
64120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64122 { (exit 1); exit 1; }; }
64124 cat >conftest.$ac_ext <<_ACEOF
64125 /* confdefs.h. */
64126 _ACEOF
64127 cat confdefs.h >>conftest.$ac_ext
64128 cat >>conftest.$ac_ext <<_ACEOF
64129 /* end confdefs.h. */
64130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64132 #define $ac_func innocuous_$ac_func
64134 /* System header to define __stub macros and hopefully few prototypes,
64135 which can conflict with char $ac_func (); below.
64136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64137 <limits.h> exists even on freestanding compilers. */
64139 #ifdef __STDC__
64140 # include <limits.h>
64141 #else
64142 # include <assert.h>
64143 #endif
64145 #undef $ac_func
64147 /* Override any gcc2 internal prototype to avoid an error. */
64148 #ifdef __cplusplus
64149 extern "C"
64151 #endif
64152 /* We use char because int might match the return type of a gcc2
64153 builtin and then its argument prototype would still apply. */
64154 char $ac_func ();
64155 /* The GNU C library defines this for functions which it implements
64156 to always fail with ENOSYS. Some functions are actually named
64157 something starting with __ and the normal name is an alias. */
64158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64159 choke me
64160 #else
64161 char (*f) () = $ac_func;
64162 #endif
64163 #ifdef __cplusplus
64165 #endif
64168 main ()
64170 return f != $ac_func;
64172 return 0;
64174 _ACEOF
64175 rm -f conftest.$ac_objext conftest$ac_exeext
64176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64177 (eval $ac_link) 2>conftest.er1
64178 ac_status=$?
64179 grep -v '^ *+' conftest.er1 >conftest.err
64180 rm -f conftest.er1
64181 cat conftest.err >&5
64182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64183 (exit $ac_status); } &&
64184 { ac_try='test -z "$ac_c_werror_flag"
64185 || test ! -s conftest.err'
64186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64187 (eval $ac_try) 2>&5
64188 ac_status=$?
64189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64190 (exit $ac_status); }; } &&
64191 { ac_try='test -s conftest$ac_exeext'
64192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64193 (eval $ac_try) 2>&5
64194 ac_status=$?
64195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64196 (exit $ac_status); }; }; then
64197 eval "$as_ac_var=yes"
64198 else
64199 echo "$as_me: failed program was:" >&5
64200 sed 's/^/| /' conftest.$ac_ext >&5
64202 eval "$as_ac_var=no"
64204 rm -f conftest.err conftest.$ac_objext \
64205 conftest$ac_exeext conftest.$ac_ext
64207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64209 if test `eval echo '${'$as_ac_var'}'` = yes; then
64210 cat >>confdefs.h <<_ACEOF
64211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64212 _ACEOF
64215 done
64222 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
64223 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
64224 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64225 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
64226 echo $ECHO_N "(cached) $ECHO_C" >&6
64227 else
64231 ac_ext=cc
64232 ac_cpp='$CXXCPP $CPPFLAGS'
64233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64237 cat >conftest.$ac_ext <<_ACEOF
64238 /* confdefs.h. */
64239 _ACEOF
64240 cat confdefs.h >>conftest.$ac_ext
64241 cat >>conftest.$ac_ext <<_ACEOF
64242 /* end confdefs.h. */
64243 #include <math.h>
64245 main ()
64247 frexpl(0, 0);
64249 return 0;
64251 _ACEOF
64252 rm -f conftest.$ac_objext
64253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64254 (eval $ac_compile) 2>conftest.er1
64255 ac_status=$?
64256 grep -v '^ *+' conftest.er1 >conftest.err
64257 rm -f conftest.er1
64258 cat conftest.err >&5
64259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64260 (exit $ac_status); } &&
64261 { ac_try='test -z "$ac_cxx_werror_flag"
64262 || test ! -s conftest.err'
64263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64264 (eval $ac_try) 2>&5
64265 ac_status=$?
64266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267 (exit $ac_status); }; } &&
64268 { ac_try='test -s conftest.$ac_objext'
64269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64270 (eval $ac_try) 2>&5
64271 ac_status=$?
64272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64273 (exit $ac_status); }; }; then
64274 glibcxx_cv_func_frexpl_use=yes
64275 else
64276 echo "$as_me: failed program was:" >&5
64277 sed 's/^/| /' conftest.$ac_ext >&5
64279 glibcxx_cv_func_frexpl_use=no
64281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64282 ac_ext=c
64283 ac_cpp='$CPP $CPPFLAGS'
64284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
64293 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
64295 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64297 for ac_func in frexpl
64299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64300 echo "$as_me:$LINENO: checking for $ac_func" >&5
64301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64302 if eval "test \"\${$as_ac_var+set}\" = set"; then
64303 echo $ECHO_N "(cached) $ECHO_C" >&6
64304 else
64305 if test x$gcc_no_link = xyes; then
64306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64308 { (exit 1); exit 1; }; }
64310 cat >conftest.$ac_ext <<_ACEOF
64311 /* confdefs.h. */
64312 _ACEOF
64313 cat confdefs.h >>conftest.$ac_ext
64314 cat >>conftest.$ac_ext <<_ACEOF
64315 /* end confdefs.h. */
64316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64318 #define $ac_func innocuous_$ac_func
64320 /* System header to define __stub macros and hopefully few prototypes,
64321 which can conflict with char $ac_func (); below.
64322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64323 <limits.h> exists even on freestanding compilers. */
64325 #ifdef __STDC__
64326 # include <limits.h>
64327 #else
64328 # include <assert.h>
64329 #endif
64331 #undef $ac_func
64333 /* Override any gcc2 internal prototype to avoid an error. */
64334 #ifdef __cplusplus
64335 extern "C"
64337 #endif
64338 /* We use char because int might match the return type of a gcc2
64339 builtin and then its argument prototype would still apply. */
64340 char $ac_func ();
64341 /* The GNU C library defines this for functions which it implements
64342 to always fail with ENOSYS. Some functions are actually named
64343 something starting with __ and the normal name is an alias. */
64344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64345 choke me
64346 #else
64347 char (*f) () = $ac_func;
64348 #endif
64349 #ifdef __cplusplus
64351 #endif
64354 main ()
64356 return f != $ac_func;
64358 return 0;
64360 _ACEOF
64361 rm -f conftest.$ac_objext conftest$ac_exeext
64362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64363 (eval $ac_link) 2>conftest.er1
64364 ac_status=$?
64365 grep -v '^ *+' conftest.er1 >conftest.err
64366 rm -f conftest.er1
64367 cat conftest.err >&5
64368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64369 (exit $ac_status); } &&
64370 { ac_try='test -z "$ac_c_werror_flag"
64371 || test ! -s conftest.err'
64372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64373 (eval $ac_try) 2>&5
64374 ac_status=$?
64375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64376 (exit $ac_status); }; } &&
64377 { ac_try='test -s conftest$ac_exeext'
64378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64379 (eval $ac_try) 2>&5
64380 ac_status=$?
64381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64382 (exit $ac_status); }; }; then
64383 eval "$as_ac_var=yes"
64384 else
64385 echo "$as_me: failed program was:" >&5
64386 sed 's/^/| /' conftest.$ac_ext >&5
64388 eval "$as_ac_var=no"
64390 rm -f conftest.err conftest.$ac_objext \
64391 conftest$ac_exeext conftest.$ac_ext
64393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64395 if test `eval echo '${'$as_ac_var'}'` = yes; then
64396 cat >>confdefs.h <<_ACEOF
64397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64398 _ACEOF
64401 done
64403 else
64405 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
64406 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
64407 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64408 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
64409 echo $ECHO_N "(cached) $ECHO_C" >&6
64410 else
64414 ac_ext=cc
64415 ac_cpp='$CXXCPP $CPPFLAGS'
64416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64420 cat >conftest.$ac_ext <<_ACEOF
64421 /* confdefs.h. */
64422 _ACEOF
64423 cat confdefs.h >>conftest.$ac_ext
64424 cat >>conftest.$ac_ext <<_ACEOF
64425 /* end confdefs.h. */
64426 #include <math.h>
64428 main ()
64430 _frexpl(0, 0);
64432 return 0;
64434 _ACEOF
64435 rm -f conftest.$ac_objext
64436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64437 (eval $ac_compile) 2>conftest.er1
64438 ac_status=$?
64439 grep -v '^ *+' conftest.er1 >conftest.err
64440 rm -f conftest.er1
64441 cat conftest.err >&5
64442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64443 (exit $ac_status); } &&
64444 { ac_try='test -z "$ac_cxx_werror_flag"
64445 || test ! -s conftest.err'
64446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64447 (eval $ac_try) 2>&5
64448 ac_status=$?
64449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64450 (exit $ac_status); }; } &&
64451 { ac_try='test -s conftest.$ac_objext'
64452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64453 (eval $ac_try) 2>&5
64454 ac_status=$?
64455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64456 (exit $ac_status); }; }; then
64457 glibcxx_cv_func__frexpl_use=yes
64458 else
64459 echo "$as_me: failed program was:" >&5
64460 sed 's/^/| /' conftest.$ac_ext >&5
64462 glibcxx_cv_func__frexpl_use=no
64464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64465 ac_ext=c
64466 ac_cpp='$CPP $CPPFLAGS'
64467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
64476 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
64478 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64480 for ac_func in _frexpl
64482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64483 echo "$as_me:$LINENO: checking for $ac_func" >&5
64484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64485 if eval "test \"\${$as_ac_var+set}\" = set"; then
64486 echo $ECHO_N "(cached) $ECHO_C" >&6
64487 else
64488 if test x$gcc_no_link = xyes; then
64489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64491 { (exit 1); exit 1; }; }
64493 cat >conftest.$ac_ext <<_ACEOF
64494 /* confdefs.h. */
64495 _ACEOF
64496 cat confdefs.h >>conftest.$ac_ext
64497 cat >>conftest.$ac_ext <<_ACEOF
64498 /* end confdefs.h. */
64499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64501 #define $ac_func innocuous_$ac_func
64503 /* System header to define __stub macros and hopefully few prototypes,
64504 which can conflict with char $ac_func (); below.
64505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64506 <limits.h> exists even on freestanding compilers. */
64508 #ifdef __STDC__
64509 # include <limits.h>
64510 #else
64511 # include <assert.h>
64512 #endif
64514 #undef $ac_func
64516 /* Override any gcc2 internal prototype to avoid an error. */
64517 #ifdef __cplusplus
64518 extern "C"
64520 #endif
64521 /* We use char because int might match the return type of a gcc2
64522 builtin and then its argument prototype would still apply. */
64523 char $ac_func ();
64524 /* The GNU C library defines this for functions which it implements
64525 to always fail with ENOSYS. Some functions are actually named
64526 something starting with __ and the normal name is an alias. */
64527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64528 choke me
64529 #else
64530 char (*f) () = $ac_func;
64531 #endif
64532 #ifdef __cplusplus
64534 #endif
64537 main ()
64539 return f != $ac_func;
64541 return 0;
64543 _ACEOF
64544 rm -f conftest.$ac_objext conftest$ac_exeext
64545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64546 (eval $ac_link) 2>conftest.er1
64547 ac_status=$?
64548 grep -v '^ *+' conftest.er1 >conftest.err
64549 rm -f conftest.er1
64550 cat conftest.err >&5
64551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64552 (exit $ac_status); } &&
64553 { ac_try='test -z "$ac_c_werror_flag"
64554 || test ! -s conftest.err'
64555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64556 (eval $ac_try) 2>&5
64557 ac_status=$?
64558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64559 (exit $ac_status); }; } &&
64560 { ac_try='test -s conftest$ac_exeext'
64561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64562 (eval $ac_try) 2>&5
64563 ac_status=$?
64564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64565 (exit $ac_status); }; }; then
64566 eval "$as_ac_var=yes"
64567 else
64568 echo "$as_me: failed program was:" >&5
64569 sed 's/^/| /' conftest.$ac_ext >&5
64571 eval "$as_ac_var=no"
64573 rm -f conftest.err conftest.$ac_objext \
64574 conftest$ac_exeext conftest.$ac_ext
64576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64578 if test `eval echo '${'$as_ac_var'}'` = yes; then
64579 cat >>confdefs.h <<_ACEOF
64580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64581 _ACEOF
64584 done
64591 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
64592 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
64593 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64594 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
64595 echo $ECHO_N "(cached) $ECHO_C" >&6
64596 else
64600 ac_ext=cc
64601 ac_cpp='$CXXCPP $CPPFLAGS'
64602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64606 cat >conftest.$ac_ext <<_ACEOF
64607 /* confdefs.h. */
64608 _ACEOF
64609 cat confdefs.h >>conftest.$ac_ext
64610 cat >>conftest.$ac_ext <<_ACEOF
64611 /* end confdefs.h. */
64612 #include <math.h>
64614 main ()
64616 hypotl(0, 0);
64618 return 0;
64620 _ACEOF
64621 rm -f conftest.$ac_objext
64622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64623 (eval $ac_compile) 2>conftest.er1
64624 ac_status=$?
64625 grep -v '^ *+' conftest.er1 >conftest.err
64626 rm -f conftest.er1
64627 cat conftest.err >&5
64628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64629 (exit $ac_status); } &&
64630 { ac_try='test -z "$ac_cxx_werror_flag"
64631 || test ! -s conftest.err'
64632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64633 (eval $ac_try) 2>&5
64634 ac_status=$?
64635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64636 (exit $ac_status); }; } &&
64637 { ac_try='test -s conftest.$ac_objext'
64638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64639 (eval $ac_try) 2>&5
64640 ac_status=$?
64641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64642 (exit $ac_status); }; }; then
64643 glibcxx_cv_func_hypotl_use=yes
64644 else
64645 echo "$as_me: failed program was:" >&5
64646 sed 's/^/| /' conftest.$ac_ext >&5
64648 glibcxx_cv_func_hypotl_use=no
64650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64651 ac_ext=c
64652 ac_cpp='$CPP $CPPFLAGS'
64653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
64662 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
64664 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64666 for ac_func in hypotl
64668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64669 echo "$as_me:$LINENO: checking for $ac_func" >&5
64670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64671 if eval "test \"\${$as_ac_var+set}\" = set"; then
64672 echo $ECHO_N "(cached) $ECHO_C" >&6
64673 else
64674 if test x$gcc_no_link = xyes; then
64675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64677 { (exit 1); exit 1; }; }
64679 cat >conftest.$ac_ext <<_ACEOF
64680 /* confdefs.h. */
64681 _ACEOF
64682 cat confdefs.h >>conftest.$ac_ext
64683 cat >>conftest.$ac_ext <<_ACEOF
64684 /* end confdefs.h. */
64685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64687 #define $ac_func innocuous_$ac_func
64689 /* System header to define __stub macros and hopefully few prototypes,
64690 which can conflict with char $ac_func (); below.
64691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64692 <limits.h> exists even on freestanding compilers. */
64694 #ifdef __STDC__
64695 # include <limits.h>
64696 #else
64697 # include <assert.h>
64698 #endif
64700 #undef $ac_func
64702 /* Override any gcc2 internal prototype to avoid an error. */
64703 #ifdef __cplusplus
64704 extern "C"
64706 #endif
64707 /* We use char because int might match the return type of a gcc2
64708 builtin and then its argument prototype would still apply. */
64709 char $ac_func ();
64710 /* The GNU C library defines this for functions which it implements
64711 to always fail with ENOSYS. Some functions are actually named
64712 something starting with __ and the normal name is an alias. */
64713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64714 choke me
64715 #else
64716 char (*f) () = $ac_func;
64717 #endif
64718 #ifdef __cplusplus
64720 #endif
64723 main ()
64725 return f != $ac_func;
64727 return 0;
64729 _ACEOF
64730 rm -f conftest.$ac_objext conftest$ac_exeext
64731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64732 (eval $ac_link) 2>conftest.er1
64733 ac_status=$?
64734 grep -v '^ *+' conftest.er1 >conftest.err
64735 rm -f conftest.er1
64736 cat conftest.err >&5
64737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64738 (exit $ac_status); } &&
64739 { ac_try='test -z "$ac_c_werror_flag"
64740 || test ! -s conftest.err'
64741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64742 (eval $ac_try) 2>&5
64743 ac_status=$?
64744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64745 (exit $ac_status); }; } &&
64746 { ac_try='test -s conftest$ac_exeext'
64747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64748 (eval $ac_try) 2>&5
64749 ac_status=$?
64750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64751 (exit $ac_status); }; }; then
64752 eval "$as_ac_var=yes"
64753 else
64754 echo "$as_me: failed program was:" >&5
64755 sed 's/^/| /' conftest.$ac_ext >&5
64757 eval "$as_ac_var=no"
64759 rm -f conftest.err conftest.$ac_objext \
64760 conftest$ac_exeext conftest.$ac_ext
64762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64764 if test `eval echo '${'$as_ac_var'}'` = yes; then
64765 cat >>confdefs.h <<_ACEOF
64766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64767 _ACEOF
64770 done
64772 else
64774 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
64775 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
64776 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64777 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
64778 echo $ECHO_N "(cached) $ECHO_C" >&6
64779 else
64783 ac_ext=cc
64784 ac_cpp='$CXXCPP $CPPFLAGS'
64785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64789 cat >conftest.$ac_ext <<_ACEOF
64790 /* confdefs.h. */
64791 _ACEOF
64792 cat confdefs.h >>conftest.$ac_ext
64793 cat >>conftest.$ac_ext <<_ACEOF
64794 /* end confdefs.h. */
64795 #include <math.h>
64797 main ()
64799 _hypotl(0, 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__hypotl_use=yes
64827 else
64828 echo "$as_me: failed program was:" >&5
64829 sed 's/^/| /' conftest.$ac_ext >&5
64831 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
64845 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
64847 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64849 for ac_func in _hypotl
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 ldexpl declaration" >&5
64961 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
64962 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64963 if test "${glibcxx_cv_func_ldexpl_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 ldexpl(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_ldexpl_use=yes
65013 else
65014 echo "$as_me: failed program was:" >&5
65015 sed 's/^/| /' conftest.$ac_ext >&5
65017 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
65031 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
65033 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65035 for ac_func in ldexpl
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 _ldexpl declaration" >&5
65144 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
65145 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65146 if test "${glibcxx_cv_func__ldexpl_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 _ldexpl(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__ldexpl_use=yes
65196 else
65197 echo "$as_me: failed program was:" >&5
65198 sed 's/^/| /' conftest.$ac_ext >&5
65200 glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
65214 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
65216 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65218 for ac_func in _ldexpl
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 logl declaration" >&5
65330 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
65331 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65332 if test "${glibcxx_cv_func_logl_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>
65351 #ifdef HAVE_IEEEFP_H
65352 #include <ieeefp.h>
65353 #endif
65356 main ()
65358 logl(0);
65360 return 0;
65362 _ACEOF
65363 rm -f conftest.$ac_objext
65364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65365 (eval $ac_compile) 2>conftest.er1
65366 ac_status=$?
65367 grep -v '^ *+' conftest.er1 >conftest.err
65368 rm -f conftest.er1
65369 cat conftest.err >&5
65370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65371 (exit $ac_status); } &&
65372 { ac_try='test -z "$ac_cxx_werror_flag"
65373 || test ! -s conftest.err'
65374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65375 (eval $ac_try) 2>&5
65376 ac_status=$?
65377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65378 (exit $ac_status); }; } &&
65379 { ac_try='test -s conftest.$ac_objext'
65380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65381 (eval $ac_try) 2>&5
65382 ac_status=$?
65383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65384 (exit $ac_status); }; }; then
65385 glibcxx_cv_func_logl_use=yes
65386 else
65387 echo "$as_me: failed program was:" >&5
65388 sed 's/^/| /' conftest.$ac_ext >&5
65390 glibcxx_cv_func_logl_use=no
65392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65393 ac_ext=c
65394 ac_cpp='$CPP $CPPFLAGS'
65395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
65404 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
65406 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65408 for ac_func in logl
65410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65411 echo "$as_me:$LINENO: checking for $ac_func" >&5
65412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65413 if eval "test \"\${$as_ac_var+set}\" = set"; then
65414 echo $ECHO_N "(cached) $ECHO_C" >&6
65415 else
65416 if test x$gcc_no_link = xyes; then
65417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65419 { (exit 1); exit 1; }; }
65421 cat >conftest.$ac_ext <<_ACEOF
65422 /* confdefs.h. */
65423 _ACEOF
65424 cat confdefs.h >>conftest.$ac_ext
65425 cat >>conftest.$ac_ext <<_ACEOF
65426 /* end confdefs.h. */
65427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65429 #define $ac_func innocuous_$ac_func
65431 /* System header to define __stub macros and hopefully few prototypes,
65432 which can conflict with char $ac_func (); below.
65433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65434 <limits.h> exists even on freestanding compilers. */
65436 #ifdef __STDC__
65437 # include <limits.h>
65438 #else
65439 # include <assert.h>
65440 #endif
65442 #undef $ac_func
65444 /* Override any gcc2 internal prototype to avoid an error. */
65445 #ifdef __cplusplus
65446 extern "C"
65448 #endif
65449 /* We use char because int might match the return type of a gcc2
65450 builtin and then its argument prototype would still apply. */
65451 char $ac_func ();
65452 /* The GNU C library defines this for functions which it implements
65453 to always fail with ENOSYS. Some functions are actually named
65454 something starting with __ and the normal name is an alias. */
65455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65456 choke me
65457 #else
65458 char (*f) () = $ac_func;
65459 #endif
65460 #ifdef __cplusplus
65462 #endif
65465 main ()
65467 return f != $ac_func;
65469 return 0;
65471 _ACEOF
65472 rm -f conftest.$ac_objext conftest$ac_exeext
65473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65474 (eval $ac_link) 2>conftest.er1
65475 ac_status=$?
65476 grep -v '^ *+' conftest.er1 >conftest.err
65477 rm -f conftest.er1
65478 cat conftest.err >&5
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); } &&
65481 { ac_try='test -z "$ac_c_werror_flag"
65482 || test ! -s conftest.err'
65483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65484 (eval $ac_try) 2>&5
65485 ac_status=$?
65486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65487 (exit $ac_status); }; } &&
65488 { ac_try='test -s conftest$ac_exeext'
65489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65490 (eval $ac_try) 2>&5
65491 ac_status=$?
65492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65493 (exit $ac_status); }; }; then
65494 eval "$as_ac_var=yes"
65495 else
65496 echo "$as_me: failed program was:" >&5
65497 sed 's/^/| /' conftest.$ac_ext >&5
65499 eval "$as_ac_var=no"
65501 rm -f conftest.err conftest.$ac_objext \
65502 conftest$ac_exeext conftest.$ac_ext
65504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65506 if test `eval echo '${'$as_ac_var'}'` = yes; then
65507 cat >>confdefs.h <<_ACEOF
65508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65509 _ACEOF
65512 done
65514 else
65516 echo "$as_me:$LINENO: checking for _logl declaration" >&5
65517 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
65518 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65519 if test "${glibcxx_cv_func__logl_use+set}" = set; then
65520 echo $ECHO_N "(cached) $ECHO_C" >&6
65521 else
65525 ac_ext=cc
65526 ac_cpp='$CXXCPP $CPPFLAGS'
65527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65531 cat >conftest.$ac_ext <<_ACEOF
65532 /* confdefs.h. */
65533 _ACEOF
65534 cat confdefs.h >>conftest.$ac_ext
65535 cat >>conftest.$ac_ext <<_ACEOF
65536 /* end confdefs.h. */
65537 #include <math.h>
65538 #ifdef HAVE_IEEEFP_H
65539 #include <ieeefp.h>
65540 #endif
65543 main ()
65545 _logl(0);
65547 return 0;
65549 _ACEOF
65550 rm -f conftest.$ac_objext
65551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65552 (eval $ac_compile) 2>conftest.er1
65553 ac_status=$?
65554 grep -v '^ *+' conftest.er1 >conftest.err
65555 rm -f conftest.er1
65556 cat conftest.err >&5
65557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65558 (exit $ac_status); } &&
65559 { ac_try='test -z "$ac_cxx_werror_flag"
65560 || test ! -s conftest.err'
65561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65562 (eval $ac_try) 2>&5
65563 ac_status=$?
65564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65565 (exit $ac_status); }; } &&
65566 { ac_try='test -s conftest.$ac_objext'
65567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65568 (eval $ac_try) 2>&5
65569 ac_status=$?
65570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 (exit $ac_status); }; }; then
65572 glibcxx_cv_func__logl_use=yes
65573 else
65574 echo "$as_me: failed program was:" >&5
65575 sed 's/^/| /' conftest.$ac_ext >&5
65577 glibcxx_cv_func__logl_use=no
65579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65580 ac_ext=c
65581 ac_cpp='$CPP $CPPFLAGS'
65582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
65591 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
65593 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65595 for ac_func in _logl
65597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65598 echo "$as_me:$LINENO: checking for $ac_func" >&5
65599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65600 if eval "test \"\${$as_ac_var+set}\" = set"; then
65601 echo $ECHO_N "(cached) $ECHO_C" >&6
65602 else
65603 if test x$gcc_no_link = xyes; then
65604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65606 { (exit 1); exit 1; }; }
65608 cat >conftest.$ac_ext <<_ACEOF
65609 /* confdefs.h. */
65610 _ACEOF
65611 cat confdefs.h >>conftest.$ac_ext
65612 cat >>conftest.$ac_ext <<_ACEOF
65613 /* end confdefs.h. */
65614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65616 #define $ac_func innocuous_$ac_func
65618 /* System header to define __stub macros and hopefully few prototypes,
65619 which can conflict with char $ac_func (); below.
65620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65621 <limits.h> exists even on freestanding compilers. */
65623 #ifdef __STDC__
65624 # include <limits.h>
65625 #else
65626 # include <assert.h>
65627 #endif
65629 #undef $ac_func
65631 /* Override any gcc2 internal prototype to avoid an error. */
65632 #ifdef __cplusplus
65633 extern "C"
65635 #endif
65636 /* We use char because int might match the return type of a gcc2
65637 builtin and then its argument prototype would still apply. */
65638 char $ac_func ();
65639 /* The GNU C library defines this for functions which it implements
65640 to always fail with ENOSYS. Some functions are actually named
65641 something starting with __ and the normal name is an alias. */
65642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65643 choke me
65644 #else
65645 char (*f) () = $ac_func;
65646 #endif
65647 #ifdef __cplusplus
65649 #endif
65652 main ()
65654 return f != $ac_func;
65656 return 0;
65658 _ACEOF
65659 rm -f conftest.$ac_objext conftest$ac_exeext
65660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65661 (eval $ac_link) 2>conftest.er1
65662 ac_status=$?
65663 grep -v '^ *+' conftest.er1 >conftest.err
65664 rm -f conftest.er1
65665 cat conftest.err >&5
65666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65667 (exit $ac_status); } &&
65668 { ac_try='test -z "$ac_c_werror_flag"
65669 || test ! -s conftest.err'
65670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65671 (eval $ac_try) 2>&5
65672 ac_status=$?
65673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65674 (exit $ac_status); }; } &&
65675 { ac_try='test -s conftest$ac_exeext'
65676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65677 (eval $ac_try) 2>&5
65678 ac_status=$?
65679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65680 (exit $ac_status); }; }; then
65681 eval "$as_ac_var=yes"
65682 else
65683 echo "$as_me: failed program was:" >&5
65684 sed 's/^/| /' conftest.$ac_ext >&5
65686 eval "$as_ac_var=no"
65688 rm -f conftest.err conftest.$ac_objext \
65689 conftest$ac_exeext conftest.$ac_ext
65691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65693 if test `eval echo '${'$as_ac_var'}'` = yes; then
65694 cat >>confdefs.h <<_ACEOF
65695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65696 _ACEOF
65699 done
65706 echo "$as_me:$LINENO: checking for log10l declaration" >&5
65707 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
65708 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65709 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
65710 echo $ECHO_N "(cached) $ECHO_C" >&6
65711 else
65715 ac_ext=cc
65716 ac_cpp='$CXXCPP $CPPFLAGS'
65717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65721 cat >conftest.$ac_ext <<_ACEOF
65722 /* confdefs.h. */
65723 _ACEOF
65724 cat confdefs.h >>conftest.$ac_ext
65725 cat >>conftest.$ac_ext <<_ACEOF
65726 /* end confdefs.h. */
65727 #include <math.h>
65728 #ifdef HAVE_IEEEFP_H
65729 #include <ieeefp.h>
65730 #endif
65733 main ()
65735 log10l(0);
65737 return 0;
65739 _ACEOF
65740 rm -f conftest.$ac_objext
65741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65742 (eval $ac_compile) 2>conftest.er1
65743 ac_status=$?
65744 grep -v '^ *+' conftest.er1 >conftest.err
65745 rm -f conftest.er1
65746 cat conftest.err >&5
65747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65748 (exit $ac_status); } &&
65749 { ac_try='test -z "$ac_cxx_werror_flag"
65750 || test ! -s conftest.err'
65751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65752 (eval $ac_try) 2>&5
65753 ac_status=$?
65754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65755 (exit $ac_status); }; } &&
65756 { ac_try='test -s conftest.$ac_objext'
65757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65758 (eval $ac_try) 2>&5
65759 ac_status=$?
65760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65761 (exit $ac_status); }; }; then
65762 glibcxx_cv_func_log10l_use=yes
65763 else
65764 echo "$as_me: failed program was:" >&5
65765 sed 's/^/| /' conftest.$ac_ext >&5
65767 glibcxx_cv_func_log10l_use=no
65769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65770 ac_ext=c
65771 ac_cpp='$CPP $CPPFLAGS'
65772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
65781 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
65783 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65785 for ac_func in log10l
65787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65788 echo "$as_me:$LINENO: checking for $ac_func" >&5
65789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65790 if eval "test \"\${$as_ac_var+set}\" = set"; then
65791 echo $ECHO_N "(cached) $ECHO_C" >&6
65792 else
65793 if test x$gcc_no_link = xyes; then
65794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65796 { (exit 1); exit 1; }; }
65798 cat >conftest.$ac_ext <<_ACEOF
65799 /* confdefs.h. */
65800 _ACEOF
65801 cat confdefs.h >>conftest.$ac_ext
65802 cat >>conftest.$ac_ext <<_ACEOF
65803 /* end confdefs.h. */
65804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65806 #define $ac_func innocuous_$ac_func
65808 /* System header to define __stub macros and hopefully few prototypes,
65809 which can conflict with char $ac_func (); below.
65810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65811 <limits.h> exists even on freestanding compilers. */
65813 #ifdef __STDC__
65814 # include <limits.h>
65815 #else
65816 # include <assert.h>
65817 #endif
65819 #undef $ac_func
65821 /* Override any gcc2 internal prototype to avoid an error. */
65822 #ifdef __cplusplus
65823 extern "C"
65825 #endif
65826 /* We use char because int might match the return type of a gcc2
65827 builtin and then its argument prototype would still apply. */
65828 char $ac_func ();
65829 /* The GNU C library defines this for functions which it implements
65830 to always fail with ENOSYS. Some functions are actually named
65831 something starting with __ and the normal name is an alias. */
65832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65833 choke me
65834 #else
65835 char (*f) () = $ac_func;
65836 #endif
65837 #ifdef __cplusplus
65839 #endif
65842 main ()
65844 return f != $ac_func;
65846 return 0;
65848 _ACEOF
65849 rm -f conftest.$ac_objext conftest$ac_exeext
65850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65851 (eval $ac_link) 2>conftest.er1
65852 ac_status=$?
65853 grep -v '^ *+' conftest.er1 >conftest.err
65854 rm -f conftest.er1
65855 cat conftest.err >&5
65856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65857 (exit $ac_status); } &&
65858 { ac_try='test -z "$ac_c_werror_flag"
65859 || test ! -s conftest.err'
65860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65861 (eval $ac_try) 2>&5
65862 ac_status=$?
65863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65864 (exit $ac_status); }; } &&
65865 { ac_try='test -s conftest$ac_exeext'
65866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65867 (eval $ac_try) 2>&5
65868 ac_status=$?
65869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65870 (exit $ac_status); }; }; then
65871 eval "$as_ac_var=yes"
65872 else
65873 echo "$as_me: failed program was:" >&5
65874 sed 's/^/| /' conftest.$ac_ext >&5
65876 eval "$as_ac_var=no"
65878 rm -f conftest.err conftest.$ac_objext \
65879 conftest$ac_exeext conftest.$ac_ext
65881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65883 if test `eval echo '${'$as_ac_var'}'` = yes; then
65884 cat >>confdefs.h <<_ACEOF
65885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65886 _ACEOF
65889 done
65891 else
65893 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
65894 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
65895 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65896 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
65897 echo $ECHO_N "(cached) $ECHO_C" >&6
65898 else
65902 ac_ext=cc
65903 ac_cpp='$CXXCPP $CPPFLAGS'
65904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65908 cat >conftest.$ac_ext <<_ACEOF
65909 /* confdefs.h. */
65910 _ACEOF
65911 cat confdefs.h >>conftest.$ac_ext
65912 cat >>conftest.$ac_ext <<_ACEOF
65913 /* end confdefs.h. */
65914 #include <math.h>
65915 #ifdef HAVE_IEEEFP_H
65916 #include <ieeefp.h>
65917 #endif
65920 main ()
65922 _log10l(0);
65924 return 0;
65926 _ACEOF
65927 rm -f conftest.$ac_objext
65928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65929 (eval $ac_compile) 2>conftest.er1
65930 ac_status=$?
65931 grep -v '^ *+' conftest.er1 >conftest.err
65932 rm -f conftest.er1
65933 cat conftest.err >&5
65934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65935 (exit $ac_status); } &&
65936 { ac_try='test -z "$ac_cxx_werror_flag"
65937 || test ! -s conftest.err'
65938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65939 (eval $ac_try) 2>&5
65940 ac_status=$?
65941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65942 (exit $ac_status); }; } &&
65943 { ac_try='test -s conftest.$ac_objext'
65944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65945 (eval $ac_try) 2>&5
65946 ac_status=$?
65947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65948 (exit $ac_status); }; }; then
65949 glibcxx_cv_func__log10l_use=yes
65950 else
65951 echo "$as_me: failed program was:" >&5
65952 sed 's/^/| /' conftest.$ac_ext >&5
65954 glibcxx_cv_func__log10l_use=no
65956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65957 ac_ext=c
65958 ac_cpp='$CPP $CPPFLAGS'
65959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
65968 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
65970 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65972 for ac_func in _log10l
65974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65975 echo "$as_me:$LINENO: checking for $ac_func" >&5
65976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65977 if eval "test \"\${$as_ac_var+set}\" = set"; then
65978 echo $ECHO_N "(cached) $ECHO_C" >&6
65979 else
65980 if test x$gcc_no_link = xyes; then
65981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65983 { (exit 1); exit 1; }; }
65985 cat >conftest.$ac_ext <<_ACEOF
65986 /* confdefs.h. */
65987 _ACEOF
65988 cat confdefs.h >>conftest.$ac_ext
65989 cat >>conftest.$ac_ext <<_ACEOF
65990 /* end confdefs.h. */
65991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65993 #define $ac_func innocuous_$ac_func
65995 /* System header to define __stub macros and hopefully few prototypes,
65996 which can conflict with char $ac_func (); below.
65997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65998 <limits.h> exists even on freestanding compilers. */
66000 #ifdef __STDC__
66001 # include <limits.h>
66002 #else
66003 # include <assert.h>
66004 #endif
66006 #undef $ac_func
66008 /* Override any gcc2 internal prototype to avoid an error. */
66009 #ifdef __cplusplus
66010 extern "C"
66012 #endif
66013 /* We use char because int might match the return type of a gcc2
66014 builtin and then its argument prototype would still apply. */
66015 char $ac_func ();
66016 /* The GNU C library defines this for functions which it implements
66017 to always fail with ENOSYS. Some functions are actually named
66018 something starting with __ and the normal name is an alias. */
66019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66020 choke me
66021 #else
66022 char (*f) () = $ac_func;
66023 #endif
66024 #ifdef __cplusplus
66026 #endif
66029 main ()
66031 return f != $ac_func;
66033 return 0;
66035 _ACEOF
66036 rm -f conftest.$ac_objext conftest$ac_exeext
66037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66038 (eval $ac_link) 2>conftest.er1
66039 ac_status=$?
66040 grep -v '^ *+' conftest.er1 >conftest.err
66041 rm -f conftest.er1
66042 cat conftest.err >&5
66043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66044 (exit $ac_status); } &&
66045 { ac_try='test -z "$ac_c_werror_flag"
66046 || test ! -s conftest.err'
66047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66048 (eval $ac_try) 2>&5
66049 ac_status=$?
66050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66051 (exit $ac_status); }; } &&
66052 { ac_try='test -s conftest$ac_exeext'
66053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66054 (eval $ac_try) 2>&5
66055 ac_status=$?
66056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66057 (exit $ac_status); }; }; then
66058 eval "$as_ac_var=yes"
66059 else
66060 echo "$as_me: failed program was:" >&5
66061 sed 's/^/| /' conftest.$ac_ext >&5
66063 eval "$as_ac_var=no"
66065 rm -f conftest.err conftest.$ac_objext \
66066 conftest$ac_exeext conftest.$ac_ext
66068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66070 if test `eval echo '${'$as_ac_var'}'` = yes; then
66071 cat >>confdefs.h <<_ACEOF
66072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66073 _ACEOF
66076 done
66083 echo "$as_me:$LINENO: checking for modfl declaration" >&5
66084 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
66085 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66086 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
66087 echo $ECHO_N "(cached) $ECHO_C" >&6
66088 else
66092 ac_ext=cc
66093 ac_cpp='$CXXCPP $CPPFLAGS'
66094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66098 cat >conftest.$ac_ext <<_ACEOF
66099 /* confdefs.h. */
66100 _ACEOF
66101 cat confdefs.h >>conftest.$ac_ext
66102 cat >>conftest.$ac_ext <<_ACEOF
66103 /* end confdefs.h. */
66104 #include <math.h>
66106 main ()
66108 modfl(0, 0);
66110 return 0;
66112 _ACEOF
66113 rm -f conftest.$ac_objext
66114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66115 (eval $ac_compile) 2>conftest.er1
66116 ac_status=$?
66117 grep -v '^ *+' conftest.er1 >conftest.err
66118 rm -f conftest.er1
66119 cat conftest.err >&5
66120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66121 (exit $ac_status); } &&
66122 { ac_try='test -z "$ac_cxx_werror_flag"
66123 || test ! -s conftest.err'
66124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66125 (eval $ac_try) 2>&5
66126 ac_status=$?
66127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66128 (exit $ac_status); }; } &&
66129 { ac_try='test -s conftest.$ac_objext'
66130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66131 (eval $ac_try) 2>&5
66132 ac_status=$?
66133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66134 (exit $ac_status); }; }; then
66135 glibcxx_cv_func_modfl_use=yes
66136 else
66137 echo "$as_me: failed program was:" >&5
66138 sed 's/^/| /' conftest.$ac_ext >&5
66140 glibcxx_cv_func_modfl_use=no
66142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66143 ac_ext=c
66144 ac_cpp='$CPP $CPPFLAGS'
66145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
66154 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
66156 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66158 for ac_func in modfl
66160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66161 echo "$as_me:$LINENO: checking for $ac_func" >&5
66162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66163 if eval "test \"\${$as_ac_var+set}\" = set"; then
66164 echo $ECHO_N "(cached) $ECHO_C" >&6
66165 else
66166 if test x$gcc_no_link = xyes; then
66167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66169 { (exit 1); exit 1; }; }
66171 cat >conftest.$ac_ext <<_ACEOF
66172 /* confdefs.h. */
66173 _ACEOF
66174 cat confdefs.h >>conftest.$ac_ext
66175 cat >>conftest.$ac_ext <<_ACEOF
66176 /* end confdefs.h. */
66177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66179 #define $ac_func innocuous_$ac_func
66181 /* System header to define __stub macros and hopefully few prototypes,
66182 which can conflict with char $ac_func (); below.
66183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66184 <limits.h> exists even on freestanding compilers. */
66186 #ifdef __STDC__
66187 # include <limits.h>
66188 #else
66189 # include <assert.h>
66190 #endif
66192 #undef $ac_func
66194 /* Override any gcc2 internal prototype to avoid an error. */
66195 #ifdef __cplusplus
66196 extern "C"
66198 #endif
66199 /* We use char because int might match the return type of a gcc2
66200 builtin and then its argument prototype would still apply. */
66201 char $ac_func ();
66202 /* The GNU C library defines this for functions which it implements
66203 to always fail with ENOSYS. Some functions are actually named
66204 something starting with __ and the normal name is an alias. */
66205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66206 choke me
66207 #else
66208 char (*f) () = $ac_func;
66209 #endif
66210 #ifdef __cplusplus
66212 #endif
66215 main ()
66217 return f != $ac_func;
66219 return 0;
66221 _ACEOF
66222 rm -f conftest.$ac_objext conftest$ac_exeext
66223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66224 (eval $ac_link) 2>conftest.er1
66225 ac_status=$?
66226 grep -v '^ *+' conftest.er1 >conftest.err
66227 rm -f conftest.er1
66228 cat conftest.err >&5
66229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66230 (exit $ac_status); } &&
66231 { ac_try='test -z "$ac_c_werror_flag"
66232 || test ! -s conftest.err'
66233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66234 (eval $ac_try) 2>&5
66235 ac_status=$?
66236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66237 (exit $ac_status); }; } &&
66238 { ac_try='test -s conftest$ac_exeext'
66239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66240 (eval $ac_try) 2>&5
66241 ac_status=$?
66242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66243 (exit $ac_status); }; }; then
66244 eval "$as_ac_var=yes"
66245 else
66246 echo "$as_me: failed program was:" >&5
66247 sed 's/^/| /' conftest.$ac_ext >&5
66249 eval "$as_ac_var=no"
66251 rm -f conftest.err conftest.$ac_objext \
66252 conftest$ac_exeext conftest.$ac_ext
66254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66256 if test `eval echo '${'$as_ac_var'}'` = yes; then
66257 cat >>confdefs.h <<_ACEOF
66258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66259 _ACEOF
66262 done
66264 else
66266 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
66267 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
66268 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66269 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
66270 echo $ECHO_N "(cached) $ECHO_C" >&6
66271 else
66275 ac_ext=cc
66276 ac_cpp='$CXXCPP $CPPFLAGS'
66277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66281 cat >conftest.$ac_ext <<_ACEOF
66282 /* confdefs.h. */
66283 _ACEOF
66284 cat confdefs.h >>conftest.$ac_ext
66285 cat >>conftest.$ac_ext <<_ACEOF
66286 /* end confdefs.h. */
66287 #include <math.h>
66289 main ()
66291 _modfl(0, 0);
66293 return 0;
66295 _ACEOF
66296 rm -f conftest.$ac_objext
66297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66298 (eval $ac_compile) 2>conftest.er1
66299 ac_status=$?
66300 grep -v '^ *+' conftest.er1 >conftest.err
66301 rm -f conftest.er1
66302 cat conftest.err >&5
66303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66304 (exit $ac_status); } &&
66305 { ac_try='test -z "$ac_cxx_werror_flag"
66306 || test ! -s conftest.err'
66307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66308 (eval $ac_try) 2>&5
66309 ac_status=$?
66310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66311 (exit $ac_status); }; } &&
66312 { ac_try='test -s conftest.$ac_objext'
66313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66314 (eval $ac_try) 2>&5
66315 ac_status=$?
66316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66317 (exit $ac_status); }; }; then
66318 glibcxx_cv_func__modfl_use=yes
66319 else
66320 echo "$as_me: failed program was:" >&5
66321 sed 's/^/| /' conftest.$ac_ext >&5
66323 glibcxx_cv_func__modfl_use=no
66325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66326 ac_ext=c
66327 ac_cpp='$CPP $CPPFLAGS'
66328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
66337 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
66339 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66341 for ac_func in _modfl
66343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66344 echo "$as_me:$LINENO: checking for $ac_func" >&5
66345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66346 if eval "test \"\${$as_ac_var+set}\" = set"; then
66347 echo $ECHO_N "(cached) $ECHO_C" >&6
66348 else
66349 if test x$gcc_no_link = xyes; then
66350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66352 { (exit 1); exit 1; }; }
66354 cat >conftest.$ac_ext <<_ACEOF
66355 /* confdefs.h. */
66356 _ACEOF
66357 cat confdefs.h >>conftest.$ac_ext
66358 cat >>conftest.$ac_ext <<_ACEOF
66359 /* end confdefs.h. */
66360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66362 #define $ac_func innocuous_$ac_func
66364 /* System header to define __stub macros and hopefully few prototypes,
66365 which can conflict with char $ac_func (); below.
66366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66367 <limits.h> exists even on freestanding compilers. */
66369 #ifdef __STDC__
66370 # include <limits.h>
66371 #else
66372 # include <assert.h>
66373 #endif
66375 #undef $ac_func
66377 /* Override any gcc2 internal prototype to avoid an error. */
66378 #ifdef __cplusplus
66379 extern "C"
66381 #endif
66382 /* We use char because int might match the return type of a gcc2
66383 builtin and then its argument prototype would still apply. */
66384 char $ac_func ();
66385 /* The GNU C library defines this for functions which it implements
66386 to always fail with ENOSYS. Some functions are actually named
66387 something starting with __ and the normal name is an alias. */
66388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66389 choke me
66390 #else
66391 char (*f) () = $ac_func;
66392 #endif
66393 #ifdef __cplusplus
66395 #endif
66398 main ()
66400 return f != $ac_func;
66402 return 0;
66404 _ACEOF
66405 rm -f conftest.$ac_objext conftest$ac_exeext
66406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66407 (eval $ac_link) 2>conftest.er1
66408 ac_status=$?
66409 grep -v '^ *+' conftest.er1 >conftest.err
66410 rm -f conftest.er1
66411 cat conftest.err >&5
66412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66413 (exit $ac_status); } &&
66414 { ac_try='test -z "$ac_c_werror_flag"
66415 || test ! -s conftest.err'
66416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66417 (eval $ac_try) 2>&5
66418 ac_status=$?
66419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66420 (exit $ac_status); }; } &&
66421 { ac_try='test -s conftest$ac_exeext'
66422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66423 (eval $ac_try) 2>&5
66424 ac_status=$?
66425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66426 (exit $ac_status); }; }; then
66427 eval "$as_ac_var=yes"
66428 else
66429 echo "$as_me: failed program was:" >&5
66430 sed 's/^/| /' conftest.$ac_ext >&5
66432 eval "$as_ac_var=no"
66434 rm -f conftest.err conftest.$ac_objext \
66435 conftest$ac_exeext conftest.$ac_ext
66437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66439 if test `eval echo '${'$as_ac_var'}'` = yes; then
66440 cat >>confdefs.h <<_ACEOF
66441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66442 _ACEOF
66445 done
66452 echo "$as_me:$LINENO: checking for powl declaration" >&5
66453 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
66454 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66455 if test "${glibcxx_cv_func_powl_use+set}" = set; then
66456 echo $ECHO_N "(cached) $ECHO_C" >&6
66457 else
66461 ac_ext=cc
66462 ac_cpp='$CXXCPP $CPPFLAGS'
66463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66467 cat >conftest.$ac_ext <<_ACEOF
66468 /* confdefs.h. */
66469 _ACEOF
66470 cat confdefs.h >>conftest.$ac_ext
66471 cat >>conftest.$ac_ext <<_ACEOF
66472 /* end confdefs.h. */
66473 #include <math.h>
66475 main ()
66477 powl(0, 0);
66479 return 0;
66481 _ACEOF
66482 rm -f conftest.$ac_objext
66483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66484 (eval $ac_compile) 2>conftest.er1
66485 ac_status=$?
66486 grep -v '^ *+' conftest.er1 >conftest.err
66487 rm -f conftest.er1
66488 cat conftest.err >&5
66489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66490 (exit $ac_status); } &&
66491 { ac_try='test -z "$ac_cxx_werror_flag"
66492 || test ! -s conftest.err'
66493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66494 (eval $ac_try) 2>&5
66495 ac_status=$?
66496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66497 (exit $ac_status); }; } &&
66498 { ac_try='test -s conftest.$ac_objext'
66499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66500 (eval $ac_try) 2>&5
66501 ac_status=$?
66502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66503 (exit $ac_status); }; }; then
66504 glibcxx_cv_func_powl_use=yes
66505 else
66506 echo "$as_me: failed program was:" >&5
66507 sed 's/^/| /' conftest.$ac_ext >&5
66509 glibcxx_cv_func_powl_use=no
66511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66512 ac_ext=c
66513 ac_cpp='$CPP $CPPFLAGS'
66514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
66523 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
66525 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66527 for ac_func in powl
66529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66530 echo "$as_me:$LINENO: checking for $ac_func" >&5
66531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66532 if eval "test \"\${$as_ac_var+set}\" = set"; then
66533 echo $ECHO_N "(cached) $ECHO_C" >&6
66534 else
66535 if test x$gcc_no_link = xyes; then
66536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66538 { (exit 1); exit 1; }; }
66540 cat >conftest.$ac_ext <<_ACEOF
66541 /* confdefs.h. */
66542 _ACEOF
66543 cat confdefs.h >>conftest.$ac_ext
66544 cat >>conftest.$ac_ext <<_ACEOF
66545 /* end confdefs.h. */
66546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66548 #define $ac_func innocuous_$ac_func
66550 /* System header to define __stub macros and hopefully few prototypes,
66551 which can conflict with char $ac_func (); below.
66552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66553 <limits.h> exists even on freestanding compilers. */
66555 #ifdef __STDC__
66556 # include <limits.h>
66557 #else
66558 # include <assert.h>
66559 #endif
66561 #undef $ac_func
66563 /* Override any gcc2 internal prototype to avoid an error. */
66564 #ifdef __cplusplus
66565 extern "C"
66567 #endif
66568 /* We use char because int might match the return type of a gcc2
66569 builtin and then its argument prototype would still apply. */
66570 char $ac_func ();
66571 /* The GNU C library defines this for functions which it implements
66572 to always fail with ENOSYS. Some functions are actually named
66573 something starting with __ and the normal name is an alias. */
66574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66575 choke me
66576 #else
66577 char (*f) () = $ac_func;
66578 #endif
66579 #ifdef __cplusplus
66581 #endif
66584 main ()
66586 return f != $ac_func;
66588 return 0;
66590 _ACEOF
66591 rm -f conftest.$ac_objext conftest$ac_exeext
66592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66593 (eval $ac_link) 2>conftest.er1
66594 ac_status=$?
66595 grep -v '^ *+' conftest.er1 >conftest.err
66596 rm -f conftest.er1
66597 cat conftest.err >&5
66598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66599 (exit $ac_status); } &&
66600 { ac_try='test -z "$ac_c_werror_flag"
66601 || test ! -s conftest.err'
66602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66603 (eval $ac_try) 2>&5
66604 ac_status=$?
66605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66606 (exit $ac_status); }; } &&
66607 { ac_try='test -s conftest$ac_exeext'
66608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66609 (eval $ac_try) 2>&5
66610 ac_status=$?
66611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66612 (exit $ac_status); }; }; then
66613 eval "$as_ac_var=yes"
66614 else
66615 echo "$as_me: failed program was:" >&5
66616 sed 's/^/| /' conftest.$ac_ext >&5
66618 eval "$as_ac_var=no"
66620 rm -f conftest.err conftest.$ac_objext \
66621 conftest$ac_exeext conftest.$ac_ext
66623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66625 if test `eval echo '${'$as_ac_var'}'` = yes; then
66626 cat >>confdefs.h <<_ACEOF
66627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66628 _ACEOF
66631 done
66633 else
66635 echo "$as_me:$LINENO: checking for _powl declaration" >&5
66636 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
66637 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66638 if test "${glibcxx_cv_func__powl_use+set}" = set; then
66639 echo $ECHO_N "(cached) $ECHO_C" >&6
66640 else
66644 ac_ext=cc
66645 ac_cpp='$CXXCPP $CPPFLAGS'
66646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66650 cat >conftest.$ac_ext <<_ACEOF
66651 /* confdefs.h. */
66652 _ACEOF
66653 cat confdefs.h >>conftest.$ac_ext
66654 cat >>conftest.$ac_ext <<_ACEOF
66655 /* end confdefs.h. */
66656 #include <math.h>
66658 main ()
66660 _powl(0, 0);
66662 return 0;
66664 _ACEOF
66665 rm -f conftest.$ac_objext
66666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66667 (eval $ac_compile) 2>conftest.er1
66668 ac_status=$?
66669 grep -v '^ *+' conftest.er1 >conftest.err
66670 rm -f conftest.er1
66671 cat conftest.err >&5
66672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66673 (exit $ac_status); } &&
66674 { ac_try='test -z "$ac_cxx_werror_flag"
66675 || test ! -s conftest.err'
66676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66677 (eval $ac_try) 2>&5
66678 ac_status=$?
66679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66680 (exit $ac_status); }; } &&
66681 { ac_try='test -s conftest.$ac_objext'
66682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66683 (eval $ac_try) 2>&5
66684 ac_status=$?
66685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66686 (exit $ac_status); }; }; then
66687 glibcxx_cv_func__powl_use=yes
66688 else
66689 echo "$as_me: failed program was:" >&5
66690 sed 's/^/| /' conftest.$ac_ext >&5
66692 glibcxx_cv_func__powl_use=no
66694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66695 ac_ext=c
66696 ac_cpp='$CPP $CPPFLAGS'
66697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
66706 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
66708 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66710 for ac_func in _powl
66712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66713 echo "$as_me:$LINENO: checking for $ac_func" >&5
66714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66715 if eval "test \"\${$as_ac_var+set}\" = set"; then
66716 echo $ECHO_N "(cached) $ECHO_C" >&6
66717 else
66718 if test x$gcc_no_link = xyes; then
66719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66721 { (exit 1); exit 1; }; }
66723 cat >conftest.$ac_ext <<_ACEOF
66724 /* confdefs.h. */
66725 _ACEOF
66726 cat confdefs.h >>conftest.$ac_ext
66727 cat >>conftest.$ac_ext <<_ACEOF
66728 /* end confdefs.h. */
66729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66731 #define $ac_func innocuous_$ac_func
66733 /* System header to define __stub macros and hopefully few prototypes,
66734 which can conflict with char $ac_func (); below.
66735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66736 <limits.h> exists even on freestanding compilers. */
66738 #ifdef __STDC__
66739 # include <limits.h>
66740 #else
66741 # include <assert.h>
66742 #endif
66744 #undef $ac_func
66746 /* Override any gcc2 internal prototype to avoid an error. */
66747 #ifdef __cplusplus
66748 extern "C"
66750 #endif
66751 /* We use char because int might match the return type of a gcc2
66752 builtin and then its argument prototype would still apply. */
66753 char $ac_func ();
66754 /* The GNU C library defines this for functions which it implements
66755 to always fail with ENOSYS. Some functions are actually named
66756 something starting with __ and the normal name is an alias. */
66757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66758 choke me
66759 #else
66760 char (*f) () = $ac_func;
66761 #endif
66762 #ifdef __cplusplus
66764 #endif
66767 main ()
66769 return f != $ac_func;
66771 return 0;
66773 _ACEOF
66774 rm -f conftest.$ac_objext conftest$ac_exeext
66775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66776 (eval $ac_link) 2>conftest.er1
66777 ac_status=$?
66778 grep -v '^ *+' conftest.er1 >conftest.err
66779 rm -f conftest.er1
66780 cat conftest.err >&5
66781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66782 (exit $ac_status); } &&
66783 { ac_try='test -z "$ac_c_werror_flag"
66784 || test ! -s conftest.err'
66785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66786 (eval $ac_try) 2>&5
66787 ac_status=$?
66788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66789 (exit $ac_status); }; } &&
66790 { ac_try='test -s conftest$ac_exeext'
66791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66792 (eval $ac_try) 2>&5
66793 ac_status=$?
66794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66795 (exit $ac_status); }; }; then
66796 eval "$as_ac_var=yes"
66797 else
66798 echo "$as_me: failed program was:" >&5
66799 sed 's/^/| /' conftest.$ac_ext >&5
66801 eval "$as_ac_var=no"
66803 rm -f conftest.err conftest.$ac_objext \
66804 conftest$ac_exeext conftest.$ac_ext
66806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66808 if test `eval echo '${'$as_ac_var'}'` = yes; then
66809 cat >>confdefs.h <<_ACEOF
66810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66811 _ACEOF
66814 done
66821 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
66822 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
66823 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66824 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
66825 echo $ECHO_N "(cached) $ECHO_C" >&6
66826 else
66830 ac_ext=cc
66831 ac_cpp='$CXXCPP $CPPFLAGS'
66832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66836 cat >conftest.$ac_ext <<_ACEOF
66837 /* confdefs.h. */
66838 _ACEOF
66839 cat confdefs.h >>conftest.$ac_ext
66840 cat >>conftest.$ac_ext <<_ACEOF
66841 /* end confdefs.h. */
66842 #include <math.h>
66843 #ifdef HAVE_IEEEFP_H
66844 #include <ieeefp.h>
66845 #endif
66848 main ()
66850 sqrtl(0);
66852 return 0;
66854 _ACEOF
66855 rm -f conftest.$ac_objext
66856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66857 (eval $ac_compile) 2>conftest.er1
66858 ac_status=$?
66859 grep -v '^ *+' conftest.er1 >conftest.err
66860 rm -f conftest.er1
66861 cat conftest.err >&5
66862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66863 (exit $ac_status); } &&
66864 { ac_try='test -z "$ac_cxx_werror_flag"
66865 || test ! -s conftest.err'
66866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66867 (eval $ac_try) 2>&5
66868 ac_status=$?
66869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66870 (exit $ac_status); }; } &&
66871 { ac_try='test -s conftest.$ac_objext'
66872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66873 (eval $ac_try) 2>&5
66874 ac_status=$?
66875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66876 (exit $ac_status); }; }; then
66877 glibcxx_cv_func_sqrtl_use=yes
66878 else
66879 echo "$as_me: failed program was:" >&5
66880 sed 's/^/| /' conftest.$ac_ext >&5
66882 glibcxx_cv_func_sqrtl_use=no
66884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66885 ac_ext=c
66886 ac_cpp='$CPP $CPPFLAGS'
66887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
66896 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
66898 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66900 for ac_func in sqrtl
66902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66903 echo "$as_me:$LINENO: checking for $ac_func" >&5
66904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66905 if eval "test \"\${$as_ac_var+set}\" = set"; then
66906 echo $ECHO_N "(cached) $ECHO_C" >&6
66907 else
66908 if test x$gcc_no_link = xyes; then
66909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66911 { (exit 1); exit 1; }; }
66913 cat >conftest.$ac_ext <<_ACEOF
66914 /* confdefs.h. */
66915 _ACEOF
66916 cat confdefs.h >>conftest.$ac_ext
66917 cat >>conftest.$ac_ext <<_ACEOF
66918 /* end confdefs.h. */
66919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66921 #define $ac_func innocuous_$ac_func
66923 /* System header to define __stub macros and hopefully few prototypes,
66924 which can conflict with char $ac_func (); below.
66925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66926 <limits.h> exists even on freestanding compilers. */
66928 #ifdef __STDC__
66929 # include <limits.h>
66930 #else
66931 # include <assert.h>
66932 #endif
66934 #undef $ac_func
66936 /* Override any gcc2 internal prototype to avoid an error. */
66937 #ifdef __cplusplus
66938 extern "C"
66940 #endif
66941 /* We use char because int might match the return type of a gcc2
66942 builtin and then its argument prototype would still apply. */
66943 char $ac_func ();
66944 /* The GNU C library defines this for functions which it implements
66945 to always fail with ENOSYS. Some functions are actually named
66946 something starting with __ and the normal name is an alias. */
66947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66948 choke me
66949 #else
66950 char (*f) () = $ac_func;
66951 #endif
66952 #ifdef __cplusplus
66954 #endif
66957 main ()
66959 return f != $ac_func;
66961 return 0;
66963 _ACEOF
66964 rm -f conftest.$ac_objext conftest$ac_exeext
66965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66966 (eval $ac_link) 2>conftest.er1
66967 ac_status=$?
66968 grep -v '^ *+' conftest.er1 >conftest.err
66969 rm -f conftest.er1
66970 cat conftest.err >&5
66971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66972 (exit $ac_status); } &&
66973 { ac_try='test -z "$ac_c_werror_flag"
66974 || test ! -s conftest.err'
66975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66976 (eval $ac_try) 2>&5
66977 ac_status=$?
66978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66979 (exit $ac_status); }; } &&
66980 { ac_try='test -s conftest$ac_exeext'
66981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66982 (eval $ac_try) 2>&5
66983 ac_status=$?
66984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66985 (exit $ac_status); }; }; then
66986 eval "$as_ac_var=yes"
66987 else
66988 echo "$as_me: failed program was:" >&5
66989 sed 's/^/| /' conftest.$ac_ext >&5
66991 eval "$as_ac_var=no"
66993 rm -f conftest.err conftest.$ac_objext \
66994 conftest$ac_exeext conftest.$ac_ext
66996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66998 if test `eval echo '${'$as_ac_var'}'` = yes; then
66999 cat >>confdefs.h <<_ACEOF
67000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67001 _ACEOF
67004 done
67006 else
67008 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
67009 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
67010 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
67011 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
67012 echo $ECHO_N "(cached) $ECHO_C" >&6
67013 else
67017 ac_ext=cc
67018 ac_cpp='$CXXCPP $CPPFLAGS'
67019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67023 cat >conftest.$ac_ext <<_ACEOF
67024 /* confdefs.h. */
67025 _ACEOF
67026 cat confdefs.h >>conftest.$ac_ext
67027 cat >>conftest.$ac_ext <<_ACEOF
67028 /* end confdefs.h. */
67029 #include <math.h>
67030 #ifdef HAVE_IEEEFP_H
67031 #include <ieeefp.h>
67032 #endif
67035 main ()
67037 _sqrtl(0);
67039 return 0;
67041 _ACEOF
67042 rm -f conftest.$ac_objext
67043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67044 (eval $ac_compile) 2>conftest.er1
67045 ac_status=$?
67046 grep -v '^ *+' conftest.er1 >conftest.err
67047 rm -f conftest.er1
67048 cat conftest.err >&5
67049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67050 (exit $ac_status); } &&
67051 { ac_try='test -z "$ac_cxx_werror_flag"
67052 || test ! -s conftest.err'
67053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67054 (eval $ac_try) 2>&5
67055 ac_status=$?
67056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67057 (exit $ac_status); }; } &&
67058 { ac_try='test -s conftest.$ac_objext'
67059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67060 (eval $ac_try) 2>&5
67061 ac_status=$?
67062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67063 (exit $ac_status); }; }; then
67064 glibcxx_cv_func__sqrtl_use=yes
67065 else
67066 echo "$as_me: failed program was:" >&5
67067 sed 's/^/| /' conftest.$ac_ext >&5
67069 glibcxx_cv_func__sqrtl_use=no
67071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67072 ac_ext=c
67073 ac_cpp='$CPP $CPPFLAGS'
67074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
67083 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
67085 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
67087 for ac_func in _sqrtl
67089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67090 echo "$as_me:$LINENO: checking for $ac_func" >&5
67091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67092 if eval "test \"\${$as_ac_var+set}\" = set"; then
67093 echo $ECHO_N "(cached) $ECHO_C" >&6
67094 else
67095 if test x$gcc_no_link = xyes; then
67096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67098 { (exit 1); exit 1; }; }
67100 cat >conftest.$ac_ext <<_ACEOF
67101 /* confdefs.h. */
67102 _ACEOF
67103 cat confdefs.h >>conftest.$ac_ext
67104 cat >>conftest.$ac_ext <<_ACEOF
67105 /* end confdefs.h. */
67106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67108 #define $ac_func innocuous_$ac_func
67110 /* System header to define __stub macros and hopefully few prototypes,
67111 which can conflict with char $ac_func (); below.
67112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67113 <limits.h> exists even on freestanding compilers. */
67115 #ifdef __STDC__
67116 # include <limits.h>
67117 #else
67118 # include <assert.h>
67119 #endif
67121 #undef $ac_func
67123 /* Override any gcc2 internal prototype to avoid an error. */
67124 #ifdef __cplusplus
67125 extern "C"
67127 #endif
67128 /* We use char because int might match the return type of a gcc2
67129 builtin and then its argument prototype would still apply. */
67130 char $ac_func ();
67131 /* The GNU C library defines this for functions which it implements
67132 to always fail with ENOSYS. Some functions are actually named
67133 something starting with __ and the normal name is an alias. */
67134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67135 choke me
67136 #else
67137 char (*f) () = $ac_func;
67138 #endif
67139 #ifdef __cplusplus
67141 #endif
67144 main ()
67146 return f != $ac_func;
67148 return 0;
67150 _ACEOF
67151 rm -f conftest.$ac_objext conftest$ac_exeext
67152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67153 (eval $ac_link) 2>conftest.er1
67154 ac_status=$?
67155 grep -v '^ *+' conftest.er1 >conftest.err
67156 rm -f conftest.er1
67157 cat conftest.err >&5
67158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67159 (exit $ac_status); } &&
67160 { ac_try='test -z "$ac_c_werror_flag"
67161 || test ! -s conftest.err'
67162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67163 (eval $ac_try) 2>&5
67164 ac_status=$?
67165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67166 (exit $ac_status); }; } &&
67167 { ac_try='test -s conftest$ac_exeext'
67168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67169 (eval $ac_try) 2>&5
67170 ac_status=$?
67171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67172 (exit $ac_status); }; }; then
67173 eval "$as_ac_var=yes"
67174 else
67175 echo "$as_me: failed program was:" >&5
67176 sed 's/^/| /' conftest.$ac_ext >&5
67178 eval "$as_ac_var=no"
67180 rm -f conftest.err conftest.$ac_objext \
67181 conftest$ac_exeext conftest.$ac_ext
67183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67185 if test `eval echo '${'$as_ac_var'}'` = yes; then
67186 cat >>confdefs.h <<_ACEOF
67187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67188 _ACEOF
67191 done
67198 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
67199 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
67200 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
67201 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
67202 echo $ECHO_N "(cached) $ECHO_C" >&6
67203 else
67207 ac_ext=cc
67208 ac_cpp='$CXXCPP $CPPFLAGS'
67209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67213 cat >conftest.$ac_ext <<_ACEOF
67214 /* confdefs.h. */
67215 _ACEOF
67216 cat confdefs.h >>conftest.$ac_ext
67217 cat >>conftest.$ac_ext <<_ACEOF
67218 /* end confdefs.h. */
67219 #include <math.h>
67221 main ()
67223 sincosl(0, 0, 0);
67225 return 0;
67227 _ACEOF
67228 rm -f conftest.$ac_objext
67229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67230 (eval $ac_compile) 2>conftest.er1
67231 ac_status=$?
67232 grep -v '^ *+' conftest.er1 >conftest.err
67233 rm -f conftest.er1
67234 cat conftest.err >&5
67235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67236 (exit $ac_status); } &&
67237 { ac_try='test -z "$ac_cxx_werror_flag"
67238 || test ! -s conftest.err'
67239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67240 (eval $ac_try) 2>&5
67241 ac_status=$?
67242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67243 (exit $ac_status); }; } &&
67244 { ac_try='test -s conftest.$ac_objext'
67245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67246 (eval $ac_try) 2>&5
67247 ac_status=$?
67248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67249 (exit $ac_status); }; }; then
67250 glibcxx_cv_func_sincosl_use=yes
67251 else
67252 echo "$as_me: failed program was:" >&5
67253 sed 's/^/| /' conftest.$ac_ext >&5
67255 glibcxx_cv_func_sincosl_use=no
67257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67258 ac_ext=c
67259 ac_cpp='$CPP $CPPFLAGS'
67260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
67269 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
67271 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
67273 for ac_func in sincosl
67275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67276 echo "$as_me:$LINENO: checking for $ac_func" >&5
67277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67278 if eval "test \"\${$as_ac_var+set}\" = set"; then
67279 echo $ECHO_N "(cached) $ECHO_C" >&6
67280 else
67281 if test x$gcc_no_link = xyes; then
67282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67284 { (exit 1); exit 1; }; }
67286 cat >conftest.$ac_ext <<_ACEOF
67287 /* confdefs.h. */
67288 _ACEOF
67289 cat confdefs.h >>conftest.$ac_ext
67290 cat >>conftest.$ac_ext <<_ACEOF
67291 /* end confdefs.h. */
67292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67294 #define $ac_func innocuous_$ac_func
67296 /* System header to define __stub macros and hopefully few prototypes,
67297 which can conflict with char $ac_func (); below.
67298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67299 <limits.h> exists even on freestanding compilers. */
67301 #ifdef __STDC__
67302 # include <limits.h>
67303 #else
67304 # include <assert.h>
67305 #endif
67307 #undef $ac_func
67309 /* Override any gcc2 internal prototype to avoid an error. */
67310 #ifdef __cplusplus
67311 extern "C"
67313 #endif
67314 /* We use char because int might match the return type of a gcc2
67315 builtin and then its argument prototype would still apply. */
67316 char $ac_func ();
67317 /* The GNU C library defines this for functions which it implements
67318 to always fail with ENOSYS. Some functions are actually named
67319 something starting with __ and the normal name is an alias. */
67320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67321 choke me
67322 #else
67323 char (*f) () = $ac_func;
67324 #endif
67325 #ifdef __cplusplus
67327 #endif
67330 main ()
67332 return f != $ac_func;
67334 return 0;
67336 _ACEOF
67337 rm -f conftest.$ac_objext conftest$ac_exeext
67338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67339 (eval $ac_link) 2>conftest.er1
67340 ac_status=$?
67341 grep -v '^ *+' conftest.er1 >conftest.err
67342 rm -f conftest.er1
67343 cat conftest.err >&5
67344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345 (exit $ac_status); } &&
67346 { ac_try='test -z "$ac_c_werror_flag"
67347 || test ! -s conftest.err'
67348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67349 (eval $ac_try) 2>&5
67350 ac_status=$?
67351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67352 (exit $ac_status); }; } &&
67353 { ac_try='test -s conftest$ac_exeext'
67354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67355 (eval $ac_try) 2>&5
67356 ac_status=$?
67357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67358 (exit $ac_status); }; }; then
67359 eval "$as_ac_var=yes"
67360 else
67361 echo "$as_me: failed program was:" >&5
67362 sed 's/^/| /' conftest.$ac_ext >&5
67364 eval "$as_ac_var=no"
67366 rm -f conftest.err conftest.$ac_objext \
67367 conftest$ac_exeext conftest.$ac_ext
67369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67371 if test `eval echo '${'$as_ac_var'}'` = yes; then
67372 cat >>confdefs.h <<_ACEOF
67373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67374 _ACEOF
67377 done
67379 else
67381 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
67382 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
67383 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
67384 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
67385 echo $ECHO_N "(cached) $ECHO_C" >&6
67386 else
67390 ac_ext=cc
67391 ac_cpp='$CXXCPP $CPPFLAGS'
67392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67396 cat >conftest.$ac_ext <<_ACEOF
67397 /* confdefs.h. */
67398 _ACEOF
67399 cat confdefs.h >>conftest.$ac_ext
67400 cat >>conftest.$ac_ext <<_ACEOF
67401 /* end confdefs.h. */
67402 #include <math.h>
67404 main ()
67406 _sincosl(0, 0, 0);
67408 return 0;
67410 _ACEOF
67411 rm -f conftest.$ac_objext
67412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67413 (eval $ac_compile) 2>conftest.er1
67414 ac_status=$?
67415 grep -v '^ *+' conftest.er1 >conftest.err
67416 rm -f conftest.er1
67417 cat conftest.err >&5
67418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67419 (exit $ac_status); } &&
67420 { ac_try='test -z "$ac_cxx_werror_flag"
67421 || test ! -s conftest.err'
67422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67423 (eval $ac_try) 2>&5
67424 ac_status=$?
67425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67426 (exit $ac_status); }; } &&
67427 { ac_try='test -s conftest.$ac_objext'
67428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67429 (eval $ac_try) 2>&5
67430 ac_status=$?
67431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67432 (exit $ac_status); }; }; then
67433 glibcxx_cv_func__sincosl_use=yes
67434 else
67435 echo "$as_me: failed program was:" >&5
67436 sed 's/^/| /' conftest.$ac_ext >&5
67438 glibcxx_cv_func__sincosl_use=no
67440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67441 ac_ext=c
67442 ac_cpp='$CPP $CPPFLAGS'
67443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
67452 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
67454 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
67456 for ac_func in _sincosl
67458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67459 echo "$as_me:$LINENO: checking for $ac_func" >&5
67460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67461 if eval "test \"\${$as_ac_var+set}\" = set"; then
67462 echo $ECHO_N "(cached) $ECHO_C" >&6
67463 else
67464 if test x$gcc_no_link = xyes; then
67465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67467 { (exit 1); exit 1; }; }
67469 cat >conftest.$ac_ext <<_ACEOF
67470 /* confdefs.h. */
67471 _ACEOF
67472 cat confdefs.h >>conftest.$ac_ext
67473 cat >>conftest.$ac_ext <<_ACEOF
67474 /* end confdefs.h. */
67475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67477 #define $ac_func innocuous_$ac_func
67479 /* System header to define __stub macros and hopefully few prototypes,
67480 which can conflict with char $ac_func (); below.
67481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67482 <limits.h> exists even on freestanding compilers. */
67484 #ifdef __STDC__
67485 # include <limits.h>
67486 #else
67487 # include <assert.h>
67488 #endif
67490 #undef $ac_func
67492 /* Override any gcc2 internal prototype to avoid an error. */
67493 #ifdef __cplusplus
67494 extern "C"
67496 #endif
67497 /* We use char because int might match the return type of a gcc2
67498 builtin and then its argument prototype would still apply. */
67499 char $ac_func ();
67500 /* The GNU C library defines this for functions which it implements
67501 to always fail with ENOSYS. Some functions are actually named
67502 something starting with __ and the normal name is an alias. */
67503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67504 choke me
67505 #else
67506 char (*f) () = $ac_func;
67507 #endif
67508 #ifdef __cplusplus
67510 #endif
67513 main ()
67515 return f != $ac_func;
67517 return 0;
67519 _ACEOF
67520 rm -f conftest.$ac_objext conftest$ac_exeext
67521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67522 (eval $ac_link) 2>conftest.er1
67523 ac_status=$?
67524 grep -v '^ *+' conftest.er1 >conftest.err
67525 rm -f conftest.er1
67526 cat conftest.err >&5
67527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67528 (exit $ac_status); } &&
67529 { ac_try='test -z "$ac_c_werror_flag"
67530 || test ! -s conftest.err'
67531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67532 (eval $ac_try) 2>&5
67533 ac_status=$?
67534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67535 (exit $ac_status); }; } &&
67536 { ac_try='test -s conftest$ac_exeext'
67537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67538 (eval $ac_try) 2>&5
67539 ac_status=$?
67540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67541 (exit $ac_status); }; }; then
67542 eval "$as_ac_var=yes"
67543 else
67544 echo "$as_me: failed program was:" >&5
67545 sed 's/^/| /' conftest.$ac_ext >&5
67547 eval "$as_ac_var=no"
67549 rm -f conftest.err conftest.$ac_objext \
67550 conftest$ac_exeext conftest.$ac_ext
67552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67554 if test `eval echo '${'$as_ac_var'}'` = yes; then
67555 cat >>confdefs.h <<_ACEOF
67556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67557 _ACEOF
67560 done
67567 echo "$as_me:$LINENO: checking for finitel declaration" >&5
67568 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
67569 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
67570 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
67571 echo $ECHO_N "(cached) $ECHO_C" >&6
67572 else
67576 ac_ext=cc
67577 ac_cpp='$CXXCPP $CPPFLAGS'
67578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67582 cat >conftest.$ac_ext <<_ACEOF
67583 /* confdefs.h. */
67584 _ACEOF
67585 cat confdefs.h >>conftest.$ac_ext
67586 cat >>conftest.$ac_ext <<_ACEOF
67587 /* end confdefs.h. */
67588 #include <math.h>
67589 #ifdef HAVE_IEEEFP_H
67590 #include <ieeefp.h>
67591 #endif
67594 main ()
67596 finitel(0);
67598 return 0;
67600 _ACEOF
67601 rm -f conftest.$ac_objext
67602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67603 (eval $ac_compile) 2>conftest.er1
67604 ac_status=$?
67605 grep -v '^ *+' conftest.er1 >conftest.err
67606 rm -f conftest.er1
67607 cat conftest.err >&5
67608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67609 (exit $ac_status); } &&
67610 { ac_try='test -z "$ac_cxx_werror_flag"
67611 || test ! -s conftest.err'
67612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67613 (eval $ac_try) 2>&5
67614 ac_status=$?
67615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67616 (exit $ac_status); }; } &&
67617 { ac_try='test -s conftest.$ac_objext'
67618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67619 (eval $ac_try) 2>&5
67620 ac_status=$?
67621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67622 (exit $ac_status); }; }; then
67623 glibcxx_cv_func_finitel_use=yes
67624 else
67625 echo "$as_me: failed program was:" >&5
67626 sed 's/^/| /' conftest.$ac_ext >&5
67628 glibcxx_cv_func_finitel_use=no
67630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67631 ac_ext=c
67632 ac_cpp='$CPP $CPPFLAGS'
67633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
67642 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
67644 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
67646 for ac_func in finitel
67648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67649 echo "$as_me:$LINENO: checking for $ac_func" >&5
67650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67651 if eval "test \"\${$as_ac_var+set}\" = set"; then
67652 echo $ECHO_N "(cached) $ECHO_C" >&6
67653 else
67654 if test x$gcc_no_link = xyes; then
67655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67657 { (exit 1); exit 1; }; }
67659 cat >conftest.$ac_ext <<_ACEOF
67660 /* confdefs.h. */
67661 _ACEOF
67662 cat confdefs.h >>conftest.$ac_ext
67663 cat >>conftest.$ac_ext <<_ACEOF
67664 /* end confdefs.h. */
67665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67667 #define $ac_func innocuous_$ac_func
67669 /* System header to define __stub macros and hopefully few prototypes,
67670 which can conflict with char $ac_func (); below.
67671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67672 <limits.h> exists even on freestanding compilers. */
67674 #ifdef __STDC__
67675 # include <limits.h>
67676 #else
67677 # include <assert.h>
67678 #endif
67680 #undef $ac_func
67682 /* Override any gcc2 internal prototype to avoid an error. */
67683 #ifdef __cplusplus
67684 extern "C"
67686 #endif
67687 /* We use char because int might match the return type of a gcc2
67688 builtin and then its argument prototype would still apply. */
67689 char $ac_func ();
67690 /* The GNU C library defines this for functions which it implements
67691 to always fail with ENOSYS. Some functions are actually named
67692 something starting with __ and the normal name is an alias. */
67693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67694 choke me
67695 #else
67696 char (*f) () = $ac_func;
67697 #endif
67698 #ifdef __cplusplus
67700 #endif
67703 main ()
67705 return f != $ac_func;
67707 return 0;
67709 _ACEOF
67710 rm -f conftest.$ac_objext conftest$ac_exeext
67711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67712 (eval $ac_link) 2>conftest.er1
67713 ac_status=$?
67714 grep -v '^ *+' conftest.er1 >conftest.err
67715 rm -f conftest.er1
67716 cat conftest.err >&5
67717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67718 (exit $ac_status); } &&
67719 { ac_try='test -z "$ac_c_werror_flag"
67720 || test ! -s conftest.err'
67721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67722 (eval $ac_try) 2>&5
67723 ac_status=$?
67724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67725 (exit $ac_status); }; } &&
67726 { ac_try='test -s conftest$ac_exeext'
67727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67728 (eval $ac_try) 2>&5
67729 ac_status=$?
67730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67731 (exit $ac_status); }; }; then
67732 eval "$as_ac_var=yes"
67733 else
67734 echo "$as_me: failed program was:" >&5
67735 sed 's/^/| /' conftest.$ac_ext >&5
67737 eval "$as_ac_var=no"
67739 rm -f conftest.err conftest.$ac_objext \
67740 conftest$ac_exeext conftest.$ac_ext
67742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67744 if test `eval echo '${'$as_ac_var'}'` = yes; then
67745 cat >>confdefs.h <<_ACEOF
67746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67747 _ACEOF
67750 done
67752 else
67754 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
67755 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
67756 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
67757 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
67758 echo $ECHO_N "(cached) $ECHO_C" >&6
67759 else
67763 ac_ext=cc
67764 ac_cpp='$CXXCPP $CPPFLAGS'
67765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67769 cat >conftest.$ac_ext <<_ACEOF
67770 /* confdefs.h. */
67771 _ACEOF
67772 cat confdefs.h >>conftest.$ac_ext
67773 cat >>conftest.$ac_ext <<_ACEOF
67774 /* end confdefs.h. */
67775 #include <math.h>
67776 #ifdef HAVE_IEEEFP_H
67777 #include <ieeefp.h>
67778 #endif
67781 main ()
67783 _finitel(0);
67785 return 0;
67787 _ACEOF
67788 rm -f conftest.$ac_objext
67789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67790 (eval $ac_compile) 2>conftest.er1
67791 ac_status=$?
67792 grep -v '^ *+' conftest.er1 >conftest.err
67793 rm -f conftest.er1
67794 cat conftest.err >&5
67795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67796 (exit $ac_status); } &&
67797 { ac_try='test -z "$ac_cxx_werror_flag"
67798 || test ! -s conftest.err'
67799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67800 (eval $ac_try) 2>&5
67801 ac_status=$?
67802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67803 (exit $ac_status); }; } &&
67804 { ac_try='test -s conftest.$ac_objext'
67805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67806 (eval $ac_try) 2>&5
67807 ac_status=$?
67808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67809 (exit $ac_status); }; }; then
67810 glibcxx_cv_func__finitel_use=yes
67811 else
67812 echo "$as_me: failed program was:" >&5
67813 sed 's/^/| /' conftest.$ac_ext >&5
67815 glibcxx_cv_func__finitel_use=no
67817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67818 ac_ext=c
67819 ac_cpp='$CPP $CPPFLAGS'
67820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
67829 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
67831 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
67833 for ac_func in _finitel
67835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67836 echo "$as_me:$LINENO: checking for $ac_func" >&5
67837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67838 if eval "test \"\${$as_ac_var+set}\" = set"; then
67839 echo $ECHO_N "(cached) $ECHO_C" >&6
67840 else
67841 if test x$gcc_no_link = xyes; then
67842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67844 { (exit 1); exit 1; }; }
67846 cat >conftest.$ac_ext <<_ACEOF
67847 /* confdefs.h. */
67848 _ACEOF
67849 cat confdefs.h >>conftest.$ac_ext
67850 cat >>conftest.$ac_ext <<_ACEOF
67851 /* end confdefs.h. */
67852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67854 #define $ac_func innocuous_$ac_func
67856 /* System header to define __stub macros and hopefully few prototypes,
67857 which can conflict with char $ac_func (); below.
67858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67859 <limits.h> exists even on freestanding compilers. */
67861 #ifdef __STDC__
67862 # include <limits.h>
67863 #else
67864 # include <assert.h>
67865 #endif
67867 #undef $ac_func
67869 /* Override any gcc2 internal prototype to avoid an error. */
67870 #ifdef __cplusplus
67871 extern "C"
67873 #endif
67874 /* We use char because int might match the return type of a gcc2
67875 builtin and then its argument prototype would still apply. */
67876 char $ac_func ();
67877 /* The GNU C library defines this for functions which it implements
67878 to always fail with ENOSYS. Some functions are actually named
67879 something starting with __ and the normal name is an alias. */
67880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67881 choke me
67882 #else
67883 char (*f) () = $ac_func;
67884 #endif
67885 #ifdef __cplusplus
67887 #endif
67890 main ()
67892 return f != $ac_func;
67894 return 0;
67896 _ACEOF
67897 rm -f conftest.$ac_objext conftest$ac_exeext
67898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67899 (eval $ac_link) 2>conftest.er1
67900 ac_status=$?
67901 grep -v '^ *+' conftest.er1 >conftest.err
67902 rm -f conftest.er1
67903 cat conftest.err >&5
67904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67905 (exit $ac_status); } &&
67906 { ac_try='test -z "$ac_c_werror_flag"
67907 || test ! -s conftest.err'
67908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67909 (eval $ac_try) 2>&5
67910 ac_status=$?
67911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67912 (exit $ac_status); }; } &&
67913 { ac_try='test -s conftest$ac_exeext'
67914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67915 (eval $ac_try) 2>&5
67916 ac_status=$?
67917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67918 (exit $ac_status); }; }; then
67919 eval "$as_ac_var=yes"
67920 else
67921 echo "$as_me: failed program was:" >&5
67922 sed 's/^/| /' conftest.$ac_ext >&5
67924 eval "$as_ac_var=no"
67926 rm -f conftest.err conftest.$ac_objext \
67927 conftest$ac_exeext conftest.$ac_ext
67929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67931 if test `eval echo '${'$as_ac_var'}'` = yes; then
67932 cat >>confdefs.h <<_ACEOF
67933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67934 _ACEOF
67937 done
67945 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67946 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67947 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67948 echo $ECHO_N "(cached) $ECHO_C" >&6
67949 else
67953 ac_ext=cc
67954 ac_cpp='$CXXCPP $CPPFLAGS'
67955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67959 cat >conftest.$ac_ext <<_ACEOF
67960 /* confdefs.h. */
67961 _ACEOF
67962 cat confdefs.h >>conftest.$ac_ext
67963 cat >>conftest.$ac_ext <<_ACEOF
67964 /* end confdefs.h. */
67965 #include <math.h>
67967 main ()
67969 `for x in _acosf _asinf _atanf \
67970 _cosf _sinf _tanf \
67971 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
67973 return 0;
67975 _ACEOF
67976 rm -f conftest.$ac_objext
67977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67978 (eval $ac_compile) 2>conftest.er1
67979 ac_status=$?
67980 grep -v '^ *+' conftest.er1 >conftest.err
67981 rm -f conftest.er1
67982 cat conftest.err >&5
67983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984 (exit $ac_status); } &&
67985 { ac_try='test -z "$ac_cxx_werror_flag"
67986 || test ! -s conftest.err'
67987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67988 (eval $ac_try) 2>&5
67989 ac_status=$?
67990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67991 (exit $ac_status); }; } &&
67992 { ac_try='test -s conftest.$ac_objext'
67993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67994 (eval $ac_try) 2>&5
67995 ac_status=$?
67996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67997 (exit $ac_status); }; }; then
67998 glibcxx_cv_func__float_trig_use=yes
67999 else
68000 echo "$as_me: failed program was:" >&5
68001 sed 's/^/| /' conftest.$ac_ext >&5
68003 glibcxx_cv_func__float_trig_use=no
68005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68006 ac_ext=c
68007 ac_cpp='$CPP $CPPFLAGS'
68008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68015 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68016 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68026 for ac_func in _acosf _asinf _atanf \
68027 _cosf _sinf _tanf \
68028 _coshf _sinhf _tanhf
68030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68031 echo "$as_me:$LINENO: checking for $ac_func" >&5
68032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68033 if eval "test \"\${$as_ac_var+set}\" = set"; then
68034 echo $ECHO_N "(cached) $ECHO_C" >&6
68035 else
68036 if test x$gcc_no_link = xyes; then
68037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68039 { (exit 1); exit 1; }; }
68041 cat >conftest.$ac_ext <<_ACEOF
68042 /* confdefs.h. */
68043 _ACEOF
68044 cat confdefs.h >>conftest.$ac_ext
68045 cat >>conftest.$ac_ext <<_ACEOF
68046 /* end confdefs.h. */
68047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68049 #define $ac_func innocuous_$ac_func
68051 /* System header to define __stub macros and hopefully few prototypes,
68052 which can conflict with char $ac_func (); below.
68053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68054 <limits.h> exists even on freestanding compilers. */
68056 #ifdef __STDC__
68057 # include <limits.h>
68058 #else
68059 # include <assert.h>
68060 #endif
68062 #undef $ac_func
68064 /* Override any gcc2 internal prototype to avoid an error. */
68065 #ifdef __cplusplus
68066 extern "C"
68068 #endif
68069 /* We use char because int might match the return type of a gcc2
68070 builtin and then its argument prototype would still apply. */
68071 char $ac_func ();
68072 /* The GNU C library defines this for functions which it implements
68073 to always fail with ENOSYS. Some functions are actually named
68074 something starting with __ and the normal name is an alias. */
68075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68076 choke me
68077 #else
68078 char (*f) () = $ac_func;
68079 #endif
68080 #ifdef __cplusplus
68082 #endif
68085 main ()
68087 return f != $ac_func;
68089 return 0;
68091 _ACEOF
68092 rm -f conftest.$ac_objext conftest$ac_exeext
68093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68094 (eval $ac_link) 2>conftest.er1
68095 ac_status=$?
68096 grep -v '^ *+' conftest.er1 >conftest.err
68097 rm -f conftest.er1
68098 cat conftest.err >&5
68099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68100 (exit $ac_status); } &&
68101 { ac_try='test -z "$ac_c_werror_flag"
68102 || test ! -s conftest.err'
68103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68104 (eval $ac_try) 2>&5
68105 ac_status=$?
68106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68107 (exit $ac_status); }; } &&
68108 { ac_try='test -s conftest$ac_exeext'
68109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68110 (eval $ac_try) 2>&5
68111 ac_status=$?
68112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68113 (exit $ac_status); }; }; then
68114 eval "$as_ac_var=yes"
68115 else
68116 echo "$as_me: failed program was:" >&5
68117 sed 's/^/| /' conftest.$ac_ext >&5
68119 eval "$as_ac_var=no"
68121 rm -f conftest.err conftest.$ac_objext \
68122 conftest$ac_exeext conftest.$ac_ext
68124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68126 if test `eval echo '${'$as_ac_var'}'` = yes; then
68127 cat >>confdefs.h <<_ACEOF
68128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68129 _ACEOF
68132 done
68137 echo "$as_me:$LINENO: checking for _float round functions" >&5
68138 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68139 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68140 echo $ECHO_N "(cached) $ECHO_C" >&6
68141 else
68145 ac_ext=cc
68146 ac_cpp='$CXXCPP $CPPFLAGS'
68147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68151 cat >conftest.$ac_ext <<_ACEOF
68152 /* confdefs.h. */
68153 _ACEOF
68154 cat confdefs.h >>conftest.$ac_ext
68155 cat >>conftest.$ac_ext <<_ACEOF
68156 /* end confdefs.h. */
68157 #include <math.h>
68159 main ()
68161 `for x in _ceilf _floorf; do echo "$x (0);"; done`
68163 return 0;
68165 _ACEOF
68166 rm -f conftest.$ac_objext
68167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68168 (eval $ac_compile) 2>conftest.er1
68169 ac_status=$?
68170 grep -v '^ *+' conftest.er1 >conftest.err
68171 rm -f conftest.er1
68172 cat conftest.err >&5
68173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174 (exit $ac_status); } &&
68175 { ac_try='test -z "$ac_cxx_werror_flag"
68176 || test ! -s conftest.err'
68177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68178 (eval $ac_try) 2>&5
68179 ac_status=$?
68180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68181 (exit $ac_status); }; } &&
68182 { ac_try='test -s conftest.$ac_objext'
68183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68184 (eval $ac_try) 2>&5
68185 ac_status=$?
68186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68187 (exit $ac_status); }; }; then
68188 glibcxx_cv_func__float_round_use=yes
68189 else
68190 echo "$as_me: failed program was:" >&5
68191 sed 's/^/| /' conftest.$ac_ext >&5
68193 glibcxx_cv_func__float_round_use=no
68195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68196 ac_ext=c
68197 ac_cpp='$CPP $CPPFLAGS'
68198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68205 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68206 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68209 for ac_func in _ceilf _floorf
68211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68212 echo "$as_me:$LINENO: checking for $ac_func" >&5
68213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68214 if eval "test \"\${$as_ac_var+set}\" = set"; then
68215 echo $ECHO_N "(cached) $ECHO_C" >&6
68216 else
68217 if test x$gcc_no_link = xyes; then
68218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68220 { (exit 1); exit 1; }; }
68222 cat >conftest.$ac_ext <<_ACEOF
68223 /* confdefs.h. */
68224 _ACEOF
68225 cat confdefs.h >>conftest.$ac_ext
68226 cat >>conftest.$ac_ext <<_ACEOF
68227 /* end confdefs.h. */
68228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68230 #define $ac_func innocuous_$ac_func
68232 /* System header to define __stub macros and hopefully few prototypes,
68233 which can conflict with char $ac_func (); below.
68234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68235 <limits.h> exists even on freestanding compilers. */
68237 #ifdef __STDC__
68238 # include <limits.h>
68239 #else
68240 # include <assert.h>
68241 #endif
68243 #undef $ac_func
68245 /* Override any gcc2 internal prototype to avoid an error. */
68246 #ifdef __cplusplus
68247 extern "C"
68249 #endif
68250 /* We use char because int might match the return type of a gcc2
68251 builtin and then its argument prototype would still apply. */
68252 char $ac_func ();
68253 /* The GNU C library defines this for functions which it implements
68254 to always fail with ENOSYS. Some functions are actually named
68255 something starting with __ and the normal name is an alias. */
68256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68257 choke me
68258 #else
68259 char (*f) () = $ac_func;
68260 #endif
68261 #ifdef __cplusplus
68263 #endif
68266 main ()
68268 return f != $ac_func;
68270 return 0;
68272 _ACEOF
68273 rm -f conftest.$ac_objext conftest$ac_exeext
68274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68275 (eval $ac_link) 2>conftest.er1
68276 ac_status=$?
68277 grep -v '^ *+' conftest.er1 >conftest.err
68278 rm -f conftest.er1
68279 cat conftest.err >&5
68280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68281 (exit $ac_status); } &&
68282 { ac_try='test -z "$ac_c_werror_flag"
68283 || test ! -s conftest.err'
68284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68285 (eval $ac_try) 2>&5
68286 ac_status=$?
68287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68288 (exit $ac_status); }; } &&
68289 { ac_try='test -s conftest$ac_exeext'
68290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68291 (eval $ac_try) 2>&5
68292 ac_status=$?
68293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68294 (exit $ac_status); }; }; then
68295 eval "$as_ac_var=yes"
68296 else
68297 echo "$as_me: failed program was:" >&5
68298 sed 's/^/| /' conftest.$ac_ext >&5
68300 eval "$as_ac_var=no"
68302 rm -f conftest.err conftest.$ac_objext \
68303 conftest$ac_exeext conftest.$ac_ext
68305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68307 if test `eval echo '${'$as_ac_var'}'` = yes; then
68308 cat >>confdefs.h <<_ACEOF
68309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68310 _ACEOF
68313 done
68319 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
68320 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
68321 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
68322 echo $ECHO_N "(cached) $ECHO_C" >&6
68323 else
68327 ac_ext=cc
68328 ac_cpp='$CXXCPP $CPPFLAGS'
68329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68333 cat >conftest.$ac_ext <<_ACEOF
68334 /* confdefs.h. */
68335 _ACEOF
68336 cat confdefs.h >>conftest.$ac_ext
68337 cat >>conftest.$ac_ext <<_ACEOF
68338 /* end confdefs.h. */
68339 #include <math.h>
68341 main ()
68343 `for x in _acosl _asinl _atanl \
68344 _cosl _sinl _tanl \
68345 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
68347 return 0;
68349 _ACEOF
68350 rm -f conftest.$ac_objext
68351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68352 (eval $ac_compile) 2>conftest.er1
68353 ac_status=$?
68354 grep -v '^ *+' conftest.er1 >conftest.err
68355 rm -f conftest.er1
68356 cat conftest.err >&5
68357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68358 (exit $ac_status); } &&
68359 { ac_try='test -z "$ac_cxx_werror_flag"
68360 || test ! -s conftest.err'
68361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68362 (eval $ac_try) 2>&5
68363 ac_status=$?
68364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68365 (exit $ac_status); }; } &&
68366 { ac_try='test -s conftest.$ac_objext'
68367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68368 (eval $ac_try) 2>&5
68369 ac_status=$?
68370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68371 (exit $ac_status); }; }; then
68372 glibcxx_cv_func__long_double_trig_use=yes
68373 else
68374 echo "$as_me: failed program was:" >&5
68375 sed 's/^/| /' conftest.$ac_ext >&5
68377 glibcxx_cv_func__long_double_trig_use=no
68379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68380 ac_ext=c
68381 ac_cpp='$CPP $CPPFLAGS'
68382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
68389 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
68390 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68400 for ac_func in _acosl _asinl _atanl \
68401 _cosl _sinl _tanl \
68402 _coshl _sinhl _tanhl
68404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68405 echo "$as_me:$LINENO: checking for $ac_func" >&5
68406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68407 if eval "test \"\${$as_ac_var+set}\" = set"; then
68408 echo $ECHO_N "(cached) $ECHO_C" >&6
68409 else
68410 if test x$gcc_no_link = xyes; then
68411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68413 { (exit 1); exit 1; }; }
68415 cat >conftest.$ac_ext <<_ACEOF
68416 /* confdefs.h. */
68417 _ACEOF
68418 cat confdefs.h >>conftest.$ac_ext
68419 cat >>conftest.$ac_ext <<_ACEOF
68420 /* end confdefs.h. */
68421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68423 #define $ac_func innocuous_$ac_func
68425 /* System header to define __stub macros and hopefully few prototypes,
68426 which can conflict with char $ac_func (); below.
68427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68428 <limits.h> exists even on freestanding compilers. */
68430 #ifdef __STDC__
68431 # include <limits.h>
68432 #else
68433 # include <assert.h>
68434 #endif
68436 #undef $ac_func
68438 /* Override any gcc2 internal prototype to avoid an error. */
68439 #ifdef __cplusplus
68440 extern "C"
68442 #endif
68443 /* We use char because int might match the return type of a gcc2
68444 builtin and then its argument prototype would still apply. */
68445 char $ac_func ();
68446 /* The GNU C library defines this for functions which it implements
68447 to always fail with ENOSYS. Some functions are actually named
68448 something starting with __ and the normal name is an alias. */
68449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68450 choke me
68451 #else
68452 char (*f) () = $ac_func;
68453 #endif
68454 #ifdef __cplusplus
68456 #endif
68459 main ()
68461 return f != $ac_func;
68463 return 0;
68465 _ACEOF
68466 rm -f conftest.$ac_objext conftest$ac_exeext
68467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68468 (eval $ac_link) 2>conftest.er1
68469 ac_status=$?
68470 grep -v '^ *+' conftest.er1 >conftest.err
68471 rm -f conftest.er1
68472 cat conftest.err >&5
68473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68474 (exit $ac_status); } &&
68475 { ac_try='test -z "$ac_c_werror_flag"
68476 || test ! -s conftest.err'
68477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68478 (eval $ac_try) 2>&5
68479 ac_status=$?
68480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68481 (exit $ac_status); }; } &&
68482 { ac_try='test -s conftest$ac_exeext'
68483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68484 (eval $ac_try) 2>&5
68485 ac_status=$?
68486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68487 (exit $ac_status); }; }; then
68488 eval "$as_ac_var=yes"
68489 else
68490 echo "$as_me: failed program was:" >&5
68491 sed 's/^/| /' conftest.$ac_ext >&5
68493 eval "$as_ac_var=no"
68495 rm -f conftest.err conftest.$ac_objext \
68496 conftest$ac_exeext conftest.$ac_ext
68498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68500 if test `eval echo '${'$as_ac_var'}'` = yes; then
68501 cat >>confdefs.h <<_ACEOF
68502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68503 _ACEOF
68506 done
68511 echo "$as_me:$LINENO: checking for _long double round functions" >&5
68512 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
68513 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
68514 echo $ECHO_N "(cached) $ECHO_C" >&6
68515 else
68519 ac_ext=cc
68520 ac_cpp='$CXXCPP $CPPFLAGS'
68521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68525 cat >conftest.$ac_ext <<_ACEOF
68526 /* confdefs.h. */
68527 _ACEOF
68528 cat confdefs.h >>conftest.$ac_ext
68529 cat >>conftest.$ac_ext <<_ACEOF
68530 /* end confdefs.h. */
68531 #include <math.h>
68533 main ()
68535 `for x in _ceill _floorl; do echo "$x (0);"; done`
68537 return 0;
68539 _ACEOF
68540 rm -f conftest.$ac_objext
68541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68542 (eval $ac_compile) 2>conftest.er1
68543 ac_status=$?
68544 grep -v '^ *+' conftest.er1 >conftest.err
68545 rm -f conftest.er1
68546 cat conftest.err >&5
68547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68548 (exit $ac_status); } &&
68549 { ac_try='test -z "$ac_cxx_werror_flag"
68550 || test ! -s conftest.err'
68551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68552 (eval $ac_try) 2>&5
68553 ac_status=$?
68554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68555 (exit $ac_status); }; } &&
68556 { ac_try='test -s conftest.$ac_objext'
68557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68558 (eval $ac_try) 2>&5
68559 ac_status=$?
68560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68561 (exit $ac_status); }; }; then
68562 glibcxx_cv_func__long_double_round_use=yes
68563 else
68564 echo "$as_me: failed program was:" >&5
68565 sed 's/^/| /' conftest.$ac_ext >&5
68567 glibcxx_cv_func__long_double_round_use=no
68569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68570 ac_ext=c
68571 ac_cpp='$CPP $CPPFLAGS'
68572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
68579 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
68580 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68583 for ac_func in _ceill _floorl
68585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68586 echo "$as_me:$LINENO: checking for $ac_func" >&5
68587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68588 if eval "test \"\${$as_ac_var+set}\" = set"; then
68589 echo $ECHO_N "(cached) $ECHO_C" >&6
68590 else
68591 if test x$gcc_no_link = xyes; then
68592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68594 { (exit 1); exit 1; }; }
68596 cat >conftest.$ac_ext <<_ACEOF
68597 /* confdefs.h. */
68598 _ACEOF
68599 cat confdefs.h >>conftest.$ac_ext
68600 cat >>conftest.$ac_ext <<_ACEOF
68601 /* end confdefs.h. */
68602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68604 #define $ac_func innocuous_$ac_func
68606 /* System header to define __stub macros and hopefully few prototypes,
68607 which can conflict with char $ac_func (); below.
68608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68609 <limits.h> exists even on freestanding compilers. */
68611 #ifdef __STDC__
68612 # include <limits.h>
68613 #else
68614 # include <assert.h>
68615 #endif
68617 #undef $ac_func
68619 /* Override any gcc2 internal prototype to avoid an error. */
68620 #ifdef __cplusplus
68621 extern "C"
68623 #endif
68624 /* We use char because int might match the return type of a gcc2
68625 builtin and then its argument prototype would still apply. */
68626 char $ac_func ();
68627 /* The GNU C library defines this for functions which it implements
68628 to always fail with ENOSYS. Some functions are actually named
68629 something starting with __ and the normal name is an alias. */
68630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68631 choke me
68632 #else
68633 char (*f) () = $ac_func;
68634 #endif
68635 #ifdef __cplusplus
68637 #endif
68640 main ()
68642 return f != $ac_func;
68644 return 0;
68646 _ACEOF
68647 rm -f conftest.$ac_objext conftest$ac_exeext
68648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68649 (eval $ac_link) 2>conftest.er1
68650 ac_status=$?
68651 grep -v '^ *+' conftest.er1 >conftest.err
68652 rm -f conftest.er1
68653 cat conftest.err >&5
68654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68655 (exit $ac_status); } &&
68656 { ac_try='test -z "$ac_c_werror_flag"
68657 || test ! -s conftest.err'
68658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68659 (eval $ac_try) 2>&5
68660 ac_status=$?
68661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68662 (exit $ac_status); }; } &&
68663 { ac_try='test -s conftest$ac_exeext'
68664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68665 (eval $ac_try) 2>&5
68666 ac_status=$?
68667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68668 (exit $ac_status); }; }; then
68669 eval "$as_ac_var=yes"
68670 else
68671 echo "$as_me: failed program was:" >&5
68672 sed 's/^/| /' conftest.$ac_ext >&5
68674 eval "$as_ac_var=no"
68676 rm -f conftest.err conftest.$ac_objext \
68677 conftest$ac_exeext conftest.$ac_ext
68679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68681 if test `eval echo '${'$as_ac_var'}'` = yes; then
68682 cat >>confdefs.h <<_ACEOF
68683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68684 _ACEOF
68687 done
68692 LIBS="$ac_save_LIBS"
68693 CXXFLAGS="$ac_save_CXXFLAGS"
68697 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
68698 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
68699 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
68700 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
68701 echo $ECHO_N "(cached) $ECHO_C" >&6
68702 else
68706 ac_ext=cc
68707 ac_cpp='$CXXCPP $CPPFLAGS'
68708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68712 cat >conftest.$ac_ext <<_ACEOF
68713 /* confdefs.h. */
68714 _ACEOF
68715 cat confdefs.h >>conftest.$ac_ext
68716 cat >>conftest.$ac_ext <<_ACEOF
68717 /* end confdefs.h. */
68718 #include <math.h>
68720 main ()
68722 __builtin_abs(0);
68724 return 0;
68726 _ACEOF
68727 rm -f conftest.$ac_objext
68728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68729 (eval $ac_compile) 2>conftest.er1
68730 ac_status=$?
68731 grep -v '^ *+' conftest.er1 >conftest.err
68732 rm -f conftest.er1
68733 cat conftest.err >&5
68734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68735 (exit $ac_status); } &&
68736 { ac_try='test -z "$ac_cxx_werror_flag"
68737 || test ! -s conftest.err'
68738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68739 (eval $ac_try) 2>&5
68740 ac_status=$?
68741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68742 (exit $ac_status); }; } &&
68743 { ac_try='test -s conftest.$ac_objext'
68744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68745 (eval $ac_try) 2>&5
68746 ac_status=$?
68747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68748 (exit $ac_status); }; }; then
68749 glibcxx_cv_func___builtin_abs_use=yes
68750 else
68751 echo "$as_me: failed program was:" >&5
68752 sed 's/^/| /' conftest.$ac_ext >&5
68754 glibcxx_cv_func___builtin_abs_use=no
68756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68757 ac_ext=c
68758 ac_cpp='$CPP $CPPFLAGS'
68759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68767 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
68768 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
68769 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
68770 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
68771 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
68772 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
68773 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
68774 echo $ECHO_N "(cached) $ECHO_C" >&6
68775 else
68777 if test x$gcc_no_link = xyes; then
68778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68780 { (exit 1); exit 1; }; }
68782 cat >conftest.$ac_ext <<_ACEOF
68783 /* confdefs.h. */
68784 _ACEOF
68785 cat confdefs.h >>conftest.$ac_ext
68786 cat >>conftest.$ac_ext <<_ACEOF
68787 /* end confdefs.h. */
68788 #include <math.h>
68790 main ()
68792 __builtin_abs(0);
68794 return 0;
68796 _ACEOF
68797 rm -f conftest.$ac_objext conftest$ac_exeext
68798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68799 (eval $ac_link) 2>conftest.er1
68800 ac_status=$?
68801 grep -v '^ *+' conftest.er1 >conftest.err
68802 rm -f conftest.er1
68803 cat conftest.err >&5
68804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68805 (exit $ac_status); } &&
68806 { ac_try='test -z "$ac_c_werror_flag"
68807 || test ! -s conftest.err'
68808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68809 (eval $ac_try) 2>&5
68810 ac_status=$?
68811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68812 (exit $ac_status); }; } &&
68813 { ac_try='test -s conftest$ac_exeext'
68814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68815 (eval $ac_try) 2>&5
68816 ac_status=$?
68817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68818 (exit $ac_status); }; }; then
68819 glibcxx_cv_func___builtin_abs_link=yes
68820 else
68821 echo "$as_me: failed program was:" >&5
68822 sed 's/^/| /' conftest.$ac_ext >&5
68824 glibcxx_cv_func___builtin_abs_link=no
68826 rm -f conftest.err conftest.$ac_objext \
68827 conftest$ac_exeext conftest.$ac_ext
68832 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
68833 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
68835 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
68837 cat >>confdefs.h <<\_ACEOF
68838 #define HAVE___BUILTIN_ABS 1
68839 _ACEOF
68846 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
68847 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
68848 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
68849 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
68850 echo $ECHO_N "(cached) $ECHO_C" >&6
68851 else
68855 ac_ext=cc
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68861 cat >conftest.$ac_ext <<_ACEOF
68862 /* confdefs.h. */
68863 _ACEOF
68864 cat confdefs.h >>conftest.$ac_ext
68865 cat >>conftest.$ac_ext <<_ACEOF
68866 /* end confdefs.h. */
68867 #include <math.h>
68869 main ()
68871 __builtin_fabsf(0);
68873 return 0;
68875 _ACEOF
68876 rm -f conftest.$ac_objext
68877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68878 (eval $ac_compile) 2>conftest.er1
68879 ac_status=$?
68880 grep -v '^ *+' conftest.er1 >conftest.err
68881 rm -f conftest.er1
68882 cat conftest.err >&5
68883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68884 (exit $ac_status); } &&
68885 { ac_try='test -z "$ac_cxx_werror_flag"
68886 || test ! -s conftest.err'
68887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68888 (eval $ac_try) 2>&5
68889 ac_status=$?
68890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68891 (exit $ac_status); }; } &&
68892 { ac_try='test -s conftest.$ac_objext'
68893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68894 (eval $ac_try) 2>&5
68895 ac_status=$?
68896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68897 (exit $ac_status); }; }; then
68898 glibcxx_cv_func___builtin_fabsf_use=yes
68899 else
68900 echo "$as_me: failed program was:" >&5
68901 sed 's/^/| /' conftest.$ac_ext >&5
68903 glibcxx_cv_func___builtin_fabsf_use=no
68905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68906 ac_ext=c
68907 ac_cpp='$CPP $CPPFLAGS'
68908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68916 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
68917 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
68918 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
68919 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
68920 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
68921 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
68922 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
68923 echo $ECHO_N "(cached) $ECHO_C" >&6
68924 else
68926 if test x$gcc_no_link = xyes; then
68927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68929 { (exit 1); exit 1; }; }
68931 cat >conftest.$ac_ext <<_ACEOF
68932 /* confdefs.h. */
68933 _ACEOF
68934 cat confdefs.h >>conftest.$ac_ext
68935 cat >>conftest.$ac_ext <<_ACEOF
68936 /* end confdefs.h. */
68937 #include <math.h>
68939 main ()
68941 __builtin_fabsf(0);
68943 return 0;
68945 _ACEOF
68946 rm -f conftest.$ac_objext conftest$ac_exeext
68947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68948 (eval $ac_link) 2>conftest.er1
68949 ac_status=$?
68950 grep -v '^ *+' conftest.er1 >conftest.err
68951 rm -f conftest.er1
68952 cat conftest.err >&5
68953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68954 (exit $ac_status); } &&
68955 { ac_try='test -z "$ac_c_werror_flag"
68956 || test ! -s conftest.err'
68957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68958 (eval $ac_try) 2>&5
68959 ac_status=$?
68960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68961 (exit $ac_status); }; } &&
68962 { ac_try='test -s conftest$ac_exeext'
68963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68964 (eval $ac_try) 2>&5
68965 ac_status=$?
68966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68967 (exit $ac_status); }; }; then
68968 glibcxx_cv_func___builtin_fabsf_link=yes
68969 else
68970 echo "$as_me: failed program was:" >&5
68971 sed 's/^/| /' conftest.$ac_ext >&5
68973 glibcxx_cv_func___builtin_fabsf_link=no
68975 rm -f conftest.err conftest.$ac_objext \
68976 conftest$ac_exeext conftest.$ac_ext
68981 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
68982 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
68984 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
68986 cat >>confdefs.h <<\_ACEOF
68987 #define HAVE___BUILTIN_FABSF 1
68988 _ACEOF
68995 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
68996 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
68997 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
68998 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
68999 echo $ECHO_N "(cached) $ECHO_C" >&6
69000 else
69004 ac_ext=cc
69005 ac_cpp='$CXXCPP $CPPFLAGS'
69006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69010 cat >conftest.$ac_ext <<_ACEOF
69011 /* confdefs.h. */
69012 _ACEOF
69013 cat confdefs.h >>conftest.$ac_ext
69014 cat >>conftest.$ac_ext <<_ACEOF
69015 /* end confdefs.h. */
69016 #include <math.h>
69018 main ()
69020 __builtin_fabs(0);
69022 return 0;
69024 _ACEOF
69025 rm -f conftest.$ac_objext
69026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69027 (eval $ac_compile) 2>conftest.er1
69028 ac_status=$?
69029 grep -v '^ *+' conftest.er1 >conftest.err
69030 rm -f conftest.er1
69031 cat conftest.err >&5
69032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69033 (exit $ac_status); } &&
69034 { ac_try='test -z "$ac_cxx_werror_flag"
69035 || test ! -s conftest.err'
69036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69037 (eval $ac_try) 2>&5
69038 ac_status=$?
69039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69040 (exit $ac_status); }; } &&
69041 { ac_try='test -s conftest.$ac_objext'
69042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69043 (eval $ac_try) 2>&5
69044 ac_status=$?
69045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69046 (exit $ac_status); }; }; then
69047 glibcxx_cv_func___builtin_fabs_use=yes
69048 else
69049 echo "$as_me: failed program was:" >&5
69050 sed 's/^/| /' conftest.$ac_ext >&5
69052 glibcxx_cv_func___builtin_fabs_use=no
69054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69055 ac_ext=c
69056 ac_cpp='$CPP $CPPFLAGS'
69057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69065 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
69066 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
69067 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
69068 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
69069 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
69070 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
69071 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
69072 echo $ECHO_N "(cached) $ECHO_C" >&6
69073 else
69075 if test x$gcc_no_link = xyes; then
69076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69078 { (exit 1); exit 1; }; }
69080 cat >conftest.$ac_ext <<_ACEOF
69081 /* confdefs.h. */
69082 _ACEOF
69083 cat confdefs.h >>conftest.$ac_ext
69084 cat >>conftest.$ac_ext <<_ACEOF
69085 /* end confdefs.h. */
69086 #include <math.h>
69088 main ()
69090 __builtin_fabs(0);
69092 return 0;
69094 _ACEOF
69095 rm -f conftest.$ac_objext conftest$ac_exeext
69096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69097 (eval $ac_link) 2>conftest.er1
69098 ac_status=$?
69099 grep -v '^ *+' conftest.er1 >conftest.err
69100 rm -f conftest.er1
69101 cat conftest.err >&5
69102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69103 (exit $ac_status); } &&
69104 { ac_try='test -z "$ac_c_werror_flag"
69105 || test ! -s conftest.err'
69106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69107 (eval $ac_try) 2>&5
69108 ac_status=$?
69109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69110 (exit $ac_status); }; } &&
69111 { ac_try='test -s conftest$ac_exeext'
69112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69113 (eval $ac_try) 2>&5
69114 ac_status=$?
69115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69116 (exit $ac_status); }; }; then
69117 glibcxx_cv_func___builtin_fabs_link=yes
69118 else
69119 echo "$as_me: failed program was:" >&5
69120 sed 's/^/| /' conftest.$ac_ext >&5
69122 glibcxx_cv_func___builtin_fabs_link=no
69124 rm -f conftest.err conftest.$ac_objext \
69125 conftest$ac_exeext conftest.$ac_ext
69130 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
69131 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
69133 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
69135 cat >>confdefs.h <<\_ACEOF
69136 #define HAVE___BUILTIN_FABS 1
69137 _ACEOF
69144 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
69145 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
69146 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
69147 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
69148 echo $ECHO_N "(cached) $ECHO_C" >&6
69149 else
69153 ac_ext=cc
69154 ac_cpp='$CXXCPP $CPPFLAGS'
69155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159 cat >conftest.$ac_ext <<_ACEOF
69160 /* confdefs.h. */
69161 _ACEOF
69162 cat confdefs.h >>conftest.$ac_ext
69163 cat >>conftest.$ac_ext <<_ACEOF
69164 /* end confdefs.h. */
69165 #include <math.h>
69167 main ()
69169 __builtin_fabsl(0);
69171 return 0;
69173 _ACEOF
69174 rm -f conftest.$ac_objext
69175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69176 (eval $ac_compile) 2>conftest.er1
69177 ac_status=$?
69178 grep -v '^ *+' conftest.er1 >conftest.err
69179 rm -f conftest.er1
69180 cat conftest.err >&5
69181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182 (exit $ac_status); } &&
69183 { ac_try='test -z "$ac_cxx_werror_flag"
69184 || test ! -s conftest.err'
69185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69186 (eval $ac_try) 2>&5
69187 ac_status=$?
69188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69189 (exit $ac_status); }; } &&
69190 { ac_try='test -s conftest.$ac_objext'
69191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69192 (eval $ac_try) 2>&5
69193 ac_status=$?
69194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69195 (exit $ac_status); }; }; then
69196 glibcxx_cv_func___builtin_fabsl_use=yes
69197 else
69198 echo "$as_me: failed program was:" >&5
69199 sed 's/^/| /' conftest.$ac_ext >&5
69201 glibcxx_cv_func___builtin_fabsl_use=no
69203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69214 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
69215 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
69216 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
69217 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
69218 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
69219 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
69220 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
69221 echo $ECHO_N "(cached) $ECHO_C" >&6
69222 else
69224 if test x$gcc_no_link = xyes; then
69225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69227 { (exit 1); exit 1; }; }
69229 cat >conftest.$ac_ext <<_ACEOF
69230 /* confdefs.h. */
69231 _ACEOF
69232 cat confdefs.h >>conftest.$ac_ext
69233 cat >>conftest.$ac_ext <<_ACEOF
69234 /* end confdefs.h. */
69235 #include <math.h>
69237 main ()
69239 __builtin_fabsl(0);
69241 return 0;
69243 _ACEOF
69244 rm -f conftest.$ac_objext conftest$ac_exeext
69245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69246 (eval $ac_link) 2>conftest.er1
69247 ac_status=$?
69248 grep -v '^ *+' conftest.er1 >conftest.err
69249 rm -f conftest.er1
69250 cat conftest.err >&5
69251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69252 (exit $ac_status); } &&
69253 { ac_try='test -z "$ac_c_werror_flag"
69254 || test ! -s conftest.err'
69255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69256 (eval $ac_try) 2>&5
69257 ac_status=$?
69258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69259 (exit $ac_status); }; } &&
69260 { ac_try='test -s conftest$ac_exeext'
69261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69262 (eval $ac_try) 2>&5
69263 ac_status=$?
69264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265 (exit $ac_status); }; }; then
69266 glibcxx_cv_func___builtin_fabsl_link=yes
69267 else
69268 echo "$as_me: failed program was:" >&5
69269 sed 's/^/| /' conftest.$ac_ext >&5
69271 glibcxx_cv_func___builtin_fabsl_link=no
69273 rm -f conftest.err conftest.$ac_objext \
69274 conftest$ac_exeext conftest.$ac_ext
69279 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
69280 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
69282 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
69284 cat >>confdefs.h <<\_ACEOF
69285 #define HAVE___BUILTIN_FABSL 1
69286 _ACEOF
69293 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
69294 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
69295 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
69296 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
69297 echo $ECHO_N "(cached) $ECHO_C" >&6
69298 else
69302 ac_ext=cc
69303 ac_cpp='$CXXCPP $CPPFLAGS'
69304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69308 cat >conftest.$ac_ext <<_ACEOF
69309 /* confdefs.h. */
69310 _ACEOF
69311 cat confdefs.h >>conftest.$ac_ext
69312 cat >>conftest.$ac_ext <<_ACEOF
69313 /* end confdefs.h. */
69314 #include <math.h>
69316 main ()
69318 __builtin_labs(0);
69320 return 0;
69322 _ACEOF
69323 rm -f conftest.$ac_objext
69324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69325 (eval $ac_compile) 2>conftest.er1
69326 ac_status=$?
69327 grep -v '^ *+' conftest.er1 >conftest.err
69328 rm -f conftest.er1
69329 cat conftest.err >&5
69330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69331 (exit $ac_status); } &&
69332 { ac_try='test -z "$ac_cxx_werror_flag"
69333 || test ! -s conftest.err'
69334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69335 (eval $ac_try) 2>&5
69336 ac_status=$?
69337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69338 (exit $ac_status); }; } &&
69339 { ac_try='test -s conftest.$ac_objext'
69340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69341 (eval $ac_try) 2>&5
69342 ac_status=$?
69343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69344 (exit $ac_status); }; }; then
69345 glibcxx_cv_func___builtin_labs_use=yes
69346 else
69347 echo "$as_me: failed program was:" >&5
69348 sed 's/^/| /' conftest.$ac_ext >&5
69350 glibcxx_cv_func___builtin_labs_use=no
69352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69353 ac_ext=c
69354 ac_cpp='$CPP $CPPFLAGS'
69355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
69364 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
69365 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
69366 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
69367 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
69368 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
69369 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
69370 echo $ECHO_N "(cached) $ECHO_C" >&6
69371 else
69373 if test x$gcc_no_link = xyes; then
69374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69376 { (exit 1); exit 1; }; }
69378 cat >conftest.$ac_ext <<_ACEOF
69379 /* confdefs.h. */
69380 _ACEOF
69381 cat confdefs.h >>conftest.$ac_ext
69382 cat >>conftest.$ac_ext <<_ACEOF
69383 /* end confdefs.h. */
69384 #include <math.h>
69386 main ()
69388 __builtin_labs(0);
69390 return 0;
69392 _ACEOF
69393 rm -f conftest.$ac_objext conftest$ac_exeext
69394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69395 (eval $ac_link) 2>conftest.er1
69396 ac_status=$?
69397 grep -v '^ *+' conftest.er1 >conftest.err
69398 rm -f conftest.er1
69399 cat conftest.err >&5
69400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69401 (exit $ac_status); } &&
69402 { ac_try='test -z "$ac_c_werror_flag"
69403 || test ! -s conftest.err'
69404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69405 (eval $ac_try) 2>&5
69406 ac_status=$?
69407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69408 (exit $ac_status); }; } &&
69409 { ac_try='test -s conftest$ac_exeext'
69410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69411 (eval $ac_try) 2>&5
69412 ac_status=$?
69413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414 (exit $ac_status); }; }; then
69415 glibcxx_cv_func___builtin_labs_link=yes
69416 else
69417 echo "$as_me: failed program was:" >&5
69418 sed 's/^/| /' conftest.$ac_ext >&5
69420 glibcxx_cv_func___builtin_labs_link=no
69422 rm -f conftest.err conftest.$ac_objext \
69423 conftest$ac_exeext conftest.$ac_ext
69428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
69429 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
69431 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
69433 cat >>confdefs.h <<\_ACEOF
69434 #define HAVE___BUILTIN_LABS 1
69435 _ACEOF
69443 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
69444 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
69445 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
69446 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
69447 echo $ECHO_N "(cached) $ECHO_C" >&6
69448 else
69452 ac_ext=cc
69453 ac_cpp='$CXXCPP $CPPFLAGS'
69454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69458 cat >conftest.$ac_ext <<_ACEOF
69459 /* confdefs.h. */
69460 _ACEOF
69461 cat confdefs.h >>conftest.$ac_ext
69462 cat >>conftest.$ac_ext <<_ACEOF
69463 /* end confdefs.h. */
69464 #include <math.h>
69466 main ()
69468 __builtin_sqrtf(0);
69470 return 0;
69472 _ACEOF
69473 rm -f conftest.$ac_objext
69474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69475 (eval $ac_compile) 2>conftest.er1
69476 ac_status=$?
69477 grep -v '^ *+' conftest.er1 >conftest.err
69478 rm -f conftest.er1
69479 cat conftest.err >&5
69480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69481 (exit $ac_status); } &&
69482 { ac_try='test -z "$ac_cxx_werror_flag"
69483 || test ! -s conftest.err'
69484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69485 (eval $ac_try) 2>&5
69486 ac_status=$?
69487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69488 (exit $ac_status); }; } &&
69489 { ac_try='test -s conftest.$ac_objext'
69490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69491 (eval $ac_try) 2>&5
69492 ac_status=$?
69493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69494 (exit $ac_status); }; }; then
69495 glibcxx_cv_func___builtin_sqrtf_use=yes
69496 else
69497 echo "$as_me: failed program was:" >&5
69498 sed 's/^/| /' conftest.$ac_ext >&5
69500 glibcxx_cv_func___builtin_sqrtf_use=no
69502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69503 ac_ext=c
69504 ac_cpp='$CPP $CPPFLAGS'
69505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
69514 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
69515 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
69516 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
69517 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
69518 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
69519 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
69520 echo $ECHO_N "(cached) $ECHO_C" >&6
69521 else
69523 if test x$gcc_no_link = xyes; then
69524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69526 { (exit 1); exit 1; }; }
69528 cat >conftest.$ac_ext <<_ACEOF
69529 /* confdefs.h. */
69530 _ACEOF
69531 cat confdefs.h >>conftest.$ac_ext
69532 cat >>conftest.$ac_ext <<_ACEOF
69533 /* end confdefs.h. */
69534 #include <math.h>
69536 main ()
69538 __builtin_sqrtf(0);
69540 return 0;
69542 _ACEOF
69543 rm -f conftest.$ac_objext conftest$ac_exeext
69544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69545 (eval $ac_link) 2>conftest.er1
69546 ac_status=$?
69547 grep -v '^ *+' conftest.er1 >conftest.err
69548 rm -f conftest.er1
69549 cat conftest.err >&5
69550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69551 (exit $ac_status); } &&
69552 { ac_try='test -z "$ac_c_werror_flag"
69553 || test ! -s conftest.err'
69554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69555 (eval $ac_try) 2>&5
69556 ac_status=$?
69557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69558 (exit $ac_status); }; } &&
69559 { ac_try='test -s conftest$ac_exeext'
69560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69561 (eval $ac_try) 2>&5
69562 ac_status=$?
69563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69564 (exit $ac_status); }; }; then
69565 glibcxx_cv_func___builtin_sqrtf_link=yes
69566 else
69567 echo "$as_me: failed program was:" >&5
69568 sed 's/^/| /' conftest.$ac_ext >&5
69570 glibcxx_cv_func___builtin_sqrtf_link=no
69572 rm -f conftest.err conftest.$ac_objext \
69573 conftest$ac_exeext conftest.$ac_ext
69578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
69579 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
69581 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
69583 cat >>confdefs.h <<\_ACEOF
69584 #define HAVE___BUILTIN_SQRTF 1
69585 _ACEOF
69592 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
69593 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
69594 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
69595 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
69596 echo $ECHO_N "(cached) $ECHO_C" >&6
69597 else
69601 ac_ext=cc
69602 ac_cpp='$CXXCPP $CPPFLAGS'
69603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69607 cat >conftest.$ac_ext <<_ACEOF
69608 /* confdefs.h. */
69609 _ACEOF
69610 cat confdefs.h >>conftest.$ac_ext
69611 cat >>conftest.$ac_ext <<_ACEOF
69612 /* end confdefs.h. */
69613 #include <math.h>
69615 main ()
69617 __builtin_sqrt(0);
69619 return 0;
69621 _ACEOF
69622 rm -f conftest.$ac_objext
69623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69624 (eval $ac_compile) 2>conftest.er1
69625 ac_status=$?
69626 grep -v '^ *+' conftest.er1 >conftest.err
69627 rm -f conftest.er1
69628 cat conftest.err >&5
69629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69630 (exit $ac_status); } &&
69631 { ac_try='test -z "$ac_cxx_werror_flag"
69632 || test ! -s conftest.err'
69633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69634 (eval $ac_try) 2>&5
69635 ac_status=$?
69636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69637 (exit $ac_status); }; } &&
69638 { ac_try='test -s conftest.$ac_objext'
69639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69640 (eval $ac_try) 2>&5
69641 ac_status=$?
69642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69643 (exit $ac_status); }; }; then
69644 glibcxx_cv_func___builtin_sqrt_use=yes
69645 else
69646 echo "$as_me: failed program was:" >&5
69647 sed 's/^/| /' conftest.$ac_ext >&5
69649 glibcxx_cv_func___builtin_sqrt_use=no
69651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69652 ac_ext=c
69653 ac_cpp='$CPP $CPPFLAGS'
69654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69662 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
69663 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
69664 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
69665 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
69666 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
69667 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
69668 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
69669 echo $ECHO_N "(cached) $ECHO_C" >&6
69670 else
69672 if test x$gcc_no_link = xyes; then
69673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69675 { (exit 1); exit 1; }; }
69677 cat >conftest.$ac_ext <<_ACEOF
69678 /* confdefs.h. */
69679 _ACEOF
69680 cat confdefs.h >>conftest.$ac_ext
69681 cat >>conftest.$ac_ext <<_ACEOF
69682 /* end confdefs.h. */
69683 #include <math.h>
69685 main ()
69687 __builtin_sqrt(0);
69689 return 0;
69691 _ACEOF
69692 rm -f conftest.$ac_objext conftest$ac_exeext
69693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69694 (eval $ac_link) 2>conftest.er1
69695 ac_status=$?
69696 grep -v '^ *+' conftest.er1 >conftest.err
69697 rm -f conftest.er1
69698 cat conftest.err >&5
69699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69700 (exit $ac_status); } &&
69701 { ac_try='test -z "$ac_c_werror_flag"
69702 || test ! -s conftest.err'
69703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69704 (eval $ac_try) 2>&5
69705 ac_status=$?
69706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69707 (exit $ac_status); }; } &&
69708 { ac_try='test -s conftest$ac_exeext'
69709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69710 (eval $ac_try) 2>&5
69711 ac_status=$?
69712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69713 (exit $ac_status); }; }; then
69714 glibcxx_cv_func___builtin_sqrt_link=yes
69715 else
69716 echo "$as_me: failed program was:" >&5
69717 sed 's/^/| /' conftest.$ac_ext >&5
69719 glibcxx_cv_func___builtin_sqrt_link=no
69721 rm -f conftest.err conftest.$ac_objext \
69722 conftest$ac_exeext conftest.$ac_ext
69727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
69728 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
69730 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
69732 cat >>confdefs.h <<\_ACEOF
69733 #define HAVE___BUILTIN_SQRT 1
69734 _ACEOF
69741 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
69742 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
69743 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
69744 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
69745 echo $ECHO_N "(cached) $ECHO_C" >&6
69746 else
69750 ac_ext=cc
69751 ac_cpp='$CXXCPP $CPPFLAGS'
69752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69756 cat >conftest.$ac_ext <<_ACEOF
69757 /* confdefs.h. */
69758 _ACEOF
69759 cat confdefs.h >>conftest.$ac_ext
69760 cat >>conftest.$ac_ext <<_ACEOF
69761 /* end confdefs.h. */
69762 #include <math.h>
69764 main ()
69766 __builtin_sqrtl(0);
69768 return 0;
69770 _ACEOF
69771 rm -f conftest.$ac_objext
69772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69773 (eval $ac_compile) 2>conftest.er1
69774 ac_status=$?
69775 grep -v '^ *+' conftest.er1 >conftest.err
69776 rm -f conftest.er1
69777 cat conftest.err >&5
69778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69779 (exit $ac_status); } &&
69780 { ac_try='test -z "$ac_cxx_werror_flag"
69781 || test ! -s conftest.err'
69782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69783 (eval $ac_try) 2>&5
69784 ac_status=$?
69785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69786 (exit $ac_status); }; } &&
69787 { ac_try='test -s conftest.$ac_objext'
69788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69789 (eval $ac_try) 2>&5
69790 ac_status=$?
69791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69792 (exit $ac_status); }; }; then
69793 glibcxx_cv_func___builtin_sqrtl_use=yes
69794 else
69795 echo "$as_me: failed program was:" >&5
69796 sed 's/^/| /' conftest.$ac_ext >&5
69798 glibcxx_cv_func___builtin_sqrtl_use=no
69800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69801 ac_ext=c
69802 ac_cpp='$CPP $CPPFLAGS'
69803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69811 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
69812 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
69813 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
69814 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
69815 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
69816 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
69817 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
69818 echo $ECHO_N "(cached) $ECHO_C" >&6
69819 else
69821 if test x$gcc_no_link = xyes; then
69822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69824 { (exit 1); exit 1; }; }
69826 cat >conftest.$ac_ext <<_ACEOF
69827 /* confdefs.h. */
69828 _ACEOF
69829 cat confdefs.h >>conftest.$ac_ext
69830 cat >>conftest.$ac_ext <<_ACEOF
69831 /* end confdefs.h. */
69832 #include <math.h>
69834 main ()
69836 __builtin_sqrtl(0);
69838 return 0;
69840 _ACEOF
69841 rm -f conftest.$ac_objext conftest$ac_exeext
69842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69843 (eval $ac_link) 2>conftest.er1
69844 ac_status=$?
69845 grep -v '^ *+' conftest.er1 >conftest.err
69846 rm -f conftest.er1
69847 cat conftest.err >&5
69848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69849 (exit $ac_status); } &&
69850 { ac_try='test -z "$ac_c_werror_flag"
69851 || test ! -s conftest.err'
69852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69853 (eval $ac_try) 2>&5
69854 ac_status=$?
69855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69856 (exit $ac_status); }; } &&
69857 { ac_try='test -s conftest$ac_exeext'
69858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69859 (eval $ac_try) 2>&5
69860 ac_status=$?
69861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69862 (exit $ac_status); }; }; then
69863 glibcxx_cv_func___builtin_sqrtl_link=yes
69864 else
69865 echo "$as_me: failed program was:" >&5
69866 sed 's/^/| /' conftest.$ac_ext >&5
69868 glibcxx_cv_func___builtin_sqrtl_link=no
69870 rm -f conftest.err conftest.$ac_objext \
69871 conftest$ac_exeext conftest.$ac_ext
69876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
69877 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
69879 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
69881 cat >>confdefs.h <<\_ACEOF
69882 #define HAVE___BUILTIN_SQRTL 1
69883 _ACEOF
69891 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
69892 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
69893 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
69894 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
69895 echo $ECHO_N "(cached) $ECHO_C" >&6
69896 else
69900 ac_ext=cc
69901 ac_cpp='$CXXCPP $CPPFLAGS'
69902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69906 cat >conftest.$ac_ext <<_ACEOF
69907 /* confdefs.h. */
69908 _ACEOF
69909 cat confdefs.h >>conftest.$ac_ext
69910 cat >>conftest.$ac_ext <<_ACEOF
69911 /* end confdefs.h. */
69912 #include <math.h>
69914 main ()
69916 __builtin_sinf(0);
69918 return 0;
69920 _ACEOF
69921 rm -f conftest.$ac_objext
69922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69923 (eval $ac_compile) 2>conftest.er1
69924 ac_status=$?
69925 grep -v '^ *+' conftest.er1 >conftest.err
69926 rm -f conftest.er1
69927 cat conftest.err >&5
69928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69929 (exit $ac_status); } &&
69930 { ac_try='test -z "$ac_cxx_werror_flag"
69931 || test ! -s conftest.err'
69932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69933 (eval $ac_try) 2>&5
69934 ac_status=$?
69935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936 (exit $ac_status); }; } &&
69937 { ac_try='test -s conftest.$ac_objext'
69938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69939 (eval $ac_try) 2>&5
69940 ac_status=$?
69941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69942 (exit $ac_status); }; }; then
69943 glibcxx_cv_func___builtin_sinf_use=yes
69944 else
69945 echo "$as_me: failed program was:" >&5
69946 sed 's/^/| /' conftest.$ac_ext >&5
69948 glibcxx_cv_func___builtin_sinf_use=no
69950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69951 ac_ext=c
69952 ac_cpp='$CPP $CPPFLAGS'
69953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
69962 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
69963 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
69964 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
69965 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
69966 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
69967 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
69968 echo $ECHO_N "(cached) $ECHO_C" >&6
69969 else
69971 if test x$gcc_no_link = xyes; then
69972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69974 { (exit 1); exit 1; }; }
69976 cat >conftest.$ac_ext <<_ACEOF
69977 /* confdefs.h. */
69978 _ACEOF
69979 cat confdefs.h >>conftest.$ac_ext
69980 cat >>conftest.$ac_ext <<_ACEOF
69981 /* end confdefs.h. */
69982 #include <math.h>
69984 main ()
69986 __builtin_sinf(0);
69988 return 0;
69990 _ACEOF
69991 rm -f conftest.$ac_objext conftest$ac_exeext
69992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69993 (eval $ac_link) 2>conftest.er1
69994 ac_status=$?
69995 grep -v '^ *+' conftest.er1 >conftest.err
69996 rm -f conftest.er1
69997 cat conftest.err >&5
69998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69999 (exit $ac_status); } &&
70000 { ac_try='test -z "$ac_c_werror_flag"
70001 || test ! -s conftest.err'
70002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70003 (eval $ac_try) 2>&5
70004 ac_status=$?
70005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70006 (exit $ac_status); }; } &&
70007 { ac_try='test -s conftest$ac_exeext'
70008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70009 (eval $ac_try) 2>&5
70010 ac_status=$?
70011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70012 (exit $ac_status); }; }; then
70013 glibcxx_cv_func___builtin_sinf_link=yes
70014 else
70015 echo "$as_me: failed program was:" >&5
70016 sed 's/^/| /' conftest.$ac_ext >&5
70018 glibcxx_cv_func___builtin_sinf_link=no
70020 rm -f conftest.err conftest.$ac_objext \
70021 conftest$ac_exeext conftest.$ac_ext
70026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
70027 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
70029 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
70031 cat >>confdefs.h <<\_ACEOF
70032 #define HAVE___BUILTIN_SINF 1
70033 _ACEOF
70040 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
70041 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
70042 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
70043 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
70044 echo $ECHO_N "(cached) $ECHO_C" >&6
70045 else
70049 ac_ext=cc
70050 ac_cpp='$CXXCPP $CPPFLAGS'
70051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70055 cat >conftest.$ac_ext <<_ACEOF
70056 /* confdefs.h. */
70057 _ACEOF
70058 cat confdefs.h >>conftest.$ac_ext
70059 cat >>conftest.$ac_ext <<_ACEOF
70060 /* end confdefs.h. */
70061 #include <math.h>
70063 main ()
70065 __builtin_sin(0);
70067 return 0;
70069 _ACEOF
70070 rm -f conftest.$ac_objext
70071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70072 (eval $ac_compile) 2>conftest.er1
70073 ac_status=$?
70074 grep -v '^ *+' conftest.er1 >conftest.err
70075 rm -f conftest.er1
70076 cat conftest.err >&5
70077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70078 (exit $ac_status); } &&
70079 { ac_try='test -z "$ac_cxx_werror_flag"
70080 || test ! -s conftest.err'
70081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70082 (eval $ac_try) 2>&5
70083 ac_status=$?
70084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70085 (exit $ac_status); }; } &&
70086 { ac_try='test -s conftest.$ac_objext'
70087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70088 (eval $ac_try) 2>&5
70089 ac_status=$?
70090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70091 (exit $ac_status); }; }; then
70092 glibcxx_cv_func___builtin_sin_use=yes
70093 else
70094 echo "$as_me: failed program was:" >&5
70095 sed 's/^/| /' conftest.$ac_ext >&5
70097 glibcxx_cv_func___builtin_sin_use=no
70099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70100 ac_ext=c
70101 ac_cpp='$CPP $CPPFLAGS'
70102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70110 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
70111 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
70112 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
70113 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
70114 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
70115 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
70116 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
70117 echo $ECHO_N "(cached) $ECHO_C" >&6
70118 else
70120 if test x$gcc_no_link = xyes; then
70121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70123 { (exit 1); exit 1; }; }
70125 cat >conftest.$ac_ext <<_ACEOF
70126 /* confdefs.h. */
70127 _ACEOF
70128 cat confdefs.h >>conftest.$ac_ext
70129 cat >>conftest.$ac_ext <<_ACEOF
70130 /* end confdefs.h. */
70131 #include <math.h>
70133 main ()
70135 __builtin_sin(0);
70137 return 0;
70139 _ACEOF
70140 rm -f conftest.$ac_objext conftest$ac_exeext
70141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70142 (eval $ac_link) 2>conftest.er1
70143 ac_status=$?
70144 grep -v '^ *+' conftest.er1 >conftest.err
70145 rm -f conftest.er1
70146 cat conftest.err >&5
70147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70148 (exit $ac_status); } &&
70149 { ac_try='test -z "$ac_c_werror_flag"
70150 || test ! -s conftest.err'
70151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70152 (eval $ac_try) 2>&5
70153 ac_status=$?
70154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70155 (exit $ac_status); }; } &&
70156 { ac_try='test -s conftest$ac_exeext'
70157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70158 (eval $ac_try) 2>&5
70159 ac_status=$?
70160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70161 (exit $ac_status); }; }; then
70162 glibcxx_cv_func___builtin_sin_link=yes
70163 else
70164 echo "$as_me: failed program was:" >&5
70165 sed 's/^/| /' conftest.$ac_ext >&5
70167 glibcxx_cv_func___builtin_sin_link=no
70169 rm -f conftest.err conftest.$ac_objext \
70170 conftest$ac_exeext conftest.$ac_ext
70175 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
70176 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
70178 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
70180 cat >>confdefs.h <<\_ACEOF
70181 #define HAVE___BUILTIN_SIN 1
70182 _ACEOF
70189 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
70190 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
70191 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
70192 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
70193 echo $ECHO_N "(cached) $ECHO_C" >&6
70194 else
70198 ac_ext=cc
70199 ac_cpp='$CXXCPP $CPPFLAGS'
70200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70204 cat >conftest.$ac_ext <<_ACEOF
70205 /* confdefs.h. */
70206 _ACEOF
70207 cat confdefs.h >>conftest.$ac_ext
70208 cat >>conftest.$ac_ext <<_ACEOF
70209 /* end confdefs.h. */
70210 #include <math.h>
70212 main ()
70214 __builtin_sinl(0);
70216 return 0;
70218 _ACEOF
70219 rm -f conftest.$ac_objext
70220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70221 (eval $ac_compile) 2>conftest.er1
70222 ac_status=$?
70223 grep -v '^ *+' conftest.er1 >conftest.err
70224 rm -f conftest.er1
70225 cat conftest.err >&5
70226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70227 (exit $ac_status); } &&
70228 { ac_try='test -z "$ac_cxx_werror_flag"
70229 || test ! -s conftest.err'
70230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70231 (eval $ac_try) 2>&5
70232 ac_status=$?
70233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70234 (exit $ac_status); }; } &&
70235 { ac_try='test -s conftest.$ac_objext'
70236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70237 (eval $ac_try) 2>&5
70238 ac_status=$?
70239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70240 (exit $ac_status); }; }; then
70241 glibcxx_cv_func___builtin_sinl_use=yes
70242 else
70243 echo "$as_me: failed program was:" >&5
70244 sed 's/^/| /' conftest.$ac_ext >&5
70246 glibcxx_cv_func___builtin_sinl_use=no
70248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70249 ac_ext=c
70250 ac_cpp='$CPP $CPPFLAGS'
70251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70259 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
70260 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
70261 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
70262 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
70263 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
70264 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
70265 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
70266 echo $ECHO_N "(cached) $ECHO_C" >&6
70267 else
70269 if test x$gcc_no_link = xyes; then
70270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70272 { (exit 1); exit 1; }; }
70274 cat >conftest.$ac_ext <<_ACEOF
70275 /* confdefs.h. */
70276 _ACEOF
70277 cat confdefs.h >>conftest.$ac_ext
70278 cat >>conftest.$ac_ext <<_ACEOF
70279 /* end confdefs.h. */
70280 #include <math.h>
70282 main ()
70284 __builtin_sinl(0);
70286 return 0;
70288 _ACEOF
70289 rm -f conftest.$ac_objext conftest$ac_exeext
70290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70291 (eval $ac_link) 2>conftest.er1
70292 ac_status=$?
70293 grep -v '^ *+' conftest.er1 >conftest.err
70294 rm -f conftest.er1
70295 cat conftest.err >&5
70296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70297 (exit $ac_status); } &&
70298 { ac_try='test -z "$ac_c_werror_flag"
70299 || test ! -s conftest.err'
70300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70301 (eval $ac_try) 2>&5
70302 ac_status=$?
70303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70304 (exit $ac_status); }; } &&
70305 { ac_try='test -s conftest$ac_exeext'
70306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70307 (eval $ac_try) 2>&5
70308 ac_status=$?
70309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70310 (exit $ac_status); }; }; then
70311 glibcxx_cv_func___builtin_sinl_link=yes
70312 else
70313 echo "$as_me: failed program was:" >&5
70314 sed 's/^/| /' conftest.$ac_ext >&5
70316 glibcxx_cv_func___builtin_sinl_link=no
70318 rm -f conftest.err conftest.$ac_objext \
70319 conftest$ac_exeext conftest.$ac_ext
70324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
70325 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
70327 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
70329 cat >>confdefs.h <<\_ACEOF
70330 #define HAVE___BUILTIN_SINL 1
70331 _ACEOF
70339 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
70340 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
70341 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
70342 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
70343 echo $ECHO_N "(cached) $ECHO_C" >&6
70344 else
70348 ac_ext=cc
70349 ac_cpp='$CXXCPP $CPPFLAGS'
70350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70354 cat >conftest.$ac_ext <<_ACEOF
70355 /* confdefs.h. */
70356 _ACEOF
70357 cat confdefs.h >>conftest.$ac_ext
70358 cat >>conftest.$ac_ext <<_ACEOF
70359 /* end confdefs.h. */
70360 #include <math.h>
70362 main ()
70364 __builtin_cosf(0);
70366 return 0;
70368 _ACEOF
70369 rm -f conftest.$ac_objext
70370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70371 (eval $ac_compile) 2>conftest.er1
70372 ac_status=$?
70373 grep -v '^ *+' conftest.er1 >conftest.err
70374 rm -f conftest.er1
70375 cat conftest.err >&5
70376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70377 (exit $ac_status); } &&
70378 { ac_try='test -z "$ac_cxx_werror_flag"
70379 || test ! -s conftest.err'
70380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70381 (eval $ac_try) 2>&5
70382 ac_status=$?
70383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70384 (exit $ac_status); }; } &&
70385 { ac_try='test -s conftest.$ac_objext'
70386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70387 (eval $ac_try) 2>&5
70388 ac_status=$?
70389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70390 (exit $ac_status); }; }; then
70391 glibcxx_cv_func___builtin_cosf_use=yes
70392 else
70393 echo "$as_me: failed program was:" >&5
70394 sed 's/^/| /' conftest.$ac_ext >&5
70396 glibcxx_cv_func___builtin_cosf_use=no
70398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70399 ac_ext=c
70400 ac_cpp='$CPP $CPPFLAGS'
70401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
70410 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
70411 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
70412 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
70413 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
70414 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
70415 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
70416 echo $ECHO_N "(cached) $ECHO_C" >&6
70417 else
70419 if test x$gcc_no_link = xyes; then
70420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70422 { (exit 1); exit 1; }; }
70424 cat >conftest.$ac_ext <<_ACEOF
70425 /* confdefs.h. */
70426 _ACEOF
70427 cat confdefs.h >>conftest.$ac_ext
70428 cat >>conftest.$ac_ext <<_ACEOF
70429 /* end confdefs.h. */
70430 #include <math.h>
70432 main ()
70434 __builtin_cosf(0);
70436 return 0;
70438 _ACEOF
70439 rm -f conftest.$ac_objext conftest$ac_exeext
70440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70441 (eval $ac_link) 2>conftest.er1
70442 ac_status=$?
70443 grep -v '^ *+' conftest.er1 >conftest.err
70444 rm -f conftest.er1
70445 cat conftest.err >&5
70446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70447 (exit $ac_status); } &&
70448 { ac_try='test -z "$ac_c_werror_flag"
70449 || test ! -s conftest.err'
70450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70451 (eval $ac_try) 2>&5
70452 ac_status=$?
70453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70454 (exit $ac_status); }; } &&
70455 { ac_try='test -s conftest$ac_exeext'
70456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70457 (eval $ac_try) 2>&5
70458 ac_status=$?
70459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70460 (exit $ac_status); }; }; then
70461 glibcxx_cv_func___builtin_cosf_link=yes
70462 else
70463 echo "$as_me: failed program was:" >&5
70464 sed 's/^/| /' conftest.$ac_ext >&5
70466 glibcxx_cv_func___builtin_cosf_link=no
70468 rm -f conftest.err conftest.$ac_objext \
70469 conftest$ac_exeext conftest.$ac_ext
70474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
70475 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
70477 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
70479 cat >>confdefs.h <<\_ACEOF
70480 #define HAVE___BUILTIN_COSF 1
70481 _ACEOF
70488 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
70489 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
70490 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
70491 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
70492 echo $ECHO_N "(cached) $ECHO_C" >&6
70493 else
70497 ac_ext=cc
70498 ac_cpp='$CXXCPP $CPPFLAGS'
70499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70503 cat >conftest.$ac_ext <<_ACEOF
70504 /* confdefs.h. */
70505 _ACEOF
70506 cat confdefs.h >>conftest.$ac_ext
70507 cat >>conftest.$ac_ext <<_ACEOF
70508 /* end confdefs.h. */
70509 #include <math.h>
70511 main ()
70513 __builtin_cos(0);
70515 return 0;
70517 _ACEOF
70518 rm -f conftest.$ac_objext
70519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70520 (eval $ac_compile) 2>conftest.er1
70521 ac_status=$?
70522 grep -v '^ *+' conftest.er1 >conftest.err
70523 rm -f conftest.er1
70524 cat conftest.err >&5
70525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70526 (exit $ac_status); } &&
70527 { ac_try='test -z "$ac_cxx_werror_flag"
70528 || test ! -s conftest.err'
70529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70530 (eval $ac_try) 2>&5
70531 ac_status=$?
70532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70533 (exit $ac_status); }; } &&
70534 { ac_try='test -s conftest.$ac_objext'
70535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70536 (eval $ac_try) 2>&5
70537 ac_status=$?
70538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539 (exit $ac_status); }; }; then
70540 glibcxx_cv_func___builtin_cos_use=yes
70541 else
70542 echo "$as_me: failed program was:" >&5
70543 sed 's/^/| /' conftest.$ac_ext >&5
70545 glibcxx_cv_func___builtin_cos_use=no
70547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
70559 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
70560 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
70561 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
70562 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
70563 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
70564 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
70565 echo $ECHO_N "(cached) $ECHO_C" >&6
70566 else
70568 if test x$gcc_no_link = xyes; then
70569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70571 { (exit 1); exit 1; }; }
70573 cat >conftest.$ac_ext <<_ACEOF
70574 /* confdefs.h. */
70575 _ACEOF
70576 cat confdefs.h >>conftest.$ac_ext
70577 cat >>conftest.$ac_ext <<_ACEOF
70578 /* end confdefs.h. */
70579 #include <math.h>
70581 main ()
70583 __builtin_cos(0);
70585 return 0;
70587 _ACEOF
70588 rm -f conftest.$ac_objext conftest$ac_exeext
70589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70590 (eval $ac_link) 2>conftest.er1
70591 ac_status=$?
70592 grep -v '^ *+' conftest.er1 >conftest.err
70593 rm -f conftest.er1
70594 cat conftest.err >&5
70595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70596 (exit $ac_status); } &&
70597 { ac_try='test -z "$ac_c_werror_flag"
70598 || test ! -s conftest.err'
70599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70600 (eval $ac_try) 2>&5
70601 ac_status=$?
70602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70603 (exit $ac_status); }; } &&
70604 { ac_try='test -s conftest$ac_exeext'
70605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70606 (eval $ac_try) 2>&5
70607 ac_status=$?
70608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70609 (exit $ac_status); }; }; then
70610 glibcxx_cv_func___builtin_cos_link=yes
70611 else
70612 echo "$as_me: failed program was:" >&5
70613 sed 's/^/| /' conftest.$ac_ext >&5
70615 glibcxx_cv_func___builtin_cos_link=no
70617 rm -f conftest.err conftest.$ac_objext \
70618 conftest$ac_exeext conftest.$ac_ext
70623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
70624 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
70626 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
70628 cat >>confdefs.h <<\_ACEOF
70629 #define HAVE___BUILTIN_COS 1
70630 _ACEOF
70637 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
70638 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
70639 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
70640 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
70641 echo $ECHO_N "(cached) $ECHO_C" >&6
70642 else
70646 ac_ext=cc
70647 ac_cpp='$CXXCPP $CPPFLAGS'
70648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70652 cat >conftest.$ac_ext <<_ACEOF
70653 /* confdefs.h. */
70654 _ACEOF
70655 cat confdefs.h >>conftest.$ac_ext
70656 cat >>conftest.$ac_ext <<_ACEOF
70657 /* end confdefs.h. */
70658 #include <math.h>
70660 main ()
70662 __builtin_cosl(0);
70664 return 0;
70666 _ACEOF
70667 rm -f conftest.$ac_objext
70668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70669 (eval $ac_compile) 2>conftest.er1
70670 ac_status=$?
70671 grep -v '^ *+' conftest.er1 >conftest.err
70672 rm -f conftest.er1
70673 cat conftest.err >&5
70674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70675 (exit $ac_status); } &&
70676 { ac_try='test -z "$ac_cxx_werror_flag"
70677 || test ! -s conftest.err'
70678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70679 (eval $ac_try) 2>&5
70680 ac_status=$?
70681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70682 (exit $ac_status); }; } &&
70683 { ac_try='test -s conftest.$ac_objext'
70684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70685 (eval $ac_try) 2>&5
70686 ac_status=$?
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); }; }; then
70689 glibcxx_cv_func___builtin_cosl_use=yes
70690 else
70691 echo "$as_me: failed program was:" >&5
70692 sed 's/^/| /' conftest.$ac_ext >&5
70694 glibcxx_cv_func___builtin_cosl_use=no
70696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70697 ac_ext=c
70698 ac_cpp='$CPP $CPPFLAGS'
70699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70707 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
70708 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
70709 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
70710 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
70711 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
70712 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
70713 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
70714 echo $ECHO_N "(cached) $ECHO_C" >&6
70715 else
70717 if test x$gcc_no_link = xyes; then
70718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70720 { (exit 1); exit 1; }; }
70722 cat >conftest.$ac_ext <<_ACEOF
70723 /* confdefs.h. */
70724 _ACEOF
70725 cat confdefs.h >>conftest.$ac_ext
70726 cat >>conftest.$ac_ext <<_ACEOF
70727 /* end confdefs.h. */
70728 #include <math.h>
70730 main ()
70732 __builtin_cosl(0);
70734 return 0;
70736 _ACEOF
70737 rm -f conftest.$ac_objext conftest$ac_exeext
70738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70739 (eval $ac_link) 2>conftest.er1
70740 ac_status=$?
70741 grep -v '^ *+' conftest.er1 >conftest.err
70742 rm -f conftest.er1
70743 cat conftest.err >&5
70744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70745 (exit $ac_status); } &&
70746 { ac_try='test -z "$ac_c_werror_flag"
70747 || test ! -s conftest.err'
70748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70749 (eval $ac_try) 2>&5
70750 ac_status=$?
70751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70752 (exit $ac_status); }; } &&
70753 { ac_try='test -s conftest$ac_exeext'
70754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70755 (eval $ac_try) 2>&5
70756 ac_status=$?
70757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70758 (exit $ac_status); }; }; then
70759 glibcxx_cv_func___builtin_cosl_link=yes
70760 else
70761 echo "$as_me: failed program was:" >&5
70762 sed 's/^/| /' conftest.$ac_ext >&5
70764 glibcxx_cv_func___builtin_cosl_link=no
70766 rm -f conftest.err conftest.$ac_objext \
70767 conftest$ac_exeext conftest.$ac_ext
70772 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
70773 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
70775 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
70777 cat >>confdefs.h <<\_ACEOF
70778 #define HAVE___BUILTIN_COSL 1
70779 _ACEOF
70788 echo "$as_me:$LINENO: checking for main in -lm" >&5
70789 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
70790 if test "${ac_cv_lib_m_main+set}" = set; then
70791 echo $ECHO_N "(cached) $ECHO_C" >&6
70792 else
70793 ac_check_lib_save_LIBS=$LIBS
70794 LIBS="-lm $LIBS"
70795 if test x$gcc_no_link = xyes; then
70796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70798 { (exit 1); exit 1; }; }
70800 cat >conftest.$ac_ext <<_ACEOF
70801 /* confdefs.h. */
70802 _ACEOF
70803 cat confdefs.h >>conftest.$ac_ext
70804 cat >>conftest.$ac_ext <<_ACEOF
70805 /* end confdefs.h. */
70809 main ()
70811 main ();
70813 return 0;
70815 _ACEOF
70816 rm -f conftest.$ac_objext conftest$ac_exeext
70817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70818 (eval $ac_link) 2>conftest.er1
70819 ac_status=$?
70820 grep -v '^ *+' conftest.er1 >conftest.err
70821 rm -f conftest.er1
70822 cat conftest.err >&5
70823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70824 (exit $ac_status); } &&
70825 { ac_try='test -z "$ac_c_werror_flag"
70826 || test ! -s conftest.err'
70827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70828 (eval $ac_try) 2>&5
70829 ac_status=$?
70830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70831 (exit $ac_status); }; } &&
70832 { ac_try='test -s conftest$ac_exeext'
70833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70834 (eval $ac_try) 2>&5
70835 ac_status=$?
70836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837 (exit $ac_status); }; }; then
70838 ac_cv_lib_m_main=yes
70839 else
70840 echo "$as_me: failed program was:" >&5
70841 sed 's/^/| /' conftest.$ac_ext >&5
70843 ac_cv_lib_m_main=no
70845 rm -f conftest.err conftest.$ac_objext \
70846 conftest$ac_exeext conftest.$ac_ext
70847 LIBS=$ac_check_lib_save_LIBS
70849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
70850 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
70851 if test $ac_cv_lib_m_main = yes; then
70852 cat >>confdefs.h <<_ACEOF
70853 #define HAVE_LIBM 1
70854 _ACEOF
70856 LIBS="-lm $LIBS"
70861 for ac_func in copysignf
70863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70864 echo "$as_me:$LINENO: checking for $ac_func" >&5
70865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70866 if eval "test \"\${$as_ac_var+set}\" = set"; then
70867 echo $ECHO_N "(cached) $ECHO_C" >&6
70868 else
70869 if test x$gcc_no_link = xyes; then
70870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70872 { (exit 1); exit 1; }; }
70874 cat >conftest.$ac_ext <<_ACEOF
70875 /* confdefs.h. */
70876 _ACEOF
70877 cat confdefs.h >>conftest.$ac_ext
70878 cat >>conftest.$ac_ext <<_ACEOF
70879 /* end confdefs.h. */
70880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70882 #define $ac_func innocuous_$ac_func
70884 /* System header to define __stub macros and hopefully few prototypes,
70885 which can conflict with char $ac_func (); below.
70886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70887 <limits.h> exists even on freestanding compilers. */
70889 #ifdef __STDC__
70890 # include <limits.h>
70891 #else
70892 # include <assert.h>
70893 #endif
70895 #undef $ac_func
70897 /* Override any gcc2 internal prototype to avoid an error. */
70898 #ifdef __cplusplus
70899 extern "C"
70901 #endif
70902 /* We use char because int might match the return type of a gcc2
70903 builtin and then its argument prototype would still apply. */
70904 char $ac_func ();
70905 /* The GNU C library defines this for functions which it implements
70906 to always fail with ENOSYS. Some functions are actually named
70907 something starting with __ and the normal name is an alias. */
70908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70909 choke me
70910 #else
70911 char (*f) () = $ac_func;
70912 #endif
70913 #ifdef __cplusplus
70915 #endif
70918 main ()
70920 return f != $ac_func;
70922 return 0;
70924 _ACEOF
70925 rm -f conftest.$ac_objext conftest$ac_exeext
70926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70927 (eval $ac_link) 2>conftest.er1
70928 ac_status=$?
70929 grep -v '^ *+' conftest.er1 >conftest.err
70930 rm -f conftest.er1
70931 cat conftest.err >&5
70932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70933 (exit $ac_status); } &&
70934 { ac_try='test -z "$ac_c_werror_flag"
70935 || test ! -s conftest.err'
70936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70937 (eval $ac_try) 2>&5
70938 ac_status=$?
70939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70940 (exit $ac_status); }; } &&
70941 { ac_try='test -s conftest$ac_exeext'
70942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70943 (eval $ac_try) 2>&5
70944 ac_status=$?
70945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70946 (exit $ac_status); }; }; then
70947 eval "$as_ac_var=yes"
70948 else
70949 echo "$as_me: failed program was:" >&5
70950 sed 's/^/| /' conftest.$ac_ext >&5
70952 eval "$as_ac_var=no"
70954 rm -f conftest.err conftest.$ac_objext \
70955 conftest$ac_exeext conftest.$ac_ext
70957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70959 if test `eval echo '${'$as_ac_var'}'` = yes; then
70960 cat >>confdefs.h <<_ACEOF
70961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70962 _ACEOF
70964 else
70965 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
70967 done
70971 for ac_func in __signbit
70973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70974 echo "$as_me:$LINENO: checking for $ac_func" >&5
70975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70976 if eval "test \"\${$as_ac_var+set}\" = set"; then
70977 echo $ECHO_N "(cached) $ECHO_C" >&6
70978 else
70979 if test x$gcc_no_link = xyes; then
70980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70982 { (exit 1); exit 1; }; }
70984 cat >conftest.$ac_ext <<_ACEOF
70985 /* confdefs.h. */
70986 _ACEOF
70987 cat confdefs.h >>conftest.$ac_ext
70988 cat >>conftest.$ac_ext <<_ACEOF
70989 /* end confdefs.h. */
70990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70992 #define $ac_func innocuous_$ac_func
70994 /* System header to define __stub macros and hopefully few prototypes,
70995 which can conflict with char $ac_func (); below.
70996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70997 <limits.h> exists even on freestanding compilers. */
70999 #ifdef __STDC__
71000 # include <limits.h>
71001 #else
71002 # include <assert.h>
71003 #endif
71005 #undef $ac_func
71007 /* Override any gcc2 internal prototype to avoid an error. */
71008 #ifdef __cplusplus
71009 extern "C"
71011 #endif
71012 /* We use char because int might match the return type of a gcc2
71013 builtin and then its argument prototype would still apply. */
71014 char $ac_func ();
71015 /* The GNU C library defines this for functions which it implements
71016 to always fail with ENOSYS. Some functions are actually named
71017 something starting with __ and the normal name is an alias. */
71018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71019 choke me
71020 #else
71021 char (*f) () = $ac_func;
71022 #endif
71023 #ifdef __cplusplus
71025 #endif
71028 main ()
71030 return f != $ac_func;
71032 return 0;
71034 _ACEOF
71035 rm -f conftest.$ac_objext conftest$ac_exeext
71036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71037 (eval $ac_link) 2>conftest.er1
71038 ac_status=$?
71039 grep -v '^ *+' conftest.er1 >conftest.err
71040 rm -f conftest.er1
71041 cat conftest.err >&5
71042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71043 (exit $ac_status); } &&
71044 { ac_try='test -z "$ac_c_werror_flag"
71045 || test ! -s conftest.err'
71046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71047 (eval $ac_try) 2>&5
71048 ac_status=$?
71049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71050 (exit $ac_status); }; } &&
71051 { ac_try='test -s conftest$ac_exeext'
71052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71053 (eval $ac_try) 2>&5
71054 ac_status=$?
71055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056 (exit $ac_status); }; }; then
71057 eval "$as_ac_var=yes"
71058 else
71059 echo "$as_me: failed program was:" >&5
71060 sed 's/^/| /' conftest.$ac_ext >&5
71062 eval "$as_ac_var=no"
71064 rm -f conftest.err conftest.$ac_objext \
71065 conftest$ac_exeext conftest.$ac_ext
71067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71069 if test `eval echo '${'$as_ac_var'}'` = yes; then
71070 cat >>confdefs.h <<_ACEOF
71071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71072 _ACEOF
71074 else
71075 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
71077 done
71081 for ac_func in __signbitf
71083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71084 echo "$as_me:$LINENO: checking for $ac_func" >&5
71085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71086 if eval "test \"\${$as_ac_var+set}\" = set"; then
71087 echo $ECHO_N "(cached) $ECHO_C" >&6
71088 else
71089 if test x$gcc_no_link = xyes; then
71090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71092 { (exit 1); exit 1; }; }
71094 cat >conftest.$ac_ext <<_ACEOF
71095 /* confdefs.h. */
71096 _ACEOF
71097 cat confdefs.h >>conftest.$ac_ext
71098 cat >>conftest.$ac_ext <<_ACEOF
71099 /* end confdefs.h. */
71100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71102 #define $ac_func innocuous_$ac_func
71104 /* System header to define __stub macros and hopefully few prototypes,
71105 which can conflict with char $ac_func (); below.
71106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71107 <limits.h> exists even on freestanding compilers. */
71109 #ifdef __STDC__
71110 # include <limits.h>
71111 #else
71112 # include <assert.h>
71113 #endif
71115 #undef $ac_func
71117 /* Override any gcc2 internal prototype to avoid an error. */
71118 #ifdef __cplusplus
71119 extern "C"
71121 #endif
71122 /* We use char because int might match the return type of a gcc2
71123 builtin and then its argument prototype would still apply. */
71124 char $ac_func ();
71125 /* The GNU C library defines this for functions which it implements
71126 to always fail with ENOSYS. Some functions are actually named
71127 something starting with __ and the normal name is an alias. */
71128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71129 choke me
71130 #else
71131 char (*f) () = $ac_func;
71132 #endif
71133 #ifdef __cplusplus
71135 #endif
71138 main ()
71140 return f != $ac_func;
71142 return 0;
71144 _ACEOF
71145 rm -f conftest.$ac_objext conftest$ac_exeext
71146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71147 (eval $ac_link) 2>conftest.er1
71148 ac_status=$?
71149 grep -v '^ *+' conftest.er1 >conftest.err
71150 rm -f conftest.er1
71151 cat conftest.err >&5
71152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71153 (exit $ac_status); } &&
71154 { ac_try='test -z "$ac_c_werror_flag"
71155 || test ! -s conftest.err'
71156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71157 (eval $ac_try) 2>&5
71158 ac_status=$?
71159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71160 (exit $ac_status); }; } &&
71161 { ac_try='test -s conftest$ac_exeext'
71162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71163 (eval $ac_try) 2>&5
71164 ac_status=$?
71165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71166 (exit $ac_status); }; }; then
71167 eval "$as_ac_var=yes"
71168 else
71169 echo "$as_me: failed program was:" >&5
71170 sed 's/^/| /' conftest.$ac_ext >&5
71172 eval "$as_ac_var=no"
71174 rm -f conftest.err conftest.$ac_objext \
71175 conftest$ac_exeext conftest.$ac_ext
71177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71179 if test `eval echo '${'$as_ac_var'}'` = yes; then
71180 cat >>confdefs.h <<_ACEOF
71181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71182 _ACEOF
71184 else
71185 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
71187 done
71190 if test x$ac_cv_func_copysignl = x"yes"; then
71192 for ac_func in __signbitl
71194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71195 echo "$as_me:$LINENO: checking for $ac_func" >&5
71196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71197 if eval "test \"\${$as_ac_var+set}\" = set"; then
71198 echo $ECHO_N "(cached) $ECHO_C" >&6
71199 else
71200 if test x$gcc_no_link = xyes; then
71201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71203 { (exit 1); exit 1; }; }
71205 cat >conftest.$ac_ext <<_ACEOF
71206 /* confdefs.h. */
71207 _ACEOF
71208 cat confdefs.h >>conftest.$ac_ext
71209 cat >>conftest.$ac_ext <<_ACEOF
71210 /* end confdefs.h. */
71211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71213 #define $ac_func innocuous_$ac_func
71215 /* System header to define __stub macros and hopefully few prototypes,
71216 which can conflict with char $ac_func (); below.
71217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71218 <limits.h> exists even on freestanding compilers. */
71220 #ifdef __STDC__
71221 # include <limits.h>
71222 #else
71223 # include <assert.h>
71224 #endif
71226 #undef $ac_func
71228 /* Override any gcc2 internal prototype to avoid an error. */
71229 #ifdef __cplusplus
71230 extern "C"
71232 #endif
71233 /* We use char because int might match the return type of a gcc2
71234 builtin and then its argument prototype would still apply. */
71235 char $ac_func ();
71236 /* The GNU C library defines this for functions which it implements
71237 to always fail with ENOSYS. Some functions are actually named
71238 something starting with __ and the normal name is an alias. */
71239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71240 choke me
71241 #else
71242 char (*f) () = $ac_func;
71243 #endif
71244 #ifdef __cplusplus
71246 #endif
71249 main ()
71251 return f != $ac_func;
71253 return 0;
71255 _ACEOF
71256 rm -f conftest.$ac_objext conftest$ac_exeext
71257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71258 (eval $ac_link) 2>conftest.er1
71259 ac_status=$?
71260 grep -v '^ *+' conftest.er1 >conftest.err
71261 rm -f conftest.er1
71262 cat conftest.err >&5
71263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71264 (exit $ac_status); } &&
71265 { ac_try='test -z "$ac_c_werror_flag"
71266 || test ! -s conftest.err'
71267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71268 (eval $ac_try) 2>&5
71269 ac_status=$?
71270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71271 (exit $ac_status); }; } &&
71272 { ac_try='test -s conftest$ac_exeext'
71273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71274 (eval $ac_try) 2>&5
71275 ac_status=$?
71276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71277 (exit $ac_status); }; }; then
71278 eval "$as_ac_var=yes"
71279 else
71280 echo "$as_me: failed program was:" >&5
71281 sed 's/^/| /' conftest.$ac_ext >&5
71283 eval "$as_ac_var=no"
71285 rm -f conftest.err conftest.$ac_objext \
71286 conftest$ac_exeext conftest.$ac_ext
71288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71290 if test `eval echo '${'$as_ac_var'}'` = yes; then
71291 cat >>confdefs.h <<_ACEOF
71292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71293 _ACEOF
71295 else
71296 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
71298 done
71302 # Used in libmath/Makefile.am.
71303 if test -n "$LIBMATHOBJS"; then
71304 need_libmath=yes
71310 enable_iconv=no
71311 # Only continue checking if the ISO C99 headers exist and support is on.
71312 if test x"$enable_wchar_t" = xyes; then
71314 # Use iconv for wchar_t to char conversions. As such, check for
71315 # X/Open Portability Guide, version 2 features (XPG2).
71316 if test "${ac_cv_header_iconv_h+set}" = set; then
71317 echo "$as_me:$LINENO: checking for iconv.h" >&5
71318 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71319 if test "${ac_cv_header_iconv_h+set}" = set; then
71320 echo $ECHO_N "(cached) $ECHO_C" >&6
71322 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71323 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71324 else
71325 # Is the header compilable?
71326 echo "$as_me:$LINENO: checking iconv.h usability" >&5
71327 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
71328 cat >conftest.$ac_ext <<_ACEOF
71329 /* confdefs.h. */
71330 _ACEOF
71331 cat confdefs.h >>conftest.$ac_ext
71332 cat >>conftest.$ac_ext <<_ACEOF
71333 /* end confdefs.h. */
71334 $ac_includes_default
71335 #include <iconv.h>
71336 _ACEOF
71337 rm -f conftest.$ac_objext
71338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71339 (eval $ac_compile) 2>conftest.er1
71340 ac_status=$?
71341 grep -v '^ *+' conftest.er1 >conftest.err
71342 rm -f conftest.er1
71343 cat conftest.err >&5
71344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71345 (exit $ac_status); } &&
71346 { ac_try='test -z "$ac_c_werror_flag"
71347 || test ! -s conftest.err'
71348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71349 (eval $ac_try) 2>&5
71350 ac_status=$?
71351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71352 (exit $ac_status); }; } &&
71353 { ac_try='test -s conftest.$ac_objext'
71354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71355 (eval $ac_try) 2>&5
71356 ac_status=$?
71357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71358 (exit $ac_status); }; }; then
71359 ac_header_compiler=yes
71360 else
71361 echo "$as_me: failed program was:" >&5
71362 sed 's/^/| /' conftest.$ac_ext >&5
71364 ac_header_compiler=no
71366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71368 echo "${ECHO_T}$ac_header_compiler" >&6
71370 # Is the header present?
71371 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71372 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71373 cat >conftest.$ac_ext <<_ACEOF
71374 /* confdefs.h. */
71375 _ACEOF
71376 cat confdefs.h >>conftest.$ac_ext
71377 cat >>conftest.$ac_ext <<_ACEOF
71378 /* end confdefs.h. */
71379 #include <iconv.h>
71380 _ACEOF
71381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71383 ac_status=$?
71384 grep -v '^ *+' conftest.er1 >conftest.err
71385 rm -f conftest.er1
71386 cat conftest.err >&5
71387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71388 (exit $ac_status); } >/dev/null; then
71389 if test -s conftest.err; then
71390 ac_cpp_err=$ac_c_preproc_warn_flag
71391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71392 else
71393 ac_cpp_err=
71395 else
71396 ac_cpp_err=yes
71398 if test -z "$ac_cpp_err"; then
71399 ac_header_preproc=yes
71400 else
71401 echo "$as_me: failed program was:" >&5
71402 sed 's/^/| /' conftest.$ac_ext >&5
71404 ac_header_preproc=no
71406 rm -f conftest.err conftest.$ac_ext
71407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71408 echo "${ECHO_T}$ac_header_preproc" >&6
71410 # So? What about this header?
71411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71412 yes:no: )
71413 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71414 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71415 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
71416 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
71417 ac_header_preproc=yes
71419 no:yes:* )
71420 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71421 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71422 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
71423 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
71424 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
71425 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
71426 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
71427 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
71428 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71429 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71430 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
71431 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
71433 cat <<\_ASBOX
71434 ## ----------------------------------------- ##
71435 ## Report this to the package-unused lists. ##
71436 ## ----------------------------------------- ##
71437 _ASBOX
71439 sed "s/^/$as_me: WARNING: /" >&2
71441 esac
71442 echo "$as_me:$LINENO: checking for iconv.h" >&5
71443 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71444 if test "${ac_cv_header_iconv_h+set}" = set; then
71445 echo $ECHO_N "(cached) $ECHO_C" >&6
71446 else
71447 ac_cv_header_iconv_h=$ac_header_preproc
71449 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71450 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71453 if test $ac_cv_header_iconv_h = yes; then
71454 ac_has_iconv_h=yes
71455 else
71456 ac_has_iconv_h=no
71460 if test "${ac_cv_header_langinfo_h+set}" = set; then
71461 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71462 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71463 if test "${ac_cv_header_langinfo_h+set}" = set; then
71464 echo $ECHO_N "(cached) $ECHO_C" >&6
71466 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71467 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71468 else
71469 # Is the header compilable?
71470 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71471 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71472 cat >conftest.$ac_ext <<_ACEOF
71473 /* confdefs.h. */
71474 _ACEOF
71475 cat confdefs.h >>conftest.$ac_ext
71476 cat >>conftest.$ac_ext <<_ACEOF
71477 /* end confdefs.h. */
71478 $ac_includes_default
71479 #include <langinfo.h>
71480 _ACEOF
71481 rm -f conftest.$ac_objext
71482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71483 (eval $ac_compile) 2>conftest.er1
71484 ac_status=$?
71485 grep -v '^ *+' conftest.er1 >conftest.err
71486 rm -f conftest.er1
71487 cat conftest.err >&5
71488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71489 (exit $ac_status); } &&
71490 { ac_try='test -z "$ac_c_werror_flag"
71491 || test ! -s conftest.err'
71492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71493 (eval $ac_try) 2>&5
71494 ac_status=$?
71495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71496 (exit $ac_status); }; } &&
71497 { ac_try='test -s conftest.$ac_objext'
71498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71499 (eval $ac_try) 2>&5
71500 ac_status=$?
71501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71502 (exit $ac_status); }; }; then
71503 ac_header_compiler=yes
71504 else
71505 echo "$as_me: failed program was:" >&5
71506 sed 's/^/| /' conftest.$ac_ext >&5
71508 ac_header_compiler=no
71510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71512 echo "${ECHO_T}$ac_header_compiler" >&6
71514 # Is the header present?
71515 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71516 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71517 cat >conftest.$ac_ext <<_ACEOF
71518 /* confdefs.h. */
71519 _ACEOF
71520 cat confdefs.h >>conftest.$ac_ext
71521 cat >>conftest.$ac_ext <<_ACEOF
71522 /* end confdefs.h. */
71523 #include <langinfo.h>
71524 _ACEOF
71525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71527 ac_status=$?
71528 grep -v '^ *+' conftest.er1 >conftest.err
71529 rm -f conftest.er1
71530 cat conftest.err >&5
71531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71532 (exit $ac_status); } >/dev/null; then
71533 if test -s conftest.err; then
71534 ac_cpp_err=$ac_c_preproc_warn_flag
71535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71536 else
71537 ac_cpp_err=
71539 else
71540 ac_cpp_err=yes
71542 if test -z "$ac_cpp_err"; then
71543 ac_header_preproc=yes
71544 else
71545 echo "$as_me: failed program was:" >&5
71546 sed 's/^/| /' conftest.$ac_ext >&5
71548 ac_header_preproc=no
71550 rm -f conftest.err conftest.$ac_ext
71551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71552 echo "${ECHO_T}$ac_header_preproc" >&6
71554 # So? What about this header?
71555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71556 yes:no: )
71557 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71558 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71559 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
71560 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
71561 ac_header_preproc=yes
71563 no:yes:* )
71564 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71565 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71566 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
71567 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
71568 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
71569 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
71570 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
71571 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
71572 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71573 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71574 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
71575 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
71577 cat <<\_ASBOX
71578 ## ----------------------------------------- ##
71579 ## Report this to the package-unused lists. ##
71580 ## ----------------------------------------- ##
71581 _ASBOX
71583 sed "s/^/$as_me: WARNING: /" >&2
71585 esac
71586 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71587 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71588 if test "${ac_cv_header_langinfo_h+set}" = set; then
71589 echo $ECHO_N "(cached) $ECHO_C" >&6
71590 else
71591 ac_cv_header_langinfo_h=$ac_header_preproc
71593 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71594 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71597 if test $ac_cv_header_langinfo_h = yes; then
71598 ac_has_langinfo_h=yes
71599 else
71600 ac_has_langinfo_h=no
71605 # Check for existence of libiconv.a providing XPG2 wchar_t support.
71606 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71607 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71608 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71609 echo $ECHO_N "(cached) $ECHO_C" >&6
71610 else
71611 ac_check_lib_save_LIBS=$LIBS
71612 LIBS="-liconv $LIBS"
71613 if test x$gcc_no_link = xyes; then
71614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71616 { (exit 1); exit 1; }; }
71618 cat >conftest.$ac_ext <<_ACEOF
71619 /* confdefs.h. */
71620 _ACEOF
71621 cat confdefs.h >>conftest.$ac_ext
71622 cat >>conftest.$ac_ext <<_ACEOF
71623 /* end confdefs.h. */
71625 /* Override any gcc2 internal prototype to avoid an error. */
71626 #ifdef __cplusplus
71627 extern "C"
71628 #endif
71629 /* We use char because int might match the return type of a gcc2
71630 builtin and then its argument prototype would still apply. */
71631 char iconv ();
71633 main ()
71635 iconv ();
71637 return 0;
71639 _ACEOF
71640 rm -f conftest.$ac_objext conftest$ac_exeext
71641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71642 (eval $ac_link) 2>conftest.er1
71643 ac_status=$?
71644 grep -v '^ *+' conftest.er1 >conftest.err
71645 rm -f conftest.er1
71646 cat conftest.err >&5
71647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71648 (exit $ac_status); } &&
71649 { ac_try='test -z "$ac_c_werror_flag"
71650 || test ! -s conftest.err'
71651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71652 (eval $ac_try) 2>&5
71653 ac_status=$?
71654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71655 (exit $ac_status); }; } &&
71656 { ac_try='test -s conftest$ac_exeext'
71657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71658 (eval $ac_try) 2>&5
71659 ac_status=$?
71660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71661 (exit $ac_status); }; }; then
71662 ac_cv_lib_iconv_iconv=yes
71663 else
71664 echo "$as_me: failed program was:" >&5
71665 sed 's/^/| /' conftest.$ac_ext >&5
71667 ac_cv_lib_iconv_iconv=no
71669 rm -f conftest.err conftest.$ac_objext \
71670 conftest$ac_exeext conftest.$ac_ext
71671 LIBS=$ac_check_lib_save_LIBS
71673 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71674 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71675 if test $ac_cv_lib_iconv_iconv = yes; then
71676 LIBICONV="-liconv"
71679 ac_save_LIBS="$LIBS"
71680 LIBS="$LIBS $LIBICONV"
71687 for ac_func in iconv_open iconv_close iconv nl_langinfo
71689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71690 echo "$as_me:$LINENO: checking for $ac_func" >&5
71691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71692 if eval "test \"\${$as_ac_var+set}\" = set"; then
71693 echo $ECHO_N "(cached) $ECHO_C" >&6
71694 else
71695 if test x$gcc_no_link = xyes; then
71696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71698 { (exit 1); exit 1; }; }
71700 cat >conftest.$ac_ext <<_ACEOF
71701 /* confdefs.h. */
71702 _ACEOF
71703 cat confdefs.h >>conftest.$ac_ext
71704 cat >>conftest.$ac_ext <<_ACEOF
71705 /* end confdefs.h. */
71706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71708 #define $ac_func innocuous_$ac_func
71710 /* System header to define __stub macros and hopefully few prototypes,
71711 which can conflict with char $ac_func (); below.
71712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71713 <limits.h> exists even on freestanding compilers. */
71715 #ifdef __STDC__
71716 # include <limits.h>
71717 #else
71718 # include <assert.h>
71719 #endif
71721 #undef $ac_func
71723 /* Override any gcc2 internal prototype to avoid an error. */
71724 #ifdef __cplusplus
71725 extern "C"
71727 #endif
71728 /* We use char because int might match the return type of a gcc2
71729 builtin and then its argument prototype would still apply. */
71730 char $ac_func ();
71731 /* The GNU C library defines this for functions which it implements
71732 to always fail with ENOSYS. Some functions are actually named
71733 something starting with __ and the normal name is an alias. */
71734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71735 choke me
71736 #else
71737 char (*f) () = $ac_func;
71738 #endif
71739 #ifdef __cplusplus
71741 #endif
71744 main ()
71746 return f != $ac_func;
71748 return 0;
71750 _ACEOF
71751 rm -f conftest.$ac_objext conftest$ac_exeext
71752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71753 (eval $ac_link) 2>conftest.er1
71754 ac_status=$?
71755 grep -v '^ *+' conftest.er1 >conftest.err
71756 rm -f conftest.er1
71757 cat conftest.err >&5
71758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71759 (exit $ac_status); } &&
71760 { ac_try='test -z "$ac_c_werror_flag"
71761 || test ! -s conftest.err'
71762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71763 (eval $ac_try) 2>&5
71764 ac_status=$?
71765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71766 (exit $ac_status); }; } &&
71767 { ac_try='test -s conftest$ac_exeext'
71768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71769 (eval $ac_try) 2>&5
71770 ac_status=$?
71771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71772 (exit $ac_status); }; }; then
71773 eval "$as_ac_var=yes"
71774 else
71775 echo "$as_me: failed program was:" >&5
71776 sed 's/^/| /' conftest.$ac_ext >&5
71778 eval "$as_ac_var=no"
71780 rm -f conftest.err conftest.$ac_objext \
71781 conftest$ac_exeext conftest.$ac_ext
71783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71785 if test `eval echo '${'$as_ac_var'}'` = yes; then
71786 cat >>confdefs.h <<_ACEOF
71787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71788 _ACEOF
71789 ac_XPG2funcs=yes
71790 else
71791 ac_XPG2funcs=no
71793 done
71796 LIBS="$ac_save_LIBS"
71798 if test x"$ac_has_iconv_h" = xyes &&
71799 test x"$ac_has_langinfo_h" = xyes &&
71800 test x"$ac_XPG2funcs" = xyes;
71801 then
71803 cat >>confdefs.h <<\_ACEOF
71804 #define _GLIBCXX_USE_ICONV 1
71805 _ACEOF
71807 enable_iconv=yes
71810 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
71811 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
71812 echo "$as_me:$LINENO: result: $enable_iconv" >&5
71813 echo "${ECHO_T}$enable_iconv" >&6
71816 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71817 ac_save_CXXFLAGS="$CXXFLAGS"
71818 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71821 echo "$as_me:$LINENO: checking for strtold declaration" >&5
71822 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
71823 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71824 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
71825 echo $ECHO_N "(cached) $ECHO_C" >&6
71826 else
71830 ac_ext=cc
71831 ac_cpp='$CXXCPP $CPPFLAGS'
71832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71836 cat >conftest.$ac_ext <<_ACEOF
71837 /* confdefs.h. */
71838 _ACEOF
71839 cat confdefs.h >>conftest.$ac_ext
71840 cat >>conftest.$ac_ext <<_ACEOF
71841 /* end confdefs.h. */
71842 #include <stdlib.h>
71844 main ()
71846 strtold(0, 0);
71848 return 0;
71850 _ACEOF
71851 rm -f conftest.$ac_objext
71852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71853 (eval $ac_compile) 2>conftest.er1
71854 ac_status=$?
71855 grep -v '^ *+' conftest.er1 >conftest.err
71856 rm -f conftest.er1
71857 cat conftest.err >&5
71858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71859 (exit $ac_status); } &&
71860 { ac_try='test -z "$ac_cxx_werror_flag"
71861 || test ! -s conftest.err'
71862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71863 (eval $ac_try) 2>&5
71864 ac_status=$?
71865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71866 (exit $ac_status); }; } &&
71867 { ac_try='test -s conftest.$ac_objext'
71868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71869 (eval $ac_try) 2>&5
71870 ac_status=$?
71871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71872 (exit $ac_status); }; }; then
71873 glibcxx_cv_func_strtold_use=yes
71874 else
71875 echo "$as_me: failed program was:" >&5
71876 sed 's/^/| /' conftest.$ac_ext >&5
71878 glibcxx_cv_func_strtold_use=no
71880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71881 ac_ext=c
71882 ac_cpp='$CPP $CPPFLAGS'
71883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
71892 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
71893 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71895 for ac_func in strtold
71897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71898 echo "$as_me:$LINENO: checking for $ac_func" >&5
71899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71900 if eval "test \"\${$as_ac_var+set}\" = set"; then
71901 echo $ECHO_N "(cached) $ECHO_C" >&6
71902 else
71903 if test x$gcc_no_link = xyes; then
71904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71906 { (exit 1); exit 1; }; }
71908 cat >conftest.$ac_ext <<_ACEOF
71909 /* confdefs.h. */
71910 _ACEOF
71911 cat confdefs.h >>conftest.$ac_ext
71912 cat >>conftest.$ac_ext <<_ACEOF
71913 /* end confdefs.h. */
71914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71916 #define $ac_func innocuous_$ac_func
71918 /* System header to define __stub macros and hopefully few prototypes,
71919 which can conflict with char $ac_func (); below.
71920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71921 <limits.h> exists even on freestanding compilers. */
71923 #ifdef __STDC__
71924 # include <limits.h>
71925 #else
71926 # include <assert.h>
71927 #endif
71929 #undef $ac_func
71931 /* Override any gcc2 internal prototype to avoid an error. */
71932 #ifdef __cplusplus
71933 extern "C"
71935 #endif
71936 /* We use char because int might match the return type of a gcc2
71937 builtin and then its argument prototype would still apply. */
71938 char $ac_func ();
71939 /* The GNU C library defines this for functions which it implements
71940 to always fail with ENOSYS. Some functions are actually named
71941 something starting with __ and the normal name is an alias. */
71942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71943 choke me
71944 #else
71945 char (*f) () = $ac_func;
71946 #endif
71947 #ifdef __cplusplus
71949 #endif
71952 main ()
71954 return f != $ac_func;
71956 return 0;
71958 _ACEOF
71959 rm -f conftest.$ac_objext conftest$ac_exeext
71960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71961 (eval $ac_link) 2>conftest.er1
71962 ac_status=$?
71963 grep -v '^ *+' conftest.er1 >conftest.err
71964 rm -f conftest.er1
71965 cat conftest.err >&5
71966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71967 (exit $ac_status); } &&
71968 { ac_try='test -z "$ac_c_werror_flag"
71969 || test ! -s conftest.err'
71970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71971 (eval $ac_try) 2>&5
71972 ac_status=$?
71973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71974 (exit $ac_status); }; } &&
71975 { ac_try='test -s conftest$ac_exeext'
71976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71977 (eval $ac_try) 2>&5
71978 ac_status=$?
71979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71980 (exit $ac_status); }; }; then
71981 eval "$as_ac_var=yes"
71982 else
71983 echo "$as_me: failed program was:" >&5
71984 sed 's/^/| /' conftest.$ac_ext >&5
71986 eval "$as_ac_var=no"
71988 rm -f conftest.err conftest.$ac_objext \
71989 conftest$ac_exeext conftest.$ac_ext
71991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71993 if test `eval echo '${'$as_ac_var'}'` = yes; then
71994 cat >>confdefs.h <<_ACEOF
71995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71996 _ACEOF
71999 done
72004 echo "$as_me:$LINENO: checking for strtof declaration" >&5
72005 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
72006 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72007 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
72008 echo $ECHO_N "(cached) $ECHO_C" >&6
72009 else
72013 ac_ext=cc
72014 ac_cpp='$CXXCPP $CPPFLAGS'
72015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72019 cat >conftest.$ac_ext <<_ACEOF
72020 /* confdefs.h. */
72021 _ACEOF
72022 cat confdefs.h >>conftest.$ac_ext
72023 cat >>conftest.$ac_ext <<_ACEOF
72024 /* end confdefs.h. */
72025 #include <stdlib.h>
72027 main ()
72029 strtof(0, 0);
72031 return 0;
72033 _ACEOF
72034 rm -f conftest.$ac_objext
72035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72036 (eval $ac_compile) 2>conftest.er1
72037 ac_status=$?
72038 grep -v '^ *+' conftest.er1 >conftest.err
72039 rm -f conftest.er1
72040 cat conftest.err >&5
72041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72042 (exit $ac_status); } &&
72043 { ac_try='test -z "$ac_cxx_werror_flag"
72044 || test ! -s conftest.err'
72045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72046 (eval $ac_try) 2>&5
72047 ac_status=$?
72048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72049 (exit $ac_status); }; } &&
72050 { ac_try='test -s conftest.$ac_objext'
72051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72052 (eval $ac_try) 2>&5
72053 ac_status=$?
72054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72055 (exit $ac_status); }; }; then
72056 glibcxx_cv_func_strtof_use=yes
72057 else
72058 echo "$as_me: failed program was:" >&5
72059 sed 's/^/| /' conftest.$ac_ext >&5
72061 glibcxx_cv_func_strtof_use=no
72063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72064 ac_ext=c
72065 ac_cpp='$CPP $CPPFLAGS'
72066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
72075 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
72076 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72078 for ac_func in strtof
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
72182 done
72187 CXXFLAGS="$ac_save_CXXFLAGS"
72190 if test "${glibcxx_cv_S_ISREG+set}" = set; then
72191 echo $ECHO_N "(cached) $ECHO_C" >&6
72192 else
72194 if test x$gcc_no_link = xyes; then
72195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72197 { (exit 1); exit 1; }; }
72199 cat >conftest.$ac_ext <<_ACEOF
72200 /* confdefs.h. */
72201 _ACEOF
72202 cat confdefs.h >>conftest.$ac_ext
72203 cat >>conftest.$ac_ext <<_ACEOF
72204 /* end confdefs.h. */
72205 #include <sys/stat.h>
72207 main ()
72209 struct stat buffer;
72210 fstat(0, &buffer);
72211 S_ISREG(buffer.st_mode);
72213 return 0;
72215 _ACEOF
72216 rm -f conftest.$ac_objext conftest$ac_exeext
72217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72218 (eval $ac_link) 2>conftest.er1
72219 ac_status=$?
72220 grep -v '^ *+' conftest.er1 >conftest.err
72221 rm -f conftest.er1
72222 cat conftest.err >&5
72223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72224 (exit $ac_status); } &&
72225 { ac_try='test -z "$ac_c_werror_flag"
72226 || test ! -s conftest.err'
72227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72228 (eval $ac_try) 2>&5
72229 ac_status=$?
72230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72231 (exit $ac_status); }; } &&
72232 { ac_try='test -s conftest$ac_exeext'
72233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72234 (eval $ac_try) 2>&5
72235 ac_status=$?
72236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72237 (exit $ac_status); }; }; then
72238 glibcxx_cv_S_ISREG=yes
72239 else
72240 echo "$as_me: failed program was:" >&5
72241 sed 's/^/| /' conftest.$ac_ext >&5
72243 glibcxx_cv_S_ISREG=no
72245 rm -f conftest.err conftest.$ac_objext \
72246 conftest$ac_exeext conftest.$ac_ext
72250 if test "${glibcxx_cv_S_IFREG+set}" = set; then
72251 echo $ECHO_N "(cached) $ECHO_C" >&6
72252 else
72254 if test x$gcc_no_link = xyes; then
72255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72257 { (exit 1); exit 1; }; }
72259 cat >conftest.$ac_ext <<_ACEOF
72260 /* confdefs.h. */
72261 _ACEOF
72262 cat confdefs.h >>conftest.$ac_ext
72263 cat >>conftest.$ac_ext <<_ACEOF
72264 /* end confdefs.h. */
72265 #include <sys/stat.h>
72267 main ()
72269 struct stat buffer;
72270 fstat(0, &buffer);
72271 S_IFREG & buffer.st_mode;
72273 return 0;
72275 _ACEOF
72276 rm -f conftest.$ac_objext conftest$ac_exeext
72277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72278 (eval $ac_link) 2>conftest.er1
72279 ac_status=$?
72280 grep -v '^ *+' conftest.er1 >conftest.err
72281 rm -f conftest.er1
72282 cat conftest.err >&5
72283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72284 (exit $ac_status); } &&
72285 { ac_try='test -z "$ac_c_werror_flag"
72286 || test ! -s conftest.err'
72287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72288 (eval $ac_try) 2>&5
72289 ac_status=$?
72290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72291 (exit $ac_status); }; } &&
72292 { ac_try='test -s conftest$ac_exeext'
72293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72294 (eval $ac_try) 2>&5
72295 ac_status=$?
72296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72297 (exit $ac_status); }; }; then
72298 glibcxx_cv_S_IFREG=yes
72299 else
72300 echo "$as_me: failed program was:" >&5
72301 sed 's/^/| /' conftest.$ac_ext >&5
72303 glibcxx_cv_S_IFREG=no
72305 rm -f conftest.err conftest.$ac_objext \
72306 conftest$ac_exeext conftest.$ac_ext
72310 if test $glibcxx_cv_S_ISREG = yes; then
72311 cat >>confdefs.h <<\_ACEOF
72312 #define HAVE_S_ISREG 1
72313 _ACEOF
72315 elif test $glibcxx_cv_S_IFREG = yes; then
72316 cat >>confdefs.h <<\_ACEOF
72317 #define HAVE_S_IFREG 1
72318 _ACEOF
72322 cat >>confdefs.h <<\_ACEOF
72323 #define HAVE_WRITEV 1
72324 _ACEOF
72328 *-freebsd*)
72345 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
72346 machine/endian.h machine/param.h sys/machine.h sys/types.h \
72347 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
72348 sys/time.h unistd.h
72350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72352 echo "$as_me:$LINENO: checking for $ac_header" >&5
72353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72355 echo $ECHO_N "(cached) $ECHO_C" >&6
72357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72359 else
72360 # Is the header compilable?
72361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72363 cat >conftest.$ac_ext <<_ACEOF
72364 /* confdefs.h. */
72365 _ACEOF
72366 cat confdefs.h >>conftest.$ac_ext
72367 cat >>conftest.$ac_ext <<_ACEOF
72368 /* end confdefs.h. */
72369 $ac_includes_default
72370 #include <$ac_header>
72371 _ACEOF
72372 rm -f conftest.$ac_objext
72373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72374 (eval $ac_compile) 2>conftest.er1
72375 ac_status=$?
72376 grep -v '^ *+' conftest.er1 >conftest.err
72377 rm -f conftest.er1
72378 cat conftest.err >&5
72379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380 (exit $ac_status); } &&
72381 { ac_try='test -z "$ac_c_werror_flag"
72382 || test ! -s conftest.err'
72383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72384 (eval $ac_try) 2>&5
72385 ac_status=$?
72386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72387 (exit $ac_status); }; } &&
72388 { ac_try='test -s conftest.$ac_objext'
72389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72390 (eval $ac_try) 2>&5
72391 ac_status=$?
72392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72393 (exit $ac_status); }; }; then
72394 ac_header_compiler=yes
72395 else
72396 echo "$as_me: failed program was:" >&5
72397 sed 's/^/| /' conftest.$ac_ext >&5
72399 ac_header_compiler=no
72401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72403 echo "${ECHO_T}$ac_header_compiler" >&6
72405 # Is the header present?
72406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72408 cat >conftest.$ac_ext <<_ACEOF
72409 /* confdefs.h. */
72410 _ACEOF
72411 cat confdefs.h >>conftest.$ac_ext
72412 cat >>conftest.$ac_ext <<_ACEOF
72413 /* end confdefs.h. */
72414 #include <$ac_header>
72415 _ACEOF
72416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72418 ac_status=$?
72419 grep -v '^ *+' conftest.er1 >conftest.err
72420 rm -f conftest.er1
72421 cat conftest.err >&5
72422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72423 (exit $ac_status); } >/dev/null; then
72424 if test -s conftest.err; then
72425 ac_cpp_err=$ac_c_preproc_warn_flag
72426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72427 else
72428 ac_cpp_err=
72430 else
72431 ac_cpp_err=yes
72433 if test -z "$ac_cpp_err"; then
72434 ac_header_preproc=yes
72435 else
72436 echo "$as_me: failed program was:" >&5
72437 sed 's/^/| /' conftest.$ac_ext >&5
72439 ac_header_preproc=no
72441 rm -f conftest.err conftest.$ac_ext
72442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72443 echo "${ECHO_T}$ac_header_preproc" >&6
72445 # So? What about this header?
72446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72447 yes:no: )
72448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72452 ac_header_preproc=yes
72454 no:yes:* )
72455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
72462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
72463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72468 cat <<\_ASBOX
72469 ## ----------------------------------------- ##
72470 ## Report this to the package-unused lists. ##
72471 ## ----------------------------------------- ##
72472 _ASBOX
72474 sed "s/^/$as_me: WARNING: /" >&2
72476 esac
72477 echo "$as_me:$LINENO: checking for $ac_header" >&5
72478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72480 echo $ECHO_N "(cached) $ECHO_C" >&6
72481 else
72482 eval "$as_ac_Header=\$ac_header_preproc"
72484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72489 cat >>confdefs.h <<_ACEOF
72490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72491 _ACEOF
72495 done
72497 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72500 # If we're not using GNU ld, then there's no point in even trying these
72501 # tests. Check for that first. We should have already tested for gld
72502 # by now (in libtool), but require it now just to be safe...
72503 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72504 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72508 # The name set by libtool depends on the version of libtool. Shame on us
72509 # for depending on an impl detail, but c'est la vie. Older versions used
72510 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72511 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72512 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72513 # set (hence we're using an older libtool), then set it.
72514 if test x${with_gnu_ld+set} != xset; then
72515 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72516 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72517 with_gnu_ld=no
72518 else
72519 with_gnu_ld=$ac_cv_prog_gnu_ld
72523 # Start by getting the version number. I think the libtool test already
72524 # does some of this, but throws away the result.
72526 ldver=`$LD --version 2>/dev/null | head -1 | \
72527 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
72529 glibcxx_gnu_ld_version=`echo $ldver | \
72530 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72532 # Set --gc-sections.
72533 if test "$with_gnu_ld" = "notbroken"; then
72534 # GNU ld it is! Joy and bunny rabbits!
72536 # All these tests are for C++; save the language and the compiler flags.
72537 # Need to do this so that g++ won't try to link in libstdc++
72538 ac_test_CFLAGS="${CFLAGS+set}"
72539 ac_save_CFLAGS="$CFLAGS"
72540 CFLAGS='-x c++ -Wl,--gc-sections'
72542 # Check for -Wl,--gc-sections
72543 # XXX This test is broken at the moment, as symbols required for linking
72544 # are now in libsupc++ (not built yet). In addition, this test has
72545 # cored on solaris in the past. In addition, --gc-sections doesn't
72546 # really work at the moment (keeps on discarding used sections, first
72547 # .eh_frame and now some of the glibc sections for iconv).
72548 # Bzzzzt. Thanks for playing, maybe next time.
72549 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
72550 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
72551 if test "$cross_compiling" = yes; then
72552 ac_sectionLDflags=yes
72553 else
72554 cat >conftest.$ac_ext <<_ACEOF
72555 /* confdefs.h. */
72556 _ACEOF
72557 cat confdefs.h >>conftest.$ac_ext
72558 cat >>conftest.$ac_ext <<_ACEOF
72559 /* end confdefs.h. */
72561 int main(void)
72563 try { throw 1; }
72564 catch (...) { };
72565 return 0;
72568 _ACEOF
72569 rm -f conftest$ac_exeext
72570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72571 (eval $ac_link) 2>&5
72572 ac_status=$?
72573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72576 (eval $ac_try) 2>&5
72577 ac_status=$?
72578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72579 (exit $ac_status); }; }; then
72580 ac_sectionLDflags=yes
72581 else
72582 echo "$as_me: program exited with status $ac_status" >&5
72583 echo "$as_me: failed program was:" >&5
72584 sed 's/^/| /' conftest.$ac_ext >&5
72586 ( exit $ac_status )
72587 ac_sectionLDflags=no
72589 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72591 if test "$ac_test_CFLAGS" = set; then
72592 CFLAGS="$ac_save_CFLAGS"
72593 else
72594 # this is the suspicious part
72595 CFLAGS=''
72597 if test "$ac_sectionLDflags" = "yes"; then
72598 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72600 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
72601 echo "${ECHO_T}$ac_sectionLDflags" >&6
72604 # Set linker optimization flags.
72605 if test x"$with_gnu_ld" = x"yes"; then
72606 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72614 echo "$as_me:$LINENO: checking for main in -lm" >&5
72615 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72616 if test "${ac_cv_lib_m_main+set}" = set; then
72617 echo $ECHO_N "(cached) $ECHO_C" >&6
72618 else
72619 ac_check_lib_save_LIBS=$LIBS
72620 LIBS="-lm $LIBS"
72621 if test x$gcc_no_link = xyes; then
72622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72624 { (exit 1); exit 1; }; }
72626 cat >conftest.$ac_ext <<_ACEOF
72627 /* confdefs.h. */
72628 _ACEOF
72629 cat confdefs.h >>conftest.$ac_ext
72630 cat >>conftest.$ac_ext <<_ACEOF
72631 /* end confdefs.h. */
72635 main ()
72637 main ();
72639 return 0;
72641 _ACEOF
72642 rm -f conftest.$ac_objext conftest$ac_exeext
72643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72644 (eval $ac_link) 2>conftest.er1
72645 ac_status=$?
72646 grep -v '^ *+' conftest.er1 >conftest.err
72647 rm -f conftest.er1
72648 cat conftest.err >&5
72649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72650 (exit $ac_status); } &&
72651 { ac_try='test -z "$ac_c_werror_flag"
72652 || test ! -s conftest.err'
72653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72654 (eval $ac_try) 2>&5
72655 ac_status=$?
72656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72657 (exit $ac_status); }; } &&
72658 { ac_try='test -s conftest$ac_exeext'
72659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72660 (eval $ac_try) 2>&5
72661 ac_status=$?
72662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72663 (exit $ac_status); }; }; then
72664 ac_cv_lib_m_main=yes
72665 else
72666 echo "$as_me: failed program was:" >&5
72667 sed 's/^/| /' conftest.$ac_ext >&5
72669 ac_cv_lib_m_main=no
72671 rm -f conftest.err conftest.$ac_objext \
72672 conftest$ac_exeext conftest.$ac_ext
72673 LIBS=$ac_check_lib_save_LIBS
72675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72676 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72677 if test $ac_cv_lib_m_main = yes; then
72678 cat >>confdefs.h <<_ACEOF
72679 #define HAVE_LIBM 1
72680 _ACEOF
72682 LIBS="-lm $LIBS"
72687 for ac_func in copysignf
72689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72690 echo "$as_me:$LINENO: checking for $ac_func" >&5
72691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72692 if eval "test \"\${$as_ac_var+set}\" = set"; then
72693 echo $ECHO_N "(cached) $ECHO_C" >&6
72694 else
72695 if test x$gcc_no_link = xyes; then
72696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72698 { (exit 1); exit 1; }; }
72700 cat >conftest.$ac_ext <<_ACEOF
72701 /* confdefs.h. */
72702 _ACEOF
72703 cat confdefs.h >>conftest.$ac_ext
72704 cat >>conftest.$ac_ext <<_ACEOF
72705 /* end confdefs.h. */
72706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72708 #define $ac_func innocuous_$ac_func
72710 /* System header to define __stub macros and hopefully few prototypes,
72711 which can conflict with char $ac_func (); below.
72712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72713 <limits.h> exists even on freestanding compilers. */
72715 #ifdef __STDC__
72716 # include <limits.h>
72717 #else
72718 # include <assert.h>
72719 #endif
72721 #undef $ac_func
72723 /* Override any gcc2 internal prototype to avoid an error. */
72724 #ifdef __cplusplus
72725 extern "C"
72727 #endif
72728 /* We use char because int might match the return type of a gcc2
72729 builtin and then its argument prototype would still apply. */
72730 char $ac_func ();
72731 /* The GNU C library defines this for functions which it implements
72732 to always fail with ENOSYS. Some functions are actually named
72733 something starting with __ and the normal name is an alias. */
72734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72735 choke me
72736 #else
72737 char (*f) () = $ac_func;
72738 #endif
72739 #ifdef __cplusplus
72741 #endif
72744 main ()
72746 return f != $ac_func;
72748 return 0;
72750 _ACEOF
72751 rm -f conftest.$ac_objext conftest$ac_exeext
72752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72753 (eval $ac_link) 2>conftest.er1
72754 ac_status=$?
72755 grep -v '^ *+' conftest.er1 >conftest.err
72756 rm -f conftest.er1
72757 cat conftest.err >&5
72758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72759 (exit $ac_status); } &&
72760 { ac_try='test -z "$ac_c_werror_flag"
72761 || test ! -s conftest.err'
72762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72763 (eval $ac_try) 2>&5
72764 ac_status=$?
72765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72766 (exit $ac_status); }; } &&
72767 { ac_try='test -s conftest$ac_exeext'
72768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72769 (eval $ac_try) 2>&5
72770 ac_status=$?
72771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72772 (exit $ac_status); }; }; then
72773 eval "$as_ac_var=yes"
72774 else
72775 echo "$as_me: failed program was:" >&5
72776 sed 's/^/| /' conftest.$ac_ext >&5
72778 eval "$as_ac_var=no"
72780 rm -f conftest.err conftest.$ac_objext \
72781 conftest$ac_exeext conftest.$ac_ext
72783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72785 if test `eval echo '${'$as_ac_var'}'` = yes; then
72786 cat >>confdefs.h <<_ACEOF
72787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72788 _ACEOF
72790 else
72791 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72793 done
72797 for ac_func in __signbit
72799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72800 echo "$as_me:$LINENO: checking for $ac_func" >&5
72801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72802 if eval "test \"\${$as_ac_var+set}\" = set"; then
72803 echo $ECHO_N "(cached) $ECHO_C" >&6
72804 else
72805 if test x$gcc_no_link = xyes; then
72806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72808 { (exit 1); exit 1; }; }
72810 cat >conftest.$ac_ext <<_ACEOF
72811 /* confdefs.h. */
72812 _ACEOF
72813 cat confdefs.h >>conftest.$ac_ext
72814 cat >>conftest.$ac_ext <<_ACEOF
72815 /* end confdefs.h. */
72816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72818 #define $ac_func innocuous_$ac_func
72820 /* System header to define __stub macros and hopefully few prototypes,
72821 which can conflict with char $ac_func (); below.
72822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72823 <limits.h> exists even on freestanding compilers. */
72825 #ifdef __STDC__
72826 # include <limits.h>
72827 #else
72828 # include <assert.h>
72829 #endif
72831 #undef $ac_func
72833 /* Override any gcc2 internal prototype to avoid an error. */
72834 #ifdef __cplusplus
72835 extern "C"
72837 #endif
72838 /* We use char because int might match the return type of a gcc2
72839 builtin and then its argument prototype would still apply. */
72840 char $ac_func ();
72841 /* The GNU C library defines this for functions which it implements
72842 to always fail with ENOSYS. Some functions are actually named
72843 something starting with __ and the normal name is an alias. */
72844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72845 choke me
72846 #else
72847 char (*f) () = $ac_func;
72848 #endif
72849 #ifdef __cplusplus
72851 #endif
72854 main ()
72856 return f != $ac_func;
72858 return 0;
72860 _ACEOF
72861 rm -f conftest.$ac_objext conftest$ac_exeext
72862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72863 (eval $ac_link) 2>conftest.er1
72864 ac_status=$?
72865 grep -v '^ *+' conftest.er1 >conftest.err
72866 rm -f conftest.er1
72867 cat conftest.err >&5
72868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72869 (exit $ac_status); } &&
72870 { ac_try='test -z "$ac_c_werror_flag"
72871 || test ! -s conftest.err'
72872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72873 (eval $ac_try) 2>&5
72874 ac_status=$?
72875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876 (exit $ac_status); }; } &&
72877 { ac_try='test -s conftest$ac_exeext'
72878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72879 (eval $ac_try) 2>&5
72880 ac_status=$?
72881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72882 (exit $ac_status); }; }; then
72883 eval "$as_ac_var=yes"
72884 else
72885 echo "$as_me: failed program was:" >&5
72886 sed 's/^/| /' conftest.$ac_ext >&5
72888 eval "$as_ac_var=no"
72890 rm -f conftest.err conftest.$ac_objext \
72891 conftest$ac_exeext conftest.$ac_ext
72893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72895 if test `eval echo '${'$as_ac_var'}'` = yes; then
72896 cat >>confdefs.h <<_ACEOF
72897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72898 _ACEOF
72900 else
72901 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72903 done
72907 for ac_func in __signbitf
72909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72910 echo "$as_me:$LINENO: checking for $ac_func" >&5
72911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72912 if eval "test \"\${$as_ac_var+set}\" = set"; then
72913 echo $ECHO_N "(cached) $ECHO_C" >&6
72914 else
72915 if test x$gcc_no_link = xyes; then
72916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72918 { (exit 1); exit 1; }; }
72920 cat >conftest.$ac_ext <<_ACEOF
72921 /* confdefs.h. */
72922 _ACEOF
72923 cat confdefs.h >>conftest.$ac_ext
72924 cat >>conftest.$ac_ext <<_ACEOF
72925 /* end confdefs.h. */
72926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72928 #define $ac_func innocuous_$ac_func
72930 /* System header to define __stub macros and hopefully few prototypes,
72931 which can conflict with char $ac_func (); below.
72932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72933 <limits.h> exists even on freestanding compilers. */
72935 #ifdef __STDC__
72936 # include <limits.h>
72937 #else
72938 # include <assert.h>
72939 #endif
72941 #undef $ac_func
72943 /* Override any gcc2 internal prototype to avoid an error. */
72944 #ifdef __cplusplus
72945 extern "C"
72947 #endif
72948 /* We use char because int might match the return type of a gcc2
72949 builtin and then its argument prototype would still apply. */
72950 char $ac_func ();
72951 /* The GNU C library defines this for functions which it implements
72952 to always fail with ENOSYS. Some functions are actually named
72953 something starting with __ and the normal name is an alias. */
72954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72955 choke me
72956 #else
72957 char (*f) () = $ac_func;
72958 #endif
72959 #ifdef __cplusplus
72961 #endif
72964 main ()
72966 return f != $ac_func;
72968 return 0;
72970 _ACEOF
72971 rm -f conftest.$ac_objext conftest$ac_exeext
72972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72973 (eval $ac_link) 2>conftest.er1
72974 ac_status=$?
72975 grep -v '^ *+' conftest.er1 >conftest.err
72976 rm -f conftest.er1
72977 cat conftest.err >&5
72978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72979 (exit $ac_status); } &&
72980 { ac_try='test -z "$ac_c_werror_flag"
72981 || test ! -s conftest.err'
72982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72983 (eval $ac_try) 2>&5
72984 ac_status=$?
72985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72986 (exit $ac_status); }; } &&
72987 { ac_try='test -s conftest$ac_exeext'
72988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72989 (eval $ac_try) 2>&5
72990 ac_status=$?
72991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72992 (exit $ac_status); }; }; then
72993 eval "$as_ac_var=yes"
72994 else
72995 echo "$as_me: failed program was:" >&5
72996 sed 's/^/| /' conftest.$ac_ext >&5
72998 eval "$as_ac_var=no"
73000 rm -f conftest.err conftest.$ac_objext \
73001 conftest$ac_exeext conftest.$ac_ext
73003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73005 if test `eval echo '${'$as_ac_var'}'` = yes; then
73006 cat >>confdefs.h <<_ACEOF
73007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73008 _ACEOF
73010 else
73011 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73013 done
73016 if test x$ac_cv_func_copysignl = x"yes"; then
73018 for ac_func in __signbitl
73020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73021 echo "$as_me:$LINENO: checking for $ac_func" >&5
73022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73023 if eval "test \"\${$as_ac_var+set}\" = set"; then
73024 echo $ECHO_N "(cached) $ECHO_C" >&6
73025 else
73026 if test x$gcc_no_link = xyes; then
73027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73029 { (exit 1); exit 1; }; }
73031 cat >conftest.$ac_ext <<_ACEOF
73032 /* confdefs.h. */
73033 _ACEOF
73034 cat confdefs.h >>conftest.$ac_ext
73035 cat >>conftest.$ac_ext <<_ACEOF
73036 /* end confdefs.h. */
73037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73039 #define $ac_func innocuous_$ac_func
73041 /* System header to define __stub macros and hopefully few prototypes,
73042 which can conflict with char $ac_func (); below.
73043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73044 <limits.h> exists even on freestanding compilers. */
73046 #ifdef __STDC__
73047 # include <limits.h>
73048 #else
73049 # include <assert.h>
73050 #endif
73052 #undef $ac_func
73054 /* Override any gcc2 internal prototype to avoid an error. */
73055 #ifdef __cplusplus
73056 extern "C"
73058 #endif
73059 /* We use char because int might match the return type of a gcc2
73060 builtin and then its argument prototype would still apply. */
73061 char $ac_func ();
73062 /* The GNU C library defines this for functions which it implements
73063 to always fail with ENOSYS. Some functions are actually named
73064 something starting with __ and the normal name is an alias. */
73065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73066 choke me
73067 #else
73068 char (*f) () = $ac_func;
73069 #endif
73070 #ifdef __cplusplus
73072 #endif
73075 main ()
73077 return f != $ac_func;
73079 return 0;
73081 _ACEOF
73082 rm -f conftest.$ac_objext conftest$ac_exeext
73083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73084 (eval $ac_link) 2>conftest.er1
73085 ac_status=$?
73086 grep -v '^ *+' conftest.er1 >conftest.err
73087 rm -f conftest.er1
73088 cat conftest.err >&5
73089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73090 (exit $ac_status); } &&
73091 { ac_try='test -z "$ac_c_werror_flag"
73092 || test ! -s conftest.err'
73093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73094 (eval $ac_try) 2>&5
73095 ac_status=$?
73096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73097 (exit $ac_status); }; } &&
73098 { ac_try='test -s conftest$ac_exeext'
73099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73100 (eval $ac_try) 2>&5
73101 ac_status=$?
73102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73103 (exit $ac_status); }; }; then
73104 eval "$as_ac_var=yes"
73105 else
73106 echo "$as_me: failed program was:" >&5
73107 sed 's/^/| /' conftest.$ac_ext >&5
73109 eval "$as_ac_var=no"
73111 rm -f conftest.err conftest.$ac_objext \
73112 conftest$ac_exeext conftest.$ac_ext
73114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73116 if test `eval echo '${'$as_ac_var'}'` = yes; then
73117 cat >>confdefs.h <<_ACEOF
73118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73119 _ACEOF
73121 else
73122 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73124 done
73128 # Used in libmath/Makefile.am.
73129 if test -n "$LIBMATHOBJS"; then
73130 need_libmath=yes
73136 enable_iconv=no
73137 # Only continue checking if the ISO C99 headers exist and support is on.
73138 if test x"$enable_wchar_t" = xyes; then
73140 # Use iconv for wchar_t to char conversions. As such, check for
73141 # X/Open Portability Guide, version 2 features (XPG2).
73142 if test "${ac_cv_header_iconv_h+set}" = set; then
73143 echo "$as_me:$LINENO: checking for iconv.h" >&5
73144 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73145 if test "${ac_cv_header_iconv_h+set}" = set; then
73146 echo $ECHO_N "(cached) $ECHO_C" >&6
73148 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73149 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73150 else
73151 # Is the header compilable?
73152 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73153 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73154 cat >conftest.$ac_ext <<_ACEOF
73155 /* confdefs.h. */
73156 _ACEOF
73157 cat confdefs.h >>conftest.$ac_ext
73158 cat >>conftest.$ac_ext <<_ACEOF
73159 /* end confdefs.h. */
73160 $ac_includes_default
73161 #include <iconv.h>
73162 _ACEOF
73163 rm -f conftest.$ac_objext
73164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73165 (eval $ac_compile) 2>conftest.er1
73166 ac_status=$?
73167 grep -v '^ *+' conftest.er1 >conftest.err
73168 rm -f conftest.er1
73169 cat conftest.err >&5
73170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73171 (exit $ac_status); } &&
73172 { ac_try='test -z "$ac_c_werror_flag"
73173 || test ! -s conftest.err'
73174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73175 (eval $ac_try) 2>&5
73176 ac_status=$?
73177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73178 (exit $ac_status); }; } &&
73179 { ac_try='test -s conftest.$ac_objext'
73180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73181 (eval $ac_try) 2>&5
73182 ac_status=$?
73183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73184 (exit $ac_status); }; }; then
73185 ac_header_compiler=yes
73186 else
73187 echo "$as_me: failed program was:" >&5
73188 sed 's/^/| /' conftest.$ac_ext >&5
73190 ac_header_compiler=no
73192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73194 echo "${ECHO_T}$ac_header_compiler" >&6
73196 # Is the header present?
73197 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73198 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73199 cat >conftest.$ac_ext <<_ACEOF
73200 /* confdefs.h. */
73201 _ACEOF
73202 cat confdefs.h >>conftest.$ac_ext
73203 cat >>conftest.$ac_ext <<_ACEOF
73204 /* end confdefs.h. */
73205 #include <iconv.h>
73206 _ACEOF
73207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73209 ac_status=$?
73210 grep -v '^ *+' conftest.er1 >conftest.err
73211 rm -f conftest.er1
73212 cat conftest.err >&5
73213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73214 (exit $ac_status); } >/dev/null; then
73215 if test -s conftest.err; then
73216 ac_cpp_err=$ac_c_preproc_warn_flag
73217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73218 else
73219 ac_cpp_err=
73221 else
73222 ac_cpp_err=yes
73224 if test -z "$ac_cpp_err"; then
73225 ac_header_preproc=yes
73226 else
73227 echo "$as_me: failed program was:" >&5
73228 sed 's/^/| /' conftest.$ac_ext >&5
73230 ac_header_preproc=no
73232 rm -f conftest.err conftest.$ac_ext
73233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73234 echo "${ECHO_T}$ac_header_preproc" >&6
73236 # So? What about this header?
73237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73238 yes:no: )
73239 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73240 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73241 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73242 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73243 ac_header_preproc=yes
73245 no:yes:* )
73246 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73247 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73248 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73249 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73250 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73251 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73252 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73253 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73254 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73255 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73256 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73257 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73259 cat <<\_ASBOX
73260 ## ----------------------------------------- ##
73261 ## Report this to the package-unused lists. ##
73262 ## ----------------------------------------- ##
73263 _ASBOX
73265 sed "s/^/$as_me: WARNING: /" >&2
73267 esac
73268 echo "$as_me:$LINENO: checking for iconv.h" >&5
73269 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73270 if test "${ac_cv_header_iconv_h+set}" = set; then
73271 echo $ECHO_N "(cached) $ECHO_C" >&6
73272 else
73273 ac_cv_header_iconv_h=$ac_header_preproc
73275 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73276 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73279 if test $ac_cv_header_iconv_h = yes; then
73280 ac_has_iconv_h=yes
73281 else
73282 ac_has_iconv_h=no
73286 if test "${ac_cv_header_langinfo_h+set}" = set; then
73287 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73288 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73289 if test "${ac_cv_header_langinfo_h+set}" = set; then
73290 echo $ECHO_N "(cached) $ECHO_C" >&6
73292 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73293 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73294 else
73295 # Is the header compilable?
73296 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73297 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73298 cat >conftest.$ac_ext <<_ACEOF
73299 /* confdefs.h. */
73300 _ACEOF
73301 cat confdefs.h >>conftest.$ac_ext
73302 cat >>conftest.$ac_ext <<_ACEOF
73303 /* end confdefs.h. */
73304 $ac_includes_default
73305 #include <langinfo.h>
73306 _ACEOF
73307 rm -f conftest.$ac_objext
73308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73309 (eval $ac_compile) 2>conftest.er1
73310 ac_status=$?
73311 grep -v '^ *+' conftest.er1 >conftest.err
73312 rm -f conftest.er1
73313 cat conftest.err >&5
73314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73315 (exit $ac_status); } &&
73316 { ac_try='test -z "$ac_c_werror_flag"
73317 || test ! -s conftest.err'
73318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73319 (eval $ac_try) 2>&5
73320 ac_status=$?
73321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73322 (exit $ac_status); }; } &&
73323 { ac_try='test -s conftest.$ac_objext'
73324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73325 (eval $ac_try) 2>&5
73326 ac_status=$?
73327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73328 (exit $ac_status); }; }; then
73329 ac_header_compiler=yes
73330 else
73331 echo "$as_me: failed program was:" >&5
73332 sed 's/^/| /' conftest.$ac_ext >&5
73334 ac_header_compiler=no
73336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73338 echo "${ECHO_T}$ac_header_compiler" >&6
73340 # Is the header present?
73341 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73342 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73343 cat >conftest.$ac_ext <<_ACEOF
73344 /* confdefs.h. */
73345 _ACEOF
73346 cat confdefs.h >>conftest.$ac_ext
73347 cat >>conftest.$ac_ext <<_ACEOF
73348 /* end confdefs.h. */
73349 #include <langinfo.h>
73350 _ACEOF
73351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73353 ac_status=$?
73354 grep -v '^ *+' conftest.er1 >conftest.err
73355 rm -f conftest.er1
73356 cat conftest.err >&5
73357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73358 (exit $ac_status); } >/dev/null; then
73359 if test -s conftest.err; then
73360 ac_cpp_err=$ac_c_preproc_warn_flag
73361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73362 else
73363 ac_cpp_err=
73365 else
73366 ac_cpp_err=yes
73368 if test -z "$ac_cpp_err"; then
73369 ac_header_preproc=yes
73370 else
73371 echo "$as_me: failed program was:" >&5
73372 sed 's/^/| /' conftest.$ac_ext >&5
73374 ac_header_preproc=no
73376 rm -f conftest.err conftest.$ac_ext
73377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73378 echo "${ECHO_T}$ac_header_preproc" >&6
73380 # So? What about this header?
73381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73382 yes:no: )
73383 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73384 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73385 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73386 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73387 ac_header_preproc=yes
73389 no:yes:* )
73390 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73391 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73392 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73393 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73394 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73395 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73396 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73397 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73398 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73399 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73400 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73401 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73403 cat <<\_ASBOX
73404 ## ----------------------------------------- ##
73405 ## Report this to the package-unused lists. ##
73406 ## ----------------------------------------- ##
73407 _ASBOX
73409 sed "s/^/$as_me: WARNING: /" >&2
73411 esac
73412 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73413 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73414 if test "${ac_cv_header_langinfo_h+set}" = set; then
73415 echo $ECHO_N "(cached) $ECHO_C" >&6
73416 else
73417 ac_cv_header_langinfo_h=$ac_header_preproc
73419 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73420 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73423 if test $ac_cv_header_langinfo_h = yes; then
73424 ac_has_langinfo_h=yes
73425 else
73426 ac_has_langinfo_h=no
73431 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73432 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73433 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73434 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73435 echo $ECHO_N "(cached) $ECHO_C" >&6
73436 else
73437 ac_check_lib_save_LIBS=$LIBS
73438 LIBS="-liconv $LIBS"
73439 if test x$gcc_no_link = xyes; then
73440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73442 { (exit 1); exit 1; }; }
73444 cat >conftest.$ac_ext <<_ACEOF
73445 /* confdefs.h. */
73446 _ACEOF
73447 cat confdefs.h >>conftest.$ac_ext
73448 cat >>conftest.$ac_ext <<_ACEOF
73449 /* end confdefs.h. */
73451 /* Override any gcc2 internal prototype to avoid an error. */
73452 #ifdef __cplusplus
73453 extern "C"
73454 #endif
73455 /* We use char because int might match the return type of a gcc2
73456 builtin and then its argument prototype would still apply. */
73457 char iconv ();
73459 main ()
73461 iconv ();
73463 return 0;
73465 _ACEOF
73466 rm -f conftest.$ac_objext conftest$ac_exeext
73467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73468 (eval $ac_link) 2>conftest.er1
73469 ac_status=$?
73470 grep -v '^ *+' conftest.er1 >conftest.err
73471 rm -f conftest.er1
73472 cat conftest.err >&5
73473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73474 (exit $ac_status); } &&
73475 { ac_try='test -z "$ac_c_werror_flag"
73476 || test ! -s conftest.err'
73477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73478 (eval $ac_try) 2>&5
73479 ac_status=$?
73480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73481 (exit $ac_status); }; } &&
73482 { ac_try='test -s conftest$ac_exeext'
73483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73484 (eval $ac_try) 2>&5
73485 ac_status=$?
73486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73487 (exit $ac_status); }; }; then
73488 ac_cv_lib_iconv_iconv=yes
73489 else
73490 echo "$as_me: failed program was:" >&5
73491 sed 's/^/| /' conftest.$ac_ext >&5
73493 ac_cv_lib_iconv_iconv=no
73495 rm -f conftest.err conftest.$ac_objext \
73496 conftest$ac_exeext conftest.$ac_ext
73497 LIBS=$ac_check_lib_save_LIBS
73499 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73500 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73501 if test $ac_cv_lib_iconv_iconv = yes; then
73502 LIBICONV="-liconv"
73505 ac_save_LIBS="$LIBS"
73506 LIBS="$LIBS $LIBICONV"
73513 for ac_func in iconv_open iconv_close iconv nl_langinfo
73515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73516 echo "$as_me:$LINENO: checking for $ac_func" >&5
73517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73518 if eval "test \"\${$as_ac_var+set}\" = set"; then
73519 echo $ECHO_N "(cached) $ECHO_C" >&6
73520 else
73521 if test x$gcc_no_link = xyes; then
73522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73524 { (exit 1); exit 1; }; }
73526 cat >conftest.$ac_ext <<_ACEOF
73527 /* confdefs.h. */
73528 _ACEOF
73529 cat confdefs.h >>conftest.$ac_ext
73530 cat >>conftest.$ac_ext <<_ACEOF
73531 /* end confdefs.h. */
73532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73534 #define $ac_func innocuous_$ac_func
73536 /* System header to define __stub macros and hopefully few prototypes,
73537 which can conflict with char $ac_func (); below.
73538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73539 <limits.h> exists even on freestanding compilers. */
73541 #ifdef __STDC__
73542 # include <limits.h>
73543 #else
73544 # include <assert.h>
73545 #endif
73547 #undef $ac_func
73549 /* Override any gcc2 internal prototype to avoid an error. */
73550 #ifdef __cplusplus
73551 extern "C"
73553 #endif
73554 /* We use char because int might match the return type of a gcc2
73555 builtin and then its argument prototype would still apply. */
73556 char $ac_func ();
73557 /* The GNU C library defines this for functions which it implements
73558 to always fail with ENOSYS. Some functions are actually named
73559 something starting with __ and the normal name is an alias. */
73560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73561 choke me
73562 #else
73563 char (*f) () = $ac_func;
73564 #endif
73565 #ifdef __cplusplus
73567 #endif
73570 main ()
73572 return f != $ac_func;
73574 return 0;
73576 _ACEOF
73577 rm -f conftest.$ac_objext conftest$ac_exeext
73578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73579 (eval $ac_link) 2>conftest.er1
73580 ac_status=$?
73581 grep -v '^ *+' conftest.er1 >conftest.err
73582 rm -f conftest.er1
73583 cat conftest.err >&5
73584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73585 (exit $ac_status); } &&
73586 { ac_try='test -z "$ac_c_werror_flag"
73587 || test ! -s conftest.err'
73588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73589 (eval $ac_try) 2>&5
73590 ac_status=$?
73591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73592 (exit $ac_status); }; } &&
73593 { ac_try='test -s conftest$ac_exeext'
73594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73595 (eval $ac_try) 2>&5
73596 ac_status=$?
73597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73598 (exit $ac_status); }; }; then
73599 eval "$as_ac_var=yes"
73600 else
73601 echo "$as_me: failed program was:" >&5
73602 sed 's/^/| /' conftest.$ac_ext >&5
73604 eval "$as_ac_var=no"
73606 rm -f conftest.err conftest.$ac_objext \
73607 conftest$ac_exeext conftest.$ac_ext
73609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73611 if test `eval echo '${'$as_ac_var'}'` = yes; then
73612 cat >>confdefs.h <<_ACEOF
73613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73614 _ACEOF
73615 ac_XPG2funcs=yes
73616 else
73617 ac_XPG2funcs=no
73619 done
73622 LIBS="$ac_save_LIBS"
73624 if test x"$ac_has_iconv_h" = xyes &&
73625 test x"$ac_has_langinfo_h" = xyes &&
73626 test x"$ac_XPG2funcs" = xyes;
73627 then
73629 cat >>confdefs.h <<\_ACEOF
73630 #define _GLIBCXX_USE_ICONV 1
73631 _ACEOF
73633 enable_iconv=yes
73636 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73637 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73638 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73639 echo "${ECHO_T}$enable_iconv" >&6
73641 cat >>confdefs.h <<\_ACEOF
73642 #define HAVE_LC_MESSAGES 1
73643 _ACEOF
73645 cat >>confdefs.h <<\_ACEOF
73646 #define HAVE_GETPAGESIZE 1
73647 _ACEOF
73649 cat >>confdefs.h <<\_ACEOF
73650 #define HAVE_SETENV 1
73651 _ACEOF
73653 cat >>confdefs.h <<\_ACEOF
73654 #define HAVE_SIGSETJMP 1
73655 _ACEOF
73657 cat >>confdefs.h <<\_ACEOF
73658 #define HAVE_COPYSIGN 1
73659 _ACEOF
73661 cat >>confdefs.h <<\_ACEOF
73662 #define HAVE_COPYSIGNF 1
73663 _ACEOF
73665 cat >>confdefs.h <<\_ACEOF
73666 #define HAVE_FINITEF 1
73667 _ACEOF
73669 cat >>confdefs.h <<\_ACEOF
73670 #define HAVE_FINITE 1
73671 _ACEOF
73673 cat >>confdefs.h <<\_ACEOF
73674 #define HAVE_FREXPF 1
73675 _ACEOF
73677 cat >>confdefs.h <<\_ACEOF
73678 #define HAVE_HYPOT 1
73679 _ACEOF
73681 cat >>confdefs.h <<\_ACEOF
73682 #define HAVE_HYPOTF 1
73683 _ACEOF
73685 cat >>confdefs.h <<\_ACEOF
73686 #define HAVE_ISINF 1
73687 _ACEOF
73689 cat >>confdefs.h <<\_ACEOF
73690 #define HAVE_ISNAN 1
73691 _ACEOF
73693 cat >>confdefs.h <<\_ACEOF
73694 #define HAVE_ISNANF 1
73695 _ACEOF
73698 cat >>confdefs.h <<\_ACEOF
73699 #define HAVE_MMAP 1
73700 _ACEOF
73702 cat >>confdefs.h <<\_ACEOF
73703 #define HAVE_ACOSF 1
73704 _ACEOF
73706 cat >>confdefs.h <<\_ACEOF
73707 #define HAVE_ASINF 1
73708 _ACEOF
73710 cat >>confdefs.h <<\_ACEOF
73711 #define HAVE_ATAN2F 1
73712 _ACEOF
73714 cat >>confdefs.h <<\_ACEOF
73715 #define HAVE_ATANF 1
73716 _ACEOF
73718 cat >>confdefs.h <<\_ACEOF
73719 #define HAVE_CEILF 1
73720 _ACEOF
73722 cat >>confdefs.h <<\_ACEOF
73723 #define HAVE_COPYSIGN 1
73724 _ACEOF
73726 cat >>confdefs.h <<\_ACEOF
73727 #define HAVE_COPYSIGNF 1
73728 _ACEOF
73730 cat >>confdefs.h <<\_ACEOF
73731 #define HAVE_COSF 1
73732 _ACEOF
73734 cat >>confdefs.h <<\_ACEOF
73735 #define HAVE_COSHF 1
73736 _ACEOF
73738 cat >>confdefs.h <<\_ACEOF
73739 #define HAVE_EXPF 1
73740 _ACEOF
73742 cat >>confdefs.h <<\_ACEOF
73743 #define HAVE_FABSF 1
73744 _ACEOF
73746 cat >>confdefs.h <<\_ACEOF
73747 #define HAVE_FLOORF 1
73748 _ACEOF
73750 cat >>confdefs.h <<\_ACEOF
73751 #define HAVE_FMODF 1
73752 _ACEOF
73754 cat >>confdefs.h <<\_ACEOF
73755 #define HAVE_FREXPF 1
73756 _ACEOF
73758 cat >>confdefs.h <<\_ACEOF
73759 #define HAVE_LDEXPF 1
73760 _ACEOF
73762 cat >>confdefs.h <<\_ACEOF
73763 #define HAVE_LOG10F 1
73764 _ACEOF
73766 cat >>confdefs.h <<\_ACEOF
73767 #define HAVE_LOGF 1
73768 _ACEOF
73770 cat >>confdefs.h <<\_ACEOF
73771 #define HAVE_MODFF 1
73772 _ACEOF
73774 cat >>confdefs.h <<\_ACEOF
73775 #define HAVE_POWF 1
73776 _ACEOF
73778 cat >>confdefs.h <<\_ACEOF
73779 #define HAVE_SINF 1
73780 _ACEOF
73782 cat >>confdefs.h <<\_ACEOF
73783 #define HAVE_SINHF 1
73784 _ACEOF
73786 cat >>confdefs.h <<\_ACEOF
73787 #define HAVE_SQRTF 1
73788 _ACEOF
73790 cat >>confdefs.h <<\_ACEOF
73791 #define HAVE_TANF 1
73792 _ACEOF
73794 cat >>confdefs.h <<\_ACEOF
73795 #define HAVE_TANHF 1
73796 _ACEOF
73798 if test x"long_double_math_on_this_cpu" = x"yes"; then
73799 cat >>confdefs.h <<\_ACEOF
73800 #define HAVE_FINITEL 1
73801 _ACEOF
73803 cat >>confdefs.h <<\_ACEOF
73804 #define HAVE_ISINFL 1
73805 _ACEOF
73807 cat >>confdefs.h <<\_ACEOF
73808 #define HAVE_ISNANL 1
73809 _ACEOF
73813 *-hpux*)
73826 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73827 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73828 fp.h locale.h float.h inttypes.h
73830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73832 echo "$as_me:$LINENO: checking for $ac_header" >&5
73833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73835 echo $ECHO_N "(cached) $ECHO_C" >&6
73837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73839 else
73840 # Is the header compilable?
73841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73843 cat >conftest.$ac_ext <<_ACEOF
73844 /* confdefs.h. */
73845 _ACEOF
73846 cat confdefs.h >>conftest.$ac_ext
73847 cat >>conftest.$ac_ext <<_ACEOF
73848 /* end confdefs.h. */
73849 $ac_includes_default
73850 #include <$ac_header>
73851 _ACEOF
73852 rm -f conftest.$ac_objext
73853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73854 (eval $ac_compile) 2>conftest.er1
73855 ac_status=$?
73856 grep -v '^ *+' conftest.er1 >conftest.err
73857 rm -f conftest.er1
73858 cat conftest.err >&5
73859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73860 (exit $ac_status); } &&
73861 { ac_try='test -z "$ac_c_werror_flag"
73862 || test ! -s conftest.err'
73863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73864 (eval $ac_try) 2>&5
73865 ac_status=$?
73866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73867 (exit $ac_status); }; } &&
73868 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
73874 ac_header_compiler=yes
73875 else
73876 echo "$as_me: failed program was:" >&5
73877 sed 's/^/| /' conftest.$ac_ext >&5
73879 ac_header_compiler=no
73881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73883 echo "${ECHO_T}$ac_header_compiler" >&6
73885 # Is the header present?
73886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73888 cat >conftest.$ac_ext <<_ACEOF
73889 /* confdefs.h. */
73890 _ACEOF
73891 cat confdefs.h >>conftest.$ac_ext
73892 cat >>conftest.$ac_ext <<_ACEOF
73893 /* end confdefs.h. */
73894 #include <$ac_header>
73895 _ACEOF
73896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73898 ac_status=$?
73899 grep -v '^ *+' conftest.er1 >conftest.err
73900 rm -f conftest.er1
73901 cat conftest.err >&5
73902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73903 (exit $ac_status); } >/dev/null; then
73904 if test -s conftest.err; then
73905 ac_cpp_err=$ac_c_preproc_warn_flag
73906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73907 else
73908 ac_cpp_err=
73910 else
73911 ac_cpp_err=yes
73913 if test -z "$ac_cpp_err"; then
73914 ac_header_preproc=yes
73915 else
73916 echo "$as_me: failed program was:" >&5
73917 sed 's/^/| /' conftest.$ac_ext >&5
73919 ac_header_preproc=no
73921 rm -f conftest.err conftest.$ac_ext
73922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73923 echo "${ECHO_T}$ac_header_preproc" >&6
73925 # So? What about this header?
73926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73927 yes:no: )
73928 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73932 ac_header_preproc=yes
73934 no:yes:* )
73935 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73937 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73938 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73939 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73941 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73942 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73945 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73948 cat <<\_ASBOX
73949 ## ----------------------------------------- ##
73950 ## Report this to the package-unused lists. ##
73951 ## ----------------------------------------- ##
73952 _ASBOX
73954 sed "s/^/$as_me: WARNING: /" >&2
73956 esac
73957 echo "$as_me:$LINENO: checking for $ac_header" >&5
73958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73960 echo $ECHO_N "(cached) $ECHO_C" >&6
73961 else
73962 eval "$as_ac_Header=\$ac_header_preproc"
73964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73969 cat >>confdefs.h <<_ACEOF
73970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73971 _ACEOF
73975 done
73977 SECTION_FLAGS='-ffunction-sections -fdata-sections'
73980 # If we're not using GNU ld, then there's no point in even trying these
73981 # tests. Check for that first. We should have already tested for gld
73982 # by now (in libtool), but require it now just to be safe...
73983 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
73984 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
73988 # The name set by libtool depends on the version of libtool. Shame on us
73989 # for depending on an impl detail, but c'est la vie. Older versions used
73990 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
73991 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
73992 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
73993 # set (hence we're using an older libtool), then set it.
73994 if test x${with_gnu_ld+set} != xset; then
73995 if test x${ac_cv_prog_gnu_ld+set} != xset; then
73996 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
73997 with_gnu_ld=no
73998 else
73999 with_gnu_ld=$ac_cv_prog_gnu_ld
74003 # Start by getting the version number. I think the libtool test already
74004 # does some of this, but throws away the result.
74006 ldver=`$LD --version 2>/dev/null | head -1 | \
74007 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74009 glibcxx_gnu_ld_version=`echo $ldver | \
74010 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74012 # Set --gc-sections.
74013 if test "$with_gnu_ld" = "notbroken"; then
74014 # GNU ld it is! Joy and bunny rabbits!
74016 # All these tests are for C++; save the language and the compiler flags.
74017 # Need to do this so that g++ won't try to link in libstdc++
74018 ac_test_CFLAGS="${CFLAGS+set}"
74019 ac_save_CFLAGS="$CFLAGS"
74020 CFLAGS='-x c++ -Wl,--gc-sections'
74022 # Check for -Wl,--gc-sections
74023 # XXX This test is broken at the moment, as symbols required for linking
74024 # are now in libsupc++ (not built yet). In addition, this test has
74025 # cored on solaris in the past. In addition, --gc-sections doesn't
74026 # really work at the moment (keeps on discarding used sections, first
74027 # .eh_frame and now some of the glibc sections for iconv).
74028 # Bzzzzt. Thanks for playing, maybe next time.
74029 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74030 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74031 if test "$cross_compiling" = yes; then
74032 ac_sectionLDflags=yes
74033 else
74034 cat >conftest.$ac_ext <<_ACEOF
74035 /* confdefs.h. */
74036 _ACEOF
74037 cat confdefs.h >>conftest.$ac_ext
74038 cat >>conftest.$ac_ext <<_ACEOF
74039 /* end confdefs.h. */
74041 int main(void)
74043 try { throw 1; }
74044 catch (...) { };
74045 return 0;
74048 _ACEOF
74049 rm -f conftest$ac_exeext
74050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74051 (eval $ac_link) 2>&5
74052 ac_status=$?
74053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74056 (eval $ac_try) 2>&5
74057 ac_status=$?
74058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74059 (exit $ac_status); }; }; then
74060 ac_sectionLDflags=yes
74061 else
74062 echo "$as_me: program exited with status $ac_status" >&5
74063 echo "$as_me: failed program was:" >&5
74064 sed 's/^/| /' conftest.$ac_ext >&5
74066 ( exit $ac_status )
74067 ac_sectionLDflags=no
74069 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74071 if test "$ac_test_CFLAGS" = set; then
74072 CFLAGS="$ac_save_CFLAGS"
74073 else
74074 # this is the suspicious part
74075 CFLAGS=''
74077 if test "$ac_sectionLDflags" = "yes"; then
74078 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74080 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74081 echo "${ECHO_T}$ac_sectionLDflags" >&6
74084 # Set linker optimization flags.
74085 if test x"$with_gnu_ld" = x"yes"; then
74086 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74094 echo "$as_me:$LINENO: checking for main in -lm" >&5
74095 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74096 if test "${ac_cv_lib_m_main+set}" = set; then
74097 echo $ECHO_N "(cached) $ECHO_C" >&6
74098 else
74099 ac_check_lib_save_LIBS=$LIBS
74100 LIBS="-lm $LIBS"
74101 if test x$gcc_no_link = xyes; then
74102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74104 { (exit 1); exit 1; }; }
74106 cat >conftest.$ac_ext <<_ACEOF
74107 /* confdefs.h. */
74108 _ACEOF
74109 cat confdefs.h >>conftest.$ac_ext
74110 cat >>conftest.$ac_ext <<_ACEOF
74111 /* end confdefs.h. */
74115 main ()
74117 main ();
74119 return 0;
74121 _ACEOF
74122 rm -f conftest.$ac_objext conftest$ac_exeext
74123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74124 (eval $ac_link) 2>conftest.er1
74125 ac_status=$?
74126 grep -v '^ *+' conftest.er1 >conftest.err
74127 rm -f conftest.er1
74128 cat conftest.err >&5
74129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74130 (exit $ac_status); } &&
74131 { ac_try='test -z "$ac_c_werror_flag"
74132 || test ! -s conftest.err'
74133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74134 (eval $ac_try) 2>&5
74135 ac_status=$?
74136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74137 (exit $ac_status); }; } &&
74138 { ac_try='test -s conftest$ac_exeext'
74139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74140 (eval $ac_try) 2>&5
74141 ac_status=$?
74142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74143 (exit $ac_status); }; }; then
74144 ac_cv_lib_m_main=yes
74145 else
74146 echo "$as_me: failed program was:" >&5
74147 sed 's/^/| /' conftest.$ac_ext >&5
74149 ac_cv_lib_m_main=no
74151 rm -f conftest.err conftest.$ac_objext \
74152 conftest$ac_exeext conftest.$ac_ext
74153 LIBS=$ac_check_lib_save_LIBS
74155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74156 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74157 if test $ac_cv_lib_m_main = yes; then
74158 cat >>confdefs.h <<_ACEOF
74159 #define HAVE_LIBM 1
74160 _ACEOF
74162 LIBS="-lm $LIBS"
74167 for ac_func in copysignf
74169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74170 echo "$as_me:$LINENO: checking for $ac_func" >&5
74171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74172 if eval "test \"\${$as_ac_var+set}\" = set"; then
74173 echo $ECHO_N "(cached) $ECHO_C" >&6
74174 else
74175 if test x$gcc_no_link = xyes; then
74176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74178 { (exit 1); exit 1; }; }
74180 cat >conftest.$ac_ext <<_ACEOF
74181 /* confdefs.h. */
74182 _ACEOF
74183 cat confdefs.h >>conftest.$ac_ext
74184 cat >>conftest.$ac_ext <<_ACEOF
74185 /* end confdefs.h. */
74186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74188 #define $ac_func innocuous_$ac_func
74190 /* System header to define __stub macros and hopefully few prototypes,
74191 which can conflict with char $ac_func (); below.
74192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74193 <limits.h> exists even on freestanding compilers. */
74195 #ifdef __STDC__
74196 # include <limits.h>
74197 #else
74198 # include <assert.h>
74199 #endif
74201 #undef $ac_func
74203 /* Override any gcc2 internal prototype to avoid an error. */
74204 #ifdef __cplusplus
74205 extern "C"
74207 #endif
74208 /* We use char because int might match the return type of a gcc2
74209 builtin and then its argument prototype would still apply. */
74210 char $ac_func ();
74211 /* The GNU C library defines this for functions which it implements
74212 to always fail with ENOSYS. Some functions are actually named
74213 something starting with __ and the normal name is an alias. */
74214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74215 choke me
74216 #else
74217 char (*f) () = $ac_func;
74218 #endif
74219 #ifdef __cplusplus
74221 #endif
74224 main ()
74226 return f != $ac_func;
74228 return 0;
74230 _ACEOF
74231 rm -f conftest.$ac_objext conftest$ac_exeext
74232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74233 (eval $ac_link) 2>conftest.er1
74234 ac_status=$?
74235 grep -v '^ *+' conftest.er1 >conftest.err
74236 rm -f conftest.er1
74237 cat conftest.err >&5
74238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74239 (exit $ac_status); } &&
74240 { ac_try='test -z "$ac_c_werror_flag"
74241 || test ! -s conftest.err'
74242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74243 (eval $ac_try) 2>&5
74244 ac_status=$?
74245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74246 (exit $ac_status); }; } &&
74247 { ac_try='test -s conftest$ac_exeext'
74248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74249 (eval $ac_try) 2>&5
74250 ac_status=$?
74251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74252 (exit $ac_status); }; }; then
74253 eval "$as_ac_var=yes"
74254 else
74255 echo "$as_me: failed program was:" >&5
74256 sed 's/^/| /' conftest.$ac_ext >&5
74258 eval "$as_ac_var=no"
74260 rm -f conftest.err conftest.$ac_objext \
74261 conftest$ac_exeext conftest.$ac_ext
74263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74265 if test `eval echo '${'$as_ac_var'}'` = yes; then
74266 cat >>confdefs.h <<_ACEOF
74267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74268 _ACEOF
74270 else
74271 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74273 done
74277 for ac_func in __signbit
74279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74280 echo "$as_me:$LINENO: checking for $ac_func" >&5
74281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74282 if eval "test \"\${$as_ac_var+set}\" = set"; then
74283 echo $ECHO_N "(cached) $ECHO_C" >&6
74284 else
74285 if test x$gcc_no_link = xyes; then
74286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74288 { (exit 1); exit 1; }; }
74290 cat >conftest.$ac_ext <<_ACEOF
74291 /* confdefs.h. */
74292 _ACEOF
74293 cat confdefs.h >>conftest.$ac_ext
74294 cat >>conftest.$ac_ext <<_ACEOF
74295 /* end confdefs.h. */
74296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74298 #define $ac_func innocuous_$ac_func
74300 /* System header to define __stub macros and hopefully few prototypes,
74301 which can conflict with char $ac_func (); below.
74302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74303 <limits.h> exists even on freestanding compilers. */
74305 #ifdef __STDC__
74306 # include <limits.h>
74307 #else
74308 # include <assert.h>
74309 #endif
74311 #undef $ac_func
74313 /* Override any gcc2 internal prototype to avoid an error. */
74314 #ifdef __cplusplus
74315 extern "C"
74317 #endif
74318 /* We use char because int might match the return type of a gcc2
74319 builtin and then its argument prototype would still apply. */
74320 char $ac_func ();
74321 /* The GNU C library defines this for functions which it implements
74322 to always fail with ENOSYS. Some functions are actually named
74323 something starting with __ and the normal name is an alias. */
74324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74325 choke me
74326 #else
74327 char (*f) () = $ac_func;
74328 #endif
74329 #ifdef __cplusplus
74331 #endif
74334 main ()
74336 return f != $ac_func;
74338 return 0;
74340 _ACEOF
74341 rm -f conftest.$ac_objext conftest$ac_exeext
74342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74343 (eval $ac_link) 2>conftest.er1
74344 ac_status=$?
74345 grep -v '^ *+' conftest.er1 >conftest.err
74346 rm -f conftest.er1
74347 cat conftest.err >&5
74348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74349 (exit $ac_status); } &&
74350 { ac_try='test -z "$ac_c_werror_flag"
74351 || test ! -s conftest.err'
74352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74353 (eval $ac_try) 2>&5
74354 ac_status=$?
74355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74356 (exit $ac_status); }; } &&
74357 { ac_try='test -s conftest$ac_exeext'
74358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74359 (eval $ac_try) 2>&5
74360 ac_status=$?
74361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74362 (exit $ac_status); }; }; then
74363 eval "$as_ac_var=yes"
74364 else
74365 echo "$as_me: failed program was:" >&5
74366 sed 's/^/| /' conftest.$ac_ext >&5
74368 eval "$as_ac_var=no"
74370 rm -f conftest.err conftest.$ac_objext \
74371 conftest$ac_exeext conftest.$ac_ext
74373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74375 if test `eval echo '${'$as_ac_var'}'` = yes; then
74376 cat >>confdefs.h <<_ACEOF
74377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74378 _ACEOF
74380 else
74381 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74383 done
74387 for ac_func in __signbitf
74389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74390 echo "$as_me:$LINENO: checking for $ac_func" >&5
74391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74392 if eval "test \"\${$as_ac_var+set}\" = set"; then
74393 echo $ECHO_N "(cached) $ECHO_C" >&6
74394 else
74395 if test x$gcc_no_link = xyes; then
74396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74398 { (exit 1); exit 1; }; }
74400 cat >conftest.$ac_ext <<_ACEOF
74401 /* confdefs.h. */
74402 _ACEOF
74403 cat confdefs.h >>conftest.$ac_ext
74404 cat >>conftest.$ac_ext <<_ACEOF
74405 /* end confdefs.h. */
74406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74408 #define $ac_func innocuous_$ac_func
74410 /* System header to define __stub macros and hopefully few prototypes,
74411 which can conflict with char $ac_func (); below.
74412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74413 <limits.h> exists even on freestanding compilers. */
74415 #ifdef __STDC__
74416 # include <limits.h>
74417 #else
74418 # include <assert.h>
74419 #endif
74421 #undef $ac_func
74423 /* Override any gcc2 internal prototype to avoid an error. */
74424 #ifdef __cplusplus
74425 extern "C"
74427 #endif
74428 /* We use char because int might match the return type of a gcc2
74429 builtin and then its argument prototype would still apply. */
74430 char $ac_func ();
74431 /* The GNU C library defines this for functions which it implements
74432 to always fail with ENOSYS. Some functions are actually named
74433 something starting with __ and the normal name is an alias. */
74434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74435 choke me
74436 #else
74437 char (*f) () = $ac_func;
74438 #endif
74439 #ifdef __cplusplus
74441 #endif
74444 main ()
74446 return f != $ac_func;
74448 return 0;
74450 _ACEOF
74451 rm -f conftest.$ac_objext conftest$ac_exeext
74452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74453 (eval $ac_link) 2>conftest.er1
74454 ac_status=$?
74455 grep -v '^ *+' conftest.er1 >conftest.err
74456 rm -f conftest.er1
74457 cat conftest.err >&5
74458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74459 (exit $ac_status); } &&
74460 { ac_try='test -z "$ac_c_werror_flag"
74461 || test ! -s conftest.err'
74462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74463 (eval $ac_try) 2>&5
74464 ac_status=$?
74465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74466 (exit $ac_status); }; } &&
74467 { ac_try='test -s conftest$ac_exeext'
74468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74469 (eval $ac_try) 2>&5
74470 ac_status=$?
74471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74472 (exit $ac_status); }; }; then
74473 eval "$as_ac_var=yes"
74474 else
74475 echo "$as_me: failed program was:" >&5
74476 sed 's/^/| /' conftest.$ac_ext >&5
74478 eval "$as_ac_var=no"
74480 rm -f conftest.err conftest.$ac_objext \
74481 conftest$ac_exeext conftest.$ac_ext
74483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74485 if test `eval echo '${'$as_ac_var'}'` = yes; then
74486 cat >>confdefs.h <<_ACEOF
74487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74488 _ACEOF
74490 else
74491 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74493 done
74496 if test x$ac_cv_func_copysignl = x"yes"; then
74498 for ac_func in __signbitl
74500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74501 echo "$as_me:$LINENO: checking for $ac_func" >&5
74502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74503 if eval "test \"\${$as_ac_var+set}\" = set"; then
74504 echo $ECHO_N "(cached) $ECHO_C" >&6
74505 else
74506 if test x$gcc_no_link = xyes; then
74507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74509 { (exit 1); exit 1; }; }
74511 cat >conftest.$ac_ext <<_ACEOF
74512 /* confdefs.h. */
74513 _ACEOF
74514 cat confdefs.h >>conftest.$ac_ext
74515 cat >>conftest.$ac_ext <<_ACEOF
74516 /* end confdefs.h. */
74517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74519 #define $ac_func innocuous_$ac_func
74521 /* System header to define __stub macros and hopefully few prototypes,
74522 which can conflict with char $ac_func (); below.
74523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74524 <limits.h> exists even on freestanding compilers. */
74526 #ifdef __STDC__
74527 # include <limits.h>
74528 #else
74529 # include <assert.h>
74530 #endif
74532 #undef $ac_func
74534 /* Override any gcc2 internal prototype to avoid an error. */
74535 #ifdef __cplusplus
74536 extern "C"
74538 #endif
74539 /* We use char because int might match the return type of a gcc2
74540 builtin and then its argument prototype would still apply. */
74541 char $ac_func ();
74542 /* The GNU C library defines this for functions which it implements
74543 to always fail with ENOSYS. Some functions are actually named
74544 something starting with __ and the normal name is an alias. */
74545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74546 choke me
74547 #else
74548 char (*f) () = $ac_func;
74549 #endif
74550 #ifdef __cplusplus
74552 #endif
74555 main ()
74557 return f != $ac_func;
74559 return 0;
74561 _ACEOF
74562 rm -f conftest.$ac_objext conftest$ac_exeext
74563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74564 (eval $ac_link) 2>conftest.er1
74565 ac_status=$?
74566 grep -v '^ *+' conftest.er1 >conftest.err
74567 rm -f conftest.er1
74568 cat conftest.err >&5
74569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570 (exit $ac_status); } &&
74571 { ac_try='test -z "$ac_c_werror_flag"
74572 || test ! -s conftest.err'
74573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74574 (eval $ac_try) 2>&5
74575 ac_status=$?
74576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577 (exit $ac_status); }; } &&
74578 { ac_try='test -s conftest$ac_exeext'
74579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74580 (eval $ac_try) 2>&5
74581 ac_status=$?
74582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74583 (exit $ac_status); }; }; then
74584 eval "$as_ac_var=yes"
74585 else
74586 echo "$as_me: failed program was:" >&5
74587 sed 's/^/| /' conftest.$ac_ext >&5
74589 eval "$as_ac_var=no"
74591 rm -f conftest.err conftest.$ac_objext \
74592 conftest$ac_exeext conftest.$ac_ext
74594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74596 if test `eval echo '${'$as_ac_var'}'` = yes; then
74597 cat >>confdefs.h <<_ACEOF
74598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74599 _ACEOF
74601 else
74602 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74604 done
74608 # Used in libmath/Makefile.am.
74609 if test -n "$LIBMATHOBJS"; then
74610 need_libmath=yes
74616 enable_iconv=no
74617 # Only continue checking if the ISO C99 headers exist and support is on.
74618 if test x"$enable_wchar_t" = xyes; then
74620 # Use iconv for wchar_t to char conversions. As such, check for
74621 # X/Open Portability Guide, version 2 features (XPG2).
74622 if test "${ac_cv_header_iconv_h+set}" = set; then
74623 echo "$as_me:$LINENO: checking for iconv.h" >&5
74624 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74625 if test "${ac_cv_header_iconv_h+set}" = set; then
74626 echo $ECHO_N "(cached) $ECHO_C" >&6
74628 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74629 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74630 else
74631 # Is the header compilable?
74632 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74633 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74634 cat >conftest.$ac_ext <<_ACEOF
74635 /* confdefs.h. */
74636 _ACEOF
74637 cat confdefs.h >>conftest.$ac_ext
74638 cat >>conftest.$ac_ext <<_ACEOF
74639 /* end confdefs.h. */
74640 $ac_includes_default
74641 #include <iconv.h>
74642 _ACEOF
74643 rm -f conftest.$ac_objext
74644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74645 (eval $ac_compile) 2>conftest.er1
74646 ac_status=$?
74647 grep -v '^ *+' conftest.er1 >conftest.err
74648 rm -f conftest.er1
74649 cat conftest.err >&5
74650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74651 (exit $ac_status); } &&
74652 { ac_try='test -z "$ac_c_werror_flag"
74653 || test ! -s conftest.err'
74654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74655 (eval $ac_try) 2>&5
74656 ac_status=$?
74657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74658 (exit $ac_status); }; } &&
74659 { ac_try='test -s conftest.$ac_objext'
74660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74661 (eval $ac_try) 2>&5
74662 ac_status=$?
74663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74664 (exit $ac_status); }; }; then
74665 ac_header_compiler=yes
74666 else
74667 echo "$as_me: failed program was:" >&5
74668 sed 's/^/| /' conftest.$ac_ext >&5
74670 ac_header_compiler=no
74672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74674 echo "${ECHO_T}$ac_header_compiler" >&6
74676 # Is the header present?
74677 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74678 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74679 cat >conftest.$ac_ext <<_ACEOF
74680 /* confdefs.h. */
74681 _ACEOF
74682 cat confdefs.h >>conftest.$ac_ext
74683 cat >>conftest.$ac_ext <<_ACEOF
74684 /* end confdefs.h. */
74685 #include <iconv.h>
74686 _ACEOF
74687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74689 ac_status=$?
74690 grep -v '^ *+' conftest.er1 >conftest.err
74691 rm -f conftest.er1
74692 cat conftest.err >&5
74693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74694 (exit $ac_status); } >/dev/null; then
74695 if test -s conftest.err; then
74696 ac_cpp_err=$ac_c_preproc_warn_flag
74697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74698 else
74699 ac_cpp_err=
74701 else
74702 ac_cpp_err=yes
74704 if test -z "$ac_cpp_err"; then
74705 ac_header_preproc=yes
74706 else
74707 echo "$as_me: failed program was:" >&5
74708 sed 's/^/| /' conftest.$ac_ext >&5
74710 ac_header_preproc=no
74712 rm -f conftest.err conftest.$ac_ext
74713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74714 echo "${ECHO_T}$ac_header_preproc" >&6
74716 # So? What about this header?
74717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74718 yes:no: )
74719 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74720 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74721 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74722 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74723 ac_header_preproc=yes
74725 no:yes:* )
74726 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74727 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74728 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74729 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74730 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74731 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74732 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74733 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74734 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74735 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74736 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74737 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74739 cat <<\_ASBOX
74740 ## ----------------------------------------- ##
74741 ## Report this to the package-unused lists. ##
74742 ## ----------------------------------------- ##
74743 _ASBOX
74745 sed "s/^/$as_me: WARNING: /" >&2
74747 esac
74748 echo "$as_me:$LINENO: checking for iconv.h" >&5
74749 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74750 if test "${ac_cv_header_iconv_h+set}" = set; then
74751 echo $ECHO_N "(cached) $ECHO_C" >&6
74752 else
74753 ac_cv_header_iconv_h=$ac_header_preproc
74755 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74756 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74759 if test $ac_cv_header_iconv_h = yes; then
74760 ac_has_iconv_h=yes
74761 else
74762 ac_has_iconv_h=no
74766 if test "${ac_cv_header_langinfo_h+set}" = set; then
74767 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74768 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74769 if test "${ac_cv_header_langinfo_h+set}" = set; then
74770 echo $ECHO_N "(cached) $ECHO_C" >&6
74772 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74773 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74774 else
74775 # Is the header compilable?
74776 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74777 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74778 cat >conftest.$ac_ext <<_ACEOF
74779 /* confdefs.h. */
74780 _ACEOF
74781 cat confdefs.h >>conftest.$ac_ext
74782 cat >>conftest.$ac_ext <<_ACEOF
74783 /* end confdefs.h. */
74784 $ac_includes_default
74785 #include <langinfo.h>
74786 _ACEOF
74787 rm -f conftest.$ac_objext
74788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74789 (eval $ac_compile) 2>conftest.er1
74790 ac_status=$?
74791 grep -v '^ *+' conftest.er1 >conftest.err
74792 rm -f conftest.er1
74793 cat conftest.err >&5
74794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74795 (exit $ac_status); } &&
74796 { ac_try='test -z "$ac_c_werror_flag"
74797 || test ! -s conftest.err'
74798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74799 (eval $ac_try) 2>&5
74800 ac_status=$?
74801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74802 (exit $ac_status); }; } &&
74803 { ac_try='test -s conftest.$ac_objext'
74804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74805 (eval $ac_try) 2>&5
74806 ac_status=$?
74807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808 (exit $ac_status); }; }; then
74809 ac_header_compiler=yes
74810 else
74811 echo "$as_me: failed program was:" >&5
74812 sed 's/^/| /' conftest.$ac_ext >&5
74814 ac_header_compiler=no
74816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74818 echo "${ECHO_T}$ac_header_compiler" >&6
74820 # Is the header present?
74821 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74822 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74823 cat >conftest.$ac_ext <<_ACEOF
74824 /* confdefs.h. */
74825 _ACEOF
74826 cat confdefs.h >>conftest.$ac_ext
74827 cat >>conftest.$ac_ext <<_ACEOF
74828 /* end confdefs.h. */
74829 #include <langinfo.h>
74830 _ACEOF
74831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74833 ac_status=$?
74834 grep -v '^ *+' conftest.er1 >conftest.err
74835 rm -f conftest.er1
74836 cat conftest.err >&5
74837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74838 (exit $ac_status); } >/dev/null; then
74839 if test -s conftest.err; then
74840 ac_cpp_err=$ac_c_preproc_warn_flag
74841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74842 else
74843 ac_cpp_err=
74845 else
74846 ac_cpp_err=yes
74848 if test -z "$ac_cpp_err"; then
74849 ac_header_preproc=yes
74850 else
74851 echo "$as_me: failed program was:" >&5
74852 sed 's/^/| /' conftest.$ac_ext >&5
74854 ac_header_preproc=no
74856 rm -f conftest.err conftest.$ac_ext
74857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74858 echo "${ECHO_T}$ac_header_preproc" >&6
74860 # So? What about this header?
74861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74862 yes:no: )
74863 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74864 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74865 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74866 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74867 ac_header_preproc=yes
74869 no:yes:* )
74870 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74871 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74872 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74873 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74874 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74875 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74876 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74877 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74878 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74879 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74880 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74881 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74883 cat <<\_ASBOX
74884 ## ----------------------------------------- ##
74885 ## Report this to the package-unused lists. ##
74886 ## ----------------------------------------- ##
74887 _ASBOX
74889 sed "s/^/$as_me: WARNING: /" >&2
74891 esac
74892 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74893 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74894 if test "${ac_cv_header_langinfo_h+set}" = set; then
74895 echo $ECHO_N "(cached) $ECHO_C" >&6
74896 else
74897 ac_cv_header_langinfo_h=$ac_header_preproc
74899 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74900 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74903 if test $ac_cv_header_langinfo_h = yes; then
74904 ac_has_langinfo_h=yes
74905 else
74906 ac_has_langinfo_h=no
74911 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74912 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74913 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74914 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74915 echo $ECHO_N "(cached) $ECHO_C" >&6
74916 else
74917 ac_check_lib_save_LIBS=$LIBS
74918 LIBS="-liconv $LIBS"
74919 if test x$gcc_no_link = xyes; then
74920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74922 { (exit 1); exit 1; }; }
74924 cat >conftest.$ac_ext <<_ACEOF
74925 /* confdefs.h. */
74926 _ACEOF
74927 cat confdefs.h >>conftest.$ac_ext
74928 cat >>conftest.$ac_ext <<_ACEOF
74929 /* end confdefs.h. */
74931 /* Override any gcc2 internal prototype to avoid an error. */
74932 #ifdef __cplusplus
74933 extern "C"
74934 #endif
74935 /* We use char because int might match the return type of a gcc2
74936 builtin and then its argument prototype would still apply. */
74937 char iconv ();
74939 main ()
74941 iconv ();
74943 return 0;
74945 _ACEOF
74946 rm -f conftest.$ac_objext conftest$ac_exeext
74947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74948 (eval $ac_link) 2>conftest.er1
74949 ac_status=$?
74950 grep -v '^ *+' conftest.er1 >conftest.err
74951 rm -f conftest.er1
74952 cat conftest.err >&5
74953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74954 (exit $ac_status); } &&
74955 { ac_try='test -z "$ac_c_werror_flag"
74956 || test ! -s conftest.err'
74957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74958 (eval $ac_try) 2>&5
74959 ac_status=$?
74960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74961 (exit $ac_status); }; } &&
74962 { ac_try='test -s conftest$ac_exeext'
74963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74964 (eval $ac_try) 2>&5
74965 ac_status=$?
74966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 (exit $ac_status); }; }; then
74968 ac_cv_lib_iconv_iconv=yes
74969 else
74970 echo "$as_me: failed program was:" >&5
74971 sed 's/^/| /' conftest.$ac_ext >&5
74973 ac_cv_lib_iconv_iconv=no
74975 rm -f conftest.err conftest.$ac_objext \
74976 conftest$ac_exeext conftest.$ac_ext
74977 LIBS=$ac_check_lib_save_LIBS
74979 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74980 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74981 if test $ac_cv_lib_iconv_iconv = yes; then
74982 LIBICONV="-liconv"
74985 ac_save_LIBS="$LIBS"
74986 LIBS="$LIBS $LIBICONV"
74993 for ac_func in iconv_open iconv_close iconv nl_langinfo
74995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74996 echo "$as_me:$LINENO: checking for $ac_func" >&5
74997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74998 if eval "test \"\${$as_ac_var+set}\" = set"; then
74999 echo $ECHO_N "(cached) $ECHO_C" >&6
75000 else
75001 if test x$gcc_no_link = xyes; then
75002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75004 { (exit 1); exit 1; }; }
75006 cat >conftest.$ac_ext <<_ACEOF
75007 /* confdefs.h. */
75008 _ACEOF
75009 cat confdefs.h >>conftest.$ac_ext
75010 cat >>conftest.$ac_ext <<_ACEOF
75011 /* end confdefs.h. */
75012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75014 #define $ac_func innocuous_$ac_func
75016 /* System header to define __stub macros and hopefully few prototypes,
75017 which can conflict with char $ac_func (); below.
75018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75019 <limits.h> exists even on freestanding compilers. */
75021 #ifdef __STDC__
75022 # include <limits.h>
75023 #else
75024 # include <assert.h>
75025 #endif
75027 #undef $ac_func
75029 /* Override any gcc2 internal prototype to avoid an error. */
75030 #ifdef __cplusplus
75031 extern "C"
75033 #endif
75034 /* We use char because int might match the return type of a gcc2
75035 builtin and then its argument prototype would still apply. */
75036 char $ac_func ();
75037 /* The GNU C library defines this for functions which it implements
75038 to always fail with ENOSYS. Some functions are actually named
75039 something starting with __ and the normal name is an alias. */
75040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75041 choke me
75042 #else
75043 char (*f) () = $ac_func;
75044 #endif
75045 #ifdef __cplusplus
75047 #endif
75050 main ()
75052 return f != $ac_func;
75054 return 0;
75056 _ACEOF
75057 rm -f conftest.$ac_objext conftest$ac_exeext
75058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75059 (eval $ac_link) 2>conftest.er1
75060 ac_status=$?
75061 grep -v '^ *+' conftest.er1 >conftest.err
75062 rm -f conftest.er1
75063 cat conftest.err >&5
75064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75065 (exit $ac_status); } &&
75066 { ac_try='test -z "$ac_c_werror_flag"
75067 || test ! -s conftest.err'
75068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75069 (eval $ac_try) 2>&5
75070 ac_status=$?
75071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75072 (exit $ac_status); }; } &&
75073 { ac_try='test -s conftest$ac_exeext'
75074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75075 (eval $ac_try) 2>&5
75076 ac_status=$?
75077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75078 (exit $ac_status); }; }; then
75079 eval "$as_ac_var=yes"
75080 else
75081 echo "$as_me: failed program was:" >&5
75082 sed 's/^/| /' conftest.$ac_ext >&5
75084 eval "$as_ac_var=no"
75086 rm -f conftest.err conftest.$ac_objext \
75087 conftest$ac_exeext conftest.$ac_ext
75089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75091 if test `eval echo '${'$as_ac_var'}'` = yes; then
75092 cat >>confdefs.h <<_ACEOF
75093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75094 _ACEOF
75095 ac_XPG2funcs=yes
75096 else
75097 ac_XPG2funcs=no
75099 done
75102 LIBS="$ac_save_LIBS"
75104 if test x"$ac_has_iconv_h" = xyes &&
75105 test x"$ac_has_langinfo_h" = xyes &&
75106 test x"$ac_XPG2funcs" = xyes;
75107 then
75109 cat >>confdefs.h <<\_ACEOF
75110 #define _GLIBCXX_USE_ICONV 1
75111 _ACEOF
75113 enable_iconv=yes
75116 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75117 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75118 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75119 echo "${ECHO_T}$enable_iconv" >&6
75121 cat >>confdefs.h <<\_ACEOF
75122 #define HAVE_COPYSIGN 1
75123 _ACEOF
75125 cat >>confdefs.h <<\_ACEOF
75126 #define HAVE_COPYSIGNF 1
75127 _ACEOF
75129 cat >>confdefs.h <<\_ACEOF
75130 #define HAVE_FREXPF 1
75131 _ACEOF
75133 cat >>confdefs.h <<\_ACEOF
75134 #define HAVE_HYPOT 1
75135 _ACEOF
75137 case "$target" in
75138 *-hpux10*)
75139 cat >>confdefs.h <<\_ACEOF
75140 #define HAVE_FINITE 1
75141 _ACEOF
75143 cat >>confdefs.h <<\_ACEOF
75144 #define HAVE_FINITEF 1
75145 _ACEOF
75147 cat >>confdefs.h <<\_ACEOF
75148 #define HAVE_ISINF 1
75149 _ACEOF
75151 cat >>confdefs.h <<\_ACEOF
75152 #define HAVE_ISINFF 1
75153 _ACEOF
75155 cat >>confdefs.h <<\_ACEOF
75156 #define HAVE_ISNAN 1
75157 _ACEOF
75159 cat >>confdefs.h <<\_ACEOF
75160 #define HAVE_ISNANF 1
75161 _ACEOF
75164 esac
75166 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
75182 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75183 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75184 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
75186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75188 echo "$as_me:$LINENO: checking for $ac_header" >&5
75189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75191 echo $ECHO_N "(cached) $ECHO_C" >&6
75193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75195 else
75196 # Is the header compilable?
75197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75199 cat >conftest.$ac_ext <<_ACEOF
75200 /* confdefs.h. */
75201 _ACEOF
75202 cat confdefs.h >>conftest.$ac_ext
75203 cat >>conftest.$ac_ext <<_ACEOF
75204 /* end confdefs.h. */
75205 $ac_includes_default
75206 #include <$ac_header>
75207 _ACEOF
75208 rm -f conftest.$ac_objext
75209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75210 (eval $ac_compile) 2>conftest.er1
75211 ac_status=$?
75212 grep -v '^ *+' conftest.er1 >conftest.err
75213 rm -f conftest.er1
75214 cat conftest.err >&5
75215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216 (exit $ac_status); } &&
75217 { ac_try='test -z "$ac_c_werror_flag"
75218 || test ! -s conftest.err'
75219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75220 (eval $ac_try) 2>&5
75221 ac_status=$?
75222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75223 (exit $ac_status); }; } &&
75224 { ac_try='test -s conftest.$ac_objext'
75225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75226 (eval $ac_try) 2>&5
75227 ac_status=$?
75228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75229 (exit $ac_status); }; }; then
75230 ac_header_compiler=yes
75231 else
75232 echo "$as_me: failed program was:" >&5
75233 sed 's/^/| /' conftest.$ac_ext >&5
75235 ac_header_compiler=no
75237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75239 echo "${ECHO_T}$ac_header_compiler" >&6
75241 # Is the header present?
75242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75244 cat >conftest.$ac_ext <<_ACEOF
75245 /* confdefs.h. */
75246 _ACEOF
75247 cat confdefs.h >>conftest.$ac_ext
75248 cat >>conftest.$ac_ext <<_ACEOF
75249 /* end confdefs.h. */
75250 #include <$ac_header>
75251 _ACEOF
75252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75254 ac_status=$?
75255 grep -v '^ *+' conftest.er1 >conftest.err
75256 rm -f conftest.er1
75257 cat conftest.err >&5
75258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75259 (exit $ac_status); } >/dev/null; then
75260 if test -s conftest.err; then
75261 ac_cpp_err=$ac_c_preproc_warn_flag
75262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75263 else
75264 ac_cpp_err=
75266 else
75267 ac_cpp_err=yes
75269 if test -z "$ac_cpp_err"; then
75270 ac_header_preproc=yes
75271 else
75272 echo "$as_me: failed program was:" >&5
75273 sed 's/^/| /' conftest.$ac_ext >&5
75275 ac_header_preproc=no
75277 rm -f conftest.err conftest.$ac_ext
75278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75279 echo "${ECHO_T}$ac_header_preproc" >&6
75281 # So? What about this header?
75282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75283 yes:no: )
75284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75288 ac_header_preproc=yes
75290 no:yes:* )
75291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75304 cat <<\_ASBOX
75305 ## ----------------------------------------- ##
75306 ## Report this to the package-unused lists. ##
75307 ## ----------------------------------------- ##
75308 _ASBOX
75310 sed "s/^/$as_me: WARNING: /" >&2
75312 esac
75313 echo "$as_me:$LINENO: checking for $ac_header" >&5
75314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75316 echo $ECHO_N "(cached) $ECHO_C" >&6
75317 else
75318 eval "$as_ac_Header=\$ac_header_preproc"
75320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75325 cat >>confdefs.h <<_ACEOF
75326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75327 _ACEOF
75331 done
75333 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75336 # If we're not using GNU ld, then there's no point in even trying these
75337 # tests. Check for that first. We should have already tested for gld
75338 # by now (in libtool), but require it now just to be safe...
75339 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75340 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75344 # The name set by libtool depends on the version of libtool. Shame on us
75345 # for depending on an impl detail, but c'est la vie. Older versions used
75346 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75347 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75348 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75349 # set (hence we're using an older libtool), then set it.
75350 if test x${with_gnu_ld+set} != xset; then
75351 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75352 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75353 with_gnu_ld=no
75354 else
75355 with_gnu_ld=$ac_cv_prog_gnu_ld
75359 # Start by getting the version number. I think the libtool test already
75360 # does some of this, but throws away the result.
75362 ldver=`$LD --version 2>/dev/null | head -1 | \
75363 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75365 glibcxx_gnu_ld_version=`echo $ldver | \
75366 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75368 # Set --gc-sections.
75369 if test "$with_gnu_ld" = "notbroken"; then
75370 # GNU ld it is! Joy and bunny rabbits!
75372 # All these tests are for C++; save the language and the compiler flags.
75373 # Need to do this so that g++ won't try to link in libstdc++
75374 ac_test_CFLAGS="${CFLAGS+set}"
75375 ac_save_CFLAGS="$CFLAGS"
75376 CFLAGS='-x c++ -Wl,--gc-sections'
75378 # Check for -Wl,--gc-sections
75379 # XXX This test is broken at the moment, as symbols required for linking
75380 # are now in libsupc++ (not built yet). In addition, this test has
75381 # cored on solaris in the past. In addition, --gc-sections doesn't
75382 # really work at the moment (keeps on discarding used sections, first
75383 # .eh_frame and now some of the glibc sections for iconv).
75384 # Bzzzzt. Thanks for playing, maybe next time.
75385 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75386 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75387 if test "$cross_compiling" = yes; then
75388 ac_sectionLDflags=yes
75389 else
75390 cat >conftest.$ac_ext <<_ACEOF
75391 /* confdefs.h. */
75392 _ACEOF
75393 cat confdefs.h >>conftest.$ac_ext
75394 cat >>conftest.$ac_ext <<_ACEOF
75395 /* end confdefs.h. */
75397 int main(void)
75399 try { throw 1; }
75400 catch (...) { };
75401 return 0;
75404 _ACEOF
75405 rm -f conftest$ac_exeext
75406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75407 (eval $ac_link) 2>&5
75408 ac_status=$?
75409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75412 (eval $ac_try) 2>&5
75413 ac_status=$?
75414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75415 (exit $ac_status); }; }; then
75416 ac_sectionLDflags=yes
75417 else
75418 echo "$as_me: program exited with status $ac_status" >&5
75419 echo "$as_me: failed program was:" >&5
75420 sed 's/^/| /' conftest.$ac_ext >&5
75422 ( exit $ac_status )
75423 ac_sectionLDflags=no
75425 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75427 if test "$ac_test_CFLAGS" = set; then
75428 CFLAGS="$ac_save_CFLAGS"
75429 else
75430 # this is the suspicious part
75431 CFLAGS=''
75433 if test "$ac_sectionLDflags" = "yes"; then
75434 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75436 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75437 echo "${ECHO_T}$ac_sectionLDflags" >&6
75440 # Set linker optimization flags.
75441 if test x"$with_gnu_ld" = x"yes"; then
75442 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75450 echo "$as_me:$LINENO: checking for main in -lm" >&5
75451 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75452 if test "${ac_cv_lib_m_main+set}" = set; then
75453 echo $ECHO_N "(cached) $ECHO_C" >&6
75454 else
75455 ac_check_lib_save_LIBS=$LIBS
75456 LIBS="-lm $LIBS"
75457 if test x$gcc_no_link = xyes; then
75458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75460 { (exit 1); exit 1; }; }
75462 cat >conftest.$ac_ext <<_ACEOF
75463 /* confdefs.h. */
75464 _ACEOF
75465 cat confdefs.h >>conftest.$ac_ext
75466 cat >>conftest.$ac_ext <<_ACEOF
75467 /* end confdefs.h. */
75471 main ()
75473 main ();
75475 return 0;
75477 _ACEOF
75478 rm -f conftest.$ac_objext conftest$ac_exeext
75479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75480 (eval $ac_link) 2>conftest.er1
75481 ac_status=$?
75482 grep -v '^ *+' conftest.er1 >conftest.err
75483 rm -f conftest.er1
75484 cat conftest.err >&5
75485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75486 (exit $ac_status); } &&
75487 { ac_try='test -z "$ac_c_werror_flag"
75488 || test ! -s conftest.err'
75489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75490 (eval $ac_try) 2>&5
75491 ac_status=$?
75492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75493 (exit $ac_status); }; } &&
75494 { ac_try='test -s conftest$ac_exeext'
75495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75496 (eval $ac_try) 2>&5
75497 ac_status=$?
75498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75499 (exit $ac_status); }; }; then
75500 ac_cv_lib_m_main=yes
75501 else
75502 echo "$as_me: failed program was:" >&5
75503 sed 's/^/| /' conftest.$ac_ext >&5
75505 ac_cv_lib_m_main=no
75507 rm -f conftest.err conftest.$ac_objext \
75508 conftest$ac_exeext conftest.$ac_ext
75509 LIBS=$ac_check_lib_save_LIBS
75511 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75512 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75513 if test $ac_cv_lib_m_main = yes; then
75514 cat >>confdefs.h <<_ACEOF
75515 #define HAVE_LIBM 1
75516 _ACEOF
75518 LIBS="-lm $LIBS"
75523 for ac_func in copysignf
75525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75526 echo "$as_me:$LINENO: checking for $ac_func" >&5
75527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75528 if eval "test \"\${$as_ac_var+set}\" = set"; then
75529 echo $ECHO_N "(cached) $ECHO_C" >&6
75530 else
75531 if test x$gcc_no_link = xyes; then
75532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75534 { (exit 1); exit 1; }; }
75536 cat >conftest.$ac_ext <<_ACEOF
75537 /* confdefs.h. */
75538 _ACEOF
75539 cat confdefs.h >>conftest.$ac_ext
75540 cat >>conftest.$ac_ext <<_ACEOF
75541 /* end confdefs.h. */
75542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75544 #define $ac_func innocuous_$ac_func
75546 /* System header to define __stub macros and hopefully few prototypes,
75547 which can conflict with char $ac_func (); below.
75548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75549 <limits.h> exists even on freestanding compilers. */
75551 #ifdef __STDC__
75552 # include <limits.h>
75553 #else
75554 # include <assert.h>
75555 #endif
75557 #undef $ac_func
75559 /* Override any gcc2 internal prototype to avoid an error. */
75560 #ifdef __cplusplus
75561 extern "C"
75563 #endif
75564 /* We use char because int might match the return type of a gcc2
75565 builtin and then its argument prototype would still apply. */
75566 char $ac_func ();
75567 /* The GNU C library defines this for functions which it implements
75568 to always fail with ENOSYS. Some functions are actually named
75569 something starting with __ and the normal name is an alias. */
75570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75571 choke me
75572 #else
75573 char (*f) () = $ac_func;
75574 #endif
75575 #ifdef __cplusplus
75577 #endif
75580 main ()
75582 return f != $ac_func;
75584 return 0;
75586 _ACEOF
75587 rm -f conftest.$ac_objext conftest$ac_exeext
75588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75589 (eval $ac_link) 2>conftest.er1
75590 ac_status=$?
75591 grep -v '^ *+' conftest.er1 >conftest.err
75592 rm -f conftest.er1
75593 cat conftest.err >&5
75594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75595 (exit $ac_status); } &&
75596 { ac_try='test -z "$ac_c_werror_flag"
75597 || test ! -s conftest.err'
75598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75599 (eval $ac_try) 2>&5
75600 ac_status=$?
75601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75602 (exit $ac_status); }; } &&
75603 { ac_try='test -s conftest$ac_exeext'
75604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75605 (eval $ac_try) 2>&5
75606 ac_status=$?
75607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75608 (exit $ac_status); }; }; then
75609 eval "$as_ac_var=yes"
75610 else
75611 echo "$as_me: failed program was:" >&5
75612 sed 's/^/| /' conftest.$ac_ext >&5
75614 eval "$as_ac_var=no"
75616 rm -f conftest.err conftest.$ac_objext \
75617 conftest$ac_exeext conftest.$ac_ext
75619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75621 if test `eval echo '${'$as_ac_var'}'` = yes; then
75622 cat >>confdefs.h <<_ACEOF
75623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75624 _ACEOF
75626 else
75627 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75629 done
75633 for ac_func in __signbit
75635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75636 echo "$as_me:$LINENO: checking for $ac_func" >&5
75637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75638 if eval "test \"\${$as_ac_var+set}\" = set"; then
75639 echo $ECHO_N "(cached) $ECHO_C" >&6
75640 else
75641 if test x$gcc_no_link = xyes; then
75642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75644 { (exit 1); exit 1; }; }
75646 cat >conftest.$ac_ext <<_ACEOF
75647 /* confdefs.h. */
75648 _ACEOF
75649 cat confdefs.h >>conftest.$ac_ext
75650 cat >>conftest.$ac_ext <<_ACEOF
75651 /* end confdefs.h. */
75652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75654 #define $ac_func innocuous_$ac_func
75656 /* System header to define __stub macros and hopefully few prototypes,
75657 which can conflict with char $ac_func (); below.
75658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75659 <limits.h> exists even on freestanding compilers. */
75661 #ifdef __STDC__
75662 # include <limits.h>
75663 #else
75664 # include <assert.h>
75665 #endif
75667 #undef $ac_func
75669 /* Override any gcc2 internal prototype to avoid an error. */
75670 #ifdef __cplusplus
75671 extern "C"
75673 #endif
75674 /* We use char because int might match the return type of a gcc2
75675 builtin and then its argument prototype would still apply. */
75676 char $ac_func ();
75677 /* The GNU C library defines this for functions which it implements
75678 to always fail with ENOSYS. Some functions are actually named
75679 something starting with __ and the normal name is an alias. */
75680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75681 choke me
75682 #else
75683 char (*f) () = $ac_func;
75684 #endif
75685 #ifdef __cplusplus
75687 #endif
75690 main ()
75692 return f != $ac_func;
75694 return 0;
75696 _ACEOF
75697 rm -f conftest.$ac_objext conftest$ac_exeext
75698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75699 (eval $ac_link) 2>conftest.er1
75700 ac_status=$?
75701 grep -v '^ *+' conftest.er1 >conftest.err
75702 rm -f conftest.er1
75703 cat conftest.err >&5
75704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75705 (exit $ac_status); } &&
75706 { ac_try='test -z "$ac_c_werror_flag"
75707 || test ! -s conftest.err'
75708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75709 (eval $ac_try) 2>&5
75710 ac_status=$?
75711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75712 (exit $ac_status); }; } &&
75713 { ac_try='test -s conftest$ac_exeext'
75714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75715 (eval $ac_try) 2>&5
75716 ac_status=$?
75717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75718 (exit $ac_status); }; }; then
75719 eval "$as_ac_var=yes"
75720 else
75721 echo "$as_me: failed program was:" >&5
75722 sed 's/^/| /' conftest.$ac_ext >&5
75724 eval "$as_ac_var=no"
75726 rm -f conftest.err conftest.$ac_objext \
75727 conftest$ac_exeext conftest.$ac_ext
75729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75731 if test `eval echo '${'$as_ac_var'}'` = yes; then
75732 cat >>confdefs.h <<_ACEOF
75733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75734 _ACEOF
75736 else
75737 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75739 done
75743 for ac_func in __signbitf
75745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75746 echo "$as_me:$LINENO: checking for $ac_func" >&5
75747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75748 if eval "test \"\${$as_ac_var+set}\" = set"; then
75749 echo $ECHO_N "(cached) $ECHO_C" >&6
75750 else
75751 if test x$gcc_no_link = xyes; then
75752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75754 { (exit 1); exit 1; }; }
75756 cat >conftest.$ac_ext <<_ACEOF
75757 /* confdefs.h. */
75758 _ACEOF
75759 cat confdefs.h >>conftest.$ac_ext
75760 cat >>conftest.$ac_ext <<_ACEOF
75761 /* end confdefs.h. */
75762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75764 #define $ac_func innocuous_$ac_func
75766 /* System header to define __stub macros and hopefully few prototypes,
75767 which can conflict with char $ac_func (); below.
75768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75769 <limits.h> exists even on freestanding compilers. */
75771 #ifdef __STDC__
75772 # include <limits.h>
75773 #else
75774 # include <assert.h>
75775 #endif
75777 #undef $ac_func
75779 /* Override any gcc2 internal prototype to avoid an error. */
75780 #ifdef __cplusplus
75781 extern "C"
75783 #endif
75784 /* We use char because int might match the return type of a gcc2
75785 builtin and then its argument prototype would still apply. */
75786 char $ac_func ();
75787 /* The GNU C library defines this for functions which it implements
75788 to always fail with ENOSYS. Some functions are actually named
75789 something starting with __ and the normal name is an alias. */
75790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75791 choke me
75792 #else
75793 char (*f) () = $ac_func;
75794 #endif
75795 #ifdef __cplusplus
75797 #endif
75800 main ()
75802 return f != $ac_func;
75804 return 0;
75806 _ACEOF
75807 rm -f conftest.$ac_objext conftest$ac_exeext
75808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75809 (eval $ac_link) 2>conftest.er1
75810 ac_status=$?
75811 grep -v '^ *+' conftest.er1 >conftest.err
75812 rm -f conftest.er1
75813 cat conftest.err >&5
75814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75815 (exit $ac_status); } &&
75816 { ac_try='test -z "$ac_c_werror_flag"
75817 || test ! -s conftest.err'
75818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75819 (eval $ac_try) 2>&5
75820 ac_status=$?
75821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75822 (exit $ac_status); }; } &&
75823 { ac_try='test -s conftest$ac_exeext'
75824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75825 (eval $ac_try) 2>&5
75826 ac_status=$?
75827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75828 (exit $ac_status); }; }; then
75829 eval "$as_ac_var=yes"
75830 else
75831 echo "$as_me: failed program was:" >&5
75832 sed 's/^/| /' conftest.$ac_ext >&5
75834 eval "$as_ac_var=no"
75836 rm -f conftest.err conftest.$ac_objext \
75837 conftest$ac_exeext conftest.$ac_ext
75839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75841 if test `eval echo '${'$as_ac_var'}'` = yes; then
75842 cat >>confdefs.h <<_ACEOF
75843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75844 _ACEOF
75846 else
75847 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75849 done
75852 if test x$ac_cv_func_copysignl = x"yes"; then
75854 for ac_func in __signbitl
75856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75857 echo "$as_me:$LINENO: checking for $ac_func" >&5
75858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75859 if eval "test \"\${$as_ac_var+set}\" = set"; then
75860 echo $ECHO_N "(cached) $ECHO_C" >&6
75861 else
75862 if test x$gcc_no_link = xyes; then
75863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75865 { (exit 1); exit 1; }; }
75867 cat >conftest.$ac_ext <<_ACEOF
75868 /* confdefs.h. */
75869 _ACEOF
75870 cat confdefs.h >>conftest.$ac_ext
75871 cat >>conftest.$ac_ext <<_ACEOF
75872 /* end confdefs.h. */
75873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75875 #define $ac_func innocuous_$ac_func
75877 /* System header to define __stub macros and hopefully few prototypes,
75878 which can conflict with char $ac_func (); below.
75879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75880 <limits.h> exists even on freestanding compilers. */
75882 #ifdef __STDC__
75883 # include <limits.h>
75884 #else
75885 # include <assert.h>
75886 #endif
75888 #undef $ac_func
75890 /* Override any gcc2 internal prototype to avoid an error. */
75891 #ifdef __cplusplus
75892 extern "C"
75894 #endif
75895 /* We use char because int might match the return type of a gcc2
75896 builtin and then its argument prototype would still apply. */
75897 char $ac_func ();
75898 /* The GNU C library defines this for functions which it implements
75899 to always fail with ENOSYS. Some functions are actually named
75900 something starting with __ and the normal name is an alias. */
75901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75902 choke me
75903 #else
75904 char (*f) () = $ac_func;
75905 #endif
75906 #ifdef __cplusplus
75908 #endif
75911 main ()
75913 return f != $ac_func;
75915 return 0;
75917 _ACEOF
75918 rm -f conftest.$ac_objext conftest$ac_exeext
75919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75920 (eval $ac_link) 2>conftest.er1
75921 ac_status=$?
75922 grep -v '^ *+' conftest.er1 >conftest.err
75923 rm -f conftest.er1
75924 cat conftest.err >&5
75925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75926 (exit $ac_status); } &&
75927 { ac_try='test -z "$ac_c_werror_flag"
75928 || test ! -s conftest.err'
75929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75930 (eval $ac_try) 2>&5
75931 ac_status=$?
75932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75933 (exit $ac_status); }; } &&
75934 { ac_try='test -s conftest$ac_exeext'
75935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75936 (eval $ac_try) 2>&5
75937 ac_status=$?
75938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75939 (exit $ac_status); }; }; then
75940 eval "$as_ac_var=yes"
75941 else
75942 echo "$as_me: failed program was:" >&5
75943 sed 's/^/| /' conftest.$ac_ext >&5
75945 eval "$as_ac_var=no"
75947 rm -f conftest.err conftest.$ac_objext \
75948 conftest$ac_exeext conftest.$ac_ext
75950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75952 if test `eval echo '${'$as_ac_var'}'` = yes; then
75953 cat >>confdefs.h <<_ACEOF
75954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75955 _ACEOF
75957 else
75958 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75960 done
75964 # Used in libmath/Makefile.am.
75965 if test -n "$LIBMATHOBJS"; then
75966 need_libmath=yes
75972 enable_iconv=no
75973 # Only continue checking if the ISO C99 headers exist and support is on.
75974 if test x"$enable_wchar_t" = xyes; then
75976 # Use iconv for wchar_t to char conversions. As such, check for
75977 # X/Open Portability Guide, version 2 features (XPG2).
75978 if test "${ac_cv_header_iconv_h+set}" = set; then
75979 echo "$as_me:$LINENO: checking for iconv.h" >&5
75980 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75981 if test "${ac_cv_header_iconv_h+set}" = set; then
75982 echo $ECHO_N "(cached) $ECHO_C" >&6
75984 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75985 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75986 else
75987 # Is the header compilable?
75988 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75989 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75990 cat >conftest.$ac_ext <<_ACEOF
75991 /* confdefs.h. */
75992 _ACEOF
75993 cat confdefs.h >>conftest.$ac_ext
75994 cat >>conftest.$ac_ext <<_ACEOF
75995 /* end confdefs.h. */
75996 $ac_includes_default
75997 #include <iconv.h>
75998 _ACEOF
75999 rm -f conftest.$ac_objext
76000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76001 (eval $ac_compile) 2>conftest.er1
76002 ac_status=$?
76003 grep -v '^ *+' conftest.er1 >conftest.err
76004 rm -f conftest.er1
76005 cat conftest.err >&5
76006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76007 (exit $ac_status); } &&
76008 { ac_try='test -z "$ac_c_werror_flag"
76009 || test ! -s conftest.err'
76010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76011 (eval $ac_try) 2>&5
76012 ac_status=$?
76013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76014 (exit $ac_status); }; } &&
76015 { ac_try='test -s conftest.$ac_objext'
76016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76017 (eval $ac_try) 2>&5
76018 ac_status=$?
76019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76020 (exit $ac_status); }; }; then
76021 ac_header_compiler=yes
76022 else
76023 echo "$as_me: failed program was:" >&5
76024 sed 's/^/| /' conftest.$ac_ext >&5
76026 ac_header_compiler=no
76028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76030 echo "${ECHO_T}$ac_header_compiler" >&6
76032 # Is the header present?
76033 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76034 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76035 cat >conftest.$ac_ext <<_ACEOF
76036 /* confdefs.h. */
76037 _ACEOF
76038 cat confdefs.h >>conftest.$ac_ext
76039 cat >>conftest.$ac_ext <<_ACEOF
76040 /* end confdefs.h. */
76041 #include <iconv.h>
76042 _ACEOF
76043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76045 ac_status=$?
76046 grep -v '^ *+' conftest.er1 >conftest.err
76047 rm -f conftest.er1
76048 cat conftest.err >&5
76049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76050 (exit $ac_status); } >/dev/null; then
76051 if test -s conftest.err; then
76052 ac_cpp_err=$ac_c_preproc_warn_flag
76053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76054 else
76055 ac_cpp_err=
76057 else
76058 ac_cpp_err=yes
76060 if test -z "$ac_cpp_err"; then
76061 ac_header_preproc=yes
76062 else
76063 echo "$as_me: failed program was:" >&5
76064 sed 's/^/| /' conftest.$ac_ext >&5
76066 ac_header_preproc=no
76068 rm -f conftest.err conftest.$ac_ext
76069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76070 echo "${ECHO_T}$ac_header_preproc" >&6
76072 # So? What about this header?
76073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76074 yes:no: )
76075 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76076 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76077 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76078 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76079 ac_header_preproc=yes
76081 no:yes:* )
76082 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76083 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76084 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76085 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76086 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76087 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76088 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76089 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76090 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76091 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76092 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76093 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76095 cat <<\_ASBOX
76096 ## ----------------------------------------- ##
76097 ## Report this to the package-unused lists. ##
76098 ## ----------------------------------------- ##
76099 _ASBOX
76101 sed "s/^/$as_me: WARNING: /" >&2
76103 esac
76104 echo "$as_me:$LINENO: checking for iconv.h" >&5
76105 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76106 if test "${ac_cv_header_iconv_h+set}" = set; then
76107 echo $ECHO_N "(cached) $ECHO_C" >&6
76108 else
76109 ac_cv_header_iconv_h=$ac_header_preproc
76111 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76112 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76115 if test $ac_cv_header_iconv_h = yes; then
76116 ac_has_iconv_h=yes
76117 else
76118 ac_has_iconv_h=no
76122 if test "${ac_cv_header_langinfo_h+set}" = set; then
76123 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76124 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76125 if test "${ac_cv_header_langinfo_h+set}" = set; then
76126 echo $ECHO_N "(cached) $ECHO_C" >&6
76128 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76129 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76130 else
76131 # Is the header compilable?
76132 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76133 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76134 cat >conftest.$ac_ext <<_ACEOF
76135 /* confdefs.h. */
76136 _ACEOF
76137 cat confdefs.h >>conftest.$ac_ext
76138 cat >>conftest.$ac_ext <<_ACEOF
76139 /* end confdefs.h. */
76140 $ac_includes_default
76141 #include <langinfo.h>
76142 _ACEOF
76143 rm -f conftest.$ac_objext
76144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76145 (eval $ac_compile) 2>conftest.er1
76146 ac_status=$?
76147 grep -v '^ *+' conftest.er1 >conftest.err
76148 rm -f conftest.er1
76149 cat conftest.err >&5
76150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76151 (exit $ac_status); } &&
76152 { ac_try='test -z "$ac_c_werror_flag"
76153 || test ! -s conftest.err'
76154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76155 (eval $ac_try) 2>&5
76156 ac_status=$?
76157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76158 (exit $ac_status); }; } &&
76159 { ac_try='test -s conftest.$ac_objext'
76160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76161 (eval $ac_try) 2>&5
76162 ac_status=$?
76163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76164 (exit $ac_status); }; }; then
76165 ac_header_compiler=yes
76166 else
76167 echo "$as_me: failed program was:" >&5
76168 sed 's/^/| /' conftest.$ac_ext >&5
76170 ac_header_compiler=no
76172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76174 echo "${ECHO_T}$ac_header_compiler" >&6
76176 # Is the header present?
76177 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76178 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76179 cat >conftest.$ac_ext <<_ACEOF
76180 /* confdefs.h. */
76181 _ACEOF
76182 cat confdefs.h >>conftest.$ac_ext
76183 cat >>conftest.$ac_ext <<_ACEOF
76184 /* end confdefs.h. */
76185 #include <langinfo.h>
76186 _ACEOF
76187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76189 ac_status=$?
76190 grep -v '^ *+' conftest.er1 >conftest.err
76191 rm -f conftest.er1
76192 cat conftest.err >&5
76193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76194 (exit $ac_status); } >/dev/null; then
76195 if test -s conftest.err; then
76196 ac_cpp_err=$ac_c_preproc_warn_flag
76197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76198 else
76199 ac_cpp_err=
76201 else
76202 ac_cpp_err=yes
76204 if test -z "$ac_cpp_err"; then
76205 ac_header_preproc=yes
76206 else
76207 echo "$as_me: failed program was:" >&5
76208 sed 's/^/| /' conftest.$ac_ext >&5
76210 ac_header_preproc=no
76212 rm -f conftest.err conftest.$ac_ext
76213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76214 echo "${ECHO_T}$ac_header_preproc" >&6
76216 # So? What about this header?
76217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76218 yes:no: )
76219 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76220 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76221 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76222 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76223 ac_header_preproc=yes
76225 no:yes:* )
76226 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76227 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76228 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76229 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76230 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76231 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76232 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76233 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76234 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76235 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76236 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76237 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76239 cat <<\_ASBOX
76240 ## ----------------------------------------- ##
76241 ## Report this to the package-unused lists. ##
76242 ## ----------------------------------------- ##
76243 _ASBOX
76245 sed "s/^/$as_me: WARNING: /" >&2
76247 esac
76248 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76249 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76250 if test "${ac_cv_header_langinfo_h+set}" = set; then
76251 echo $ECHO_N "(cached) $ECHO_C" >&6
76252 else
76253 ac_cv_header_langinfo_h=$ac_header_preproc
76255 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76256 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76259 if test $ac_cv_header_langinfo_h = yes; then
76260 ac_has_langinfo_h=yes
76261 else
76262 ac_has_langinfo_h=no
76267 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76268 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76269 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76270 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76271 echo $ECHO_N "(cached) $ECHO_C" >&6
76272 else
76273 ac_check_lib_save_LIBS=$LIBS
76274 LIBS="-liconv $LIBS"
76275 if test x$gcc_no_link = xyes; then
76276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76278 { (exit 1); exit 1; }; }
76280 cat >conftest.$ac_ext <<_ACEOF
76281 /* confdefs.h. */
76282 _ACEOF
76283 cat confdefs.h >>conftest.$ac_ext
76284 cat >>conftest.$ac_ext <<_ACEOF
76285 /* end confdefs.h. */
76287 /* Override any gcc2 internal prototype to avoid an error. */
76288 #ifdef __cplusplus
76289 extern "C"
76290 #endif
76291 /* We use char because int might match the return type of a gcc2
76292 builtin and then its argument prototype would still apply. */
76293 char iconv ();
76295 main ()
76297 iconv ();
76299 return 0;
76301 _ACEOF
76302 rm -f conftest.$ac_objext conftest$ac_exeext
76303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76304 (eval $ac_link) 2>conftest.er1
76305 ac_status=$?
76306 grep -v '^ *+' conftest.er1 >conftest.err
76307 rm -f conftest.er1
76308 cat conftest.err >&5
76309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310 (exit $ac_status); } &&
76311 { ac_try='test -z "$ac_c_werror_flag"
76312 || test ! -s conftest.err'
76313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76314 (eval $ac_try) 2>&5
76315 ac_status=$?
76316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76317 (exit $ac_status); }; } &&
76318 { ac_try='test -s conftest$ac_exeext'
76319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76320 (eval $ac_try) 2>&5
76321 ac_status=$?
76322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76323 (exit $ac_status); }; }; then
76324 ac_cv_lib_iconv_iconv=yes
76325 else
76326 echo "$as_me: failed program was:" >&5
76327 sed 's/^/| /' conftest.$ac_ext >&5
76329 ac_cv_lib_iconv_iconv=no
76331 rm -f conftest.err conftest.$ac_objext \
76332 conftest$ac_exeext conftest.$ac_ext
76333 LIBS=$ac_check_lib_save_LIBS
76335 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76336 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76337 if test $ac_cv_lib_iconv_iconv = yes; then
76338 LIBICONV="-liconv"
76341 ac_save_LIBS="$LIBS"
76342 LIBS="$LIBS $LIBICONV"
76349 for ac_func in iconv_open iconv_close iconv nl_langinfo
76351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76352 echo "$as_me:$LINENO: checking for $ac_func" >&5
76353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76354 if eval "test \"\${$as_ac_var+set}\" = set"; then
76355 echo $ECHO_N "(cached) $ECHO_C" >&6
76356 else
76357 if test x$gcc_no_link = xyes; then
76358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76360 { (exit 1); exit 1; }; }
76362 cat >conftest.$ac_ext <<_ACEOF
76363 /* confdefs.h. */
76364 _ACEOF
76365 cat confdefs.h >>conftest.$ac_ext
76366 cat >>conftest.$ac_ext <<_ACEOF
76367 /* end confdefs.h. */
76368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76370 #define $ac_func innocuous_$ac_func
76372 /* System header to define __stub macros and hopefully few prototypes,
76373 which can conflict with char $ac_func (); below.
76374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76375 <limits.h> exists even on freestanding compilers. */
76377 #ifdef __STDC__
76378 # include <limits.h>
76379 #else
76380 # include <assert.h>
76381 #endif
76383 #undef $ac_func
76385 /* Override any gcc2 internal prototype to avoid an error. */
76386 #ifdef __cplusplus
76387 extern "C"
76389 #endif
76390 /* We use char because int might match the return type of a gcc2
76391 builtin and then its argument prototype would still apply. */
76392 char $ac_func ();
76393 /* The GNU C library defines this for functions which it implements
76394 to always fail with ENOSYS. Some functions are actually named
76395 something starting with __ and the normal name is an alias. */
76396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76397 choke me
76398 #else
76399 char (*f) () = $ac_func;
76400 #endif
76401 #ifdef __cplusplus
76403 #endif
76406 main ()
76408 return f != $ac_func;
76410 return 0;
76412 _ACEOF
76413 rm -f conftest.$ac_objext conftest$ac_exeext
76414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76415 (eval $ac_link) 2>conftest.er1
76416 ac_status=$?
76417 grep -v '^ *+' conftest.er1 >conftest.err
76418 rm -f conftest.er1
76419 cat conftest.err >&5
76420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76421 (exit $ac_status); } &&
76422 { ac_try='test -z "$ac_c_werror_flag"
76423 || test ! -s conftest.err'
76424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76425 (eval $ac_try) 2>&5
76426 ac_status=$?
76427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76428 (exit $ac_status); }; } &&
76429 { ac_try='test -s conftest$ac_exeext'
76430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76431 (eval $ac_try) 2>&5
76432 ac_status=$?
76433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76434 (exit $ac_status); }; }; then
76435 eval "$as_ac_var=yes"
76436 else
76437 echo "$as_me: failed program was:" >&5
76438 sed 's/^/| /' conftest.$ac_ext >&5
76440 eval "$as_ac_var=no"
76442 rm -f conftest.err conftest.$ac_objext \
76443 conftest$ac_exeext conftest.$ac_ext
76445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76447 if test `eval echo '${'$as_ac_var'}'` = yes; then
76448 cat >>confdefs.h <<_ACEOF
76449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76450 _ACEOF
76451 ac_XPG2funcs=yes
76452 else
76453 ac_XPG2funcs=no
76455 done
76458 LIBS="$ac_save_LIBS"
76460 if test x"$ac_has_iconv_h" = xyes &&
76461 test x"$ac_has_langinfo_h" = xyes &&
76462 test x"$ac_XPG2funcs" = xyes;
76463 then
76465 cat >>confdefs.h <<\_ACEOF
76466 #define _GLIBCXX_USE_ICONV 1
76467 _ACEOF
76469 enable_iconv=yes
76472 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76473 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76474 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76475 echo "${ECHO_T}$enable_iconv" >&6
76478 # For LFS.
76479 cat >>confdefs.h <<\_ACEOF
76480 #define HAVE_INT64_T 1
76481 _ACEOF
76483 case "$target" in
76484 *-uclinux*)
76485 # Don't enable LFS with uClibc
76488 cat >>confdefs.h <<\_ACEOF
76489 #define _GLIBCXX_USE_LFS 1
76490 _ACEOF
76492 esac
76494 # For showmanyc_helper().
76497 for ac_header in sys/ioctl.h sys/filio.h
76499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76501 echo "$as_me:$LINENO: checking for $ac_header" >&5
76502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76504 echo $ECHO_N "(cached) $ECHO_C" >&6
76506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76508 else
76509 # Is the header compilable?
76510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76512 cat >conftest.$ac_ext <<_ACEOF
76513 /* confdefs.h. */
76514 _ACEOF
76515 cat confdefs.h >>conftest.$ac_ext
76516 cat >>conftest.$ac_ext <<_ACEOF
76517 /* end confdefs.h. */
76518 $ac_includes_default
76519 #include <$ac_header>
76520 _ACEOF
76521 rm -f conftest.$ac_objext
76522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76523 (eval $ac_compile) 2>conftest.er1
76524 ac_status=$?
76525 grep -v '^ *+' conftest.er1 >conftest.err
76526 rm -f conftest.er1
76527 cat conftest.err >&5
76528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76529 (exit $ac_status); } &&
76530 { ac_try='test -z "$ac_c_werror_flag"
76531 || test ! -s conftest.err'
76532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76533 (eval $ac_try) 2>&5
76534 ac_status=$?
76535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76536 (exit $ac_status); }; } &&
76537 { ac_try='test -s conftest.$ac_objext'
76538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76539 (eval $ac_try) 2>&5
76540 ac_status=$?
76541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76542 (exit $ac_status); }; }; then
76543 ac_header_compiler=yes
76544 else
76545 echo "$as_me: failed program was:" >&5
76546 sed 's/^/| /' conftest.$ac_ext >&5
76548 ac_header_compiler=no
76550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76552 echo "${ECHO_T}$ac_header_compiler" >&6
76554 # Is the header present?
76555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76557 cat >conftest.$ac_ext <<_ACEOF
76558 /* confdefs.h. */
76559 _ACEOF
76560 cat confdefs.h >>conftest.$ac_ext
76561 cat >>conftest.$ac_ext <<_ACEOF
76562 /* end confdefs.h. */
76563 #include <$ac_header>
76564 _ACEOF
76565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76567 ac_status=$?
76568 grep -v '^ *+' conftest.er1 >conftest.err
76569 rm -f conftest.er1
76570 cat conftest.err >&5
76571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76572 (exit $ac_status); } >/dev/null; then
76573 if test -s conftest.err; then
76574 ac_cpp_err=$ac_c_preproc_warn_flag
76575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76576 else
76577 ac_cpp_err=
76579 else
76580 ac_cpp_err=yes
76582 if test -z "$ac_cpp_err"; then
76583 ac_header_preproc=yes
76584 else
76585 echo "$as_me: failed program was:" >&5
76586 sed 's/^/| /' conftest.$ac_ext >&5
76588 ac_header_preproc=no
76590 rm -f conftest.err conftest.$ac_ext
76591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76592 echo "${ECHO_T}$ac_header_preproc" >&6
76594 # So? What about this header?
76595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76596 yes:no: )
76597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76601 ac_header_preproc=yes
76603 no:yes:* )
76604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76617 cat <<\_ASBOX
76618 ## ----------------------------------------- ##
76619 ## Report this to the package-unused lists. ##
76620 ## ----------------------------------------- ##
76621 _ASBOX
76623 sed "s/^/$as_me: WARNING: /" >&2
76625 esac
76626 echo "$as_me:$LINENO: checking for $ac_header" >&5
76627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76629 echo $ECHO_N "(cached) $ECHO_C" >&6
76630 else
76631 eval "$as_ac_Header=\$ac_header_preproc"
76633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76638 cat >>confdefs.h <<_ACEOF
76639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76640 _ACEOF
76644 done
76647 if test "${glibcxx_cv_POLL+set}" = set; then
76648 echo $ECHO_N "(cached) $ECHO_C" >&6
76649 else
76651 if test x$gcc_no_link = xyes; then
76652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76654 { (exit 1); exit 1; }; }
76656 cat >conftest.$ac_ext <<_ACEOF
76657 /* confdefs.h. */
76658 _ACEOF
76659 cat confdefs.h >>conftest.$ac_ext
76660 cat >>conftest.$ac_ext <<_ACEOF
76661 /* end confdefs.h. */
76662 #include <poll.h>
76664 main ()
76666 struct pollfd pfd[1];
76667 pfd[0].events = POLLIN;
76668 poll(pfd, 1, 0);
76670 return 0;
76672 _ACEOF
76673 rm -f conftest.$ac_objext conftest$ac_exeext
76674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76675 (eval $ac_link) 2>conftest.er1
76676 ac_status=$?
76677 grep -v '^ *+' conftest.er1 >conftest.err
76678 rm -f conftest.er1
76679 cat conftest.err >&5
76680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76681 (exit $ac_status); } &&
76682 { ac_try='test -z "$ac_c_werror_flag"
76683 || test ! -s conftest.err'
76684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76685 (eval $ac_try) 2>&5
76686 ac_status=$?
76687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76688 (exit $ac_status); }; } &&
76689 { ac_try='test -s conftest$ac_exeext'
76690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76691 (eval $ac_try) 2>&5
76692 ac_status=$?
76693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76694 (exit $ac_status); }; }; then
76695 glibcxx_cv_POLL=yes
76696 else
76697 echo "$as_me: failed program was:" >&5
76698 sed 's/^/| /' conftest.$ac_ext >&5
76700 glibcxx_cv_POLL=no
76702 rm -f conftest.err conftest.$ac_objext \
76703 conftest$ac_exeext conftest.$ac_ext
76707 if test $glibcxx_cv_POLL = yes; then
76708 cat >>confdefs.h <<\_ACEOF
76709 #define HAVE_POLL 1
76710 _ACEOF
76715 if test "${glibcxx_cv_S_ISREG+set}" = set; then
76716 echo $ECHO_N "(cached) $ECHO_C" >&6
76717 else
76719 if test x$gcc_no_link = xyes; then
76720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76722 { (exit 1); exit 1; }; }
76724 cat >conftest.$ac_ext <<_ACEOF
76725 /* confdefs.h. */
76726 _ACEOF
76727 cat confdefs.h >>conftest.$ac_ext
76728 cat >>conftest.$ac_ext <<_ACEOF
76729 /* end confdefs.h. */
76730 #include <sys/stat.h>
76732 main ()
76734 struct stat buffer;
76735 fstat(0, &buffer);
76736 S_ISREG(buffer.st_mode);
76738 return 0;
76740 _ACEOF
76741 rm -f conftest.$ac_objext conftest$ac_exeext
76742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76743 (eval $ac_link) 2>conftest.er1
76744 ac_status=$?
76745 grep -v '^ *+' conftest.er1 >conftest.err
76746 rm -f conftest.er1
76747 cat conftest.err >&5
76748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76749 (exit $ac_status); } &&
76750 { ac_try='test -z "$ac_c_werror_flag"
76751 || test ! -s conftest.err'
76752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76753 (eval $ac_try) 2>&5
76754 ac_status=$?
76755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76756 (exit $ac_status); }; } &&
76757 { ac_try='test -s conftest$ac_exeext'
76758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76759 (eval $ac_try) 2>&5
76760 ac_status=$?
76761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76762 (exit $ac_status); }; }; then
76763 glibcxx_cv_S_ISREG=yes
76764 else
76765 echo "$as_me: failed program was:" >&5
76766 sed 's/^/| /' conftest.$ac_ext >&5
76768 glibcxx_cv_S_ISREG=no
76770 rm -f conftest.err conftest.$ac_objext \
76771 conftest$ac_exeext conftest.$ac_ext
76775 if test "${glibcxx_cv_S_IFREG+set}" = set; then
76776 echo $ECHO_N "(cached) $ECHO_C" >&6
76777 else
76779 if test x$gcc_no_link = xyes; then
76780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76782 { (exit 1); exit 1; }; }
76784 cat >conftest.$ac_ext <<_ACEOF
76785 /* confdefs.h. */
76786 _ACEOF
76787 cat confdefs.h >>conftest.$ac_ext
76788 cat >>conftest.$ac_ext <<_ACEOF
76789 /* end confdefs.h. */
76790 #include <sys/stat.h>
76792 main ()
76794 struct stat buffer;
76795 fstat(0, &buffer);
76796 S_IFREG & buffer.st_mode;
76798 return 0;
76800 _ACEOF
76801 rm -f conftest.$ac_objext conftest$ac_exeext
76802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76803 (eval $ac_link) 2>conftest.er1
76804 ac_status=$?
76805 grep -v '^ *+' conftest.er1 >conftest.err
76806 rm -f conftest.er1
76807 cat conftest.err >&5
76808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76809 (exit $ac_status); } &&
76810 { ac_try='test -z "$ac_c_werror_flag"
76811 || test ! -s conftest.err'
76812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76813 (eval $ac_try) 2>&5
76814 ac_status=$?
76815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76816 (exit $ac_status); }; } &&
76817 { ac_try='test -s conftest$ac_exeext'
76818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76819 (eval $ac_try) 2>&5
76820 ac_status=$?
76821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76822 (exit $ac_status); }; }; then
76823 glibcxx_cv_S_IFREG=yes
76824 else
76825 echo "$as_me: failed program was:" >&5
76826 sed 's/^/| /' conftest.$ac_ext >&5
76828 glibcxx_cv_S_IFREG=no
76830 rm -f conftest.err conftest.$ac_objext \
76831 conftest$ac_exeext conftest.$ac_ext
76835 if test $glibcxx_cv_S_ISREG = yes; then
76836 cat >>confdefs.h <<\_ACEOF
76837 #define HAVE_S_ISREG 1
76838 _ACEOF
76840 elif test $glibcxx_cv_S_IFREG = yes; then
76841 cat >>confdefs.h <<\_ACEOF
76842 #define HAVE_S_IFREG 1
76843 _ACEOF
76848 # For xsputn_2().
76850 for ac_header in sys/uio.h
76852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76854 echo "$as_me:$LINENO: checking for $ac_header" >&5
76855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76857 echo $ECHO_N "(cached) $ECHO_C" >&6
76859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76861 else
76862 # Is the header compilable?
76863 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76864 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76865 cat >conftest.$ac_ext <<_ACEOF
76866 /* confdefs.h. */
76867 _ACEOF
76868 cat confdefs.h >>conftest.$ac_ext
76869 cat >>conftest.$ac_ext <<_ACEOF
76870 /* end confdefs.h. */
76871 $ac_includes_default
76872 #include <$ac_header>
76873 _ACEOF
76874 rm -f conftest.$ac_objext
76875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76876 (eval $ac_compile) 2>conftest.er1
76877 ac_status=$?
76878 grep -v '^ *+' conftest.er1 >conftest.err
76879 rm -f conftest.er1
76880 cat conftest.err >&5
76881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76882 (exit $ac_status); } &&
76883 { ac_try='test -z "$ac_c_werror_flag"
76884 || test ! -s conftest.err'
76885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76886 (eval $ac_try) 2>&5
76887 ac_status=$?
76888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76889 (exit $ac_status); }; } &&
76890 { ac_try='test -s conftest.$ac_objext'
76891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76892 (eval $ac_try) 2>&5
76893 ac_status=$?
76894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76895 (exit $ac_status); }; }; then
76896 ac_header_compiler=yes
76897 else
76898 echo "$as_me: failed program was:" >&5
76899 sed 's/^/| /' conftest.$ac_ext >&5
76901 ac_header_compiler=no
76903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76905 echo "${ECHO_T}$ac_header_compiler" >&6
76907 # Is the header present?
76908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76910 cat >conftest.$ac_ext <<_ACEOF
76911 /* confdefs.h. */
76912 _ACEOF
76913 cat confdefs.h >>conftest.$ac_ext
76914 cat >>conftest.$ac_ext <<_ACEOF
76915 /* end confdefs.h. */
76916 #include <$ac_header>
76917 _ACEOF
76918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76920 ac_status=$?
76921 grep -v '^ *+' conftest.er1 >conftest.err
76922 rm -f conftest.er1
76923 cat conftest.err >&5
76924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76925 (exit $ac_status); } >/dev/null; then
76926 if test -s conftest.err; then
76927 ac_cpp_err=$ac_c_preproc_warn_flag
76928 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76929 else
76930 ac_cpp_err=
76932 else
76933 ac_cpp_err=yes
76935 if test -z "$ac_cpp_err"; then
76936 ac_header_preproc=yes
76937 else
76938 echo "$as_me: failed program was:" >&5
76939 sed 's/^/| /' conftest.$ac_ext >&5
76941 ac_header_preproc=no
76943 rm -f conftest.err conftest.$ac_ext
76944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76945 echo "${ECHO_T}$ac_header_preproc" >&6
76947 # So? What about this header?
76948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76949 yes:no: )
76950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76953 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76954 ac_header_preproc=yes
76956 no:yes:* )
76957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76961 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76962 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76963 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76964 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76967 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76968 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76970 cat <<\_ASBOX
76971 ## ----------------------------------------- ##
76972 ## Report this to the package-unused lists. ##
76973 ## ----------------------------------------- ##
76974 _ASBOX
76976 sed "s/^/$as_me: WARNING: /" >&2
76978 esac
76979 echo "$as_me:$LINENO: checking for $ac_header" >&5
76980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76982 echo $ECHO_N "(cached) $ECHO_C" >&6
76983 else
76984 eval "$as_ac_Header=\$ac_header_preproc"
76986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76991 cat >>confdefs.h <<_ACEOF
76992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76993 _ACEOF
76997 done
77000 if test "${glibcxx_cv_WRITEV+set}" = set; then
77001 echo $ECHO_N "(cached) $ECHO_C" >&6
77002 else
77004 if test x$gcc_no_link = xyes; then
77005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77007 { (exit 1); exit 1; }; }
77009 cat >conftest.$ac_ext <<_ACEOF
77010 /* confdefs.h. */
77011 _ACEOF
77012 cat confdefs.h >>conftest.$ac_ext
77013 cat >>conftest.$ac_ext <<_ACEOF
77014 /* end confdefs.h. */
77015 #include <sys/uio.h>
77017 main ()
77019 struct iovec iov[2];
77020 writev(0, iov, 0);
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 glibcxx_cv_WRITEV=yes
77048 else
77049 echo "$as_me: failed program was:" >&5
77050 sed 's/^/| /' conftest.$ac_ext >&5
77052 glibcxx_cv_WRITEV=no
77054 rm -f conftest.err conftest.$ac_objext \
77055 conftest$ac_exeext conftest.$ac_ext
77059 if test $glibcxx_cv_WRITEV = yes; then
77060 cat >>confdefs.h <<\_ACEOF
77061 #define HAVE_WRITEV 1
77062 _ACEOF
77067 cat >>confdefs.h <<\_ACEOF
77068 #define HAVE_ACOSF 1
77069 _ACEOF
77071 cat >>confdefs.h <<\_ACEOF
77072 #define HAVE_ASINF 1
77073 _ACEOF
77075 cat >>confdefs.h <<\_ACEOF
77076 #define HAVE_ATANF 1
77077 _ACEOF
77079 cat >>confdefs.h <<\_ACEOF
77080 #define HAVE_ATAN2F 1
77081 _ACEOF
77083 cat >>confdefs.h <<\_ACEOF
77084 #define HAVE_CEILF 1
77085 _ACEOF
77087 cat >>confdefs.h <<\_ACEOF
77088 #define HAVE_COPYSIGN 1
77089 _ACEOF
77091 cat >>confdefs.h <<\_ACEOF
77092 #define HAVE_COPYSIGNF 1
77093 _ACEOF
77095 cat >>confdefs.h <<\_ACEOF
77096 #define HAVE_COSF 1
77097 _ACEOF
77099 cat >>confdefs.h <<\_ACEOF
77100 #define HAVE_COSHF 1
77101 _ACEOF
77103 cat >>confdefs.h <<\_ACEOF
77104 #define HAVE_EXPF 1
77105 _ACEOF
77107 cat >>confdefs.h <<\_ACEOF
77108 #define HAVE_FABSF 1
77109 _ACEOF
77111 cat >>confdefs.h <<\_ACEOF
77112 #define HAVE_FINITE 1
77113 _ACEOF
77115 cat >>confdefs.h <<\_ACEOF
77116 #define HAVE_FINITEF 1
77117 _ACEOF
77119 cat >>confdefs.h <<\_ACEOF
77120 #define HAVE_FLOORF 1
77121 _ACEOF
77123 cat >>confdefs.h <<\_ACEOF
77124 #define HAVE_FMODF 1
77125 _ACEOF
77127 cat >>confdefs.h <<\_ACEOF
77128 #define HAVE_FREXPF 1
77129 _ACEOF
77131 cat >>confdefs.h <<\_ACEOF
77132 #define HAVE_HYPOT 1
77133 _ACEOF
77135 cat >>confdefs.h <<\_ACEOF
77136 #define HAVE_HYPOTF 1
77137 _ACEOF
77139 cat >>confdefs.h <<\_ACEOF
77140 #define HAVE_ISINF 1
77141 _ACEOF
77143 cat >>confdefs.h <<\_ACEOF
77144 #define HAVE_ISINFF 1
77145 _ACEOF
77147 cat >>confdefs.h <<\_ACEOF
77148 #define HAVE_ISNAN 1
77149 _ACEOF
77151 cat >>confdefs.h <<\_ACEOF
77152 #define HAVE_ISNANF 1
77153 _ACEOF
77155 cat >>confdefs.h <<\_ACEOF
77156 #define HAVE_LOGF 1
77157 _ACEOF
77159 cat >>confdefs.h <<\_ACEOF
77160 #define HAVE_LOG10F 1
77161 _ACEOF
77163 cat >>confdefs.h <<\_ACEOF
77164 #define HAVE_MODFF 1
77165 _ACEOF
77167 cat >>confdefs.h <<\_ACEOF
77168 #define HAVE_SINF 1
77169 _ACEOF
77171 cat >>confdefs.h <<\_ACEOF
77172 #define HAVE_SINHF 1
77173 _ACEOF
77175 cat >>confdefs.h <<\_ACEOF
77176 #define HAVE_SINCOS 1
77177 _ACEOF
77179 cat >>confdefs.h <<\_ACEOF
77180 #define HAVE_SINCOSF 1
77181 _ACEOF
77183 cat >>confdefs.h <<\_ACEOF
77184 #define HAVE_SQRTF 1
77185 _ACEOF
77187 cat >>confdefs.h <<\_ACEOF
77188 #define HAVE_TANF 1
77189 _ACEOF
77191 cat >>confdefs.h <<\_ACEOF
77192 #define HAVE_TANHF 1
77193 _ACEOF
77195 if test x"long_double_math_on_this_cpu" = x"yes"; then
77196 cat >>confdefs.h <<\_ACEOF
77197 #define HAVE_ACOSL 1
77198 _ACEOF
77200 cat >>confdefs.h <<\_ACEOF
77201 #define HAVE_ASINL 1
77202 _ACEOF
77204 cat >>confdefs.h <<\_ACEOF
77205 #define HAVE_ATANL 1
77206 _ACEOF
77208 cat >>confdefs.h <<\_ACEOF
77209 #define HAVE_ATAN2L 1
77210 _ACEOF
77212 cat >>confdefs.h <<\_ACEOF
77213 #define HAVE_CEILL 1
77214 _ACEOF
77216 cat >>confdefs.h <<\_ACEOF
77217 #define HAVE_COPYSIGNL 1
77218 _ACEOF
77220 cat >>confdefs.h <<\_ACEOF
77221 #define HAVE_COSL 1
77222 _ACEOF
77224 cat >>confdefs.h <<\_ACEOF
77225 #define HAVE_COSHL 1
77226 _ACEOF
77228 cat >>confdefs.h <<\_ACEOF
77229 #define HAVE_EXPL 1
77230 _ACEOF
77232 cat >>confdefs.h <<\_ACEOF
77233 #define HAVE_FABSL 1
77234 _ACEOF
77236 cat >>confdefs.h <<\_ACEOF
77237 #define HAVE_FINITEL 1
77238 _ACEOF
77240 cat >>confdefs.h <<\_ACEOF
77241 #define HAVE_FLOORL 1
77242 _ACEOF
77244 cat >>confdefs.h <<\_ACEOF
77245 #define HAVE_FMODL 1
77246 _ACEOF
77248 cat >>confdefs.h <<\_ACEOF
77249 #define HAVE_FREXPL 1
77250 _ACEOF
77252 cat >>confdefs.h <<\_ACEOF
77253 #define HAVE_HYPOTL 1
77254 _ACEOF
77256 cat >>confdefs.h <<\_ACEOF
77257 #define HAVE_ISINFL 1
77258 _ACEOF
77260 cat >>confdefs.h <<\_ACEOF
77261 #define HAVE_ISNANL 1
77262 _ACEOF
77264 cat >>confdefs.h <<\_ACEOF
77265 #define HAVE_LOGL 1
77266 _ACEOF
77268 cat >>confdefs.h <<\_ACEOF
77269 #define HAVE_LOG10L 1
77270 _ACEOF
77272 cat >>confdefs.h <<\_ACEOF
77273 #define HAVE_MODFL 1
77274 _ACEOF
77276 cat >>confdefs.h <<\_ACEOF
77277 #define HAVE_POWL 1
77278 _ACEOF
77280 cat >>confdefs.h <<\_ACEOF
77281 #define HAVE_SINL 1
77282 _ACEOF
77284 cat >>confdefs.h <<\_ACEOF
77285 #define HAVE_SINHL 1
77286 _ACEOF
77288 cat >>confdefs.h <<\_ACEOF
77289 #define HAVE_SINCOSL 1
77290 _ACEOF
77292 cat >>confdefs.h <<\_ACEOF
77293 #define HAVE_SQRTL 1
77294 _ACEOF
77296 cat >>confdefs.h <<\_ACEOF
77297 #define HAVE_TANL 1
77298 _ACEOF
77300 cat >>confdefs.h <<\_ACEOF
77301 #define HAVE_TANHL 1
77302 _ACEOF
77306 *-mingw32*)
77310 for ac_header in sys/types.h locale.h float.h
77312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77314 echo "$as_me:$LINENO: checking for $ac_header" >&5
77315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77317 echo $ECHO_N "(cached) $ECHO_C" >&6
77319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77321 else
77322 # Is the header compilable?
77323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77325 cat >conftest.$ac_ext <<_ACEOF
77326 /* confdefs.h. */
77327 _ACEOF
77328 cat confdefs.h >>conftest.$ac_ext
77329 cat >>conftest.$ac_ext <<_ACEOF
77330 /* end confdefs.h. */
77331 $ac_includes_default
77332 #include <$ac_header>
77333 _ACEOF
77334 rm -f conftest.$ac_objext
77335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77336 (eval $ac_compile) 2>conftest.er1
77337 ac_status=$?
77338 grep -v '^ *+' conftest.er1 >conftest.err
77339 rm -f conftest.er1
77340 cat conftest.err >&5
77341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77342 (exit $ac_status); } &&
77343 { ac_try='test -z "$ac_c_werror_flag"
77344 || test ! -s conftest.err'
77345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77346 (eval $ac_try) 2>&5
77347 ac_status=$?
77348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77349 (exit $ac_status); }; } &&
77350 { ac_try='test -s conftest.$ac_objext'
77351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77352 (eval $ac_try) 2>&5
77353 ac_status=$?
77354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77355 (exit $ac_status); }; }; then
77356 ac_header_compiler=yes
77357 else
77358 echo "$as_me: failed program was:" >&5
77359 sed 's/^/| /' conftest.$ac_ext >&5
77361 ac_header_compiler=no
77363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77365 echo "${ECHO_T}$ac_header_compiler" >&6
77367 # Is the header present?
77368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77370 cat >conftest.$ac_ext <<_ACEOF
77371 /* confdefs.h. */
77372 _ACEOF
77373 cat confdefs.h >>conftest.$ac_ext
77374 cat >>conftest.$ac_ext <<_ACEOF
77375 /* end confdefs.h. */
77376 #include <$ac_header>
77377 _ACEOF
77378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77380 ac_status=$?
77381 grep -v '^ *+' conftest.er1 >conftest.err
77382 rm -f conftest.er1
77383 cat conftest.err >&5
77384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77385 (exit $ac_status); } >/dev/null; then
77386 if test -s conftest.err; then
77387 ac_cpp_err=$ac_c_preproc_warn_flag
77388 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77389 else
77390 ac_cpp_err=
77392 else
77393 ac_cpp_err=yes
77395 if test -z "$ac_cpp_err"; then
77396 ac_header_preproc=yes
77397 else
77398 echo "$as_me: failed program was:" >&5
77399 sed 's/^/| /' conftest.$ac_ext >&5
77401 ac_header_preproc=no
77403 rm -f conftest.err conftest.$ac_ext
77404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77405 echo "${ECHO_T}$ac_header_preproc" >&6
77407 # So? What about this header?
77408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77409 yes:no: )
77410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77414 ac_header_preproc=yes
77416 no:yes:* )
77417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77430 cat <<\_ASBOX
77431 ## ----------------------------------------- ##
77432 ## Report this to the package-unused lists. ##
77433 ## ----------------------------------------- ##
77434 _ASBOX
77436 sed "s/^/$as_me: WARNING: /" >&2
77438 esac
77439 echo "$as_me:$LINENO: checking for $ac_header" >&5
77440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77442 echo $ECHO_N "(cached) $ECHO_C" >&6
77443 else
77444 eval "$as_ac_Header=\$ac_header_preproc"
77446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77451 cat >>confdefs.h <<_ACEOF
77452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77453 _ACEOF
77457 done
77460 # If we're not using GNU ld, then there's no point in even trying these
77461 # tests. Check for that first. We should have already tested for gld
77462 # by now (in libtool), but require it now just to be safe...
77463 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77464 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77468 # The name set by libtool depends on the version of libtool. Shame on us
77469 # for depending on an impl detail, but c'est la vie. Older versions used
77470 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77471 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77472 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77473 # set (hence we're using an older libtool), then set it.
77474 if test x${with_gnu_ld+set} != xset; then
77475 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77476 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77477 with_gnu_ld=no
77478 else
77479 with_gnu_ld=$ac_cv_prog_gnu_ld
77483 # Start by getting the version number. I think the libtool test already
77484 # does some of this, but throws away the result.
77486 ldver=`$LD --version 2>/dev/null | head -1 | \
77487 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77489 glibcxx_gnu_ld_version=`echo $ldver | \
77490 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77492 # Set --gc-sections.
77493 if test "$with_gnu_ld" = "notbroken"; then
77494 # GNU ld it is! Joy and bunny rabbits!
77496 # All these tests are for C++; save the language and the compiler flags.
77497 # Need to do this so that g++ won't try to link in libstdc++
77498 ac_test_CFLAGS="${CFLAGS+set}"
77499 ac_save_CFLAGS="$CFLAGS"
77500 CFLAGS='-x c++ -Wl,--gc-sections'
77502 # Check for -Wl,--gc-sections
77503 # XXX This test is broken at the moment, as symbols required for linking
77504 # are now in libsupc++ (not built yet). In addition, this test has
77505 # cored on solaris in the past. In addition, --gc-sections doesn't
77506 # really work at the moment (keeps on discarding used sections, first
77507 # .eh_frame and now some of the glibc sections for iconv).
77508 # Bzzzzt. Thanks for playing, maybe next time.
77509 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77510 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77511 if test "$cross_compiling" = yes; then
77512 ac_sectionLDflags=yes
77513 else
77514 cat >conftest.$ac_ext <<_ACEOF
77515 /* confdefs.h. */
77516 _ACEOF
77517 cat confdefs.h >>conftest.$ac_ext
77518 cat >>conftest.$ac_ext <<_ACEOF
77519 /* end confdefs.h. */
77521 int main(void)
77523 try { throw 1; }
77524 catch (...) { };
77525 return 0;
77528 _ACEOF
77529 rm -f conftest$ac_exeext
77530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77531 (eval $ac_link) 2>&5
77532 ac_status=$?
77533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77536 (eval $ac_try) 2>&5
77537 ac_status=$?
77538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77539 (exit $ac_status); }; }; then
77540 ac_sectionLDflags=yes
77541 else
77542 echo "$as_me: program exited with status $ac_status" >&5
77543 echo "$as_me: failed program was:" >&5
77544 sed 's/^/| /' conftest.$ac_ext >&5
77546 ( exit $ac_status )
77547 ac_sectionLDflags=no
77549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77551 if test "$ac_test_CFLAGS" = set; then
77552 CFLAGS="$ac_save_CFLAGS"
77553 else
77554 # this is the suspicious part
77555 CFLAGS=''
77557 if test "$ac_sectionLDflags" = "yes"; then
77558 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77560 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77561 echo "${ECHO_T}$ac_sectionLDflags" >&6
77564 # Set linker optimization flags.
77565 if test x"$with_gnu_ld" = x"yes"; then
77566 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77574 echo "$as_me:$LINENO: checking for main in -lm" >&5
77575 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77576 if test "${ac_cv_lib_m_main+set}" = set; then
77577 echo $ECHO_N "(cached) $ECHO_C" >&6
77578 else
77579 ac_check_lib_save_LIBS=$LIBS
77580 LIBS="-lm $LIBS"
77581 if test x$gcc_no_link = xyes; then
77582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77584 { (exit 1); exit 1; }; }
77586 cat >conftest.$ac_ext <<_ACEOF
77587 /* confdefs.h. */
77588 _ACEOF
77589 cat confdefs.h >>conftest.$ac_ext
77590 cat >>conftest.$ac_ext <<_ACEOF
77591 /* end confdefs.h. */
77595 main ()
77597 main ();
77599 return 0;
77601 _ACEOF
77602 rm -f conftest.$ac_objext conftest$ac_exeext
77603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77604 (eval $ac_link) 2>conftest.er1
77605 ac_status=$?
77606 grep -v '^ *+' conftest.er1 >conftest.err
77607 rm -f conftest.er1
77608 cat conftest.err >&5
77609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77610 (exit $ac_status); } &&
77611 { ac_try='test -z "$ac_c_werror_flag"
77612 || test ! -s conftest.err'
77613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77614 (eval $ac_try) 2>&5
77615 ac_status=$?
77616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77617 (exit $ac_status); }; } &&
77618 { ac_try='test -s conftest$ac_exeext'
77619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77620 (eval $ac_try) 2>&5
77621 ac_status=$?
77622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77623 (exit $ac_status); }; }; then
77624 ac_cv_lib_m_main=yes
77625 else
77626 echo "$as_me: failed program was:" >&5
77627 sed 's/^/| /' conftest.$ac_ext >&5
77629 ac_cv_lib_m_main=no
77631 rm -f conftest.err conftest.$ac_objext \
77632 conftest$ac_exeext conftest.$ac_ext
77633 LIBS=$ac_check_lib_save_LIBS
77635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77636 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77637 if test $ac_cv_lib_m_main = yes; then
77638 cat >>confdefs.h <<_ACEOF
77639 #define HAVE_LIBM 1
77640 _ACEOF
77642 LIBS="-lm $LIBS"
77647 for ac_func in copysignf
77649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77650 echo "$as_me:$LINENO: checking for $ac_func" >&5
77651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77652 if eval "test \"\${$as_ac_var+set}\" = set"; then
77653 echo $ECHO_N "(cached) $ECHO_C" >&6
77654 else
77655 if test x$gcc_no_link = xyes; then
77656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77658 { (exit 1); exit 1; }; }
77660 cat >conftest.$ac_ext <<_ACEOF
77661 /* confdefs.h. */
77662 _ACEOF
77663 cat confdefs.h >>conftest.$ac_ext
77664 cat >>conftest.$ac_ext <<_ACEOF
77665 /* end confdefs.h. */
77666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77668 #define $ac_func innocuous_$ac_func
77670 /* System header to define __stub macros and hopefully few prototypes,
77671 which can conflict with char $ac_func (); below.
77672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77673 <limits.h> exists even on freestanding compilers. */
77675 #ifdef __STDC__
77676 # include <limits.h>
77677 #else
77678 # include <assert.h>
77679 #endif
77681 #undef $ac_func
77683 /* Override any gcc2 internal prototype to avoid an error. */
77684 #ifdef __cplusplus
77685 extern "C"
77687 #endif
77688 /* We use char because int might match the return type of a gcc2
77689 builtin and then its argument prototype would still apply. */
77690 char $ac_func ();
77691 /* The GNU C library defines this for functions which it implements
77692 to always fail with ENOSYS. Some functions are actually named
77693 something starting with __ and the normal name is an alias. */
77694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77695 choke me
77696 #else
77697 char (*f) () = $ac_func;
77698 #endif
77699 #ifdef __cplusplus
77701 #endif
77704 main ()
77706 return f != $ac_func;
77708 return 0;
77710 _ACEOF
77711 rm -f conftest.$ac_objext conftest$ac_exeext
77712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77713 (eval $ac_link) 2>conftest.er1
77714 ac_status=$?
77715 grep -v '^ *+' conftest.er1 >conftest.err
77716 rm -f conftest.er1
77717 cat conftest.err >&5
77718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77719 (exit $ac_status); } &&
77720 { ac_try='test -z "$ac_c_werror_flag"
77721 || test ! -s conftest.err'
77722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77723 (eval $ac_try) 2>&5
77724 ac_status=$?
77725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77726 (exit $ac_status); }; } &&
77727 { ac_try='test -s conftest$ac_exeext'
77728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77729 (eval $ac_try) 2>&5
77730 ac_status=$?
77731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77732 (exit $ac_status); }; }; then
77733 eval "$as_ac_var=yes"
77734 else
77735 echo "$as_me: failed program was:" >&5
77736 sed 's/^/| /' conftest.$ac_ext >&5
77738 eval "$as_ac_var=no"
77740 rm -f conftest.err conftest.$ac_objext \
77741 conftest$ac_exeext conftest.$ac_ext
77743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77745 if test `eval echo '${'$as_ac_var'}'` = yes; then
77746 cat >>confdefs.h <<_ACEOF
77747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77748 _ACEOF
77750 else
77751 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77753 done
77757 for ac_func in __signbit
77759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77760 echo "$as_me:$LINENO: checking for $ac_func" >&5
77761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77762 if eval "test \"\${$as_ac_var+set}\" = set"; then
77763 echo $ECHO_N "(cached) $ECHO_C" >&6
77764 else
77765 if test x$gcc_no_link = xyes; then
77766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77768 { (exit 1); exit 1; }; }
77770 cat >conftest.$ac_ext <<_ACEOF
77771 /* confdefs.h. */
77772 _ACEOF
77773 cat confdefs.h >>conftest.$ac_ext
77774 cat >>conftest.$ac_ext <<_ACEOF
77775 /* end confdefs.h. */
77776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77778 #define $ac_func innocuous_$ac_func
77780 /* System header to define __stub macros and hopefully few prototypes,
77781 which can conflict with char $ac_func (); below.
77782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77783 <limits.h> exists even on freestanding compilers. */
77785 #ifdef __STDC__
77786 # include <limits.h>
77787 #else
77788 # include <assert.h>
77789 #endif
77791 #undef $ac_func
77793 /* Override any gcc2 internal prototype to avoid an error. */
77794 #ifdef __cplusplus
77795 extern "C"
77797 #endif
77798 /* We use char because int might match the return type of a gcc2
77799 builtin and then its argument prototype would still apply. */
77800 char $ac_func ();
77801 /* The GNU C library defines this for functions which it implements
77802 to always fail with ENOSYS. Some functions are actually named
77803 something starting with __ and the normal name is an alias. */
77804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77805 choke me
77806 #else
77807 char (*f) () = $ac_func;
77808 #endif
77809 #ifdef __cplusplus
77811 #endif
77814 main ()
77816 return f != $ac_func;
77818 return 0;
77820 _ACEOF
77821 rm -f conftest.$ac_objext conftest$ac_exeext
77822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77823 (eval $ac_link) 2>conftest.er1
77824 ac_status=$?
77825 grep -v '^ *+' conftest.er1 >conftest.err
77826 rm -f conftest.er1
77827 cat conftest.err >&5
77828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77829 (exit $ac_status); } &&
77830 { ac_try='test -z "$ac_c_werror_flag"
77831 || test ! -s conftest.err'
77832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77833 (eval $ac_try) 2>&5
77834 ac_status=$?
77835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77836 (exit $ac_status); }; } &&
77837 { ac_try='test -s conftest$ac_exeext'
77838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77839 (eval $ac_try) 2>&5
77840 ac_status=$?
77841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77842 (exit $ac_status); }; }; then
77843 eval "$as_ac_var=yes"
77844 else
77845 echo "$as_me: failed program was:" >&5
77846 sed 's/^/| /' conftest.$ac_ext >&5
77848 eval "$as_ac_var=no"
77850 rm -f conftest.err conftest.$ac_objext \
77851 conftest$ac_exeext conftest.$ac_ext
77853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77855 if test `eval echo '${'$as_ac_var'}'` = yes; then
77856 cat >>confdefs.h <<_ACEOF
77857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77858 _ACEOF
77860 else
77861 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77863 done
77867 for ac_func in __signbitf
77869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77870 echo "$as_me:$LINENO: checking for $ac_func" >&5
77871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77872 if eval "test \"\${$as_ac_var+set}\" = set"; then
77873 echo $ECHO_N "(cached) $ECHO_C" >&6
77874 else
77875 if test x$gcc_no_link = xyes; then
77876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77878 { (exit 1); exit 1; }; }
77880 cat >conftest.$ac_ext <<_ACEOF
77881 /* confdefs.h. */
77882 _ACEOF
77883 cat confdefs.h >>conftest.$ac_ext
77884 cat >>conftest.$ac_ext <<_ACEOF
77885 /* end confdefs.h. */
77886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77888 #define $ac_func innocuous_$ac_func
77890 /* System header to define __stub macros and hopefully few prototypes,
77891 which can conflict with char $ac_func (); below.
77892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77893 <limits.h> exists even on freestanding compilers. */
77895 #ifdef __STDC__
77896 # include <limits.h>
77897 #else
77898 # include <assert.h>
77899 #endif
77901 #undef $ac_func
77903 /* Override any gcc2 internal prototype to avoid an error. */
77904 #ifdef __cplusplus
77905 extern "C"
77907 #endif
77908 /* We use char because int might match the return type of a gcc2
77909 builtin and then its argument prototype would still apply. */
77910 char $ac_func ();
77911 /* The GNU C library defines this for functions which it implements
77912 to always fail with ENOSYS. Some functions are actually named
77913 something starting with __ and the normal name is an alias. */
77914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77915 choke me
77916 #else
77917 char (*f) () = $ac_func;
77918 #endif
77919 #ifdef __cplusplus
77921 #endif
77924 main ()
77926 return f != $ac_func;
77928 return 0;
77930 _ACEOF
77931 rm -f conftest.$ac_objext conftest$ac_exeext
77932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77933 (eval $ac_link) 2>conftest.er1
77934 ac_status=$?
77935 grep -v '^ *+' conftest.er1 >conftest.err
77936 rm -f conftest.er1
77937 cat conftest.err >&5
77938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939 (exit $ac_status); } &&
77940 { ac_try='test -z "$ac_c_werror_flag"
77941 || test ! -s conftest.err'
77942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77943 (eval $ac_try) 2>&5
77944 ac_status=$?
77945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77946 (exit $ac_status); }; } &&
77947 { ac_try='test -s conftest$ac_exeext'
77948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77949 (eval $ac_try) 2>&5
77950 ac_status=$?
77951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77952 (exit $ac_status); }; }; then
77953 eval "$as_ac_var=yes"
77954 else
77955 echo "$as_me: failed program was:" >&5
77956 sed 's/^/| /' conftest.$ac_ext >&5
77958 eval "$as_ac_var=no"
77960 rm -f conftest.err conftest.$ac_objext \
77961 conftest$ac_exeext conftest.$ac_ext
77963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77965 if test `eval echo '${'$as_ac_var'}'` = yes; then
77966 cat >>confdefs.h <<_ACEOF
77967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77968 _ACEOF
77970 else
77971 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77973 done
77976 if test x$ac_cv_func_copysignl = x"yes"; then
77978 for ac_func in __signbitl
77980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77981 echo "$as_me:$LINENO: checking for $ac_func" >&5
77982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77983 if eval "test \"\${$as_ac_var+set}\" = set"; then
77984 echo $ECHO_N "(cached) $ECHO_C" >&6
77985 else
77986 if test x$gcc_no_link = xyes; then
77987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77989 { (exit 1); exit 1; }; }
77991 cat >conftest.$ac_ext <<_ACEOF
77992 /* confdefs.h. */
77993 _ACEOF
77994 cat confdefs.h >>conftest.$ac_ext
77995 cat >>conftest.$ac_ext <<_ACEOF
77996 /* end confdefs.h. */
77997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77999 #define $ac_func innocuous_$ac_func
78001 /* System header to define __stub macros and hopefully few prototypes,
78002 which can conflict with char $ac_func (); below.
78003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78004 <limits.h> exists even on freestanding compilers. */
78006 #ifdef __STDC__
78007 # include <limits.h>
78008 #else
78009 # include <assert.h>
78010 #endif
78012 #undef $ac_func
78014 /* Override any gcc2 internal prototype to avoid an error. */
78015 #ifdef __cplusplus
78016 extern "C"
78018 #endif
78019 /* We use char because int might match the return type of a gcc2
78020 builtin and then its argument prototype would still apply. */
78021 char $ac_func ();
78022 /* The GNU C library defines this for functions which it implements
78023 to always fail with ENOSYS. Some functions are actually named
78024 something starting with __ and the normal name is an alias. */
78025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78026 choke me
78027 #else
78028 char (*f) () = $ac_func;
78029 #endif
78030 #ifdef __cplusplus
78032 #endif
78035 main ()
78037 return f != $ac_func;
78039 return 0;
78041 _ACEOF
78042 rm -f conftest.$ac_objext conftest$ac_exeext
78043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78044 (eval $ac_link) 2>conftest.er1
78045 ac_status=$?
78046 grep -v '^ *+' conftest.er1 >conftest.err
78047 rm -f conftest.er1
78048 cat conftest.err >&5
78049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78050 (exit $ac_status); } &&
78051 { ac_try='test -z "$ac_c_werror_flag"
78052 || test ! -s conftest.err'
78053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78054 (eval $ac_try) 2>&5
78055 ac_status=$?
78056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78057 (exit $ac_status); }; } &&
78058 { ac_try='test -s conftest$ac_exeext'
78059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78060 (eval $ac_try) 2>&5
78061 ac_status=$?
78062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78063 (exit $ac_status); }; }; then
78064 eval "$as_ac_var=yes"
78065 else
78066 echo "$as_me: failed program was:" >&5
78067 sed 's/^/| /' conftest.$ac_ext >&5
78069 eval "$as_ac_var=no"
78071 rm -f conftest.err conftest.$ac_objext \
78072 conftest$ac_exeext conftest.$ac_ext
78074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78076 if test `eval echo '${'$as_ac_var'}'` = yes; then
78077 cat >>confdefs.h <<_ACEOF
78078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78079 _ACEOF
78081 else
78082 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78084 done
78088 # Used in libmath/Makefile.am.
78089 if test -n "$LIBMATHOBJS"; then
78090 need_libmath=yes
78096 enable_iconv=no
78097 # Only continue checking if the ISO C99 headers exist and support is on.
78098 if test x"$enable_wchar_t" = xyes; then
78100 # Use iconv for wchar_t to char conversions. As such, check for
78101 # X/Open Portability Guide, version 2 features (XPG2).
78102 if test "${ac_cv_header_iconv_h+set}" = set; then
78103 echo "$as_me:$LINENO: checking for iconv.h" >&5
78104 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78105 if test "${ac_cv_header_iconv_h+set}" = set; then
78106 echo $ECHO_N "(cached) $ECHO_C" >&6
78108 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78109 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78110 else
78111 # Is the header compilable?
78112 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78113 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78114 cat >conftest.$ac_ext <<_ACEOF
78115 /* confdefs.h. */
78116 _ACEOF
78117 cat confdefs.h >>conftest.$ac_ext
78118 cat >>conftest.$ac_ext <<_ACEOF
78119 /* end confdefs.h. */
78120 $ac_includes_default
78121 #include <iconv.h>
78122 _ACEOF
78123 rm -f conftest.$ac_objext
78124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78125 (eval $ac_compile) 2>conftest.er1
78126 ac_status=$?
78127 grep -v '^ *+' conftest.er1 >conftest.err
78128 rm -f conftest.er1
78129 cat conftest.err >&5
78130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78131 (exit $ac_status); } &&
78132 { ac_try='test -z "$ac_c_werror_flag"
78133 || test ! -s conftest.err'
78134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78135 (eval $ac_try) 2>&5
78136 ac_status=$?
78137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78138 (exit $ac_status); }; } &&
78139 { ac_try='test -s conftest.$ac_objext'
78140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78141 (eval $ac_try) 2>&5
78142 ac_status=$?
78143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78144 (exit $ac_status); }; }; then
78145 ac_header_compiler=yes
78146 else
78147 echo "$as_me: failed program was:" >&5
78148 sed 's/^/| /' conftest.$ac_ext >&5
78150 ac_header_compiler=no
78152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78154 echo "${ECHO_T}$ac_header_compiler" >&6
78156 # Is the header present?
78157 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78158 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78159 cat >conftest.$ac_ext <<_ACEOF
78160 /* confdefs.h. */
78161 _ACEOF
78162 cat confdefs.h >>conftest.$ac_ext
78163 cat >>conftest.$ac_ext <<_ACEOF
78164 /* end confdefs.h. */
78165 #include <iconv.h>
78166 _ACEOF
78167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78169 ac_status=$?
78170 grep -v '^ *+' conftest.er1 >conftest.err
78171 rm -f conftest.er1
78172 cat conftest.err >&5
78173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78174 (exit $ac_status); } >/dev/null; then
78175 if test -s conftest.err; then
78176 ac_cpp_err=$ac_c_preproc_warn_flag
78177 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78178 else
78179 ac_cpp_err=
78181 else
78182 ac_cpp_err=yes
78184 if test -z "$ac_cpp_err"; then
78185 ac_header_preproc=yes
78186 else
78187 echo "$as_me: failed program was:" >&5
78188 sed 's/^/| /' conftest.$ac_ext >&5
78190 ac_header_preproc=no
78192 rm -f conftest.err conftest.$ac_ext
78193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78194 echo "${ECHO_T}$ac_header_preproc" >&6
78196 # So? What about this header?
78197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78198 yes:no: )
78199 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78200 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78201 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78202 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78203 ac_header_preproc=yes
78205 no:yes:* )
78206 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78207 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78208 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78209 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78210 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78211 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78212 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78213 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78214 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78215 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78216 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78217 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78219 cat <<\_ASBOX
78220 ## ----------------------------------------- ##
78221 ## Report this to the package-unused lists. ##
78222 ## ----------------------------------------- ##
78223 _ASBOX
78225 sed "s/^/$as_me: WARNING: /" >&2
78227 esac
78228 echo "$as_me:$LINENO: checking for iconv.h" >&5
78229 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78230 if test "${ac_cv_header_iconv_h+set}" = set; then
78231 echo $ECHO_N "(cached) $ECHO_C" >&6
78232 else
78233 ac_cv_header_iconv_h=$ac_header_preproc
78235 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78236 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78239 if test $ac_cv_header_iconv_h = yes; then
78240 ac_has_iconv_h=yes
78241 else
78242 ac_has_iconv_h=no
78246 if test "${ac_cv_header_langinfo_h+set}" = set; then
78247 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78248 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78249 if test "${ac_cv_header_langinfo_h+set}" = set; then
78250 echo $ECHO_N "(cached) $ECHO_C" >&6
78252 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78253 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78254 else
78255 # Is the header compilable?
78256 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78257 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78258 cat >conftest.$ac_ext <<_ACEOF
78259 /* confdefs.h. */
78260 _ACEOF
78261 cat confdefs.h >>conftest.$ac_ext
78262 cat >>conftest.$ac_ext <<_ACEOF
78263 /* end confdefs.h. */
78264 $ac_includes_default
78265 #include <langinfo.h>
78266 _ACEOF
78267 rm -f conftest.$ac_objext
78268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78269 (eval $ac_compile) 2>conftest.er1
78270 ac_status=$?
78271 grep -v '^ *+' conftest.er1 >conftest.err
78272 rm -f conftest.er1
78273 cat conftest.err >&5
78274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78275 (exit $ac_status); } &&
78276 { ac_try='test -z "$ac_c_werror_flag"
78277 || test ! -s conftest.err'
78278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78279 (eval $ac_try) 2>&5
78280 ac_status=$?
78281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78282 (exit $ac_status); }; } &&
78283 { ac_try='test -s conftest.$ac_objext'
78284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78285 (eval $ac_try) 2>&5
78286 ac_status=$?
78287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78288 (exit $ac_status); }; }; then
78289 ac_header_compiler=yes
78290 else
78291 echo "$as_me: failed program was:" >&5
78292 sed 's/^/| /' conftest.$ac_ext >&5
78294 ac_header_compiler=no
78296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78298 echo "${ECHO_T}$ac_header_compiler" >&6
78300 # Is the header present?
78301 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78302 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78303 cat >conftest.$ac_ext <<_ACEOF
78304 /* confdefs.h. */
78305 _ACEOF
78306 cat confdefs.h >>conftest.$ac_ext
78307 cat >>conftest.$ac_ext <<_ACEOF
78308 /* end confdefs.h. */
78309 #include <langinfo.h>
78310 _ACEOF
78311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78313 ac_status=$?
78314 grep -v '^ *+' conftest.er1 >conftest.err
78315 rm -f conftest.er1
78316 cat conftest.err >&5
78317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78318 (exit $ac_status); } >/dev/null; then
78319 if test -s conftest.err; then
78320 ac_cpp_err=$ac_c_preproc_warn_flag
78321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78322 else
78323 ac_cpp_err=
78325 else
78326 ac_cpp_err=yes
78328 if test -z "$ac_cpp_err"; then
78329 ac_header_preproc=yes
78330 else
78331 echo "$as_me: failed program was:" >&5
78332 sed 's/^/| /' conftest.$ac_ext >&5
78334 ac_header_preproc=no
78336 rm -f conftest.err conftest.$ac_ext
78337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78338 echo "${ECHO_T}$ac_header_preproc" >&6
78340 # So? What about this header?
78341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78342 yes:no: )
78343 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78344 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78345 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78346 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78347 ac_header_preproc=yes
78349 no:yes:* )
78350 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78351 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78352 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78353 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78354 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78355 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78356 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78357 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78358 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78359 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78360 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78361 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78363 cat <<\_ASBOX
78364 ## ----------------------------------------- ##
78365 ## Report this to the package-unused lists. ##
78366 ## ----------------------------------------- ##
78367 _ASBOX
78369 sed "s/^/$as_me: WARNING: /" >&2
78371 esac
78372 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78373 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78374 if test "${ac_cv_header_langinfo_h+set}" = set; then
78375 echo $ECHO_N "(cached) $ECHO_C" >&6
78376 else
78377 ac_cv_header_langinfo_h=$ac_header_preproc
78379 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78380 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78383 if test $ac_cv_header_langinfo_h = yes; then
78384 ac_has_langinfo_h=yes
78385 else
78386 ac_has_langinfo_h=no
78391 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78392 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78393 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78394 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78395 echo $ECHO_N "(cached) $ECHO_C" >&6
78396 else
78397 ac_check_lib_save_LIBS=$LIBS
78398 LIBS="-liconv $LIBS"
78399 if test x$gcc_no_link = xyes; then
78400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78402 { (exit 1); exit 1; }; }
78404 cat >conftest.$ac_ext <<_ACEOF
78405 /* confdefs.h. */
78406 _ACEOF
78407 cat confdefs.h >>conftest.$ac_ext
78408 cat >>conftest.$ac_ext <<_ACEOF
78409 /* end confdefs.h. */
78411 /* Override any gcc2 internal prototype to avoid an error. */
78412 #ifdef __cplusplus
78413 extern "C"
78414 #endif
78415 /* We use char because int might match the return type of a gcc2
78416 builtin and then its argument prototype would still apply. */
78417 char iconv ();
78419 main ()
78421 iconv ();
78423 return 0;
78425 _ACEOF
78426 rm -f conftest.$ac_objext conftest$ac_exeext
78427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78428 (eval $ac_link) 2>conftest.er1
78429 ac_status=$?
78430 grep -v '^ *+' conftest.er1 >conftest.err
78431 rm -f conftest.er1
78432 cat conftest.err >&5
78433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434 (exit $ac_status); } &&
78435 { ac_try='test -z "$ac_c_werror_flag"
78436 || test ! -s conftest.err'
78437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78438 (eval $ac_try) 2>&5
78439 ac_status=$?
78440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78441 (exit $ac_status); }; } &&
78442 { ac_try='test -s conftest$ac_exeext'
78443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78444 (eval $ac_try) 2>&5
78445 ac_status=$?
78446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447 (exit $ac_status); }; }; then
78448 ac_cv_lib_iconv_iconv=yes
78449 else
78450 echo "$as_me: failed program was:" >&5
78451 sed 's/^/| /' conftest.$ac_ext >&5
78453 ac_cv_lib_iconv_iconv=no
78455 rm -f conftest.err conftest.$ac_objext \
78456 conftest$ac_exeext conftest.$ac_ext
78457 LIBS=$ac_check_lib_save_LIBS
78459 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78460 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78461 if test $ac_cv_lib_iconv_iconv = yes; then
78462 LIBICONV="-liconv"
78465 ac_save_LIBS="$LIBS"
78466 LIBS="$LIBS $LIBICONV"
78473 for ac_func in iconv_open iconv_close iconv nl_langinfo
78475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78476 echo "$as_me:$LINENO: checking for $ac_func" >&5
78477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78478 if eval "test \"\${$as_ac_var+set}\" = set"; then
78479 echo $ECHO_N "(cached) $ECHO_C" >&6
78480 else
78481 if test x$gcc_no_link = xyes; then
78482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78484 { (exit 1); exit 1; }; }
78486 cat >conftest.$ac_ext <<_ACEOF
78487 /* confdefs.h. */
78488 _ACEOF
78489 cat confdefs.h >>conftest.$ac_ext
78490 cat >>conftest.$ac_ext <<_ACEOF
78491 /* end confdefs.h. */
78492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78494 #define $ac_func innocuous_$ac_func
78496 /* System header to define __stub macros and hopefully few prototypes,
78497 which can conflict with char $ac_func (); below.
78498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78499 <limits.h> exists even on freestanding compilers. */
78501 #ifdef __STDC__
78502 # include <limits.h>
78503 #else
78504 # include <assert.h>
78505 #endif
78507 #undef $ac_func
78509 /* Override any gcc2 internal prototype to avoid an error. */
78510 #ifdef __cplusplus
78511 extern "C"
78513 #endif
78514 /* We use char because int might match the return type of a gcc2
78515 builtin and then its argument prototype would still apply. */
78516 char $ac_func ();
78517 /* The GNU C library defines this for functions which it implements
78518 to always fail with ENOSYS. Some functions are actually named
78519 something starting with __ and the normal name is an alias. */
78520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78521 choke me
78522 #else
78523 char (*f) () = $ac_func;
78524 #endif
78525 #ifdef __cplusplus
78527 #endif
78530 main ()
78532 return f != $ac_func;
78534 return 0;
78536 _ACEOF
78537 rm -f conftest.$ac_objext conftest$ac_exeext
78538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78539 (eval $ac_link) 2>conftest.er1
78540 ac_status=$?
78541 grep -v '^ *+' conftest.er1 >conftest.err
78542 rm -f conftest.er1
78543 cat conftest.err >&5
78544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78545 (exit $ac_status); } &&
78546 { ac_try='test -z "$ac_c_werror_flag"
78547 || test ! -s conftest.err'
78548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78549 (eval $ac_try) 2>&5
78550 ac_status=$?
78551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78552 (exit $ac_status); }; } &&
78553 { ac_try='test -s conftest$ac_exeext'
78554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78555 (eval $ac_try) 2>&5
78556 ac_status=$?
78557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78558 (exit $ac_status); }; }; then
78559 eval "$as_ac_var=yes"
78560 else
78561 echo "$as_me: failed program was:" >&5
78562 sed 's/^/| /' conftest.$ac_ext >&5
78564 eval "$as_ac_var=no"
78566 rm -f conftest.err conftest.$ac_objext \
78567 conftest$ac_exeext conftest.$ac_ext
78569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78571 if test `eval echo '${'$as_ac_var'}'` = yes; then
78572 cat >>confdefs.h <<_ACEOF
78573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78574 _ACEOF
78575 ac_XPG2funcs=yes
78576 else
78577 ac_XPG2funcs=no
78579 done
78582 LIBS="$ac_save_LIBS"
78584 if test x"$ac_has_iconv_h" = xyes &&
78585 test x"$ac_has_langinfo_h" = xyes &&
78586 test x"$ac_XPG2funcs" = xyes;
78587 then
78589 cat >>confdefs.h <<\_ACEOF
78590 #define _GLIBCXX_USE_ICONV 1
78591 _ACEOF
78593 enable_iconv=yes
78596 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78597 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78598 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78599 echo "${ECHO_T}$enable_iconv" >&6
78602 *-netbsd*)
78615 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78616 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78617 fp.h locale.h float.h inttypes.h
78619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78621 echo "$as_me:$LINENO: checking for $ac_header" >&5
78622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78624 echo $ECHO_N "(cached) $ECHO_C" >&6
78626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78628 else
78629 # Is the header compilable?
78630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78632 cat >conftest.$ac_ext <<_ACEOF
78633 /* confdefs.h. */
78634 _ACEOF
78635 cat confdefs.h >>conftest.$ac_ext
78636 cat >>conftest.$ac_ext <<_ACEOF
78637 /* end confdefs.h. */
78638 $ac_includes_default
78639 #include <$ac_header>
78640 _ACEOF
78641 rm -f conftest.$ac_objext
78642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78643 (eval $ac_compile) 2>conftest.er1
78644 ac_status=$?
78645 grep -v '^ *+' conftest.er1 >conftest.err
78646 rm -f conftest.er1
78647 cat conftest.err >&5
78648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78649 (exit $ac_status); } &&
78650 { ac_try='test -z "$ac_c_werror_flag"
78651 || test ! -s conftest.err'
78652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78653 (eval $ac_try) 2>&5
78654 ac_status=$?
78655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78656 (exit $ac_status); }; } &&
78657 { ac_try='test -s conftest.$ac_objext'
78658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78659 (eval $ac_try) 2>&5
78660 ac_status=$?
78661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78662 (exit $ac_status); }; }; then
78663 ac_header_compiler=yes
78664 else
78665 echo "$as_me: failed program was:" >&5
78666 sed 's/^/| /' conftest.$ac_ext >&5
78668 ac_header_compiler=no
78670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78672 echo "${ECHO_T}$ac_header_compiler" >&6
78674 # Is the header present?
78675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78677 cat >conftest.$ac_ext <<_ACEOF
78678 /* confdefs.h. */
78679 _ACEOF
78680 cat confdefs.h >>conftest.$ac_ext
78681 cat >>conftest.$ac_ext <<_ACEOF
78682 /* end confdefs.h. */
78683 #include <$ac_header>
78684 _ACEOF
78685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78687 ac_status=$?
78688 grep -v '^ *+' conftest.er1 >conftest.err
78689 rm -f conftest.er1
78690 cat conftest.err >&5
78691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78692 (exit $ac_status); } >/dev/null; then
78693 if test -s conftest.err; then
78694 ac_cpp_err=$ac_c_preproc_warn_flag
78695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78696 else
78697 ac_cpp_err=
78699 else
78700 ac_cpp_err=yes
78702 if test -z "$ac_cpp_err"; then
78703 ac_header_preproc=yes
78704 else
78705 echo "$as_me: failed program was:" >&5
78706 sed 's/^/| /' conftest.$ac_ext >&5
78708 ac_header_preproc=no
78710 rm -f conftest.err conftest.$ac_ext
78711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78712 echo "${ECHO_T}$ac_header_preproc" >&6
78714 # So? What about this header?
78715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78716 yes:no: )
78717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78721 ac_header_preproc=yes
78723 no:yes:* )
78724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78737 cat <<\_ASBOX
78738 ## ----------------------------------------- ##
78739 ## Report this to the package-unused lists. ##
78740 ## ----------------------------------------- ##
78741 _ASBOX
78743 sed "s/^/$as_me: WARNING: /" >&2
78745 esac
78746 echo "$as_me:$LINENO: checking for $ac_header" >&5
78747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78749 echo $ECHO_N "(cached) $ECHO_C" >&6
78750 else
78751 eval "$as_ac_Header=\$ac_header_preproc"
78753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78758 cat >>confdefs.h <<_ACEOF
78759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78760 _ACEOF
78764 done
78766 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78769 # If we're not using GNU ld, then there's no point in even trying these
78770 # tests. Check for that first. We should have already tested for gld
78771 # by now (in libtool), but require it now just to be safe...
78772 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78773 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78777 # The name set by libtool depends on the version of libtool. Shame on us
78778 # for depending on an impl detail, but c'est la vie. Older versions used
78779 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78780 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78781 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78782 # set (hence we're using an older libtool), then set it.
78783 if test x${with_gnu_ld+set} != xset; then
78784 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78785 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78786 with_gnu_ld=no
78787 else
78788 with_gnu_ld=$ac_cv_prog_gnu_ld
78792 # Start by getting the version number. I think the libtool test already
78793 # does some of this, but throws away the result.
78795 ldver=`$LD --version 2>/dev/null | head -1 | \
78796 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78798 glibcxx_gnu_ld_version=`echo $ldver | \
78799 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78801 # Set --gc-sections.
78802 if test "$with_gnu_ld" = "notbroken"; then
78803 # GNU ld it is! Joy and bunny rabbits!
78805 # All these tests are for C++; save the language and the compiler flags.
78806 # Need to do this so that g++ won't try to link in libstdc++
78807 ac_test_CFLAGS="${CFLAGS+set}"
78808 ac_save_CFLAGS="$CFLAGS"
78809 CFLAGS='-x c++ -Wl,--gc-sections'
78811 # Check for -Wl,--gc-sections
78812 # XXX This test is broken at the moment, as symbols required for linking
78813 # are now in libsupc++ (not built yet). In addition, this test has
78814 # cored on solaris in the past. In addition, --gc-sections doesn't
78815 # really work at the moment (keeps on discarding used sections, first
78816 # .eh_frame and now some of the glibc sections for iconv).
78817 # Bzzzzt. Thanks for playing, maybe next time.
78818 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78819 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78820 if test "$cross_compiling" = yes; then
78821 ac_sectionLDflags=yes
78822 else
78823 cat >conftest.$ac_ext <<_ACEOF
78824 /* confdefs.h. */
78825 _ACEOF
78826 cat confdefs.h >>conftest.$ac_ext
78827 cat >>conftest.$ac_ext <<_ACEOF
78828 /* end confdefs.h. */
78830 int main(void)
78832 try { throw 1; }
78833 catch (...) { };
78834 return 0;
78837 _ACEOF
78838 rm -f conftest$ac_exeext
78839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78840 (eval $ac_link) 2>&5
78841 ac_status=$?
78842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
78844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78845 (eval $ac_try) 2>&5
78846 ac_status=$?
78847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78848 (exit $ac_status); }; }; then
78849 ac_sectionLDflags=yes
78850 else
78851 echo "$as_me: program exited with status $ac_status" >&5
78852 echo "$as_me: failed program was:" >&5
78853 sed 's/^/| /' conftest.$ac_ext >&5
78855 ( exit $ac_status )
78856 ac_sectionLDflags=no
78858 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
78860 if test "$ac_test_CFLAGS" = set; then
78861 CFLAGS="$ac_save_CFLAGS"
78862 else
78863 # this is the suspicious part
78864 CFLAGS=''
78866 if test "$ac_sectionLDflags" = "yes"; then
78867 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78869 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
78870 echo "${ECHO_T}$ac_sectionLDflags" >&6
78873 # Set linker optimization flags.
78874 if test x"$with_gnu_ld" = x"yes"; then
78875 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78883 echo "$as_me:$LINENO: checking for main in -lm" >&5
78884 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78885 if test "${ac_cv_lib_m_main+set}" = set; then
78886 echo $ECHO_N "(cached) $ECHO_C" >&6
78887 else
78888 ac_check_lib_save_LIBS=$LIBS
78889 LIBS="-lm $LIBS"
78890 if test x$gcc_no_link = xyes; then
78891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78893 { (exit 1); exit 1; }; }
78895 cat >conftest.$ac_ext <<_ACEOF
78896 /* confdefs.h. */
78897 _ACEOF
78898 cat confdefs.h >>conftest.$ac_ext
78899 cat >>conftest.$ac_ext <<_ACEOF
78900 /* end confdefs.h. */
78904 main ()
78906 main ();
78908 return 0;
78910 _ACEOF
78911 rm -f conftest.$ac_objext conftest$ac_exeext
78912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78913 (eval $ac_link) 2>conftest.er1
78914 ac_status=$?
78915 grep -v '^ *+' conftest.er1 >conftest.err
78916 rm -f conftest.er1
78917 cat conftest.err >&5
78918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78919 (exit $ac_status); } &&
78920 { ac_try='test -z "$ac_c_werror_flag"
78921 || test ! -s conftest.err'
78922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78923 (eval $ac_try) 2>&5
78924 ac_status=$?
78925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78926 (exit $ac_status); }; } &&
78927 { ac_try='test -s conftest$ac_exeext'
78928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78929 (eval $ac_try) 2>&5
78930 ac_status=$?
78931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78932 (exit $ac_status); }; }; then
78933 ac_cv_lib_m_main=yes
78934 else
78935 echo "$as_me: failed program was:" >&5
78936 sed 's/^/| /' conftest.$ac_ext >&5
78938 ac_cv_lib_m_main=no
78940 rm -f conftest.err conftest.$ac_objext \
78941 conftest$ac_exeext conftest.$ac_ext
78942 LIBS=$ac_check_lib_save_LIBS
78944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78945 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78946 if test $ac_cv_lib_m_main = yes; then
78947 cat >>confdefs.h <<_ACEOF
78948 #define HAVE_LIBM 1
78949 _ACEOF
78951 LIBS="-lm $LIBS"
78956 for ac_func in copysignf
78958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78959 echo "$as_me:$LINENO: checking for $ac_func" >&5
78960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78961 if eval "test \"\${$as_ac_var+set}\" = set"; then
78962 echo $ECHO_N "(cached) $ECHO_C" >&6
78963 else
78964 if test x$gcc_no_link = xyes; then
78965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78967 { (exit 1); exit 1; }; }
78969 cat >conftest.$ac_ext <<_ACEOF
78970 /* confdefs.h. */
78971 _ACEOF
78972 cat confdefs.h >>conftest.$ac_ext
78973 cat >>conftest.$ac_ext <<_ACEOF
78974 /* end confdefs.h. */
78975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78977 #define $ac_func innocuous_$ac_func
78979 /* System header to define __stub macros and hopefully few prototypes,
78980 which can conflict with char $ac_func (); below.
78981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78982 <limits.h> exists even on freestanding compilers. */
78984 #ifdef __STDC__
78985 # include <limits.h>
78986 #else
78987 # include <assert.h>
78988 #endif
78990 #undef $ac_func
78992 /* Override any gcc2 internal prototype to avoid an error. */
78993 #ifdef __cplusplus
78994 extern "C"
78996 #endif
78997 /* We use char because int might match the return type of a gcc2
78998 builtin and then its argument prototype would still apply. */
78999 char $ac_func ();
79000 /* The GNU C library defines this for functions which it implements
79001 to always fail with ENOSYS. Some functions are actually named
79002 something starting with __ and the normal name is an alias. */
79003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79004 choke me
79005 #else
79006 char (*f) () = $ac_func;
79007 #endif
79008 #ifdef __cplusplus
79010 #endif
79013 main ()
79015 return f != $ac_func;
79017 return 0;
79019 _ACEOF
79020 rm -f conftest.$ac_objext conftest$ac_exeext
79021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79022 (eval $ac_link) 2>conftest.er1
79023 ac_status=$?
79024 grep -v '^ *+' conftest.er1 >conftest.err
79025 rm -f conftest.er1
79026 cat conftest.err >&5
79027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79028 (exit $ac_status); } &&
79029 { ac_try='test -z "$ac_c_werror_flag"
79030 || test ! -s conftest.err'
79031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79032 (eval $ac_try) 2>&5
79033 ac_status=$?
79034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79035 (exit $ac_status); }; } &&
79036 { ac_try='test -s conftest$ac_exeext'
79037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79038 (eval $ac_try) 2>&5
79039 ac_status=$?
79040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79041 (exit $ac_status); }; }; then
79042 eval "$as_ac_var=yes"
79043 else
79044 echo "$as_me: failed program was:" >&5
79045 sed 's/^/| /' conftest.$ac_ext >&5
79047 eval "$as_ac_var=no"
79049 rm -f conftest.err conftest.$ac_objext \
79050 conftest$ac_exeext conftest.$ac_ext
79052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79054 if test `eval echo '${'$as_ac_var'}'` = yes; then
79055 cat >>confdefs.h <<_ACEOF
79056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79057 _ACEOF
79059 else
79060 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79062 done
79066 for ac_func in __signbit
79068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79069 echo "$as_me:$LINENO: checking for $ac_func" >&5
79070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79071 if eval "test \"\${$as_ac_var+set}\" = set"; then
79072 echo $ECHO_N "(cached) $ECHO_C" >&6
79073 else
79074 if test x$gcc_no_link = xyes; then
79075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79077 { (exit 1); exit 1; }; }
79079 cat >conftest.$ac_ext <<_ACEOF
79080 /* confdefs.h. */
79081 _ACEOF
79082 cat confdefs.h >>conftest.$ac_ext
79083 cat >>conftest.$ac_ext <<_ACEOF
79084 /* end confdefs.h. */
79085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79087 #define $ac_func innocuous_$ac_func
79089 /* System header to define __stub macros and hopefully few prototypes,
79090 which can conflict with char $ac_func (); below.
79091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79092 <limits.h> exists even on freestanding compilers. */
79094 #ifdef __STDC__
79095 # include <limits.h>
79096 #else
79097 # include <assert.h>
79098 #endif
79100 #undef $ac_func
79102 /* Override any gcc2 internal prototype to avoid an error. */
79103 #ifdef __cplusplus
79104 extern "C"
79106 #endif
79107 /* We use char because int might match the return type of a gcc2
79108 builtin and then its argument prototype would still apply. */
79109 char $ac_func ();
79110 /* The GNU C library defines this for functions which it implements
79111 to always fail with ENOSYS. Some functions are actually named
79112 something starting with __ and the normal name is an alias. */
79113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79114 choke me
79115 #else
79116 char (*f) () = $ac_func;
79117 #endif
79118 #ifdef __cplusplus
79120 #endif
79123 main ()
79125 return f != $ac_func;
79127 return 0;
79129 _ACEOF
79130 rm -f conftest.$ac_objext conftest$ac_exeext
79131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79132 (eval $ac_link) 2>conftest.er1
79133 ac_status=$?
79134 grep -v '^ *+' conftest.er1 >conftest.err
79135 rm -f conftest.er1
79136 cat conftest.err >&5
79137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79138 (exit $ac_status); } &&
79139 { ac_try='test -z "$ac_c_werror_flag"
79140 || test ! -s conftest.err'
79141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79142 (eval $ac_try) 2>&5
79143 ac_status=$?
79144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79145 (exit $ac_status); }; } &&
79146 { ac_try='test -s conftest$ac_exeext'
79147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79148 (eval $ac_try) 2>&5
79149 ac_status=$?
79150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79151 (exit $ac_status); }; }; then
79152 eval "$as_ac_var=yes"
79153 else
79154 echo "$as_me: failed program was:" >&5
79155 sed 's/^/| /' conftest.$ac_ext >&5
79157 eval "$as_ac_var=no"
79159 rm -f conftest.err conftest.$ac_objext \
79160 conftest$ac_exeext conftest.$ac_ext
79162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79164 if test `eval echo '${'$as_ac_var'}'` = yes; then
79165 cat >>confdefs.h <<_ACEOF
79166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79167 _ACEOF
79169 else
79170 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79172 done
79176 for ac_func in __signbitf
79178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79179 echo "$as_me:$LINENO: checking for $ac_func" >&5
79180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79181 if eval "test \"\${$as_ac_var+set}\" = set"; then
79182 echo $ECHO_N "(cached) $ECHO_C" >&6
79183 else
79184 if test x$gcc_no_link = xyes; then
79185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79187 { (exit 1); exit 1; }; }
79189 cat >conftest.$ac_ext <<_ACEOF
79190 /* confdefs.h. */
79191 _ACEOF
79192 cat confdefs.h >>conftest.$ac_ext
79193 cat >>conftest.$ac_ext <<_ACEOF
79194 /* end confdefs.h. */
79195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79197 #define $ac_func innocuous_$ac_func
79199 /* System header to define __stub macros and hopefully few prototypes,
79200 which can conflict with char $ac_func (); below.
79201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79202 <limits.h> exists even on freestanding compilers. */
79204 #ifdef __STDC__
79205 # include <limits.h>
79206 #else
79207 # include <assert.h>
79208 #endif
79210 #undef $ac_func
79212 /* Override any gcc2 internal prototype to avoid an error. */
79213 #ifdef __cplusplus
79214 extern "C"
79216 #endif
79217 /* We use char because int might match the return type of a gcc2
79218 builtin and then its argument prototype would still apply. */
79219 char $ac_func ();
79220 /* The GNU C library defines this for functions which it implements
79221 to always fail with ENOSYS. Some functions are actually named
79222 something starting with __ and the normal name is an alias. */
79223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79224 choke me
79225 #else
79226 char (*f) () = $ac_func;
79227 #endif
79228 #ifdef __cplusplus
79230 #endif
79233 main ()
79235 return f != $ac_func;
79237 return 0;
79239 _ACEOF
79240 rm -f conftest.$ac_objext conftest$ac_exeext
79241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79242 (eval $ac_link) 2>conftest.er1
79243 ac_status=$?
79244 grep -v '^ *+' conftest.er1 >conftest.err
79245 rm -f conftest.er1
79246 cat conftest.err >&5
79247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79248 (exit $ac_status); } &&
79249 { ac_try='test -z "$ac_c_werror_flag"
79250 || test ! -s conftest.err'
79251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79252 (eval $ac_try) 2>&5
79253 ac_status=$?
79254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79255 (exit $ac_status); }; } &&
79256 { ac_try='test -s conftest$ac_exeext'
79257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79258 (eval $ac_try) 2>&5
79259 ac_status=$?
79260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79261 (exit $ac_status); }; }; then
79262 eval "$as_ac_var=yes"
79263 else
79264 echo "$as_me: failed program was:" >&5
79265 sed 's/^/| /' conftest.$ac_ext >&5
79267 eval "$as_ac_var=no"
79269 rm -f conftest.err conftest.$ac_objext \
79270 conftest$ac_exeext conftest.$ac_ext
79272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79274 if test `eval echo '${'$as_ac_var'}'` = yes; then
79275 cat >>confdefs.h <<_ACEOF
79276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79277 _ACEOF
79279 else
79280 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79282 done
79285 if test x$ac_cv_func_copysignl = x"yes"; then
79287 for ac_func in __signbitl
79289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79290 echo "$as_me:$LINENO: checking for $ac_func" >&5
79291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79292 if eval "test \"\${$as_ac_var+set}\" = set"; then
79293 echo $ECHO_N "(cached) $ECHO_C" >&6
79294 else
79295 if test x$gcc_no_link = xyes; then
79296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79298 { (exit 1); exit 1; }; }
79300 cat >conftest.$ac_ext <<_ACEOF
79301 /* confdefs.h. */
79302 _ACEOF
79303 cat confdefs.h >>conftest.$ac_ext
79304 cat >>conftest.$ac_ext <<_ACEOF
79305 /* end confdefs.h. */
79306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79308 #define $ac_func innocuous_$ac_func
79310 /* System header to define __stub macros and hopefully few prototypes,
79311 which can conflict with char $ac_func (); below.
79312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79313 <limits.h> exists even on freestanding compilers. */
79315 #ifdef __STDC__
79316 # include <limits.h>
79317 #else
79318 # include <assert.h>
79319 #endif
79321 #undef $ac_func
79323 /* Override any gcc2 internal prototype to avoid an error. */
79324 #ifdef __cplusplus
79325 extern "C"
79327 #endif
79328 /* We use char because int might match the return type of a gcc2
79329 builtin and then its argument prototype would still apply. */
79330 char $ac_func ();
79331 /* The GNU C library defines this for functions which it implements
79332 to always fail with ENOSYS. Some functions are actually named
79333 something starting with __ and the normal name is an alias. */
79334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79335 choke me
79336 #else
79337 char (*f) () = $ac_func;
79338 #endif
79339 #ifdef __cplusplus
79341 #endif
79344 main ()
79346 return f != $ac_func;
79348 return 0;
79350 _ACEOF
79351 rm -f conftest.$ac_objext conftest$ac_exeext
79352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79353 (eval $ac_link) 2>conftest.er1
79354 ac_status=$?
79355 grep -v '^ *+' conftest.er1 >conftest.err
79356 rm -f conftest.er1
79357 cat conftest.err >&5
79358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79359 (exit $ac_status); } &&
79360 { ac_try='test -z "$ac_c_werror_flag"
79361 || test ! -s conftest.err'
79362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79363 (eval $ac_try) 2>&5
79364 ac_status=$?
79365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79366 (exit $ac_status); }; } &&
79367 { ac_try='test -s conftest$ac_exeext'
79368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79369 (eval $ac_try) 2>&5
79370 ac_status=$?
79371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79372 (exit $ac_status); }; }; then
79373 eval "$as_ac_var=yes"
79374 else
79375 echo "$as_me: failed program was:" >&5
79376 sed 's/^/| /' conftest.$ac_ext >&5
79378 eval "$as_ac_var=no"
79380 rm -f conftest.err conftest.$ac_objext \
79381 conftest$ac_exeext conftest.$ac_ext
79383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79385 if test `eval echo '${'$as_ac_var'}'` = yes; then
79386 cat >>confdefs.h <<_ACEOF
79387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79388 _ACEOF
79390 else
79391 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79393 done
79397 # Used in libmath/Makefile.am.
79398 if test -n "$LIBMATHOBJS"; then
79399 need_libmath=yes
79405 enable_iconv=no
79406 # Only continue checking if the ISO C99 headers exist and support is on.
79407 if test x"$enable_wchar_t" = xyes; then
79409 # Use iconv for wchar_t to char conversions. As such, check for
79410 # X/Open Portability Guide, version 2 features (XPG2).
79411 if test "${ac_cv_header_iconv_h+set}" = set; then
79412 echo "$as_me:$LINENO: checking for iconv.h" >&5
79413 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79414 if test "${ac_cv_header_iconv_h+set}" = set; then
79415 echo $ECHO_N "(cached) $ECHO_C" >&6
79417 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79418 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79419 else
79420 # Is the header compilable?
79421 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79422 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79423 cat >conftest.$ac_ext <<_ACEOF
79424 /* confdefs.h. */
79425 _ACEOF
79426 cat confdefs.h >>conftest.$ac_ext
79427 cat >>conftest.$ac_ext <<_ACEOF
79428 /* end confdefs.h. */
79429 $ac_includes_default
79430 #include <iconv.h>
79431 _ACEOF
79432 rm -f conftest.$ac_objext
79433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79434 (eval $ac_compile) 2>conftest.er1
79435 ac_status=$?
79436 grep -v '^ *+' conftest.er1 >conftest.err
79437 rm -f conftest.er1
79438 cat conftest.err >&5
79439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79440 (exit $ac_status); } &&
79441 { ac_try='test -z "$ac_c_werror_flag"
79442 || test ! -s conftest.err'
79443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79444 (eval $ac_try) 2>&5
79445 ac_status=$?
79446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79447 (exit $ac_status); }; } &&
79448 { ac_try='test -s conftest.$ac_objext'
79449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79450 (eval $ac_try) 2>&5
79451 ac_status=$?
79452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79453 (exit $ac_status); }; }; then
79454 ac_header_compiler=yes
79455 else
79456 echo "$as_me: failed program was:" >&5
79457 sed 's/^/| /' conftest.$ac_ext >&5
79459 ac_header_compiler=no
79461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79463 echo "${ECHO_T}$ac_header_compiler" >&6
79465 # Is the header present?
79466 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79467 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79468 cat >conftest.$ac_ext <<_ACEOF
79469 /* confdefs.h. */
79470 _ACEOF
79471 cat confdefs.h >>conftest.$ac_ext
79472 cat >>conftest.$ac_ext <<_ACEOF
79473 /* end confdefs.h. */
79474 #include <iconv.h>
79475 _ACEOF
79476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79477 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79478 ac_status=$?
79479 grep -v '^ *+' conftest.er1 >conftest.err
79480 rm -f conftest.er1
79481 cat conftest.err >&5
79482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79483 (exit $ac_status); } >/dev/null; then
79484 if test -s conftest.err; then
79485 ac_cpp_err=$ac_c_preproc_warn_flag
79486 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79487 else
79488 ac_cpp_err=
79490 else
79491 ac_cpp_err=yes
79493 if test -z "$ac_cpp_err"; then
79494 ac_header_preproc=yes
79495 else
79496 echo "$as_me: failed program was:" >&5
79497 sed 's/^/| /' conftest.$ac_ext >&5
79499 ac_header_preproc=no
79501 rm -f conftest.err conftest.$ac_ext
79502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79503 echo "${ECHO_T}$ac_header_preproc" >&6
79505 # So? What about this header?
79506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79507 yes:no: )
79508 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79509 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79510 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79511 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79512 ac_header_preproc=yes
79514 no:yes:* )
79515 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79516 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79517 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79518 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79519 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79520 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79521 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79522 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79523 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79524 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79525 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79526 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79528 cat <<\_ASBOX
79529 ## ----------------------------------------- ##
79530 ## Report this to the package-unused lists. ##
79531 ## ----------------------------------------- ##
79532 _ASBOX
79534 sed "s/^/$as_me: WARNING: /" >&2
79536 esac
79537 echo "$as_me:$LINENO: checking for iconv.h" >&5
79538 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79539 if test "${ac_cv_header_iconv_h+set}" = set; then
79540 echo $ECHO_N "(cached) $ECHO_C" >&6
79541 else
79542 ac_cv_header_iconv_h=$ac_header_preproc
79544 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79545 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79548 if test $ac_cv_header_iconv_h = yes; then
79549 ac_has_iconv_h=yes
79550 else
79551 ac_has_iconv_h=no
79555 if test "${ac_cv_header_langinfo_h+set}" = set; then
79556 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79557 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79558 if test "${ac_cv_header_langinfo_h+set}" = set; then
79559 echo $ECHO_N "(cached) $ECHO_C" >&6
79561 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79562 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79563 else
79564 # Is the header compilable?
79565 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79566 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79567 cat >conftest.$ac_ext <<_ACEOF
79568 /* confdefs.h. */
79569 _ACEOF
79570 cat confdefs.h >>conftest.$ac_ext
79571 cat >>conftest.$ac_ext <<_ACEOF
79572 /* end confdefs.h. */
79573 $ac_includes_default
79574 #include <langinfo.h>
79575 _ACEOF
79576 rm -f conftest.$ac_objext
79577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79578 (eval $ac_compile) 2>conftest.er1
79579 ac_status=$?
79580 grep -v '^ *+' conftest.er1 >conftest.err
79581 rm -f conftest.er1
79582 cat conftest.err >&5
79583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79584 (exit $ac_status); } &&
79585 { ac_try='test -z "$ac_c_werror_flag"
79586 || test ! -s conftest.err'
79587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79588 (eval $ac_try) 2>&5
79589 ac_status=$?
79590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79591 (exit $ac_status); }; } &&
79592 { ac_try='test -s conftest.$ac_objext'
79593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79594 (eval $ac_try) 2>&5
79595 ac_status=$?
79596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79597 (exit $ac_status); }; }; then
79598 ac_header_compiler=yes
79599 else
79600 echo "$as_me: failed program was:" >&5
79601 sed 's/^/| /' conftest.$ac_ext >&5
79603 ac_header_compiler=no
79605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79607 echo "${ECHO_T}$ac_header_compiler" >&6
79609 # Is the header present?
79610 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79611 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79612 cat >conftest.$ac_ext <<_ACEOF
79613 /* confdefs.h. */
79614 _ACEOF
79615 cat confdefs.h >>conftest.$ac_ext
79616 cat >>conftest.$ac_ext <<_ACEOF
79617 /* end confdefs.h. */
79618 #include <langinfo.h>
79619 _ACEOF
79620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79622 ac_status=$?
79623 grep -v '^ *+' conftest.er1 >conftest.err
79624 rm -f conftest.er1
79625 cat conftest.err >&5
79626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79627 (exit $ac_status); } >/dev/null; then
79628 if test -s conftest.err; then
79629 ac_cpp_err=$ac_c_preproc_warn_flag
79630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79631 else
79632 ac_cpp_err=
79634 else
79635 ac_cpp_err=yes
79637 if test -z "$ac_cpp_err"; then
79638 ac_header_preproc=yes
79639 else
79640 echo "$as_me: failed program was:" >&5
79641 sed 's/^/| /' conftest.$ac_ext >&5
79643 ac_header_preproc=no
79645 rm -f conftest.err conftest.$ac_ext
79646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79647 echo "${ECHO_T}$ac_header_preproc" >&6
79649 # So? What about this header?
79650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79651 yes:no: )
79652 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79653 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79654 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79655 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79656 ac_header_preproc=yes
79658 no:yes:* )
79659 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79660 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79661 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79662 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79663 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79664 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79665 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79666 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79667 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79668 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79669 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79670 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79672 cat <<\_ASBOX
79673 ## ----------------------------------------- ##
79674 ## Report this to the package-unused lists. ##
79675 ## ----------------------------------------- ##
79676 _ASBOX
79678 sed "s/^/$as_me: WARNING: /" >&2
79680 esac
79681 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79682 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79683 if test "${ac_cv_header_langinfo_h+set}" = set; then
79684 echo $ECHO_N "(cached) $ECHO_C" >&6
79685 else
79686 ac_cv_header_langinfo_h=$ac_header_preproc
79688 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79689 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79692 if test $ac_cv_header_langinfo_h = yes; then
79693 ac_has_langinfo_h=yes
79694 else
79695 ac_has_langinfo_h=no
79700 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79701 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79702 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79703 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79704 echo $ECHO_N "(cached) $ECHO_C" >&6
79705 else
79706 ac_check_lib_save_LIBS=$LIBS
79707 LIBS="-liconv $LIBS"
79708 if test x$gcc_no_link = xyes; then
79709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79711 { (exit 1); exit 1; }; }
79713 cat >conftest.$ac_ext <<_ACEOF
79714 /* confdefs.h. */
79715 _ACEOF
79716 cat confdefs.h >>conftest.$ac_ext
79717 cat >>conftest.$ac_ext <<_ACEOF
79718 /* end confdefs.h. */
79720 /* Override any gcc2 internal prototype to avoid an error. */
79721 #ifdef __cplusplus
79722 extern "C"
79723 #endif
79724 /* We use char because int might match the return type of a gcc2
79725 builtin and then its argument prototype would still apply. */
79726 char iconv ();
79728 main ()
79730 iconv ();
79732 return 0;
79734 _ACEOF
79735 rm -f conftest.$ac_objext conftest$ac_exeext
79736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79737 (eval $ac_link) 2>conftest.er1
79738 ac_status=$?
79739 grep -v '^ *+' conftest.er1 >conftest.err
79740 rm -f conftest.er1
79741 cat conftest.err >&5
79742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79743 (exit $ac_status); } &&
79744 { ac_try='test -z "$ac_c_werror_flag"
79745 || test ! -s conftest.err'
79746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79747 (eval $ac_try) 2>&5
79748 ac_status=$?
79749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79750 (exit $ac_status); }; } &&
79751 { ac_try='test -s conftest$ac_exeext'
79752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79753 (eval $ac_try) 2>&5
79754 ac_status=$?
79755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79756 (exit $ac_status); }; }; then
79757 ac_cv_lib_iconv_iconv=yes
79758 else
79759 echo "$as_me: failed program was:" >&5
79760 sed 's/^/| /' conftest.$ac_ext >&5
79762 ac_cv_lib_iconv_iconv=no
79764 rm -f conftest.err conftest.$ac_objext \
79765 conftest$ac_exeext conftest.$ac_ext
79766 LIBS=$ac_check_lib_save_LIBS
79768 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79769 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79770 if test $ac_cv_lib_iconv_iconv = yes; then
79771 LIBICONV="-liconv"
79774 ac_save_LIBS="$LIBS"
79775 LIBS="$LIBS $LIBICONV"
79782 for ac_func in iconv_open iconv_close iconv nl_langinfo
79784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79785 echo "$as_me:$LINENO: checking for $ac_func" >&5
79786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79787 if eval "test \"\${$as_ac_var+set}\" = set"; then
79788 echo $ECHO_N "(cached) $ECHO_C" >&6
79789 else
79790 if test x$gcc_no_link = xyes; then
79791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79793 { (exit 1); exit 1; }; }
79795 cat >conftest.$ac_ext <<_ACEOF
79796 /* confdefs.h. */
79797 _ACEOF
79798 cat confdefs.h >>conftest.$ac_ext
79799 cat >>conftest.$ac_ext <<_ACEOF
79800 /* end confdefs.h. */
79801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79803 #define $ac_func innocuous_$ac_func
79805 /* System header to define __stub macros and hopefully few prototypes,
79806 which can conflict with char $ac_func (); below.
79807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79808 <limits.h> exists even on freestanding compilers. */
79810 #ifdef __STDC__
79811 # include <limits.h>
79812 #else
79813 # include <assert.h>
79814 #endif
79816 #undef $ac_func
79818 /* Override any gcc2 internal prototype to avoid an error. */
79819 #ifdef __cplusplus
79820 extern "C"
79822 #endif
79823 /* We use char because int might match the return type of a gcc2
79824 builtin and then its argument prototype would still apply. */
79825 char $ac_func ();
79826 /* The GNU C library defines this for functions which it implements
79827 to always fail with ENOSYS. Some functions are actually named
79828 something starting with __ and the normal name is an alias. */
79829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79830 choke me
79831 #else
79832 char (*f) () = $ac_func;
79833 #endif
79834 #ifdef __cplusplus
79836 #endif
79839 main ()
79841 return f != $ac_func;
79843 return 0;
79845 _ACEOF
79846 rm -f conftest.$ac_objext conftest$ac_exeext
79847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79848 (eval $ac_link) 2>conftest.er1
79849 ac_status=$?
79850 grep -v '^ *+' conftest.er1 >conftest.err
79851 rm -f conftest.er1
79852 cat conftest.err >&5
79853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79854 (exit $ac_status); } &&
79855 { ac_try='test -z "$ac_c_werror_flag"
79856 || test ! -s conftest.err'
79857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79858 (eval $ac_try) 2>&5
79859 ac_status=$?
79860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79861 (exit $ac_status); }; } &&
79862 { ac_try='test -s conftest$ac_exeext'
79863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79864 (eval $ac_try) 2>&5
79865 ac_status=$?
79866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79867 (exit $ac_status); }; }; then
79868 eval "$as_ac_var=yes"
79869 else
79870 echo "$as_me: failed program was:" >&5
79871 sed 's/^/| /' conftest.$ac_ext >&5
79873 eval "$as_ac_var=no"
79875 rm -f conftest.err conftest.$ac_objext \
79876 conftest$ac_exeext conftest.$ac_ext
79878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79880 if test `eval echo '${'$as_ac_var'}'` = yes; then
79881 cat >>confdefs.h <<_ACEOF
79882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79883 _ACEOF
79884 ac_XPG2funcs=yes
79885 else
79886 ac_XPG2funcs=no
79888 done
79891 LIBS="$ac_save_LIBS"
79893 if test x"$ac_has_iconv_h" = xyes &&
79894 test x"$ac_has_langinfo_h" = xyes &&
79895 test x"$ac_XPG2funcs" = xyes;
79896 then
79898 cat >>confdefs.h <<\_ACEOF
79899 #define _GLIBCXX_USE_ICONV 1
79900 _ACEOF
79902 enable_iconv=yes
79905 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
79906 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
79907 echo "$as_me:$LINENO: result: $enable_iconv" >&5
79908 echo "${ECHO_T}$enable_iconv" >&6
79910 cat >>confdefs.h <<\_ACEOF
79911 #define HAVE_COPYSIGN 1
79912 _ACEOF
79914 cat >>confdefs.h <<\_ACEOF
79915 #define HAVE_COPYSIGNF 1
79916 _ACEOF
79918 cat >>confdefs.h <<\_ACEOF
79919 #define HAVE_FINITEF 1
79920 _ACEOF
79922 cat >>confdefs.h <<\_ACEOF
79923 #define HAVE_FINITE 1
79924 _ACEOF
79926 cat >>confdefs.h <<\_ACEOF
79927 #define HAVE_FREXPF 1
79928 _ACEOF
79930 cat >>confdefs.h <<\_ACEOF
79931 #define HAVE_HYPOTF 1
79932 _ACEOF
79934 cat >>confdefs.h <<\_ACEOF
79935 #define HAVE_ISINF 1
79936 _ACEOF
79938 cat >>confdefs.h <<\_ACEOF
79939 #define HAVE_ISINFF 1
79940 _ACEOF
79942 cat >>confdefs.h <<\_ACEOF
79943 #define HAVE_ISNAN 1
79944 _ACEOF
79946 cat >>confdefs.h <<\_ACEOF
79947 #define HAVE_ISNANF 1
79948 _ACEOF
79950 if test x"long_double_math_on_this_cpu" = x"yes"; then
79951 cat >>confdefs.h <<\_ACEOF
79952 #define HAVE_FINITEL 1
79953 _ACEOF
79955 cat >>confdefs.h <<\_ACEOF
79956 #define HAVE_ISINFL 1
79957 _ACEOF
79959 cat >>confdefs.h <<\_ACEOF
79960 #define HAVE_ISNANL 1
79961 _ACEOF
79965 *-netware)
79974 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
79975 sys/types.h locale.h float.h inttypes.h
79977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79979 echo "$as_me:$LINENO: checking for $ac_header" >&5
79980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79982 echo $ECHO_N "(cached) $ECHO_C" >&6
79984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79986 else
79987 # Is the header compilable?
79988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79990 cat >conftest.$ac_ext <<_ACEOF
79991 /* confdefs.h. */
79992 _ACEOF
79993 cat confdefs.h >>conftest.$ac_ext
79994 cat >>conftest.$ac_ext <<_ACEOF
79995 /* end confdefs.h. */
79996 $ac_includes_default
79997 #include <$ac_header>
79998 _ACEOF
79999 rm -f conftest.$ac_objext
80000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80001 (eval $ac_compile) 2>conftest.er1
80002 ac_status=$?
80003 grep -v '^ *+' conftest.er1 >conftest.err
80004 rm -f conftest.er1
80005 cat conftest.err >&5
80006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80007 (exit $ac_status); } &&
80008 { ac_try='test -z "$ac_c_werror_flag"
80009 || test ! -s conftest.err'
80010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80011 (eval $ac_try) 2>&5
80012 ac_status=$?
80013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80014 (exit $ac_status); }; } &&
80015 { ac_try='test -s conftest.$ac_objext'
80016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80017 (eval $ac_try) 2>&5
80018 ac_status=$?
80019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020 (exit $ac_status); }; }; then
80021 ac_header_compiler=yes
80022 else
80023 echo "$as_me: failed program was:" >&5
80024 sed 's/^/| /' conftest.$ac_ext >&5
80026 ac_header_compiler=no
80028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80030 echo "${ECHO_T}$ac_header_compiler" >&6
80032 # Is the header present?
80033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80035 cat >conftest.$ac_ext <<_ACEOF
80036 /* confdefs.h. */
80037 _ACEOF
80038 cat confdefs.h >>conftest.$ac_ext
80039 cat >>conftest.$ac_ext <<_ACEOF
80040 /* end confdefs.h. */
80041 #include <$ac_header>
80042 _ACEOF
80043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80045 ac_status=$?
80046 grep -v '^ *+' conftest.er1 >conftest.err
80047 rm -f conftest.er1
80048 cat conftest.err >&5
80049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80050 (exit $ac_status); } >/dev/null; then
80051 if test -s conftest.err; then
80052 ac_cpp_err=$ac_c_preproc_warn_flag
80053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80054 else
80055 ac_cpp_err=
80057 else
80058 ac_cpp_err=yes
80060 if test -z "$ac_cpp_err"; then
80061 ac_header_preproc=yes
80062 else
80063 echo "$as_me: failed program was:" >&5
80064 sed 's/^/| /' conftest.$ac_ext >&5
80066 ac_header_preproc=no
80068 rm -f conftest.err conftest.$ac_ext
80069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80070 echo "${ECHO_T}$ac_header_preproc" >&6
80072 # So? What about this header?
80073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80074 yes:no: )
80075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80079 ac_header_preproc=yes
80081 no:yes:* )
80082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80095 cat <<\_ASBOX
80096 ## ----------------------------------------- ##
80097 ## Report this to the package-unused lists. ##
80098 ## ----------------------------------------- ##
80099 _ASBOX
80101 sed "s/^/$as_me: WARNING: /" >&2
80103 esac
80104 echo "$as_me:$LINENO: checking for $ac_header" >&5
80105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80107 echo $ECHO_N "(cached) $ECHO_C" >&6
80108 else
80109 eval "$as_ac_Header=\$ac_header_preproc"
80111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80116 cat >>confdefs.h <<_ACEOF
80117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80118 _ACEOF
80122 done
80124 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80127 # If we're not using GNU ld, then there's no point in even trying these
80128 # tests. Check for that first. We should have already tested for gld
80129 # by now (in libtool), but require it now just to be safe...
80130 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80131 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80135 # The name set by libtool depends on the version of libtool. Shame on us
80136 # for depending on an impl detail, but c'est la vie. Older versions used
80137 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80138 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80139 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80140 # set (hence we're using an older libtool), then set it.
80141 if test x${with_gnu_ld+set} != xset; then
80142 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80143 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80144 with_gnu_ld=no
80145 else
80146 with_gnu_ld=$ac_cv_prog_gnu_ld
80150 # Start by getting the version number. I think the libtool test already
80151 # does some of this, but throws away the result.
80153 ldver=`$LD --version 2>/dev/null | head -1 | \
80154 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80156 glibcxx_gnu_ld_version=`echo $ldver | \
80157 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80159 # Set --gc-sections.
80160 if test "$with_gnu_ld" = "notbroken"; then
80161 # GNU ld it is! Joy and bunny rabbits!
80163 # All these tests are for C++; save the language and the compiler flags.
80164 # Need to do this so that g++ won't try to link in libstdc++
80165 ac_test_CFLAGS="${CFLAGS+set}"
80166 ac_save_CFLAGS="$CFLAGS"
80167 CFLAGS='-x c++ -Wl,--gc-sections'
80169 # Check for -Wl,--gc-sections
80170 # XXX This test is broken at the moment, as symbols required for linking
80171 # are now in libsupc++ (not built yet). In addition, this test has
80172 # cored on solaris in the past. In addition, --gc-sections doesn't
80173 # really work at the moment (keeps on discarding used sections, first
80174 # .eh_frame and now some of the glibc sections for iconv).
80175 # Bzzzzt. Thanks for playing, maybe next time.
80176 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80177 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80178 if test "$cross_compiling" = yes; then
80179 ac_sectionLDflags=yes
80180 else
80181 cat >conftest.$ac_ext <<_ACEOF
80182 /* confdefs.h. */
80183 _ACEOF
80184 cat confdefs.h >>conftest.$ac_ext
80185 cat >>conftest.$ac_ext <<_ACEOF
80186 /* end confdefs.h. */
80188 int main(void)
80190 try { throw 1; }
80191 catch (...) { };
80192 return 0;
80195 _ACEOF
80196 rm -f conftest$ac_exeext
80197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80198 (eval $ac_link) 2>&5
80199 ac_status=$?
80200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80203 (eval $ac_try) 2>&5
80204 ac_status=$?
80205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80206 (exit $ac_status); }; }; then
80207 ac_sectionLDflags=yes
80208 else
80209 echo "$as_me: program exited with status $ac_status" >&5
80210 echo "$as_me: failed program was:" >&5
80211 sed 's/^/| /' conftest.$ac_ext >&5
80213 ( exit $ac_status )
80214 ac_sectionLDflags=no
80216 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80218 if test "$ac_test_CFLAGS" = set; then
80219 CFLAGS="$ac_save_CFLAGS"
80220 else
80221 # this is the suspicious part
80222 CFLAGS=''
80224 if test "$ac_sectionLDflags" = "yes"; then
80225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80227 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80228 echo "${ECHO_T}$ac_sectionLDflags" >&6
80231 # Set linker optimization flags.
80232 if test x"$with_gnu_ld" = x"yes"; then
80233 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80241 echo "$as_me:$LINENO: checking for main in -lm" >&5
80242 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80243 if test "${ac_cv_lib_m_main+set}" = set; then
80244 echo $ECHO_N "(cached) $ECHO_C" >&6
80245 else
80246 ac_check_lib_save_LIBS=$LIBS
80247 LIBS="-lm $LIBS"
80248 if test x$gcc_no_link = xyes; then
80249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80251 { (exit 1); exit 1; }; }
80253 cat >conftest.$ac_ext <<_ACEOF
80254 /* confdefs.h. */
80255 _ACEOF
80256 cat confdefs.h >>conftest.$ac_ext
80257 cat >>conftest.$ac_ext <<_ACEOF
80258 /* end confdefs.h. */
80262 main ()
80264 main ();
80266 return 0;
80268 _ACEOF
80269 rm -f conftest.$ac_objext conftest$ac_exeext
80270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80271 (eval $ac_link) 2>conftest.er1
80272 ac_status=$?
80273 grep -v '^ *+' conftest.er1 >conftest.err
80274 rm -f conftest.er1
80275 cat conftest.err >&5
80276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80277 (exit $ac_status); } &&
80278 { ac_try='test -z "$ac_c_werror_flag"
80279 || test ! -s conftest.err'
80280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80281 (eval $ac_try) 2>&5
80282 ac_status=$?
80283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80284 (exit $ac_status); }; } &&
80285 { ac_try='test -s conftest$ac_exeext'
80286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80287 (eval $ac_try) 2>&5
80288 ac_status=$?
80289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80290 (exit $ac_status); }; }; then
80291 ac_cv_lib_m_main=yes
80292 else
80293 echo "$as_me: failed program was:" >&5
80294 sed 's/^/| /' conftest.$ac_ext >&5
80296 ac_cv_lib_m_main=no
80298 rm -f conftest.err conftest.$ac_objext \
80299 conftest$ac_exeext conftest.$ac_ext
80300 LIBS=$ac_check_lib_save_LIBS
80302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80303 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80304 if test $ac_cv_lib_m_main = yes; then
80305 cat >>confdefs.h <<_ACEOF
80306 #define HAVE_LIBM 1
80307 _ACEOF
80309 LIBS="-lm $LIBS"
80314 for ac_func in copysignf
80316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80317 echo "$as_me:$LINENO: checking for $ac_func" >&5
80318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80319 if eval "test \"\${$as_ac_var+set}\" = set"; then
80320 echo $ECHO_N "(cached) $ECHO_C" >&6
80321 else
80322 if test x$gcc_no_link = xyes; then
80323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80325 { (exit 1); exit 1; }; }
80327 cat >conftest.$ac_ext <<_ACEOF
80328 /* confdefs.h. */
80329 _ACEOF
80330 cat confdefs.h >>conftest.$ac_ext
80331 cat >>conftest.$ac_ext <<_ACEOF
80332 /* end confdefs.h. */
80333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80335 #define $ac_func innocuous_$ac_func
80337 /* System header to define __stub macros and hopefully few prototypes,
80338 which can conflict with char $ac_func (); below.
80339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80340 <limits.h> exists even on freestanding compilers. */
80342 #ifdef __STDC__
80343 # include <limits.h>
80344 #else
80345 # include <assert.h>
80346 #endif
80348 #undef $ac_func
80350 /* Override any gcc2 internal prototype to avoid an error. */
80351 #ifdef __cplusplus
80352 extern "C"
80354 #endif
80355 /* We use char because int might match the return type of a gcc2
80356 builtin and then its argument prototype would still apply. */
80357 char $ac_func ();
80358 /* The GNU C library defines this for functions which it implements
80359 to always fail with ENOSYS. Some functions are actually named
80360 something starting with __ and the normal name is an alias. */
80361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80362 choke me
80363 #else
80364 char (*f) () = $ac_func;
80365 #endif
80366 #ifdef __cplusplus
80368 #endif
80371 main ()
80373 return f != $ac_func;
80375 return 0;
80377 _ACEOF
80378 rm -f conftest.$ac_objext conftest$ac_exeext
80379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80380 (eval $ac_link) 2>conftest.er1
80381 ac_status=$?
80382 grep -v '^ *+' conftest.er1 >conftest.err
80383 rm -f conftest.er1
80384 cat conftest.err >&5
80385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80386 (exit $ac_status); } &&
80387 { ac_try='test -z "$ac_c_werror_flag"
80388 || test ! -s conftest.err'
80389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80390 (eval $ac_try) 2>&5
80391 ac_status=$?
80392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80393 (exit $ac_status); }; } &&
80394 { ac_try='test -s conftest$ac_exeext'
80395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80396 (eval $ac_try) 2>&5
80397 ac_status=$?
80398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80399 (exit $ac_status); }; }; then
80400 eval "$as_ac_var=yes"
80401 else
80402 echo "$as_me: failed program was:" >&5
80403 sed 's/^/| /' conftest.$ac_ext >&5
80405 eval "$as_ac_var=no"
80407 rm -f conftest.err conftest.$ac_objext \
80408 conftest$ac_exeext conftest.$ac_ext
80410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80412 if test `eval echo '${'$as_ac_var'}'` = yes; then
80413 cat >>confdefs.h <<_ACEOF
80414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80415 _ACEOF
80417 else
80418 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80420 done
80424 for ac_func in __signbit
80426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80427 echo "$as_me:$LINENO: checking for $ac_func" >&5
80428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80429 if eval "test \"\${$as_ac_var+set}\" = set"; then
80430 echo $ECHO_N "(cached) $ECHO_C" >&6
80431 else
80432 if test x$gcc_no_link = xyes; then
80433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80435 { (exit 1); exit 1; }; }
80437 cat >conftest.$ac_ext <<_ACEOF
80438 /* confdefs.h. */
80439 _ACEOF
80440 cat confdefs.h >>conftest.$ac_ext
80441 cat >>conftest.$ac_ext <<_ACEOF
80442 /* end confdefs.h. */
80443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80445 #define $ac_func innocuous_$ac_func
80447 /* System header to define __stub macros and hopefully few prototypes,
80448 which can conflict with char $ac_func (); below.
80449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80450 <limits.h> exists even on freestanding compilers. */
80452 #ifdef __STDC__
80453 # include <limits.h>
80454 #else
80455 # include <assert.h>
80456 #endif
80458 #undef $ac_func
80460 /* Override any gcc2 internal prototype to avoid an error. */
80461 #ifdef __cplusplus
80462 extern "C"
80464 #endif
80465 /* We use char because int might match the return type of a gcc2
80466 builtin and then its argument prototype would still apply. */
80467 char $ac_func ();
80468 /* The GNU C library defines this for functions which it implements
80469 to always fail with ENOSYS. Some functions are actually named
80470 something starting with __ and the normal name is an alias. */
80471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80472 choke me
80473 #else
80474 char (*f) () = $ac_func;
80475 #endif
80476 #ifdef __cplusplus
80478 #endif
80481 main ()
80483 return f != $ac_func;
80485 return 0;
80487 _ACEOF
80488 rm -f conftest.$ac_objext conftest$ac_exeext
80489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80490 (eval $ac_link) 2>conftest.er1
80491 ac_status=$?
80492 grep -v '^ *+' conftest.er1 >conftest.err
80493 rm -f conftest.er1
80494 cat conftest.err >&5
80495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80496 (exit $ac_status); } &&
80497 { ac_try='test -z "$ac_c_werror_flag"
80498 || test ! -s conftest.err'
80499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80500 (eval $ac_try) 2>&5
80501 ac_status=$?
80502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80503 (exit $ac_status); }; } &&
80504 { ac_try='test -s conftest$ac_exeext'
80505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80506 (eval $ac_try) 2>&5
80507 ac_status=$?
80508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80509 (exit $ac_status); }; }; then
80510 eval "$as_ac_var=yes"
80511 else
80512 echo "$as_me: failed program was:" >&5
80513 sed 's/^/| /' conftest.$ac_ext >&5
80515 eval "$as_ac_var=no"
80517 rm -f conftest.err conftest.$ac_objext \
80518 conftest$ac_exeext conftest.$ac_ext
80520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80522 if test `eval echo '${'$as_ac_var'}'` = yes; then
80523 cat >>confdefs.h <<_ACEOF
80524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80525 _ACEOF
80527 else
80528 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80530 done
80534 for ac_func in __signbitf
80536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80537 echo "$as_me:$LINENO: checking for $ac_func" >&5
80538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80539 if eval "test \"\${$as_ac_var+set}\" = set"; then
80540 echo $ECHO_N "(cached) $ECHO_C" >&6
80541 else
80542 if test x$gcc_no_link = xyes; then
80543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80545 { (exit 1); exit 1; }; }
80547 cat >conftest.$ac_ext <<_ACEOF
80548 /* confdefs.h. */
80549 _ACEOF
80550 cat confdefs.h >>conftest.$ac_ext
80551 cat >>conftest.$ac_ext <<_ACEOF
80552 /* end confdefs.h. */
80553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80555 #define $ac_func innocuous_$ac_func
80557 /* System header to define __stub macros and hopefully few prototypes,
80558 which can conflict with char $ac_func (); below.
80559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80560 <limits.h> exists even on freestanding compilers. */
80562 #ifdef __STDC__
80563 # include <limits.h>
80564 #else
80565 # include <assert.h>
80566 #endif
80568 #undef $ac_func
80570 /* Override any gcc2 internal prototype to avoid an error. */
80571 #ifdef __cplusplus
80572 extern "C"
80574 #endif
80575 /* We use char because int might match the return type of a gcc2
80576 builtin and then its argument prototype would still apply. */
80577 char $ac_func ();
80578 /* The GNU C library defines this for functions which it implements
80579 to always fail with ENOSYS. Some functions are actually named
80580 something starting with __ and the normal name is an alias. */
80581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80582 choke me
80583 #else
80584 char (*f) () = $ac_func;
80585 #endif
80586 #ifdef __cplusplus
80588 #endif
80591 main ()
80593 return f != $ac_func;
80595 return 0;
80597 _ACEOF
80598 rm -f conftest.$ac_objext conftest$ac_exeext
80599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80600 (eval $ac_link) 2>conftest.er1
80601 ac_status=$?
80602 grep -v '^ *+' conftest.er1 >conftest.err
80603 rm -f conftest.er1
80604 cat conftest.err >&5
80605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80606 (exit $ac_status); } &&
80607 { ac_try='test -z "$ac_c_werror_flag"
80608 || test ! -s conftest.err'
80609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80610 (eval $ac_try) 2>&5
80611 ac_status=$?
80612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80613 (exit $ac_status); }; } &&
80614 { ac_try='test -s conftest$ac_exeext'
80615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80616 (eval $ac_try) 2>&5
80617 ac_status=$?
80618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80619 (exit $ac_status); }; }; then
80620 eval "$as_ac_var=yes"
80621 else
80622 echo "$as_me: failed program was:" >&5
80623 sed 's/^/| /' conftest.$ac_ext >&5
80625 eval "$as_ac_var=no"
80627 rm -f conftest.err conftest.$ac_objext \
80628 conftest$ac_exeext conftest.$ac_ext
80630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80632 if test `eval echo '${'$as_ac_var'}'` = yes; then
80633 cat >>confdefs.h <<_ACEOF
80634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80635 _ACEOF
80637 else
80638 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80640 done
80643 if test x$ac_cv_func_copysignl = x"yes"; then
80645 for ac_func in __signbitl
80647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80648 echo "$as_me:$LINENO: checking for $ac_func" >&5
80649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80650 if eval "test \"\${$as_ac_var+set}\" = set"; then
80651 echo $ECHO_N "(cached) $ECHO_C" >&6
80652 else
80653 if test x$gcc_no_link = xyes; then
80654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80656 { (exit 1); exit 1; }; }
80658 cat >conftest.$ac_ext <<_ACEOF
80659 /* confdefs.h. */
80660 _ACEOF
80661 cat confdefs.h >>conftest.$ac_ext
80662 cat >>conftest.$ac_ext <<_ACEOF
80663 /* end confdefs.h. */
80664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80666 #define $ac_func innocuous_$ac_func
80668 /* System header to define __stub macros and hopefully few prototypes,
80669 which can conflict with char $ac_func (); below.
80670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80671 <limits.h> exists even on freestanding compilers. */
80673 #ifdef __STDC__
80674 # include <limits.h>
80675 #else
80676 # include <assert.h>
80677 #endif
80679 #undef $ac_func
80681 /* Override any gcc2 internal prototype to avoid an error. */
80682 #ifdef __cplusplus
80683 extern "C"
80685 #endif
80686 /* We use char because int might match the return type of a gcc2
80687 builtin and then its argument prototype would still apply. */
80688 char $ac_func ();
80689 /* The GNU C library defines this for functions which it implements
80690 to always fail with ENOSYS. Some functions are actually named
80691 something starting with __ and the normal name is an alias. */
80692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80693 choke me
80694 #else
80695 char (*f) () = $ac_func;
80696 #endif
80697 #ifdef __cplusplus
80699 #endif
80702 main ()
80704 return f != $ac_func;
80706 return 0;
80708 _ACEOF
80709 rm -f conftest.$ac_objext conftest$ac_exeext
80710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80711 (eval $ac_link) 2>conftest.er1
80712 ac_status=$?
80713 grep -v '^ *+' conftest.er1 >conftest.err
80714 rm -f conftest.er1
80715 cat conftest.err >&5
80716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80717 (exit $ac_status); } &&
80718 { ac_try='test -z "$ac_c_werror_flag"
80719 || test ! -s conftest.err'
80720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80721 (eval $ac_try) 2>&5
80722 ac_status=$?
80723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80724 (exit $ac_status); }; } &&
80725 { ac_try='test -s conftest$ac_exeext'
80726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80727 (eval $ac_try) 2>&5
80728 ac_status=$?
80729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80730 (exit $ac_status); }; }; then
80731 eval "$as_ac_var=yes"
80732 else
80733 echo "$as_me: failed program was:" >&5
80734 sed 's/^/| /' conftest.$ac_ext >&5
80736 eval "$as_ac_var=no"
80738 rm -f conftest.err conftest.$ac_objext \
80739 conftest$ac_exeext conftest.$ac_ext
80741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80743 if test `eval echo '${'$as_ac_var'}'` = yes; then
80744 cat >>confdefs.h <<_ACEOF
80745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80746 _ACEOF
80748 else
80749 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80751 done
80755 # Used in libmath/Makefile.am.
80756 if test -n "$LIBMATHOBJS"; then
80757 need_libmath=yes
80763 enable_iconv=no
80764 # Only continue checking if the ISO C99 headers exist and support is on.
80765 if test x"$enable_wchar_t" = xyes; then
80767 # Use iconv for wchar_t to char conversions. As such, check for
80768 # X/Open Portability Guide, version 2 features (XPG2).
80769 if test "${ac_cv_header_iconv_h+set}" = set; then
80770 echo "$as_me:$LINENO: checking for iconv.h" >&5
80771 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80772 if test "${ac_cv_header_iconv_h+set}" = set; then
80773 echo $ECHO_N "(cached) $ECHO_C" >&6
80775 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80776 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80777 else
80778 # Is the header compilable?
80779 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80780 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80781 cat >conftest.$ac_ext <<_ACEOF
80782 /* confdefs.h. */
80783 _ACEOF
80784 cat confdefs.h >>conftest.$ac_ext
80785 cat >>conftest.$ac_ext <<_ACEOF
80786 /* end confdefs.h. */
80787 $ac_includes_default
80788 #include <iconv.h>
80789 _ACEOF
80790 rm -f conftest.$ac_objext
80791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80792 (eval $ac_compile) 2>conftest.er1
80793 ac_status=$?
80794 grep -v '^ *+' conftest.er1 >conftest.err
80795 rm -f conftest.er1
80796 cat conftest.err >&5
80797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80798 (exit $ac_status); } &&
80799 { ac_try='test -z "$ac_c_werror_flag"
80800 || test ! -s conftest.err'
80801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80802 (eval $ac_try) 2>&5
80803 ac_status=$?
80804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80805 (exit $ac_status); }; } &&
80806 { ac_try='test -s conftest.$ac_objext'
80807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80808 (eval $ac_try) 2>&5
80809 ac_status=$?
80810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80811 (exit $ac_status); }; }; then
80812 ac_header_compiler=yes
80813 else
80814 echo "$as_me: failed program was:" >&5
80815 sed 's/^/| /' conftest.$ac_ext >&5
80817 ac_header_compiler=no
80819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80821 echo "${ECHO_T}$ac_header_compiler" >&6
80823 # Is the header present?
80824 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80825 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80826 cat >conftest.$ac_ext <<_ACEOF
80827 /* confdefs.h. */
80828 _ACEOF
80829 cat confdefs.h >>conftest.$ac_ext
80830 cat >>conftest.$ac_ext <<_ACEOF
80831 /* end confdefs.h. */
80832 #include <iconv.h>
80833 _ACEOF
80834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80836 ac_status=$?
80837 grep -v '^ *+' conftest.er1 >conftest.err
80838 rm -f conftest.er1
80839 cat conftest.err >&5
80840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80841 (exit $ac_status); } >/dev/null; then
80842 if test -s conftest.err; then
80843 ac_cpp_err=$ac_c_preproc_warn_flag
80844 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80845 else
80846 ac_cpp_err=
80848 else
80849 ac_cpp_err=yes
80851 if test -z "$ac_cpp_err"; then
80852 ac_header_preproc=yes
80853 else
80854 echo "$as_me: failed program was:" >&5
80855 sed 's/^/| /' conftest.$ac_ext >&5
80857 ac_header_preproc=no
80859 rm -f conftest.err conftest.$ac_ext
80860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80861 echo "${ECHO_T}$ac_header_preproc" >&6
80863 # So? What about this header?
80864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80865 yes:no: )
80866 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80867 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80868 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80869 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80870 ac_header_preproc=yes
80872 no:yes:* )
80873 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80874 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80875 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80876 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80877 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80878 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80879 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80880 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80881 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80882 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80883 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80884 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80886 cat <<\_ASBOX
80887 ## ----------------------------------------- ##
80888 ## Report this to the package-unused lists. ##
80889 ## ----------------------------------------- ##
80890 _ASBOX
80892 sed "s/^/$as_me: WARNING: /" >&2
80894 esac
80895 echo "$as_me:$LINENO: checking for iconv.h" >&5
80896 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80897 if test "${ac_cv_header_iconv_h+set}" = set; then
80898 echo $ECHO_N "(cached) $ECHO_C" >&6
80899 else
80900 ac_cv_header_iconv_h=$ac_header_preproc
80902 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80903 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80906 if test $ac_cv_header_iconv_h = yes; then
80907 ac_has_iconv_h=yes
80908 else
80909 ac_has_iconv_h=no
80913 if test "${ac_cv_header_langinfo_h+set}" = set; then
80914 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80915 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80916 if test "${ac_cv_header_langinfo_h+set}" = set; then
80917 echo $ECHO_N "(cached) $ECHO_C" >&6
80919 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80920 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80921 else
80922 # Is the header compilable?
80923 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80924 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80925 cat >conftest.$ac_ext <<_ACEOF
80926 /* confdefs.h. */
80927 _ACEOF
80928 cat confdefs.h >>conftest.$ac_ext
80929 cat >>conftest.$ac_ext <<_ACEOF
80930 /* end confdefs.h. */
80931 $ac_includes_default
80932 #include <langinfo.h>
80933 _ACEOF
80934 rm -f conftest.$ac_objext
80935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80936 (eval $ac_compile) 2>conftest.er1
80937 ac_status=$?
80938 grep -v '^ *+' conftest.er1 >conftest.err
80939 rm -f conftest.er1
80940 cat conftest.err >&5
80941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80942 (exit $ac_status); } &&
80943 { ac_try='test -z "$ac_c_werror_flag"
80944 || test ! -s conftest.err'
80945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80946 (eval $ac_try) 2>&5
80947 ac_status=$?
80948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80949 (exit $ac_status); }; } &&
80950 { ac_try='test -s conftest.$ac_objext'
80951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80952 (eval $ac_try) 2>&5
80953 ac_status=$?
80954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80955 (exit $ac_status); }; }; then
80956 ac_header_compiler=yes
80957 else
80958 echo "$as_me: failed program was:" >&5
80959 sed 's/^/| /' conftest.$ac_ext >&5
80961 ac_header_compiler=no
80963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80965 echo "${ECHO_T}$ac_header_compiler" >&6
80967 # Is the header present?
80968 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80969 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80970 cat >conftest.$ac_ext <<_ACEOF
80971 /* confdefs.h. */
80972 _ACEOF
80973 cat confdefs.h >>conftest.$ac_ext
80974 cat >>conftest.$ac_ext <<_ACEOF
80975 /* end confdefs.h. */
80976 #include <langinfo.h>
80977 _ACEOF
80978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80980 ac_status=$?
80981 grep -v '^ *+' conftest.er1 >conftest.err
80982 rm -f conftest.er1
80983 cat conftest.err >&5
80984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80985 (exit $ac_status); } >/dev/null; then
80986 if test -s conftest.err; then
80987 ac_cpp_err=$ac_c_preproc_warn_flag
80988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80989 else
80990 ac_cpp_err=
80992 else
80993 ac_cpp_err=yes
80995 if test -z "$ac_cpp_err"; then
80996 ac_header_preproc=yes
80997 else
80998 echo "$as_me: failed program was:" >&5
80999 sed 's/^/| /' conftest.$ac_ext >&5
81001 ac_header_preproc=no
81003 rm -f conftest.err conftest.$ac_ext
81004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81005 echo "${ECHO_T}$ac_header_preproc" >&6
81007 # So? What about this header?
81008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81009 yes:no: )
81010 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81011 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81012 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81013 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81014 ac_header_preproc=yes
81016 no:yes:* )
81017 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81018 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81019 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81020 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81021 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81022 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81023 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81024 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81025 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81026 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81027 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81028 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81030 cat <<\_ASBOX
81031 ## ----------------------------------------- ##
81032 ## Report this to the package-unused lists. ##
81033 ## ----------------------------------------- ##
81034 _ASBOX
81036 sed "s/^/$as_me: WARNING: /" >&2
81038 esac
81039 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81040 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81041 if test "${ac_cv_header_langinfo_h+set}" = set; then
81042 echo $ECHO_N "(cached) $ECHO_C" >&6
81043 else
81044 ac_cv_header_langinfo_h=$ac_header_preproc
81046 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81047 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81050 if test $ac_cv_header_langinfo_h = yes; then
81051 ac_has_langinfo_h=yes
81052 else
81053 ac_has_langinfo_h=no
81058 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81059 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81060 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81061 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81062 echo $ECHO_N "(cached) $ECHO_C" >&6
81063 else
81064 ac_check_lib_save_LIBS=$LIBS
81065 LIBS="-liconv $LIBS"
81066 if test x$gcc_no_link = xyes; then
81067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81069 { (exit 1); exit 1; }; }
81071 cat >conftest.$ac_ext <<_ACEOF
81072 /* confdefs.h. */
81073 _ACEOF
81074 cat confdefs.h >>conftest.$ac_ext
81075 cat >>conftest.$ac_ext <<_ACEOF
81076 /* end confdefs.h. */
81078 /* Override any gcc2 internal prototype to avoid an error. */
81079 #ifdef __cplusplus
81080 extern "C"
81081 #endif
81082 /* We use char because int might match the return type of a gcc2
81083 builtin and then its argument prototype would still apply. */
81084 char iconv ();
81086 main ()
81088 iconv ();
81090 return 0;
81092 _ACEOF
81093 rm -f conftest.$ac_objext conftest$ac_exeext
81094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81095 (eval $ac_link) 2>conftest.er1
81096 ac_status=$?
81097 grep -v '^ *+' conftest.er1 >conftest.err
81098 rm -f conftest.er1
81099 cat conftest.err >&5
81100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81101 (exit $ac_status); } &&
81102 { ac_try='test -z "$ac_c_werror_flag"
81103 || test ! -s conftest.err'
81104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81105 (eval $ac_try) 2>&5
81106 ac_status=$?
81107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81108 (exit $ac_status); }; } &&
81109 { ac_try='test -s conftest$ac_exeext'
81110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81111 (eval $ac_try) 2>&5
81112 ac_status=$?
81113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81114 (exit $ac_status); }; }; then
81115 ac_cv_lib_iconv_iconv=yes
81116 else
81117 echo "$as_me: failed program was:" >&5
81118 sed 's/^/| /' conftest.$ac_ext >&5
81120 ac_cv_lib_iconv_iconv=no
81122 rm -f conftest.err conftest.$ac_objext \
81123 conftest$ac_exeext conftest.$ac_ext
81124 LIBS=$ac_check_lib_save_LIBS
81126 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81127 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81128 if test $ac_cv_lib_iconv_iconv = yes; then
81129 LIBICONV="-liconv"
81132 ac_save_LIBS="$LIBS"
81133 LIBS="$LIBS $LIBICONV"
81140 for ac_func in iconv_open iconv_close iconv nl_langinfo
81142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81143 echo "$as_me:$LINENO: checking for $ac_func" >&5
81144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81145 if eval "test \"\${$as_ac_var+set}\" = set"; then
81146 echo $ECHO_N "(cached) $ECHO_C" >&6
81147 else
81148 if test x$gcc_no_link = xyes; then
81149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81151 { (exit 1); exit 1; }; }
81153 cat >conftest.$ac_ext <<_ACEOF
81154 /* confdefs.h. */
81155 _ACEOF
81156 cat confdefs.h >>conftest.$ac_ext
81157 cat >>conftest.$ac_ext <<_ACEOF
81158 /* end confdefs.h. */
81159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81161 #define $ac_func innocuous_$ac_func
81163 /* System header to define __stub macros and hopefully few prototypes,
81164 which can conflict with char $ac_func (); below.
81165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81166 <limits.h> exists even on freestanding compilers. */
81168 #ifdef __STDC__
81169 # include <limits.h>
81170 #else
81171 # include <assert.h>
81172 #endif
81174 #undef $ac_func
81176 /* Override any gcc2 internal prototype to avoid an error. */
81177 #ifdef __cplusplus
81178 extern "C"
81180 #endif
81181 /* We use char because int might match the return type of a gcc2
81182 builtin and then its argument prototype would still apply. */
81183 char $ac_func ();
81184 /* The GNU C library defines this for functions which it implements
81185 to always fail with ENOSYS. Some functions are actually named
81186 something starting with __ and the normal name is an alias. */
81187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81188 choke me
81189 #else
81190 char (*f) () = $ac_func;
81191 #endif
81192 #ifdef __cplusplus
81194 #endif
81197 main ()
81199 return f != $ac_func;
81201 return 0;
81203 _ACEOF
81204 rm -f conftest.$ac_objext conftest$ac_exeext
81205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81206 (eval $ac_link) 2>conftest.er1
81207 ac_status=$?
81208 grep -v '^ *+' conftest.er1 >conftest.err
81209 rm -f conftest.er1
81210 cat conftest.err >&5
81211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81212 (exit $ac_status); } &&
81213 { ac_try='test -z "$ac_c_werror_flag"
81214 || test ! -s conftest.err'
81215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81216 (eval $ac_try) 2>&5
81217 ac_status=$?
81218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81219 (exit $ac_status); }; } &&
81220 { ac_try='test -s conftest$ac_exeext'
81221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81222 (eval $ac_try) 2>&5
81223 ac_status=$?
81224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81225 (exit $ac_status); }; }; then
81226 eval "$as_ac_var=yes"
81227 else
81228 echo "$as_me: failed program was:" >&5
81229 sed 's/^/| /' conftest.$ac_ext >&5
81231 eval "$as_ac_var=no"
81233 rm -f conftest.err conftest.$ac_objext \
81234 conftest$ac_exeext conftest.$ac_ext
81236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81238 if test `eval echo '${'$as_ac_var'}'` = yes; then
81239 cat >>confdefs.h <<_ACEOF
81240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81241 _ACEOF
81242 ac_XPG2funcs=yes
81243 else
81244 ac_XPG2funcs=no
81246 done
81249 LIBS="$ac_save_LIBS"
81251 if test x"$ac_has_iconv_h" = xyes &&
81252 test x"$ac_has_langinfo_h" = xyes &&
81253 test x"$ac_XPG2funcs" = xyes;
81254 then
81256 cat >>confdefs.h <<\_ACEOF
81257 #define _GLIBCXX_USE_ICONV 1
81258 _ACEOF
81260 enable_iconv=yes
81263 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81264 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81265 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81266 echo "${ECHO_T}$enable_iconv" >&6
81269 # For showmanyc_helper().
81272 for ac_header in sys/ioctl.h sys/filio.h
81274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81276 echo "$as_me:$LINENO: checking for $ac_header" >&5
81277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81279 echo $ECHO_N "(cached) $ECHO_C" >&6
81281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81283 else
81284 # Is the header compilable?
81285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81287 cat >conftest.$ac_ext <<_ACEOF
81288 /* confdefs.h. */
81289 _ACEOF
81290 cat confdefs.h >>conftest.$ac_ext
81291 cat >>conftest.$ac_ext <<_ACEOF
81292 /* end confdefs.h. */
81293 $ac_includes_default
81294 #include <$ac_header>
81295 _ACEOF
81296 rm -f conftest.$ac_objext
81297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81298 (eval $ac_compile) 2>conftest.er1
81299 ac_status=$?
81300 grep -v '^ *+' conftest.er1 >conftest.err
81301 rm -f conftest.er1
81302 cat conftest.err >&5
81303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81304 (exit $ac_status); } &&
81305 { ac_try='test -z "$ac_c_werror_flag"
81306 || test ! -s conftest.err'
81307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81308 (eval $ac_try) 2>&5
81309 ac_status=$?
81310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81311 (exit $ac_status); }; } &&
81312 { ac_try='test -s conftest.$ac_objext'
81313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81314 (eval $ac_try) 2>&5
81315 ac_status=$?
81316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81317 (exit $ac_status); }; }; then
81318 ac_header_compiler=yes
81319 else
81320 echo "$as_me: failed program was:" >&5
81321 sed 's/^/| /' conftest.$ac_ext >&5
81323 ac_header_compiler=no
81325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81327 echo "${ECHO_T}$ac_header_compiler" >&6
81329 # Is the header present?
81330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81332 cat >conftest.$ac_ext <<_ACEOF
81333 /* confdefs.h. */
81334 _ACEOF
81335 cat confdefs.h >>conftest.$ac_ext
81336 cat >>conftest.$ac_ext <<_ACEOF
81337 /* end confdefs.h. */
81338 #include <$ac_header>
81339 _ACEOF
81340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81342 ac_status=$?
81343 grep -v '^ *+' conftest.er1 >conftest.err
81344 rm -f conftest.er1
81345 cat conftest.err >&5
81346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81347 (exit $ac_status); } >/dev/null; then
81348 if test -s conftest.err; then
81349 ac_cpp_err=$ac_c_preproc_warn_flag
81350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81351 else
81352 ac_cpp_err=
81354 else
81355 ac_cpp_err=yes
81357 if test -z "$ac_cpp_err"; then
81358 ac_header_preproc=yes
81359 else
81360 echo "$as_me: failed program was:" >&5
81361 sed 's/^/| /' conftest.$ac_ext >&5
81363 ac_header_preproc=no
81365 rm -f conftest.err conftest.$ac_ext
81366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81367 echo "${ECHO_T}$ac_header_preproc" >&6
81369 # So? What about this header?
81370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81371 yes:no: )
81372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81376 ac_header_preproc=yes
81378 no:yes:* )
81379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81392 cat <<\_ASBOX
81393 ## ----------------------------------------- ##
81394 ## Report this to the package-unused lists. ##
81395 ## ----------------------------------------- ##
81396 _ASBOX
81398 sed "s/^/$as_me: WARNING: /" >&2
81400 esac
81401 echo "$as_me:$LINENO: checking for $ac_header" >&5
81402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81404 echo $ECHO_N "(cached) $ECHO_C" >&6
81405 else
81406 eval "$as_ac_Header=\$ac_header_preproc"
81408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81413 cat >>confdefs.h <<_ACEOF
81414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81415 _ACEOF
81419 done
81422 if test "${glibcxx_cv_POLL+set}" = set; then
81423 echo $ECHO_N "(cached) $ECHO_C" >&6
81424 else
81426 if test x$gcc_no_link = xyes; then
81427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81429 { (exit 1); exit 1; }; }
81431 cat >conftest.$ac_ext <<_ACEOF
81432 /* confdefs.h. */
81433 _ACEOF
81434 cat confdefs.h >>conftest.$ac_ext
81435 cat >>conftest.$ac_ext <<_ACEOF
81436 /* end confdefs.h. */
81437 #include <poll.h>
81439 main ()
81441 struct pollfd pfd[1];
81442 pfd[0].events = POLLIN;
81443 poll(pfd, 1, 0);
81445 return 0;
81447 _ACEOF
81448 rm -f conftest.$ac_objext conftest$ac_exeext
81449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81450 (eval $ac_link) 2>conftest.er1
81451 ac_status=$?
81452 grep -v '^ *+' conftest.er1 >conftest.err
81453 rm -f conftest.er1
81454 cat conftest.err >&5
81455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81456 (exit $ac_status); } &&
81457 { ac_try='test -z "$ac_c_werror_flag"
81458 || test ! -s conftest.err'
81459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81460 (eval $ac_try) 2>&5
81461 ac_status=$?
81462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81463 (exit $ac_status); }; } &&
81464 { ac_try='test -s conftest$ac_exeext'
81465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81466 (eval $ac_try) 2>&5
81467 ac_status=$?
81468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81469 (exit $ac_status); }; }; then
81470 glibcxx_cv_POLL=yes
81471 else
81472 echo "$as_me: failed program was:" >&5
81473 sed 's/^/| /' conftest.$ac_ext >&5
81475 glibcxx_cv_POLL=no
81477 rm -f conftest.err conftest.$ac_objext \
81478 conftest$ac_exeext conftest.$ac_ext
81482 if test $glibcxx_cv_POLL = yes; then
81483 cat >>confdefs.h <<\_ACEOF
81484 #define HAVE_POLL 1
81485 _ACEOF
81490 if test "${glibcxx_cv_S_ISREG+set}" = set; then
81491 echo $ECHO_N "(cached) $ECHO_C" >&6
81492 else
81494 if test x$gcc_no_link = xyes; then
81495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81497 { (exit 1); exit 1; }; }
81499 cat >conftest.$ac_ext <<_ACEOF
81500 /* confdefs.h. */
81501 _ACEOF
81502 cat confdefs.h >>conftest.$ac_ext
81503 cat >>conftest.$ac_ext <<_ACEOF
81504 /* end confdefs.h. */
81505 #include <sys/stat.h>
81507 main ()
81509 struct stat buffer;
81510 fstat(0, &buffer);
81511 S_ISREG(buffer.st_mode);
81513 return 0;
81515 _ACEOF
81516 rm -f conftest.$ac_objext conftest$ac_exeext
81517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81518 (eval $ac_link) 2>conftest.er1
81519 ac_status=$?
81520 grep -v '^ *+' conftest.er1 >conftest.err
81521 rm -f conftest.er1
81522 cat conftest.err >&5
81523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81524 (exit $ac_status); } &&
81525 { ac_try='test -z "$ac_c_werror_flag"
81526 || test ! -s conftest.err'
81527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81528 (eval $ac_try) 2>&5
81529 ac_status=$?
81530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81531 (exit $ac_status); }; } &&
81532 { ac_try='test -s conftest$ac_exeext'
81533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81534 (eval $ac_try) 2>&5
81535 ac_status=$?
81536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537 (exit $ac_status); }; }; then
81538 glibcxx_cv_S_ISREG=yes
81539 else
81540 echo "$as_me: failed program was:" >&5
81541 sed 's/^/| /' conftest.$ac_ext >&5
81543 glibcxx_cv_S_ISREG=no
81545 rm -f conftest.err conftest.$ac_objext \
81546 conftest$ac_exeext conftest.$ac_ext
81550 if test "${glibcxx_cv_S_IFREG+set}" = set; then
81551 echo $ECHO_N "(cached) $ECHO_C" >&6
81552 else
81554 if test x$gcc_no_link = xyes; then
81555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81557 { (exit 1); exit 1; }; }
81559 cat >conftest.$ac_ext <<_ACEOF
81560 /* confdefs.h. */
81561 _ACEOF
81562 cat confdefs.h >>conftest.$ac_ext
81563 cat >>conftest.$ac_ext <<_ACEOF
81564 /* end confdefs.h. */
81565 #include <sys/stat.h>
81567 main ()
81569 struct stat buffer;
81570 fstat(0, &buffer);
81571 S_IFREG & buffer.st_mode;
81573 return 0;
81575 _ACEOF
81576 rm -f conftest.$ac_objext conftest$ac_exeext
81577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81578 (eval $ac_link) 2>conftest.er1
81579 ac_status=$?
81580 grep -v '^ *+' conftest.er1 >conftest.err
81581 rm -f conftest.er1
81582 cat conftest.err >&5
81583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81584 (exit $ac_status); } &&
81585 { ac_try='test -z "$ac_c_werror_flag"
81586 || test ! -s conftest.err'
81587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81588 (eval $ac_try) 2>&5
81589 ac_status=$?
81590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81591 (exit $ac_status); }; } &&
81592 { ac_try='test -s conftest$ac_exeext'
81593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81594 (eval $ac_try) 2>&5
81595 ac_status=$?
81596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81597 (exit $ac_status); }; }; then
81598 glibcxx_cv_S_IFREG=yes
81599 else
81600 echo "$as_me: failed program was:" >&5
81601 sed 's/^/| /' conftest.$ac_ext >&5
81603 glibcxx_cv_S_IFREG=no
81605 rm -f conftest.err conftest.$ac_objext \
81606 conftest$ac_exeext conftest.$ac_ext
81610 if test $glibcxx_cv_S_ISREG = yes; then
81611 cat >>confdefs.h <<\_ACEOF
81612 #define HAVE_S_ISREG 1
81613 _ACEOF
81615 elif test $glibcxx_cv_S_IFREG = yes; then
81616 cat >>confdefs.h <<\_ACEOF
81617 #define HAVE_S_IFREG 1
81618 _ACEOF
81623 # For xsputn_2().
81625 for ac_header in sys/uio.h
81627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81629 echo "$as_me:$LINENO: checking for $ac_header" >&5
81630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81632 echo $ECHO_N "(cached) $ECHO_C" >&6
81634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81636 else
81637 # Is the header compilable?
81638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81640 cat >conftest.$ac_ext <<_ACEOF
81641 /* confdefs.h. */
81642 _ACEOF
81643 cat confdefs.h >>conftest.$ac_ext
81644 cat >>conftest.$ac_ext <<_ACEOF
81645 /* end confdefs.h. */
81646 $ac_includes_default
81647 #include <$ac_header>
81648 _ACEOF
81649 rm -f conftest.$ac_objext
81650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81651 (eval $ac_compile) 2>conftest.er1
81652 ac_status=$?
81653 grep -v '^ *+' conftest.er1 >conftest.err
81654 rm -f conftest.er1
81655 cat conftest.err >&5
81656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81657 (exit $ac_status); } &&
81658 { ac_try='test -z "$ac_c_werror_flag"
81659 || test ! -s conftest.err'
81660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81661 (eval $ac_try) 2>&5
81662 ac_status=$?
81663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81664 (exit $ac_status); }; } &&
81665 { ac_try='test -s conftest.$ac_objext'
81666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81667 (eval $ac_try) 2>&5
81668 ac_status=$?
81669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81670 (exit $ac_status); }; }; then
81671 ac_header_compiler=yes
81672 else
81673 echo "$as_me: failed program was:" >&5
81674 sed 's/^/| /' conftest.$ac_ext >&5
81676 ac_header_compiler=no
81678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81680 echo "${ECHO_T}$ac_header_compiler" >&6
81682 # Is the header present?
81683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81685 cat >conftest.$ac_ext <<_ACEOF
81686 /* confdefs.h. */
81687 _ACEOF
81688 cat confdefs.h >>conftest.$ac_ext
81689 cat >>conftest.$ac_ext <<_ACEOF
81690 /* end confdefs.h. */
81691 #include <$ac_header>
81692 _ACEOF
81693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81695 ac_status=$?
81696 grep -v '^ *+' conftest.er1 >conftest.err
81697 rm -f conftest.er1
81698 cat conftest.err >&5
81699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81700 (exit $ac_status); } >/dev/null; then
81701 if test -s conftest.err; then
81702 ac_cpp_err=$ac_c_preproc_warn_flag
81703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81704 else
81705 ac_cpp_err=
81707 else
81708 ac_cpp_err=yes
81710 if test -z "$ac_cpp_err"; then
81711 ac_header_preproc=yes
81712 else
81713 echo "$as_me: failed program was:" >&5
81714 sed 's/^/| /' conftest.$ac_ext >&5
81716 ac_header_preproc=no
81718 rm -f conftest.err conftest.$ac_ext
81719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81720 echo "${ECHO_T}$ac_header_preproc" >&6
81722 # So? What about this header?
81723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81724 yes:no: )
81725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81729 ac_header_preproc=yes
81731 no:yes:* )
81732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81745 cat <<\_ASBOX
81746 ## ----------------------------------------- ##
81747 ## Report this to the package-unused lists. ##
81748 ## ----------------------------------------- ##
81749 _ASBOX
81751 sed "s/^/$as_me: WARNING: /" >&2
81753 esac
81754 echo "$as_me:$LINENO: checking for $ac_header" >&5
81755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81757 echo $ECHO_N "(cached) $ECHO_C" >&6
81758 else
81759 eval "$as_ac_Header=\$ac_header_preproc"
81761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81766 cat >>confdefs.h <<_ACEOF
81767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81768 _ACEOF
81772 done
81775 if test "${glibcxx_cv_WRITEV+set}" = set; then
81776 echo $ECHO_N "(cached) $ECHO_C" >&6
81777 else
81779 if test x$gcc_no_link = xyes; then
81780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81782 { (exit 1); exit 1; }; }
81784 cat >conftest.$ac_ext <<_ACEOF
81785 /* confdefs.h. */
81786 _ACEOF
81787 cat confdefs.h >>conftest.$ac_ext
81788 cat >>conftest.$ac_ext <<_ACEOF
81789 /* end confdefs.h. */
81790 #include <sys/uio.h>
81792 main ()
81794 struct iovec iov[2];
81795 writev(0, iov, 0);
81797 return 0;
81799 _ACEOF
81800 rm -f conftest.$ac_objext conftest$ac_exeext
81801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81802 (eval $ac_link) 2>conftest.er1
81803 ac_status=$?
81804 grep -v '^ *+' conftest.er1 >conftest.err
81805 rm -f conftest.er1
81806 cat conftest.err >&5
81807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81808 (exit $ac_status); } &&
81809 { ac_try='test -z "$ac_c_werror_flag"
81810 || test ! -s conftest.err'
81811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81812 (eval $ac_try) 2>&5
81813 ac_status=$?
81814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81815 (exit $ac_status); }; } &&
81816 { ac_try='test -s conftest$ac_exeext'
81817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81818 (eval $ac_try) 2>&5
81819 ac_status=$?
81820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81821 (exit $ac_status); }; }; then
81822 glibcxx_cv_WRITEV=yes
81823 else
81824 echo "$as_me: failed program was:" >&5
81825 sed 's/^/| /' conftest.$ac_ext >&5
81827 glibcxx_cv_WRITEV=no
81829 rm -f conftest.err conftest.$ac_objext \
81830 conftest$ac_exeext conftest.$ac_ext
81834 if test $glibcxx_cv_WRITEV = yes; then
81835 cat >>confdefs.h <<\_ACEOF
81836 #define HAVE_WRITEV 1
81837 _ACEOF
81842 *-qnx6.1* | *-qnx6.2*)
81843 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81846 # If we're not using GNU ld, then there's no point in even trying these
81847 # tests. Check for that first. We should have already tested for gld
81848 # by now (in libtool), but require it now just to be safe...
81849 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81850 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81854 # The name set by libtool depends on the version of libtool. Shame on us
81855 # for depending on an impl detail, but c'est la vie. Older versions used
81856 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81857 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81858 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81859 # set (hence we're using an older libtool), then set it.
81860 if test x${with_gnu_ld+set} != xset; then
81861 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81862 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81863 with_gnu_ld=no
81864 else
81865 with_gnu_ld=$ac_cv_prog_gnu_ld
81869 # Start by getting the version number. I think the libtool test already
81870 # does some of this, but throws away the result.
81872 ldver=`$LD --version 2>/dev/null | head -1 | \
81873 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81875 glibcxx_gnu_ld_version=`echo $ldver | \
81876 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81878 # Set --gc-sections.
81879 if test "$with_gnu_ld" = "notbroken"; then
81880 # GNU ld it is! Joy and bunny rabbits!
81882 # All these tests are for C++; save the language and the compiler flags.
81883 # Need to do this so that g++ won't try to link in libstdc++
81884 ac_test_CFLAGS="${CFLAGS+set}"
81885 ac_save_CFLAGS="$CFLAGS"
81886 CFLAGS='-x c++ -Wl,--gc-sections'
81888 # Check for -Wl,--gc-sections
81889 # XXX This test is broken at the moment, as symbols required for linking
81890 # are now in libsupc++ (not built yet). In addition, this test has
81891 # cored on solaris in the past. In addition, --gc-sections doesn't
81892 # really work at the moment (keeps on discarding used sections, first
81893 # .eh_frame and now some of the glibc sections for iconv).
81894 # Bzzzzt. Thanks for playing, maybe next time.
81895 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81896 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81897 if test "$cross_compiling" = yes; then
81898 ac_sectionLDflags=yes
81899 else
81900 cat >conftest.$ac_ext <<_ACEOF
81901 /* confdefs.h. */
81902 _ACEOF
81903 cat confdefs.h >>conftest.$ac_ext
81904 cat >>conftest.$ac_ext <<_ACEOF
81905 /* end confdefs.h. */
81907 int main(void)
81909 try { throw 1; }
81910 catch (...) { };
81911 return 0;
81914 _ACEOF
81915 rm -f conftest$ac_exeext
81916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81917 (eval $ac_link) 2>&5
81918 ac_status=$?
81919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81922 (eval $ac_try) 2>&5
81923 ac_status=$?
81924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81925 (exit $ac_status); }; }; then
81926 ac_sectionLDflags=yes
81927 else
81928 echo "$as_me: program exited with status $ac_status" >&5
81929 echo "$as_me: failed program was:" >&5
81930 sed 's/^/| /' conftest.$ac_ext >&5
81932 ( exit $ac_status )
81933 ac_sectionLDflags=no
81935 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81937 if test "$ac_test_CFLAGS" = set; then
81938 CFLAGS="$ac_save_CFLAGS"
81939 else
81940 # this is the suspicious part
81941 CFLAGS=''
81943 if test "$ac_sectionLDflags" = "yes"; then
81944 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81946 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81947 echo "${ECHO_T}$ac_sectionLDflags" >&6
81950 # Set linker optimization flags.
81951 if test x"$with_gnu_ld" = x"yes"; then
81952 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81960 echo "$as_me:$LINENO: checking for main in -lm" >&5
81961 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81962 if test "${ac_cv_lib_m_main+set}" = set; then
81963 echo $ECHO_N "(cached) $ECHO_C" >&6
81964 else
81965 ac_check_lib_save_LIBS=$LIBS
81966 LIBS="-lm $LIBS"
81967 if test x$gcc_no_link = xyes; then
81968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81970 { (exit 1); exit 1; }; }
81972 cat >conftest.$ac_ext <<_ACEOF
81973 /* confdefs.h. */
81974 _ACEOF
81975 cat confdefs.h >>conftest.$ac_ext
81976 cat >>conftest.$ac_ext <<_ACEOF
81977 /* end confdefs.h. */
81981 main ()
81983 main ();
81985 return 0;
81987 _ACEOF
81988 rm -f conftest.$ac_objext conftest$ac_exeext
81989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81990 (eval $ac_link) 2>conftest.er1
81991 ac_status=$?
81992 grep -v '^ *+' conftest.er1 >conftest.err
81993 rm -f conftest.er1
81994 cat conftest.err >&5
81995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81996 (exit $ac_status); } &&
81997 { ac_try='test -z "$ac_c_werror_flag"
81998 || test ! -s conftest.err'
81999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82000 (eval $ac_try) 2>&5
82001 ac_status=$?
82002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82003 (exit $ac_status); }; } &&
82004 { ac_try='test -s conftest$ac_exeext'
82005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82006 (eval $ac_try) 2>&5
82007 ac_status=$?
82008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82009 (exit $ac_status); }; }; then
82010 ac_cv_lib_m_main=yes
82011 else
82012 echo "$as_me: failed program was:" >&5
82013 sed 's/^/| /' conftest.$ac_ext >&5
82015 ac_cv_lib_m_main=no
82017 rm -f conftest.err conftest.$ac_objext \
82018 conftest$ac_exeext conftest.$ac_ext
82019 LIBS=$ac_check_lib_save_LIBS
82021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82022 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82023 if test $ac_cv_lib_m_main = yes; then
82024 cat >>confdefs.h <<_ACEOF
82025 #define HAVE_LIBM 1
82026 _ACEOF
82028 LIBS="-lm $LIBS"
82033 for ac_func in copysignf
82035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82036 echo "$as_me:$LINENO: checking for $ac_func" >&5
82037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82038 if eval "test \"\${$as_ac_var+set}\" = set"; then
82039 echo $ECHO_N "(cached) $ECHO_C" >&6
82040 else
82041 if test x$gcc_no_link = xyes; then
82042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82044 { (exit 1); exit 1; }; }
82046 cat >conftest.$ac_ext <<_ACEOF
82047 /* confdefs.h. */
82048 _ACEOF
82049 cat confdefs.h >>conftest.$ac_ext
82050 cat >>conftest.$ac_ext <<_ACEOF
82051 /* end confdefs.h. */
82052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82054 #define $ac_func innocuous_$ac_func
82056 /* System header to define __stub macros and hopefully few prototypes,
82057 which can conflict with char $ac_func (); below.
82058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82059 <limits.h> exists even on freestanding compilers. */
82061 #ifdef __STDC__
82062 # include <limits.h>
82063 #else
82064 # include <assert.h>
82065 #endif
82067 #undef $ac_func
82069 /* Override any gcc2 internal prototype to avoid an error. */
82070 #ifdef __cplusplus
82071 extern "C"
82073 #endif
82074 /* We use char because int might match the return type of a gcc2
82075 builtin and then its argument prototype would still apply. */
82076 char $ac_func ();
82077 /* The GNU C library defines this for functions which it implements
82078 to always fail with ENOSYS. Some functions are actually named
82079 something starting with __ and the normal name is an alias. */
82080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82081 choke me
82082 #else
82083 char (*f) () = $ac_func;
82084 #endif
82085 #ifdef __cplusplus
82087 #endif
82090 main ()
82092 return f != $ac_func;
82094 return 0;
82096 _ACEOF
82097 rm -f conftest.$ac_objext conftest$ac_exeext
82098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82099 (eval $ac_link) 2>conftest.er1
82100 ac_status=$?
82101 grep -v '^ *+' conftest.er1 >conftest.err
82102 rm -f conftest.er1
82103 cat conftest.err >&5
82104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82105 (exit $ac_status); } &&
82106 { ac_try='test -z "$ac_c_werror_flag"
82107 || test ! -s conftest.err'
82108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82109 (eval $ac_try) 2>&5
82110 ac_status=$?
82111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82112 (exit $ac_status); }; } &&
82113 { ac_try='test -s conftest$ac_exeext'
82114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82115 (eval $ac_try) 2>&5
82116 ac_status=$?
82117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82118 (exit $ac_status); }; }; then
82119 eval "$as_ac_var=yes"
82120 else
82121 echo "$as_me: failed program was:" >&5
82122 sed 's/^/| /' conftest.$ac_ext >&5
82124 eval "$as_ac_var=no"
82126 rm -f conftest.err conftest.$ac_objext \
82127 conftest$ac_exeext conftest.$ac_ext
82129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82131 if test `eval echo '${'$as_ac_var'}'` = yes; then
82132 cat >>confdefs.h <<_ACEOF
82133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82134 _ACEOF
82136 else
82137 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82139 done
82143 for ac_func in __signbit
82145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82146 echo "$as_me:$LINENO: checking for $ac_func" >&5
82147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82148 if eval "test \"\${$as_ac_var+set}\" = set"; then
82149 echo $ECHO_N "(cached) $ECHO_C" >&6
82150 else
82151 if test x$gcc_no_link = xyes; then
82152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82154 { (exit 1); exit 1; }; }
82156 cat >conftest.$ac_ext <<_ACEOF
82157 /* confdefs.h. */
82158 _ACEOF
82159 cat confdefs.h >>conftest.$ac_ext
82160 cat >>conftest.$ac_ext <<_ACEOF
82161 /* end confdefs.h. */
82162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82164 #define $ac_func innocuous_$ac_func
82166 /* System header to define __stub macros and hopefully few prototypes,
82167 which can conflict with char $ac_func (); below.
82168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82169 <limits.h> exists even on freestanding compilers. */
82171 #ifdef __STDC__
82172 # include <limits.h>
82173 #else
82174 # include <assert.h>
82175 #endif
82177 #undef $ac_func
82179 /* Override any gcc2 internal prototype to avoid an error. */
82180 #ifdef __cplusplus
82181 extern "C"
82183 #endif
82184 /* We use char because int might match the return type of a gcc2
82185 builtin and then its argument prototype would still apply. */
82186 char $ac_func ();
82187 /* The GNU C library defines this for functions which it implements
82188 to always fail with ENOSYS. Some functions are actually named
82189 something starting with __ and the normal name is an alias. */
82190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82191 choke me
82192 #else
82193 char (*f) () = $ac_func;
82194 #endif
82195 #ifdef __cplusplus
82197 #endif
82200 main ()
82202 return f != $ac_func;
82204 return 0;
82206 _ACEOF
82207 rm -f conftest.$ac_objext conftest$ac_exeext
82208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82209 (eval $ac_link) 2>conftest.er1
82210 ac_status=$?
82211 grep -v '^ *+' conftest.er1 >conftest.err
82212 rm -f conftest.er1
82213 cat conftest.err >&5
82214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82215 (exit $ac_status); } &&
82216 { ac_try='test -z "$ac_c_werror_flag"
82217 || test ! -s conftest.err'
82218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82219 (eval $ac_try) 2>&5
82220 ac_status=$?
82221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82222 (exit $ac_status); }; } &&
82223 { ac_try='test -s conftest$ac_exeext'
82224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82225 (eval $ac_try) 2>&5
82226 ac_status=$?
82227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82228 (exit $ac_status); }; }; then
82229 eval "$as_ac_var=yes"
82230 else
82231 echo "$as_me: failed program was:" >&5
82232 sed 's/^/| /' conftest.$ac_ext >&5
82234 eval "$as_ac_var=no"
82236 rm -f conftest.err conftest.$ac_objext \
82237 conftest$ac_exeext conftest.$ac_ext
82239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82241 if test `eval echo '${'$as_ac_var'}'` = yes; then
82242 cat >>confdefs.h <<_ACEOF
82243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82244 _ACEOF
82246 else
82247 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82249 done
82253 for ac_func in __signbitf
82255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82256 echo "$as_me:$LINENO: checking for $ac_func" >&5
82257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82258 if eval "test \"\${$as_ac_var+set}\" = set"; then
82259 echo $ECHO_N "(cached) $ECHO_C" >&6
82260 else
82261 if test x$gcc_no_link = xyes; then
82262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82264 { (exit 1); exit 1; }; }
82266 cat >conftest.$ac_ext <<_ACEOF
82267 /* confdefs.h. */
82268 _ACEOF
82269 cat confdefs.h >>conftest.$ac_ext
82270 cat >>conftest.$ac_ext <<_ACEOF
82271 /* end confdefs.h. */
82272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82274 #define $ac_func innocuous_$ac_func
82276 /* System header to define __stub macros and hopefully few prototypes,
82277 which can conflict with char $ac_func (); below.
82278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82279 <limits.h> exists even on freestanding compilers. */
82281 #ifdef __STDC__
82282 # include <limits.h>
82283 #else
82284 # include <assert.h>
82285 #endif
82287 #undef $ac_func
82289 /* Override any gcc2 internal prototype to avoid an error. */
82290 #ifdef __cplusplus
82291 extern "C"
82293 #endif
82294 /* We use char because int might match the return type of a gcc2
82295 builtin and then its argument prototype would still apply. */
82296 char $ac_func ();
82297 /* The GNU C library defines this for functions which it implements
82298 to always fail with ENOSYS. Some functions are actually named
82299 something starting with __ and the normal name is an alias. */
82300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82301 choke me
82302 #else
82303 char (*f) () = $ac_func;
82304 #endif
82305 #ifdef __cplusplus
82307 #endif
82310 main ()
82312 return f != $ac_func;
82314 return 0;
82316 _ACEOF
82317 rm -f conftest.$ac_objext conftest$ac_exeext
82318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82319 (eval $ac_link) 2>conftest.er1
82320 ac_status=$?
82321 grep -v '^ *+' conftest.er1 >conftest.err
82322 rm -f conftest.er1
82323 cat conftest.err >&5
82324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82325 (exit $ac_status); } &&
82326 { ac_try='test -z "$ac_c_werror_flag"
82327 || test ! -s conftest.err'
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); }; } &&
82333 { ac_try='test -s conftest$ac_exeext'
82334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82335 (eval $ac_try) 2>&5
82336 ac_status=$?
82337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82338 (exit $ac_status); }; }; then
82339 eval "$as_ac_var=yes"
82340 else
82341 echo "$as_me: failed program was:" >&5
82342 sed 's/^/| /' conftest.$ac_ext >&5
82344 eval "$as_ac_var=no"
82346 rm -f conftest.err conftest.$ac_objext \
82347 conftest$ac_exeext conftest.$ac_ext
82349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82351 if test `eval echo '${'$as_ac_var'}'` = yes; then
82352 cat >>confdefs.h <<_ACEOF
82353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82354 _ACEOF
82356 else
82357 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82359 done
82362 if test x$ac_cv_func_copysignl = x"yes"; then
82364 for ac_func in __signbitl
82366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82367 echo "$as_me:$LINENO: checking for $ac_func" >&5
82368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82369 if eval "test \"\${$as_ac_var+set}\" = set"; then
82370 echo $ECHO_N "(cached) $ECHO_C" >&6
82371 else
82372 if test x$gcc_no_link = xyes; then
82373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82375 { (exit 1); exit 1; }; }
82377 cat >conftest.$ac_ext <<_ACEOF
82378 /* confdefs.h. */
82379 _ACEOF
82380 cat confdefs.h >>conftest.$ac_ext
82381 cat >>conftest.$ac_ext <<_ACEOF
82382 /* end confdefs.h. */
82383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82385 #define $ac_func innocuous_$ac_func
82387 /* System header to define __stub macros and hopefully few prototypes,
82388 which can conflict with char $ac_func (); below.
82389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82390 <limits.h> exists even on freestanding compilers. */
82392 #ifdef __STDC__
82393 # include <limits.h>
82394 #else
82395 # include <assert.h>
82396 #endif
82398 #undef $ac_func
82400 /* Override any gcc2 internal prototype to avoid an error. */
82401 #ifdef __cplusplus
82402 extern "C"
82404 #endif
82405 /* We use char because int might match the return type of a gcc2
82406 builtin and then its argument prototype would still apply. */
82407 char $ac_func ();
82408 /* The GNU C library defines this for functions which it implements
82409 to always fail with ENOSYS. Some functions are actually named
82410 something starting with __ and the normal name is an alias. */
82411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82412 choke me
82413 #else
82414 char (*f) () = $ac_func;
82415 #endif
82416 #ifdef __cplusplus
82418 #endif
82421 main ()
82423 return f != $ac_func;
82425 return 0;
82427 _ACEOF
82428 rm -f conftest.$ac_objext conftest$ac_exeext
82429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82430 (eval $ac_link) 2>conftest.er1
82431 ac_status=$?
82432 grep -v '^ *+' conftest.er1 >conftest.err
82433 rm -f conftest.er1
82434 cat conftest.err >&5
82435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82436 (exit $ac_status); } &&
82437 { ac_try='test -z "$ac_c_werror_flag"
82438 || test ! -s conftest.err'
82439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82440 (eval $ac_try) 2>&5
82441 ac_status=$?
82442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82443 (exit $ac_status); }; } &&
82444 { ac_try='test -s conftest$ac_exeext'
82445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82446 (eval $ac_try) 2>&5
82447 ac_status=$?
82448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82449 (exit $ac_status); }; }; then
82450 eval "$as_ac_var=yes"
82451 else
82452 echo "$as_me: failed program was:" >&5
82453 sed 's/^/| /' conftest.$ac_ext >&5
82455 eval "$as_ac_var=no"
82457 rm -f conftest.err conftest.$ac_objext \
82458 conftest$ac_exeext conftest.$ac_ext
82460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82462 if test `eval echo '${'$as_ac_var'}'` = yes; then
82463 cat >>confdefs.h <<_ACEOF
82464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82465 _ACEOF
82467 else
82468 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82470 done
82474 # Used in libmath/Makefile.am.
82475 if test -n "$LIBMATHOBJS"; then
82476 need_libmath=yes
82482 enable_iconv=no
82483 # Only continue checking if the ISO C99 headers exist and support is on.
82484 if test x"$enable_wchar_t" = xyes; then
82486 # Use iconv for wchar_t to char conversions. As such, check for
82487 # X/Open Portability Guide, version 2 features (XPG2).
82488 if test "${ac_cv_header_iconv_h+set}" = set; then
82489 echo "$as_me:$LINENO: checking for iconv.h" >&5
82490 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82491 if test "${ac_cv_header_iconv_h+set}" = set; then
82492 echo $ECHO_N "(cached) $ECHO_C" >&6
82494 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82495 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82496 else
82497 # Is the header compilable?
82498 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82499 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82500 cat >conftest.$ac_ext <<_ACEOF
82501 /* confdefs.h. */
82502 _ACEOF
82503 cat confdefs.h >>conftest.$ac_ext
82504 cat >>conftest.$ac_ext <<_ACEOF
82505 /* end confdefs.h. */
82506 $ac_includes_default
82507 #include <iconv.h>
82508 _ACEOF
82509 rm -f conftest.$ac_objext
82510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82511 (eval $ac_compile) 2>conftest.er1
82512 ac_status=$?
82513 grep -v '^ *+' conftest.er1 >conftest.err
82514 rm -f conftest.er1
82515 cat conftest.err >&5
82516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82517 (exit $ac_status); } &&
82518 { ac_try='test -z "$ac_c_werror_flag"
82519 || test ! -s conftest.err'
82520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82521 (eval $ac_try) 2>&5
82522 ac_status=$?
82523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82524 (exit $ac_status); }; } &&
82525 { ac_try='test -s conftest.$ac_objext'
82526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82527 (eval $ac_try) 2>&5
82528 ac_status=$?
82529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82530 (exit $ac_status); }; }; then
82531 ac_header_compiler=yes
82532 else
82533 echo "$as_me: failed program was:" >&5
82534 sed 's/^/| /' conftest.$ac_ext >&5
82536 ac_header_compiler=no
82538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82540 echo "${ECHO_T}$ac_header_compiler" >&6
82542 # Is the header present?
82543 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82544 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82545 cat >conftest.$ac_ext <<_ACEOF
82546 /* confdefs.h. */
82547 _ACEOF
82548 cat confdefs.h >>conftest.$ac_ext
82549 cat >>conftest.$ac_ext <<_ACEOF
82550 /* end confdefs.h. */
82551 #include <iconv.h>
82552 _ACEOF
82553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82555 ac_status=$?
82556 grep -v '^ *+' conftest.er1 >conftest.err
82557 rm -f conftest.er1
82558 cat conftest.err >&5
82559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82560 (exit $ac_status); } >/dev/null; then
82561 if test -s conftest.err; then
82562 ac_cpp_err=$ac_c_preproc_warn_flag
82563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82564 else
82565 ac_cpp_err=
82567 else
82568 ac_cpp_err=yes
82570 if test -z "$ac_cpp_err"; then
82571 ac_header_preproc=yes
82572 else
82573 echo "$as_me: failed program was:" >&5
82574 sed 's/^/| /' conftest.$ac_ext >&5
82576 ac_header_preproc=no
82578 rm -f conftest.err conftest.$ac_ext
82579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82580 echo "${ECHO_T}$ac_header_preproc" >&6
82582 # So? What about this header?
82583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82584 yes:no: )
82585 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82586 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82587 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82588 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82589 ac_header_preproc=yes
82591 no:yes:* )
82592 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82593 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82594 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82595 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82596 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82597 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82598 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82599 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82600 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82601 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82602 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82603 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82605 cat <<\_ASBOX
82606 ## ----------------------------------------- ##
82607 ## Report this to the package-unused lists. ##
82608 ## ----------------------------------------- ##
82609 _ASBOX
82611 sed "s/^/$as_me: WARNING: /" >&2
82613 esac
82614 echo "$as_me:$LINENO: checking for iconv.h" >&5
82615 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82616 if test "${ac_cv_header_iconv_h+set}" = set; then
82617 echo $ECHO_N "(cached) $ECHO_C" >&6
82618 else
82619 ac_cv_header_iconv_h=$ac_header_preproc
82621 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82622 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82625 if test $ac_cv_header_iconv_h = yes; then
82626 ac_has_iconv_h=yes
82627 else
82628 ac_has_iconv_h=no
82632 if test "${ac_cv_header_langinfo_h+set}" = set; then
82633 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82634 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82635 if test "${ac_cv_header_langinfo_h+set}" = set; then
82636 echo $ECHO_N "(cached) $ECHO_C" >&6
82638 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82639 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82640 else
82641 # Is the header compilable?
82642 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82643 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82644 cat >conftest.$ac_ext <<_ACEOF
82645 /* confdefs.h. */
82646 _ACEOF
82647 cat confdefs.h >>conftest.$ac_ext
82648 cat >>conftest.$ac_ext <<_ACEOF
82649 /* end confdefs.h. */
82650 $ac_includes_default
82651 #include <langinfo.h>
82652 _ACEOF
82653 rm -f conftest.$ac_objext
82654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82655 (eval $ac_compile) 2>conftest.er1
82656 ac_status=$?
82657 grep -v '^ *+' conftest.er1 >conftest.err
82658 rm -f conftest.er1
82659 cat conftest.err >&5
82660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82661 (exit $ac_status); } &&
82662 { ac_try='test -z "$ac_c_werror_flag"
82663 || test ! -s conftest.err'
82664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82665 (eval $ac_try) 2>&5
82666 ac_status=$?
82667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82668 (exit $ac_status); }; } &&
82669 { ac_try='test -s conftest.$ac_objext'
82670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82671 (eval $ac_try) 2>&5
82672 ac_status=$?
82673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82674 (exit $ac_status); }; }; then
82675 ac_header_compiler=yes
82676 else
82677 echo "$as_me: failed program was:" >&5
82678 sed 's/^/| /' conftest.$ac_ext >&5
82680 ac_header_compiler=no
82682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82684 echo "${ECHO_T}$ac_header_compiler" >&6
82686 # Is the header present?
82687 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82688 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82689 cat >conftest.$ac_ext <<_ACEOF
82690 /* confdefs.h. */
82691 _ACEOF
82692 cat confdefs.h >>conftest.$ac_ext
82693 cat >>conftest.$ac_ext <<_ACEOF
82694 /* end confdefs.h. */
82695 #include <langinfo.h>
82696 _ACEOF
82697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82699 ac_status=$?
82700 grep -v '^ *+' conftest.er1 >conftest.err
82701 rm -f conftest.er1
82702 cat conftest.err >&5
82703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82704 (exit $ac_status); } >/dev/null; then
82705 if test -s conftest.err; then
82706 ac_cpp_err=$ac_c_preproc_warn_flag
82707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82708 else
82709 ac_cpp_err=
82711 else
82712 ac_cpp_err=yes
82714 if test -z "$ac_cpp_err"; then
82715 ac_header_preproc=yes
82716 else
82717 echo "$as_me: failed program was:" >&5
82718 sed 's/^/| /' conftest.$ac_ext >&5
82720 ac_header_preproc=no
82722 rm -f conftest.err conftest.$ac_ext
82723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82724 echo "${ECHO_T}$ac_header_preproc" >&6
82726 # So? What about this header?
82727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82728 yes:no: )
82729 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82730 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82731 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82732 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82733 ac_header_preproc=yes
82735 no:yes:* )
82736 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82737 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82738 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82739 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82740 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82741 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82742 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82743 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82744 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82745 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82746 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82747 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82749 cat <<\_ASBOX
82750 ## ----------------------------------------- ##
82751 ## Report this to the package-unused lists. ##
82752 ## ----------------------------------------- ##
82753 _ASBOX
82755 sed "s/^/$as_me: WARNING: /" >&2
82757 esac
82758 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82759 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82760 if test "${ac_cv_header_langinfo_h+set}" = set; then
82761 echo $ECHO_N "(cached) $ECHO_C" >&6
82762 else
82763 ac_cv_header_langinfo_h=$ac_header_preproc
82765 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82766 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82769 if test $ac_cv_header_langinfo_h = yes; then
82770 ac_has_langinfo_h=yes
82771 else
82772 ac_has_langinfo_h=no
82777 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82778 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82779 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82780 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82781 echo $ECHO_N "(cached) $ECHO_C" >&6
82782 else
82783 ac_check_lib_save_LIBS=$LIBS
82784 LIBS="-liconv $LIBS"
82785 if test x$gcc_no_link = xyes; then
82786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82788 { (exit 1); exit 1; }; }
82790 cat >conftest.$ac_ext <<_ACEOF
82791 /* confdefs.h. */
82792 _ACEOF
82793 cat confdefs.h >>conftest.$ac_ext
82794 cat >>conftest.$ac_ext <<_ACEOF
82795 /* end confdefs.h. */
82797 /* Override any gcc2 internal prototype to avoid an error. */
82798 #ifdef __cplusplus
82799 extern "C"
82800 #endif
82801 /* We use char because int might match the return type of a gcc2
82802 builtin and then its argument prototype would still apply. */
82803 char iconv ();
82805 main ()
82807 iconv ();
82809 return 0;
82811 _ACEOF
82812 rm -f conftest.$ac_objext conftest$ac_exeext
82813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82814 (eval $ac_link) 2>conftest.er1
82815 ac_status=$?
82816 grep -v '^ *+' conftest.er1 >conftest.err
82817 rm -f conftest.er1
82818 cat conftest.err >&5
82819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82820 (exit $ac_status); } &&
82821 { ac_try='test -z "$ac_c_werror_flag"
82822 || test ! -s conftest.err'
82823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82824 (eval $ac_try) 2>&5
82825 ac_status=$?
82826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82827 (exit $ac_status); }; } &&
82828 { ac_try='test -s conftest$ac_exeext'
82829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82830 (eval $ac_try) 2>&5
82831 ac_status=$?
82832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82833 (exit $ac_status); }; }; then
82834 ac_cv_lib_iconv_iconv=yes
82835 else
82836 echo "$as_me: failed program was:" >&5
82837 sed 's/^/| /' conftest.$ac_ext >&5
82839 ac_cv_lib_iconv_iconv=no
82841 rm -f conftest.err conftest.$ac_objext \
82842 conftest$ac_exeext conftest.$ac_ext
82843 LIBS=$ac_check_lib_save_LIBS
82845 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82846 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82847 if test $ac_cv_lib_iconv_iconv = yes; then
82848 LIBICONV="-liconv"
82851 ac_save_LIBS="$LIBS"
82852 LIBS="$LIBS $LIBICONV"
82859 for ac_func in iconv_open iconv_close iconv nl_langinfo
82861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82862 echo "$as_me:$LINENO: checking for $ac_func" >&5
82863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82864 if eval "test \"\${$as_ac_var+set}\" = set"; then
82865 echo $ECHO_N "(cached) $ECHO_C" >&6
82866 else
82867 if test x$gcc_no_link = xyes; then
82868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82870 { (exit 1); exit 1; }; }
82872 cat >conftest.$ac_ext <<_ACEOF
82873 /* confdefs.h. */
82874 _ACEOF
82875 cat confdefs.h >>conftest.$ac_ext
82876 cat >>conftest.$ac_ext <<_ACEOF
82877 /* end confdefs.h. */
82878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82880 #define $ac_func innocuous_$ac_func
82882 /* System header to define __stub macros and hopefully few prototypes,
82883 which can conflict with char $ac_func (); below.
82884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82885 <limits.h> exists even on freestanding compilers. */
82887 #ifdef __STDC__
82888 # include <limits.h>
82889 #else
82890 # include <assert.h>
82891 #endif
82893 #undef $ac_func
82895 /* Override any gcc2 internal prototype to avoid an error. */
82896 #ifdef __cplusplus
82897 extern "C"
82899 #endif
82900 /* We use char because int might match the return type of a gcc2
82901 builtin and then its argument prototype would still apply. */
82902 char $ac_func ();
82903 /* The GNU C library defines this for functions which it implements
82904 to always fail with ENOSYS. Some functions are actually named
82905 something starting with __ and the normal name is an alias. */
82906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82907 choke me
82908 #else
82909 char (*f) () = $ac_func;
82910 #endif
82911 #ifdef __cplusplus
82913 #endif
82916 main ()
82918 return f != $ac_func;
82920 return 0;
82922 _ACEOF
82923 rm -f conftest.$ac_objext conftest$ac_exeext
82924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82925 (eval $ac_link) 2>conftest.er1
82926 ac_status=$?
82927 grep -v '^ *+' conftest.er1 >conftest.err
82928 rm -f conftest.er1
82929 cat conftest.err >&5
82930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82931 (exit $ac_status); } &&
82932 { ac_try='test -z "$ac_c_werror_flag"
82933 || test ! -s conftest.err'
82934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82935 (eval $ac_try) 2>&5
82936 ac_status=$?
82937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938 (exit $ac_status); }; } &&
82939 { ac_try='test -s conftest$ac_exeext'
82940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82941 (eval $ac_try) 2>&5
82942 ac_status=$?
82943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82944 (exit $ac_status); }; }; then
82945 eval "$as_ac_var=yes"
82946 else
82947 echo "$as_me: failed program was:" >&5
82948 sed 's/^/| /' conftest.$ac_ext >&5
82950 eval "$as_ac_var=no"
82952 rm -f conftest.err conftest.$ac_objext \
82953 conftest$ac_exeext conftest.$ac_ext
82955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82957 if test `eval echo '${'$as_ac_var'}'` = yes; then
82958 cat >>confdefs.h <<_ACEOF
82959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82960 _ACEOF
82961 ac_XPG2funcs=yes
82962 else
82963 ac_XPG2funcs=no
82965 done
82968 LIBS="$ac_save_LIBS"
82970 if test x"$ac_has_iconv_h" = xyes &&
82971 test x"$ac_has_langinfo_h" = xyes &&
82972 test x"$ac_XPG2funcs" = xyes;
82973 then
82975 cat >>confdefs.h <<\_ACEOF
82976 #define _GLIBCXX_USE_ICONV 1
82977 _ACEOF
82979 enable_iconv=yes
82982 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82983 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82984 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82985 echo "${ECHO_T}$enable_iconv" >&6
82987 cat >>confdefs.h <<\_ACEOF
82988 #define HAVE_COSF 1
82989 _ACEOF
82991 cat >>confdefs.h <<\_ACEOF
82992 #define HAVE_COSL 1
82993 _ACEOF
82995 cat >>confdefs.h <<\_ACEOF
82996 #define HAVE_COSHF 1
82997 _ACEOF
82999 cat >>confdefs.h <<\_ACEOF
83000 #define HAVE_COSHL 1
83001 _ACEOF
83003 cat >>confdefs.h <<\_ACEOF
83004 #define HAVE_LOGF 1
83005 _ACEOF
83007 cat >>confdefs.h <<\_ACEOF
83008 #define HAVE_LOGL 1
83009 _ACEOF
83011 cat >>confdefs.h <<\_ACEOF
83012 #define HAVE_LOG10F 1
83013 _ACEOF
83015 cat >>confdefs.h <<\_ACEOF
83016 #define HAVE_LOG10L 1
83017 _ACEOF
83019 cat >>confdefs.h <<\_ACEOF
83020 #define HAVE_SINF 1
83021 _ACEOF
83023 cat >>confdefs.h <<\_ACEOF
83024 #define HAVE_SINL 1
83025 _ACEOF
83027 cat >>confdefs.h <<\_ACEOF
83028 #define HAVE_SINHF 1
83029 _ACEOF
83031 cat >>confdefs.h <<\_ACEOF
83032 #define HAVE_SINHL 1
83033 _ACEOF
83036 *-solaris*)
83037 case "$target" in
83038 # *-solaris2.5)
83039 # os_include_dir="os/solaris/solaris2.5"
83040 # ;;
83041 # *-solaris2.6)
83042 # os_include_dir="os/solaris/solaris2.6"
83043 # ;;
83044 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
83045 cat >>confdefs.h <<\_ACEOF
83046 #define HAVE_GETPAGESIZE 1
83047 _ACEOF
83049 cat >>confdefs.h <<\_ACEOF
83050 #define HAVE_SIGSETJMP 1
83051 _ACEOF
83053 cat >>confdefs.h <<\_ACEOF
83054 #define HAVE_MBSTATE_T 1
83055 _ACEOF
83057 cat >>confdefs.h <<\_ACEOF
83058 #define HAVE_POLL 1
83059 _ACEOF
83061 cat >>confdefs.h <<\_ACEOF
83062 #define HAVE_S_ISREG 1
83063 _ACEOF
83065 cat >>confdefs.h <<\_ACEOF
83066 #define HAVE_LC_MESSAGES 1
83067 _ACEOF
83069 cat >>confdefs.h <<\_ACEOF
83070 #define HAVE_FINITE 1
83071 _ACEOF
83073 cat >>confdefs.h <<\_ACEOF
83074 #define HAVE_FPCLASS 1
83075 _ACEOF
83077 cat >>confdefs.h <<\_ACEOF
83078 #define HAVE_GETPAGESIZE 1
83079 _ACEOF
83081 cat >>confdefs.h <<\_ACEOF
83082 #define HAVE_NL_LANGINFO 1
83083 _ACEOF
83085 cat >>confdefs.h <<\_ACEOF
83086 #define HAVE_ICONV 1
83087 _ACEOF
83089 cat >>confdefs.h <<\_ACEOF
83090 #define HAVE_ICONV_CLOSE 1
83091 _ACEOF
83093 cat >>confdefs.h <<\_ACEOF
83094 #define HAVE_ICONV_OPEN 1
83095 _ACEOF
83097 # Look for the pieces required for wchar_t support in order to
83098 # get all the right HAVE_* macros defined.
83101 enable_iconv=no
83102 # Only continue checking if the ISO C99 headers exist and support is on.
83103 if test x"$enable_wchar_t" = xyes; then
83105 # Use iconv for wchar_t to char conversions. As such, check for
83106 # X/Open Portability Guide, version 2 features (XPG2).
83107 if test "${ac_cv_header_iconv_h+set}" = set; then
83108 echo "$as_me:$LINENO: checking for iconv.h" >&5
83109 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83110 if test "${ac_cv_header_iconv_h+set}" = set; then
83111 echo $ECHO_N "(cached) $ECHO_C" >&6
83113 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83114 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83115 else
83116 # Is the header compilable?
83117 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83118 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83119 cat >conftest.$ac_ext <<_ACEOF
83120 /* confdefs.h. */
83121 _ACEOF
83122 cat confdefs.h >>conftest.$ac_ext
83123 cat >>conftest.$ac_ext <<_ACEOF
83124 /* end confdefs.h. */
83125 $ac_includes_default
83126 #include <iconv.h>
83127 _ACEOF
83128 rm -f conftest.$ac_objext
83129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83130 (eval $ac_compile) 2>conftest.er1
83131 ac_status=$?
83132 grep -v '^ *+' conftest.er1 >conftest.err
83133 rm -f conftest.er1
83134 cat conftest.err >&5
83135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83136 (exit $ac_status); } &&
83137 { ac_try='test -z "$ac_c_werror_flag"
83138 || test ! -s conftest.err'
83139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83140 (eval $ac_try) 2>&5
83141 ac_status=$?
83142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83143 (exit $ac_status); }; } &&
83144 { ac_try='test -s conftest.$ac_objext'
83145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83146 (eval $ac_try) 2>&5
83147 ac_status=$?
83148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149 (exit $ac_status); }; }; then
83150 ac_header_compiler=yes
83151 else
83152 echo "$as_me: failed program was:" >&5
83153 sed 's/^/| /' conftest.$ac_ext >&5
83155 ac_header_compiler=no
83157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83159 echo "${ECHO_T}$ac_header_compiler" >&6
83161 # Is the header present?
83162 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83163 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83164 cat >conftest.$ac_ext <<_ACEOF
83165 /* confdefs.h. */
83166 _ACEOF
83167 cat confdefs.h >>conftest.$ac_ext
83168 cat >>conftest.$ac_ext <<_ACEOF
83169 /* end confdefs.h. */
83170 #include <iconv.h>
83171 _ACEOF
83172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83174 ac_status=$?
83175 grep -v '^ *+' conftest.er1 >conftest.err
83176 rm -f conftest.er1
83177 cat conftest.err >&5
83178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83179 (exit $ac_status); } >/dev/null; then
83180 if test -s conftest.err; then
83181 ac_cpp_err=$ac_c_preproc_warn_flag
83182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83183 else
83184 ac_cpp_err=
83186 else
83187 ac_cpp_err=yes
83189 if test -z "$ac_cpp_err"; then
83190 ac_header_preproc=yes
83191 else
83192 echo "$as_me: failed program was:" >&5
83193 sed 's/^/| /' conftest.$ac_ext >&5
83195 ac_header_preproc=no
83197 rm -f conftest.err conftest.$ac_ext
83198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83199 echo "${ECHO_T}$ac_header_preproc" >&6
83201 # So? What about this header?
83202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83203 yes:no: )
83204 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83205 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83206 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83207 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83208 ac_header_preproc=yes
83210 no:yes:* )
83211 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83212 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83213 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83214 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83215 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83216 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83217 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83218 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83219 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83220 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83221 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83222 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83224 cat <<\_ASBOX
83225 ## ----------------------------------------- ##
83226 ## Report this to the package-unused lists. ##
83227 ## ----------------------------------------- ##
83228 _ASBOX
83230 sed "s/^/$as_me: WARNING: /" >&2
83232 esac
83233 echo "$as_me:$LINENO: checking for iconv.h" >&5
83234 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83235 if test "${ac_cv_header_iconv_h+set}" = set; then
83236 echo $ECHO_N "(cached) $ECHO_C" >&6
83237 else
83238 ac_cv_header_iconv_h=$ac_header_preproc
83240 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83241 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83244 if test $ac_cv_header_iconv_h = yes; then
83245 ac_has_iconv_h=yes
83246 else
83247 ac_has_iconv_h=no
83251 if test "${ac_cv_header_langinfo_h+set}" = set; then
83252 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83253 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83254 if test "${ac_cv_header_langinfo_h+set}" = set; then
83255 echo $ECHO_N "(cached) $ECHO_C" >&6
83257 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83258 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83259 else
83260 # Is the header compilable?
83261 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83262 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
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 $ac_includes_default
83270 #include <langinfo.h>
83271 _ACEOF
83272 rm -f conftest.$ac_objext
83273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83274 (eval $ac_compile) 2>conftest.er1
83275 ac_status=$?
83276 grep -v '^ *+' conftest.er1 >conftest.err
83277 rm -f conftest.er1
83278 cat conftest.err >&5
83279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83280 (exit $ac_status); } &&
83281 { ac_try='test -z "$ac_c_werror_flag"
83282 || test ! -s conftest.err'
83283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83284 (eval $ac_try) 2>&5
83285 ac_status=$?
83286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83287 (exit $ac_status); }; } &&
83288 { ac_try='test -s conftest.$ac_objext'
83289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83290 (eval $ac_try) 2>&5
83291 ac_status=$?
83292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83293 (exit $ac_status); }; }; then
83294 ac_header_compiler=yes
83295 else
83296 echo "$as_me: failed program was:" >&5
83297 sed 's/^/| /' conftest.$ac_ext >&5
83299 ac_header_compiler=no
83301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83303 echo "${ECHO_T}$ac_header_compiler" >&6
83305 # Is the header present?
83306 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83307 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83308 cat >conftest.$ac_ext <<_ACEOF
83309 /* confdefs.h. */
83310 _ACEOF
83311 cat confdefs.h >>conftest.$ac_ext
83312 cat >>conftest.$ac_ext <<_ACEOF
83313 /* end confdefs.h. */
83314 #include <langinfo.h>
83315 _ACEOF
83316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83318 ac_status=$?
83319 grep -v '^ *+' conftest.er1 >conftest.err
83320 rm -f conftest.er1
83321 cat conftest.err >&5
83322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83323 (exit $ac_status); } >/dev/null; then
83324 if test -s conftest.err; then
83325 ac_cpp_err=$ac_c_preproc_warn_flag
83326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83327 else
83328 ac_cpp_err=
83330 else
83331 ac_cpp_err=yes
83333 if test -z "$ac_cpp_err"; then
83334 ac_header_preproc=yes
83335 else
83336 echo "$as_me: failed program was:" >&5
83337 sed 's/^/| /' conftest.$ac_ext >&5
83339 ac_header_preproc=no
83341 rm -f conftest.err conftest.$ac_ext
83342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83343 echo "${ECHO_T}$ac_header_preproc" >&6
83345 # So? What about this header?
83346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83347 yes:no: )
83348 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83349 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83350 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83351 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83352 ac_header_preproc=yes
83354 no:yes:* )
83355 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83356 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83357 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83358 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83359 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83360 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83361 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83362 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83363 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83364 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83365 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83366 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83368 cat <<\_ASBOX
83369 ## ----------------------------------------- ##
83370 ## Report this to the package-unused lists. ##
83371 ## ----------------------------------------- ##
83372 _ASBOX
83374 sed "s/^/$as_me: WARNING: /" >&2
83376 esac
83377 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83378 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83379 if test "${ac_cv_header_langinfo_h+set}" = set; then
83380 echo $ECHO_N "(cached) $ECHO_C" >&6
83381 else
83382 ac_cv_header_langinfo_h=$ac_header_preproc
83384 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83385 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83388 if test $ac_cv_header_langinfo_h = yes; then
83389 ac_has_langinfo_h=yes
83390 else
83391 ac_has_langinfo_h=no
83396 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83397 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83398 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83399 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83400 echo $ECHO_N "(cached) $ECHO_C" >&6
83401 else
83402 ac_check_lib_save_LIBS=$LIBS
83403 LIBS="-liconv $LIBS"
83404 if test x$gcc_no_link = xyes; then
83405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83407 { (exit 1); exit 1; }; }
83409 cat >conftest.$ac_ext <<_ACEOF
83410 /* confdefs.h. */
83411 _ACEOF
83412 cat confdefs.h >>conftest.$ac_ext
83413 cat >>conftest.$ac_ext <<_ACEOF
83414 /* end confdefs.h. */
83416 /* Override any gcc2 internal prototype to avoid an error. */
83417 #ifdef __cplusplus
83418 extern "C"
83419 #endif
83420 /* We use char because int might match the return type of a gcc2
83421 builtin and then its argument prototype would still apply. */
83422 char iconv ();
83424 main ()
83426 iconv ();
83428 return 0;
83430 _ACEOF
83431 rm -f conftest.$ac_objext conftest$ac_exeext
83432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83433 (eval $ac_link) 2>conftest.er1
83434 ac_status=$?
83435 grep -v '^ *+' conftest.er1 >conftest.err
83436 rm -f conftest.er1
83437 cat conftest.err >&5
83438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439 (exit $ac_status); } &&
83440 { ac_try='test -z "$ac_c_werror_flag"
83441 || test ! -s conftest.err'
83442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83443 (eval $ac_try) 2>&5
83444 ac_status=$?
83445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83446 (exit $ac_status); }; } &&
83447 { ac_try='test -s conftest$ac_exeext'
83448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83449 (eval $ac_try) 2>&5
83450 ac_status=$?
83451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83452 (exit $ac_status); }; }; then
83453 ac_cv_lib_iconv_iconv=yes
83454 else
83455 echo "$as_me: failed program was:" >&5
83456 sed 's/^/| /' conftest.$ac_ext >&5
83458 ac_cv_lib_iconv_iconv=no
83460 rm -f conftest.err conftest.$ac_objext \
83461 conftest$ac_exeext conftest.$ac_ext
83462 LIBS=$ac_check_lib_save_LIBS
83464 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83465 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83466 if test $ac_cv_lib_iconv_iconv = yes; then
83467 LIBICONV="-liconv"
83470 ac_save_LIBS="$LIBS"
83471 LIBS="$LIBS $LIBICONV"
83478 for ac_func in iconv_open iconv_close iconv nl_langinfo
83480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83481 echo "$as_me:$LINENO: checking for $ac_func" >&5
83482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83483 if eval "test \"\${$as_ac_var+set}\" = set"; then
83484 echo $ECHO_N "(cached) $ECHO_C" >&6
83485 else
83486 if test x$gcc_no_link = xyes; then
83487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83489 { (exit 1); exit 1; }; }
83491 cat >conftest.$ac_ext <<_ACEOF
83492 /* confdefs.h. */
83493 _ACEOF
83494 cat confdefs.h >>conftest.$ac_ext
83495 cat >>conftest.$ac_ext <<_ACEOF
83496 /* end confdefs.h. */
83497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83499 #define $ac_func innocuous_$ac_func
83501 /* System header to define __stub macros and hopefully few prototypes,
83502 which can conflict with char $ac_func (); below.
83503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83504 <limits.h> exists even on freestanding compilers. */
83506 #ifdef __STDC__
83507 # include <limits.h>
83508 #else
83509 # include <assert.h>
83510 #endif
83512 #undef $ac_func
83514 /* Override any gcc2 internal prototype to avoid an error. */
83515 #ifdef __cplusplus
83516 extern "C"
83518 #endif
83519 /* We use char because int might match the return type of a gcc2
83520 builtin and then its argument prototype would still apply. */
83521 char $ac_func ();
83522 /* The GNU C library defines this for functions which it implements
83523 to always fail with ENOSYS. Some functions are actually named
83524 something starting with __ and the normal name is an alias. */
83525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83526 choke me
83527 #else
83528 char (*f) () = $ac_func;
83529 #endif
83530 #ifdef __cplusplus
83532 #endif
83535 main ()
83537 return f != $ac_func;
83539 return 0;
83541 _ACEOF
83542 rm -f conftest.$ac_objext conftest$ac_exeext
83543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83544 (eval $ac_link) 2>conftest.er1
83545 ac_status=$?
83546 grep -v '^ *+' conftest.er1 >conftest.err
83547 rm -f conftest.er1
83548 cat conftest.err >&5
83549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83550 (exit $ac_status); } &&
83551 { ac_try='test -z "$ac_c_werror_flag"
83552 || test ! -s conftest.err'
83553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83554 (eval $ac_try) 2>&5
83555 ac_status=$?
83556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557 (exit $ac_status); }; } &&
83558 { ac_try='test -s conftest$ac_exeext'
83559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83560 (eval $ac_try) 2>&5
83561 ac_status=$?
83562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83563 (exit $ac_status); }; }; then
83564 eval "$as_ac_var=yes"
83565 else
83566 echo "$as_me: failed program was:" >&5
83567 sed 's/^/| /' conftest.$ac_ext >&5
83569 eval "$as_ac_var=no"
83571 rm -f conftest.err conftest.$ac_objext \
83572 conftest$ac_exeext conftest.$ac_ext
83574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83576 if test `eval echo '${'$as_ac_var'}'` = yes; then
83577 cat >>confdefs.h <<_ACEOF
83578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83579 _ACEOF
83580 ac_XPG2funcs=yes
83581 else
83582 ac_XPG2funcs=no
83584 done
83587 LIBS="$ac_save_LIBS"
83589 if test x"$ac_has_iconv_h" = xyes &&
83590 test x"$ac_has_langinfo_h" = xyes &&
83591 test x"$ac_XPG2funcs" = xyes;
83592 then
83594 cat >>confdefs.h <<\_ACEOF
83595 #define _GLIBCXX_USE_ICONV 1
83596 _ACEOF
83598 enable_iconv=yes
83601 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83602 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83603 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83604 echo "${ECHO_T}$enable_iconv" >&6
83606 # All of the dependencies for wide character support are here, so
83607 # turn it on. This requires some syncronization with the
83608 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
83609 cat >>confdefs.h <<\_ACEOF
83610 #define _GLIBCXX_USE_WCHAR_T 1
83611 _ACEOF
83613 # Are these tested for even when cross?
83614 cat >>confdefs.h <<\_ACEOF
83615 #define HAVE_FLOAT_H 1
83616 _ACEOF
83618 cat >>confdefs.h <<\_ACEOF
83619 #define HAVE_IEEEFP_H 1
83620 _ACEOF
83622 cat >>confdefs.h <<\_ACEOF
83623 #define HAVE_INTTYPES_H 1
83624 _ACEOF
83626 cat >>confdefs.h <<\_ACEOF
83627 #define HAVE_LOCALE_H 1
83628 _ACEOF
83630 cat >>confdefs.h <<\_ACEOF
83631 #define HAVE_NAN_H 1
83632 _ACEOF
83634 cat >>confdefs.h <<\_ACEOF
83635 #define HAVE_SYS_FILIO_H 1
83636 _ACEOF
83638 cat >>confdefs.h <<\_ACEOF
83639 #define HAVE_SYS_IOCTL_H 1
83640 _ACEOF
83642 cat >>confdefs.h <<\_ACEOF
83643 #define HAVE_SYS_ISA_DEFS_H 1
83644 _ACEOF
83646 cat >>confdefs.h <<\_ACEOF
83647 #define HAVE_SYS_RESOURCE_H 1
83648 _ACEOF
83650 cat >>confdefs.h <<\_ACEOF
83651 #define HAVE_SYS_TIME_H 1
83652 _ACEOF
83654 cat >>confdefs.h <<\_ACEOF
83655 #define HAVE_SYS_TYPES_H 1
83656 _ACEOF
83658 cat >>confdefs.h <<\_ACEOF
83659 #define HAVE_UNISTD_H 1
83660 _ACEOF
83662 cat >>confdefs.h <<\_ACEOF
83663 #define HAVE_WCHAR_H 1
83664 _ACEOF
83666 cat >>confdefs.h <<\_ACEOF
83667 #define HAVE_WCTYPE_H 1
83668 _ACEOF
83670 cat >>confdefs.h <<\_ACEOF
83671 #define HAVE_LIBM 1
83672 _ACEOF
83675 esac
83676 case "$target" in
83677 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
83678 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
83679 cat >>confdefs.h <<\_ACEOF
83680 #define HAVE___BUILTIN_ABS 1
83681 _ACEOF
83683 cat >>confdefs.h <<\_ACEOF
83684 #define HAVE___BUILTIN_LABS 1
83685 _ACEOF
83687 cat >>confdefs.h <<\_ACEOF
83688 #define HAVE___BUILTIN_FABS 1
83689 _ACEOF
83691 cat >>confdefs.h <<\_ACEOF
83692 #define HAVE___BUILTIN_FABSF 1
83693 _ACEOF
83695 cat >>confdefs.h <<\_ACEOF
83696 #define HAVE___BUILTIN_FABSL 1
83697 _ACEOF
83699 cat >>confdefs.h <<\_ACEOF
83700 #define HAVE___BUILTIN_COS 1
83701 _ACEOF
83703 cat >>confdefs.h <<\_ACEOF
83704 #define HAVE___BUILTIN_COSF 1
83705 _ACEOF
83707 cat >>confdefs.h <<\_ACEOF
83708 #define HAVE___BUILTIN_SIN 1
83709 _ACEOF
83711 cat >>confdefs.h <<\_ACEOF
83712 #define HAVE___BUILTIN_SINF 1
83713 _ACEOF
83716 esac
83717 case "$target" in
83718 *-*-solaris2.10)
83719 # These two C99 functions are present only in Solaris >= 10
83720 cat >>confdefs.h <<\_ACEOF
83721 #define HAVE_STRTOF 1
83722 _ACEOF
83724 cat >>confdefs.h <<\_ACEOF
83725 #define HAVE_STRTOLD 1
83726 _ACEOF
83729 esac
83730 cat >>confdefs.h <<\_ACEOF
83731 #define HAVE_MMAP 1
83732 _ACEOF
83734 cat >>confdefs.h <<\_ACEOF
83735 #define HAVE_COPYSIGN 1
83736 _ACEOF
83738 cat >>confdefs.h <<\_ACEOF
83739 #define HAVE_ISNAN 1
83740 _ACEOF
83742 cat >>confdefs.h <<\_ACEOF
83743 #define HAVE_ISNANF 1
83744 _ACEOF
83746 cat >>confdefs.h <<\_ACEOF
83747 #define HAVE_MODFF 1
83748 _ACEOF
83750 cat >>confdefs.h <<\_ACEOF
83751 #define HAVE_HYPOT 1
83752 _ACEOF
83755 *-tpf)
83764 for ac_header in nan.h endian.h machine/endian.h \
83765 sys/param.h sys/types.h locale.h float.h inttypes.h
83767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83769 echo "$as_me:$LINENO: checking for $ac_header" >&5
83770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83772 echo $ECHO_N "(cached) $ECHO_C" >&6
83774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83776 else
83777 # Is the header compilable?
83778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83780 cat >conftest.$ac_ext <<_ACEOF
83781 /* confdefs.h. */
83782 _ACEOF
83783 cat confdefs.h >>conftest.$ac_ext
83784 cat >>conftest.$ac_ext <<_ACEOF
83785 /* end confdefs.h. */
83786 $ac_includes_default
83787 #include <$ac_header>
83788 _ACEOF
83789 rm -f conftest.$ac_objext
83790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83791 (eval $ac_compile) 2>conftest.er1
83792 ac_status=$?
83793 grep -v '^ *+' conftest.er1 >conftest.err
83794 rm -f conftest.er1
83795 cat conftest.err >&5
83796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83797 (exit $ac_status); } &&
83798 { ac_try='test -z "$ac_c_werror_flag"
83799 || test ! -s conftest.err'
83800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83801 (eval $ac_try) 2>&5
83802 ac_status=$?
83803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83804 (exit $ac_status); }; } &&
83805 { ac_try='test -s conftest.$ac_objext'
83806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83807 (eval $ac_try) 2>&5
83808 ac_status=$?
83809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83810 (exit $ac_status); }; }; then
83811 ac_header_compiler=yes
83812 else
83813 echo "$as_me: failed program was:" >&5
83814 sed 's/^/| /' conftest.$ac_ext >&5
83816 ac_header_compiler=no
83818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83820 echo "${ECHO_T}$ac_header_compiler" >&6
83822 # Is the header present?
83823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83825 cat >conftest.$ac_ext <<_ACEOF
83826 /* confdefs.h. */
83827 _ACEOF
83828 cat confdefs.h >>conftest.$ac_ext
83829 cat >>conftest.$ac_ext <<_ACEOF
83830 /* end confdefs.h. */
83831 #include <$ac_header>
83832 _ACEOF
83833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83835 ac_status=$?
83836 grep -v '^ *+' conftest.er1 >conftest.err
83837 rm -f conftest.er1
83838 cat conftest.err >&5
83839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83840 (exit $ac_status); } >/dev/null; then
83841 if test -s conftest.err; then
83842 ac_cpp_err=$ac_c_preproc_warn_flag
83843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83844 else
83845 ac_cpp_err=
83847 else
83848 ac_cpp_err=yes
83850 if test -z "$ac_cpp_err"; then
83851 ac_header_preproc=yes
83852 else
83853 echo "$as_me: failed program was:" >&5
83854 sed 's/^/| /' conftest.$ac_ext >&5
83856 ac_header_preproc=no
83858 rm -f conftest.err conftest.$ac_ext
83859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83860 echo "${ECHO_T}$ac_header_preproc" >&6
83862 # So? What about this header?
83863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83864 yes:no: )
83865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83869 ac_header_preproc=yes
83871 no:yes:* )
83872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83885 cat <<\_ASBOX
83886 ## ----------------------------------------- ##
83887 ## Report this to the package-unused lists. ##
83888 ## ----------------------------------------- ##
83889 _ASBOX
83891 sed "s/^/$as_me: WARNING: /" >&2
83893 esac
83894 echo "$as_me:$LINENO: checking for $ac_header" >&5
83895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83897 echo $ECHO_N "(cached) $ECHO_C" >&6
83898 else
83899 eval "$as_ac_Header=\$ac_header_preproc"
83901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83906 cat >>confdefs.h <<_ACEOF
83907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83908 _ACEOF
83912 done
83914 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83917 # If we're not using GNU ld, then there's no point in even trying these
83918 # tests. Check for that first. We should have already tested for gld
83919 # by now (in libtool), but require it now just to be safe...
83920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83925 # The name set by libtool depends on the version of libtool. Shame on us
83926 # for depending on an impl detail, but c'est la vie. Older versions used
83927 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83928 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83929 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83930 # set (hence we're using an older libtool), then set it.
83931 if test x${with_gnu_ld+set} != xset; then
83932 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83933 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83934 with_gnu_ld=no
83935 else
83936 with_gnu_ld=$ac_cv_prog_gnu_ld
83940 # Start by getting the version number. I think the libtool test already
83941 # does some of this, but throws away the result.
83943 ldver=`$LD --version 2>/dev/null | head -1 | \
83944 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83946 glibcxx_gnu_ld_version=`echo $ldver | \
83947 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83949 # Set --gc-sections.
83950 if test "$with_gnu_ld" = "notbroken"; then
83951 # GNU ld it is! Joy and bunny rabbits!
83953 # All these tests are for C++; save the language and the compiler flags.
83954 # Need to do this so that g++ won't try to link in libstdc++
83955 ac_test_CFLAGS="${CFLAGS+set}"
83956 ac_save_CFLAGS="$CFLAGS"
83957 CFLAGS='-x c++ -Wl,--gc-sections'
83959 # Check for -Wl,--gc-sections
83960 # XXX This test is broken at the moment, as symbols required for linking
83961 # are now in libsupc++ (not built yet). In addition, this test has
83962 # cored on solaris in the past. In addition, --gc-sections doesn't
83963 # really work at the moment (keeps on discarding used sections, first
83964 # .eh_frame and now some of the glibc sections for iconv).
83965 # Bzzzzt. Thanks for playing, maybe next time.
83966 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83967 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83968 if test "$cross_compiling" = yes; then
83969 ac_sectionLDflags=yes
83970 else
83971 cat >conftest.$ac_ext <<_ACEOF
83972 /* confdefs.h. */
83973 _ACEOF
83974 cat confdefs.h >>conftest.$ac_ext
83975 cat >>conftest.$ac_ext <<_ACEOF
83976 /* end confdefs.h. */
83978 int main(void)
83980 try { throw 1; }
83981 catch (...) { };
83982 return 0;
83985 _ACEOF
83986 rm -f conftest$ac_exeext
83987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83988 (eval $ac_link) 2>&5
83989 ac_status=$?
83990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83993 (eval $ac_try) 2>&5
83994 ac_status=$?
83995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83996 (exit $ac_status); }; }; then
83997 ac_sectionLDflags=yes
83998 else
83999 echo "$as_me: program exited with status $ac_status" >&5
84000 echo "$as_me: failed program was:" >&5
84001 sed 's/^/| /' conftest.$ac_ext >&5
84003 ( exit $ac_status )
84004 ac_sectionLDflags=no
84006 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
84008 if test "$ac_test_CFLAGS" = set; then
84009 CFLAGS="$ac_save_CFLAGS"
84010 else
84011 # this is the suspicious part
84012 CFLAGS=''
84014 if test "$ac_sectionLDflags" = "yes"; then
84015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84017 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
84018 echo "${ECHO_T}$ac_sectionLDflags" >&6
84021 # Set linker optimization flags.
84022 if test x"$with_gnu_ld" = x"yes"; then
84023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84031 echo "$as_me:$LINENO: checking for main in -lm" >&5
84032 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84033 if test "${ac_cv_lib_m_main+set}" = set; then
84034 echo $ECHO_N "(cached) $ECHO_C" >&6
84035 else
84036 ac_check_lib_save_LIBS=$LIBS
84037 LIBS="-lm $LIBS"
84038 if test x$gcc_no_link = xyes; then
84039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84041 { (exit 1); exit 1; }; }
84043 cat >conftest.$ac_ext <<_ACEOF
84044 /* confdefs.h. */
84045 _ACEOF
84046 cat confdefs.h >>conftest.$ac_ext
84047 cat >>conftest.$ac_ext <<_ACEOF
84048 /* end confdefs.h. */
84052 main ()
84054 main ();
84056 return 0;
84058 _ACEOF
84059 rm -f conftest.$ac_objext conftest$ac_exeext
84060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84061 (eval $ac_link) 2>conftest.er1
84062 ac_status=$?
84063 grep -v '^ *+' conftest.er1 >conftest.err
84064 rm -f conftest.er1
84065 cat conftest.err >&5
84066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84067 (exit $ac_status); } &&
84068 { ac_try='test -z "$ac_c_werror_flag"
84069 || test ! -s conftest.err'
84070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84071 (eval $ac_try) 2>&5
84072 ac_status=$?
84073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84074 (exit $ac_status); }; } &&
84075 { ac_try='test -s conftest$ac_exeext'
84076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84077 (eval $ac_try) 2>&5
84078 ac_status=$?
84079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84080 (exit $ac_status); }; }; then
84081 ac_cv_lib_m_main=yes
84082 else
84083 echo "$as_me: failed program was:" >&5
84084 sed 's/^/| /' conftest.$ac_ext >&5
84086 ac_cv_lib_m_main=no
84088 rm -f conftest.err conftest.$ac_objext \
84089 conftest$ac_exeext conftest.$ac_ext
84090 LIBS=$ac_check_lib_save_LIBS
84092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84093 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84094 if test $ac_cv_lib_m_main = yes; then
84095 cat >>confdefs.h <<_ACEOF
84096 #define HAVE_LIBM 1
84097 _ACEOF
84099 LIBS="-lm $LIBS"
84104 for ac_func in copysignf
84106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84107 echo "$as_me:$LINENO: checking for $ac_func" >&5
84108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84109 if eval "test \"\${$as_ac_var+set}\" = set"; then
84110 echo $ECHO_N "(cached) $ECHO_C" >&6
84111 else
84112 if test x$gcc_no_link = xyes; then
84113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84115 { (exit 1); exit 1; }; }
84117 cat >conftest.$ac_ext <<_ACEOF
84118 /* confdefs.h. */
84119 _ACEOF
84120 cat confdefs.h >>conftest.$ac_ext
84121 cat >>conftest.$ac_ext <<_ACEOF
84122 /* end confdefs.h. */
84123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84125 #define $ac_func innocuous_$ac_func
84127 /* System header to define __stub macros and hopefully few prototypes,
84128 which can conflict with char $ac_func (); below.
84129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84130 <limits.h> exists even on freestanding compilers. */
84132 #ifdef __STDC__
84133 # include <limits.h>
84134 #else
84135 # include <assert.h>
84136 #endif
84138 #undef $ac_func
84140 /* Override any gcc2 internal prototype to avoid an error. */
84141 #ifdef __cplusplus
84142 extern "C"
84144 #endif
84145 /* We use char because int might match the return type of a gcc2
84146 builtin and then its argument prototype would still apply. */
84147 char $ac_func ();
84148 /* The GNU C library defines this for functions which it implements
84149 to always fail with ENOSYS. Some functions are actually named
84150 something starting with __ and the normal name is an alias. */
84151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84152 choke me
84153 #else
84154 char (*f) () = $ac_func;
84155 #endif
84156 #ifdef __cplusplus
84158 #endif
84161 main ()
84163 return f != $ac_func;
84165 return 0;
84167 _ACEOF
84168 rm -f conftest.$ac_objext conftest$ac_exeext
84169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84170 (eval $ac_link) 2>conftest.er1
84171 ac_status=$?
84172 grep -v '^ *+' conftest.er1 >conftest.err
84173 rm -f conftest.er1
84174 cat conftest.err >&5
84175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84176 (exit $ac_status); } &&
84177 { ac_try='test -z "$ac_c_werror_flag"
84178 || test ! -s conftest.err'
84179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84180 (eval $ac_try) 2>&5
84181 ac_status=$?
84182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84183 (exit $ac_status); }; } &&
84184 { ac_try='test -s conftest$ac_exeext'
84185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84186 (eval $ac_try) 2>&5
84187 ac_status=$?
84188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84189 (exit $ac_status); }; }; then
84190 eval "$as_ac_var=yes"
84191 else
84192 echo "$as_me: failed program was:" >&5
84193 sed 's/^/| /' conftest.$ac_ext >&5
84195 eval "$as_ac_var=no"
84197 rm -f conftest.err conftest.$ac_objext \
84198 conftest$ac_exeext conftest.$ac_ext
84200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84202 if test `eval echo '${'$as_ac_var'}'` = yes; then
84203 cat >>confdefs.h <<_ACEOF
84204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84205 _ACEOF
84207 else
84208 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84210 done
84214 for ac_func in __signbit
84216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84217 echo "$as_me:$LINENO: checking for $ac_func" >&5
84218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84219 if eval "test \"\${$as_ac_var+set}\" = set"; then
84220 echo $ECHO_N "(cached) $ECHO_C" >&6
84221 else
84222 if test x$gcc_no_link = xyes; then
84223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84225 { (exit 1); exit 1; }; }
84227 cat >conftest.$ac_ext <<_ACEOF
84228 /* confdefs.h. */
84229 _ACEOF
84230 cat confdefs.h >>conftest.$ac_ext
84231 cat >>conftest.$ac_ext <<_ACEOF
84232 /* end confdefs.h. */
84233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84235 #define $ac_func innocuous_$ac_func
84237 /* System header to define __stub macros and hopefully few prototypes,
84238 which can conflict with char $ac_func (); below.
84239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84240 <limits.h> exists even on freestanding compilers. */
84242 #ifdef __STDC__
84243 # include <limits.h>
84244 #else
84245 # include <assert.h>
84246 #endif
84248 #undef $ac_func
84250 /* Override any gcc2 internal prototype to avoid an error. */
84251 #ifdef __cplusplus
84252 extern "C"
84254 #endif
84255 /* We use char because int might match the return type of a gcc2
84256 builtin and then its argument prototype would still apply. */
84257 char $ac_func ();
84258 /* The GNU C library defines this for functions which it implements
84259 to always fail with ENOSYS. Some functions are actually named
84260 something starting with __ and the normal name is an alias. */
84261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84262 choke me
84263 #else
84264 char (*f) () = $ac_func;
84265 #endif
84266 #ifdef __cplusplus
84268 #endif
84271 main ()
84273 return f != $ac_func;
84275 return 0;
84277 _ACEOF
84278 rm -f conftest.$ac_objext conftest$ac_exeext
84279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84280 (eval $ac_link) 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); } &&
84287 { ac_try='test -z "$ac_c_werror_flag"
84288 || test ! -s conftest.err'
84289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84290 (eval $ac_try) 2>&5
84291 ac_status=$?
84292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84293 (exit $ac_status); }; } &&
84294 { ac_try='test -s conftest$ac_exeext'
84295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84296 (eval $ac_try) 2>&5
84297 ac_status=$?
84298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84299 (exit $ac_status); }; }; then
84300 eval "$as_ac_var=yes"
84301 else
84302 echo "$as_me: failed program was:" >&5
84303 sed 's/^/| /' conftest.$ac_ext >&5
84305 eval "$as_ac_var=no"
84307 rm -f conftest.err conftest.$ac_objext \
84308 conftest$ac_exeext conftest.$ac_ext
84310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84312 if test `eval echo '${'$as_ac_var'}'` = yes; then
84313 cat >>confdefs.h <<_ACEOF
84314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84315 _ACEOF
84317 else
84318 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84320 done
84324 for ac_func in __signbitf
84326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84327 echo "$as_me:$LINENO: checking for $ac_func" >&5
84328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84329 if eval "test \"\${$as_ac_var+set}\" = set"; then
84330 echo $ECHO_N "(cached) $ECHO_C" >&6
84331 else
84332 if test x$gcc_no_link = xyes; then
84333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84335 { (exit 1); exit 1; }; }
84337 cat >conftest.$ac_ext <<_ACEOF
84338 /* confdefs.h. */
84339 _ACEOF
84340 cat confdefs.h >>conftest.$ac_ext
84341 cat >>conftest.$ac_ext <<_ACEOF
84342 /* end confdefs.h. */
84343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84345 #define $ac_func innocuous_$ac_func
84347 /* System header to define __stub macros and hopefully few prototypes,
84348 which can conflict with char $ac_func (); below.
84349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84350 <limits.h> exists even on freestanding compilers. */
84352 #ifdef __STDC__
84353 # include <limits.h>
84354 #else
84355 # include <assert.h>
84356 #endif
84358 #undef $ac_func
84360 /* Override any gcc2 internal prototype to avoid an error. */
84361 #ifdef __cplusplus
84362 extern "C"
84364 #endif
84365 /* We use char because int might match the return type of a gcc2
84366 builtin and then its argument prototype would still apply. */
84367 char $ac_func ();
84368 /* The GNU C library defines this for functions which it implements
84369 to always fail with ENOSYS. Some functions are actually named
84370 something starting with __ and the normal name is an alias. */
84371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84372 choke me
84373 #else
84374 char (*f) () = $ac_func;
84375 #endif
84376 #ifdef __cplusplus
84378 #endif
84381 main ()
84383 return f != $ac_func;
84385 return 0;
84387 _ACEOF
84388 rm -f conftest.$ac_objext conftest$ac_exeext
84389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84390 (eval $ac_link) 2>conftest.er1
84391 ac_status=$?
84392 grep -v '^ *+' conftest.er1 >conftest.err
84393 rm -f conftest.er1
84394 cat conftest.err >&5
84395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84396 (exit $ac_status); } &&
84397 { ac_try='test -z "$ac_c_werror_flag"
84398 || test ! -s conftest.err'
84399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84400 (eval $ac_try) 2>&5
84401 ac_status=$?
84402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84403 (exit $ac_status); }; } &&
84404 { ac_try='test -s conftest$ac_exeext'
84405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84406 (eval $ac_try) 2>&5
84407 ac_status=$?
84408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84409 (exit $ac_status); }; }; then
84410 eval "$as_ac_var=yes"
84411 else
84412 echo "$as_me: failed program was:" >&5
84413 sed 's/^/| /' conftest.$ac_ext >&5
84415 eval "$as_ac_var=no"
84417 rm -f conftest.err conftest.$ac_objext \
84418 conftest$ac_exeext conftest.$ac_ext
84420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84422 if test `eval echo '${'$as_ac_var'}'` = yes; then
84423 cat >>confdefs.h <<_ACEOF
84424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84425 _ACEOF
84427 else
84428 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84430 done
84433 if test x$ac_cv_func_copysignl = x"yes"; then
84435 for ac_func in __signbitl
84437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84438 echo "$as_me:$LINENO: checking for $ac_func" >&5
84439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84440 if eval "test \"\${$as_ac_var+set}\" = set"; then
84441 echo $ECHO_N "(cached) $ECHO_C" >&6
84442 else
84443 if test x$gcc_no_link = xyes; then
84444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84446 { (exit 1); exit 1; }; }
84448 cat >conftest.$ac_ext <<_ACEOF
84449 /* confdefs.h. */
84450 _ACEOF
84451 cat confdefs.h >>conftest.$ac_ext
84452 cat >>conftest.$ac_ext <<_ACEOF
84453 /* end confdefs.h. */
84454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84456 #define $ac_func innocuous_$ac_func
84458 /* System header to define __stub macros and hopefully few prototypes,
84459 which can conflict with char $ac_func (); below.
84460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84461 <limits.h> exists even on freestanding compilers. */
84463 #ifdef __STDC__
84464 # include <limits.h>
84465 #else
84466 # include <assert.h>
84467 #endif
84469 #undef $ac_func
84471 /* Override any gcc2 internal prototype to avoid an error. */
84472 #ifdef __cplusplus
84473 extern "C"
84475 #endif
84476 /* We use char because int might match the return type of a gcc2
84477 builtin and then its argument prototype would still apply. */
84478 char $ac_func ();
84479 /* The GNU C library defines this for functions which it implements
84480 to always fail with ENOSYS. Some functions are actually named
84481 something starting with __ and the normal name is an alias. */
84482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84483 choke me
84484 #else
84485 char (*f) () = $ac_func;
84486 #endif
84487 #ifdef __cplusplus
84489 #endif
84492 main ()
84494 return f != $ac_func;
84496 return 0;
84498 _ACEOF
84499 rm -f conftest.$ac_objext conftest$ac_exeext
84500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84501 (eval $ac_link) 2>conftest.er1
84502 ac_status=$?
84503 grep -v '^ *+' conftest.er1 >conftest.err
84504 rm -f conftest.er1
84505 cat conftest.err >&5
84506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84507 (exit $ac_status); } &&
84508 { ac_try='test -z "$ac_c_werror_flag"
84509 || test ! -s conftest.err'
84510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84511 (eval $ac_try) 2>&5
84512 ac_status=$?
84513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84514 (exit $ac_status); }; } &&
84515 { ac_try='test -s conftest$ac_exeext'
84516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84517 (eval $ac_try) 2>&5
84518 ac_status=$?
84519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84520 (exit $ac_status); }; }; then
84521 eval "$as_ac_var=yes"
84522 else
84523 echo "$as_me: failed program was:" >&5
84524 sed 's/^/| /' conftest.$ac_ext >&5
84526 eval "$as_ac_var=no"
84528 rm -f conftest.err conftest.$ac_objext \
84529 conftest$ac_exeext conftest.$ac_ext
84531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84533 if test `eval echo '${'$as_ac_var'}'` = yes; then
84534 cat >>confdefs.h <<_ACEOF
84535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84536 _ACEOF
84538 else
84539 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84541 done
84545 # Used in libmath/Makefile.am.
84546 if test -n "$LIBMATHOBJS"; then
84547 need_libmath=yes
84553 enable_iconv=no
84554 # Only continue checking if the ISO C99 headers exist and support is on.
84555 if test x"$enable_wchar_t" = xyes; then
84557 # Use iconv for wchar_t to char conversions. As such, check for
84558 # X/Open Portability Guide, version 2 features (XPG2).
84559 if test "${ac_cv_header_iconv_h+set}" = set; then
84560 echo "$as_me:$LINENO: checking for iconv.h" >&5
84561 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84562 if test "${ac_cv_header_iconv_h+set}" = set; then
84563 echo $ECHO_N "(cached) $ECHO_C" >&6
84565 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84566 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84567 else
84568 # Is the header compilable?
84569 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84570 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84571 cat >conftest.$ac_ext <<_ACEOF
84572 /* confdefs.h. */
84573 _ACEOF
84574 cat confdefs.h >>conftest.$ac_ext
84575 cat >>conftest.$ac_ext <<_ACEOF
84576 /* end confdefs.h. */
84577 $ac_includes_default
84578 #include <iconv.h>
84579 _ACEOF
84580 rm -f conftest.$ac_objext
84581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84582 (eval $ac_compile) 2>conftest.er1
84583 ac_status=$?
84584 grep -v '^ *+' conftest.er1 >conftest.err
84585 rm -f conftest.er1
84586 cat conftest.err >&5
84587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84588 (exit $ac_status); } &&
84589 { ac_try='test -z "$ac_c_werror_flag"
84590 || test ! -s conftest.err'
84591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84592 (eval $ac_try) 2>&5
84593 ac_status=$?
84594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84595 (exit $ac_status); }; } &&
84596 { ac_try='test -s conftest.$ac_objext'
84597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84598 (eval $ac_try) 2>&5
84599 ac_status=$?
84600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84601 (exit $ac_status); }; }; then
84602 ac_header_compiler=yes
84603 else
84604 echo "$as_me: failed program was:" >&5
84605 sed 's/^/| /' conftest.$ac_ext >&5
84607 ac_header_compiler=no
84609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84611 echo "${ECHO_T}$ac_header_compiler" >&6
84613 # Is the header present?
84614 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84615 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84616 cat >conftest.$ac_ext <<_ACEOF
84617 /* confdefs.h. */
84618 _ACEOF
84619 cat confdefs.h >>conftest.$ac_ext
84620 cat >>conftest.$ac_ext <<_ACEOF
84621 /* end confdefs.h. */
84622 #include <iconv.h>
84623 _ACEOF
84624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84626 ac_status=$?
84627 grep -v '^ *+' conftest.er1 >conftest.err
84628 rm -f conftest.er1
84629 cat conftest.err >&5
84630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84631 (exit $ac_status); } >/dev/null; then
84632 if test -s conftest.err; then
84633 ac_cpp_err=$ac_c_preproc_warn_flag
84634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84635 else
84636 ac_cpp_err=
84638 else
84639 ac_cpp_err=yes
84641 if test -z "$ac_cpp_err"; then
84642 ac_header_preproc=yes
84643 else
84644 echo "$as_me: failed program was:" >&5
84645 sed 's/^/| /' conftest.$ac_ext >&5
84647 ac_header_preproc=no
84649 rm -f conftest.err conftest.$ac_ext
84650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84651 echo "${ECHO_T}$ac_header_preproc" >&6
84653 # So? What about this header?
84654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84655 yes:no: )
84656 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84657 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84658 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84659 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84660 ac_header_preproc=yes
84662 no:yes:* )
84663 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84664 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84665 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84666 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84667 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84668 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84669 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84670 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84671 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84672 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84673 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84674 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84676 cat <<\_ASBOX
84677 ## ----------------------------------------- ##
84678 ## Report this to the package-unused lists. ##
84679 ## ----------------------------------------- ##
84680 _ASBOX
84682 sed "s/^/$as_me: WARNING: /" >&2
84684 esac
84685 echo "$as_me:$LINENO: checking for iconv.h" >&5
84686 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84687 if test "${ac_cv_header_iconv_h+set}" = set; then
84688 echo $ECHO_N "(cached) $ECHO_C" >&6
84689 else
84690 ac_cv_header_iconv_h=$ac_header_preproc
84692 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84693 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84696 if test $ac_cv_header_iconv_h = yes; then
84697 ac_has_iconv_h=yes
84698 else
84699 ac_has_iconv_h=no
84703 if test "${ac_cv_header_langinfo_h+set}" = set; then
84704 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84705 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84706 if test "${ac_cv_header_langinfo_h+set}" = set; then
84707 echo $ECHO_N "(cached) $ECHO_C" >&6
84709 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84710 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84711 else
84712 # Is the header compilable?
84713 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84714 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84715 cat >conftest.$ac_ext <<_ACEOF
84716 /* confdefs.h. */
84717 _ACEOF
84718 cat confdefs.h >>conftest.$ac_ext
84719 cat >>conftest.$ac_ext <<_ACEOF
84720 /* end confdefs.h. */
84721 $ac_includes_default
84722 #include <langinfo.h>
84723 _ACEOF
84724 rm -f conftest.$ac_objext
84725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84726 (eval $ac_compile) 2>conftest.er1
84727 ac_status=$?
84728 grep -v '^ *+' conftest.er1 >conftest.err
84729 rm -f conftest.er1
84730 cat conftest.err >&5
84731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84732 (exit $ac_status); } &&
84733 { ac_try='test -z "$ac_c_werror_flag"
84734 || test ! -s conftest.err'
84735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84736 (eval $ac_try) 2>&5
84737 ac_status=$?
84738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84739 (exit $ac_status); }; } &&
84740 { ac_try='test -s conftest.$ac_objext'
84741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84742 (eval $ac_try) 2>&5
84743 ac_status=$?
84744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84745 (exit $ac_status); }; }; then
84746 ac_header_compiler=yes
84747 else
84748 echo "$as_me: failed program was:" >&5
84749 sed 's/^/| /' conftest.$ac_ext >&5
84751 ac_header_compiler=no
84753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84755 echo "${ECHO_T}$ac_header_compiler" >&6
84757 # Is the header present?
84758 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84759 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84760 cat >conftest.$ac_ext <<_ACEOF
84761 /* confdefs.h. */
84762 _ACEOF
84763 cat confdefs.h >>conftest.$ac_ext
84764 cat >>conftest.$ac_ext <<_ACEOF
84765 /* end confdefs.h. */
84766 #include <langinfo.h>
84767 _ACEOF
84768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84770 ac_status=$?
84771 grep -v '^ *+' conftest.er1 >conftest.err
84772 rm -f conftest.er1
84773 cat conftest.err >&5
84774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84775 (exit $ac_status); } >/dev/null; then
84776 if test -s conftest.err; then
84777 ac_cpp_err=$ac_c_preproc_warn_flag
84778 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84779 else
84780 ac_cpp_err=
84782 else
84783 ac_cpp_err=yes
84785 if test -z "$ac_cpp_err"; then
84786 ac_header_preproc=yes
84787 else
84788 echo "$as_me: failed program was:" >&5
84789 sed 's/^/| /' conftest.$ac_ext >&5
84791 ac_header_preproc=no
84793 rm -f conftest.err conftest.$ac_ext
84794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84795 echo "${ECHO_T}$ac_header_preproc" >&6
84797 # So? What about this header?
84798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84799 yes:no: )
84800 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84801 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84802 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84803 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84804 ac_header_preproc=yes
84806 no:yes:* )
84807 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84808 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84809 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84810 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84811 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84812 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84813 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84814 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84815 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84816 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84817 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84818 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84820 cat <<\_ASBOX
84821 ## ----------------------------------------- ##
84822 ## Report this to the package-unused lists. ##
84823 ## ----------------------------------------- ##
84824 _ASBOX
84826 sed "s/^/$as_me: WARNING: /" >&2
84828 esac
84829 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84830 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84831 if test "${ac_cv_header_langinfo_h+set}" = set; then
84832 echo $ECHO_N "(cached) $ECHO_C" >&6
84833 else
84834 ac_cv_header_langinfo_h=$ac_header_preproc
84836 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84837 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84840 if test $ac_cv_header_langinfo_h = yes; then
84841 ac_has_langinfo_h=yes
84842 else
84843 ac_has_langinfo_h=no
84848 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84849 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84850 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84851 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84852 echo $ECHO_N "(cached) $ECHO_C" >&6
84853 else
84854 ac_check_lib_save_LIBS=$LIBS
84855 LIBS="-liconv $LIBS"
84856 if test x$gcc_no_link = xyes; then
84857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84859 { (exit 1); exit 1; }; }
84861 cat >conftest.$ac_ext <<_ACEOF
84862 /* confdefs.h. */
84863 _ACEOF
84864 cat confdefs.h >>conftest.$ac_ext
84865 cat >>conftest.$ac_ext <<_ACEOF
84866 /* end confdefs.h. */
84868 /* Override any gcc2 internal prototype to avoid an error. */
84869 #ifdef __cplusplus
84870 extern "C"
84871 #endif
84872 /* We use char because int might match the return type of a gcc2
84873 builtin and then its argument prototype would still apply. */
84874 char iconv ();
84876 main ()
84878 iconv ();
84880 return 0;
84882 _ACEOF
84883 rm -f conftest.$ac_objext conftest$ac_exeext
84884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84885 (eval $ac_link) 2>conftest.er1
84886 ac_status=$?
84887 grep -v '^ *+' conftest.er1 >conftest.err
84888 rm -f conftest.er1
84889 cat conftest.err >&5
84890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84891 (exit $ac_status); } &&
84892 { ac_try='test -z "$ac_c_werror_flag"
84893 || test ! -s conftest.err'
84894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84895 (eval $ac_try) 2>&5
84896 ac_status=$?
84897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84898 (exit $ac_status); }; } &&
84899 { ac_try='test -s conftest$ac_exeext'
84900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84901 (eval $ac_try) 2>&5
84902 ac_status=$?
84903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84904 (exit $ac_status); }; }; then
84905 ac_cv_lib_iconv_iconv=yes
84906 else
84907 echo "$as_me: failed program was:" >&5
84908 sed 's/^/| /' conftest.$ac_ext >&5
84910 ac_cv_lib_iconv_iconv=no
84912 rm -f conftest.err conftest.$ac_objext \
84913 conftest$ac_exeext conftest.$ac_ext
84914 LIBS=$ac_check_lib_save_LIBS
84916 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84917 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84918 if test $ac_cv_lib_iconv_iconv = yes; then
84919 LIBICONV="-liconv"
84922 ac_save_LIBS="$LIBS"
84923 LIBS="$LIBS $LIBICONV"
84930 for ac_func in iconv_open iconv_close iconv nl_langinfo
84932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84933 echo "$as_me:$LINENO: checking for $ac_func" >&5
84934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84935 if eval "test \"\${$as_ac_var+set}\" = set"; then
84936 echo $ECHO_N "(cached) $ECHO_C" >&6
84937 else
84938 if test x$gcc_no_link = xyes; then
84939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84941 { (exit 1); exit 1; }; }
84943 cat >conftest.$ac_ext <<_ACEOF
84944 /* confdefs.h. */
84945 _ACEOF
84946 cat confdefs.h >>conftest.$ac_ext
84947 cat >>conftest.$ac_ext <<_ACEOF
84948 /* end confdefs.h. */
84949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84951 #define $ac_func innocuous_$ac_func
84953 /* System header to define __stub macros and hopefully few prototypes,
84954 which can conflict with char $ac_func (); below.
84955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84956 <limits.h> exists even on freestanding compilers. */
84958 #ifdef __STDC__
84959 # include <limits.h>
84960 #else
84961 # include <assert.h>
84962 #endif
84964 #undef $ac_func
84966 /* Override any gcc2 internal prototype to avoid an error. */
84967 #ifdef __cplusplus
84968 extern "C"
84970 #endif
84971 /* We use char because int might match the return type of a gcc2
84972 builtin and then its argument prototype would still apply. */
84973 char $ac_func ();
84974 /* The GNU C library defines this for functions which it implements
84975 to always fail with ENOSYS. Some functions are actually named
84976 something starting with __ and the normal name is an alias. */
84977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84978 choke me
84979 #else
84980 char (*f) () = $ac_func;
84981 #endif
84982 #ifdef __cplusplus
84984 #endif
84987 main ()
84989 return f != $ac_func;
84991 return 0;
84993 _ACEOF
84994 rm -f conftest.$ac_objext conftest$ac_exeext
84995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84996 (eval $ac_link) 2>conftest.er1
84997 ac_status=$?
84998 grep -v '^ *+' conftest.er1 >conftest.err
84999 rm -f conftest.er1
85000 cat conftest.err >&5
85001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85002 (exit $ac_status); } &&
85003 { ac_try='test -z "$ac_c_werror_flag"
85004 || test ! -s conftest.err'
85005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85006 (eval $ac_try) 2>&5
85007 ac_status=$?
85008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85009 (exit $ac_status); }; } &&
85010 { ac_try='test -s conftest$ac_exeext'
85011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85012 (eval $ac_try) 2>&5
85013 ac_status=$?
85014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85015 (exit $ac_status); }; }; then
85016 eval "$as_ac_var=yes"
85017 else
85018 echo "$as_me: failed program was:" >&5
85019 sed 's/^/| /' conftest.$ac_ext >&5
85021 eval "$as_ac_var=no"
85023 rm -f conftest.err conftest.$ac_objext \
85024 conftest$ac_exeext conftest.$ac_ext
85026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85028 if test `eval echo '${'$as_ac_var'}'` = yes; then
85029 cat >>confdefs.h <<_ACEOF
85030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85031 _ACEOF
85032 ac_XPG2funcs=yes
85033 else
85034 ac_XPG2funcs=no
85036 done
85039 LIBS="$ac_save_LIBS"
85041 if test x"$ac_has_iconv_h" = xyes &&
85042 test x"$ac_has_langinfo_h" = xyes &&
85043 test x"$ac_XPG2funcs" = xyes;
85044 then
85046 cat >>confdefs.h <<\_ACEOF
85047 #define _GLIBCXX_USE_ICONV 1
85048 _ACEOF
85050 enable_iconv=yes
85053 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85054 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85055 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85056 echo "${ECHO_T}$enable_iconv" >&6
85058 cat >>confdefs.h <<\_ACEOF
85059 #define HAVE_COPYSIGN 1
85060 _ACEOF
85062 cat >>confdefs.h <<\_ACEOF
85063 #define HAVE_COPYSIGNF 1
85064 _ACEOF
85066 cat >>confdefs.h <<\_ACEOF
85067 #define HAVE_FINITE 1
85068 _ACEOF
85070 cat >>confdefs.h <<\_ACEOF
85071 #define HAVE_FINITEF 1
85072 _ACEOF
85074 cat >>confdefs.h <<\_ACEOF
85075 #define HAVE_FREXPF 1
85076 _ACEOF
85078 cat >>confdefs.h <<\_ACEOF
85079 #define HAVE_HYPOTF 1
85080 _ACEOF
85082 cat >>confdefs.h <<\_ACEOF
85083 #define HAVE_ISINF 1
85084 _ACEOF
85086 cat >>confdefs.h <<\_ACEOF
85087 #define HAVE_ISINFF 1
85088 _ACEOF
85090 cat >>confdefs.h <<\_ACEOF
85091 #define HAVE_ISNAN 1
85092 _ACEOF
85094 cat >>confdefs.h <<\_ACEOF
85095 #define HAVE_ISNANF 1
85096 _ACEOF
85098 cat >>confdefs.h <<\_ACEOF
85099 #define HAVE_SINCOS 1
85100 _ACEOF
85102 cat >>confdefs.h <<\_ACEOF
85103 #define HAVE_SINCOSF 1
85104 _ACEOF
85106 if test x"long_double_math_on_this_cpu" = x"yes"; then
85107 cat >>confdefs.h <<\_ACEOF
85108 #define HAVE_FINITEL 1
85109 _ACEOF
85111 cat >>confdefs.h <<\_ACEOF
85112 #define HAVE_HYPOTL 1
85113 _ACEOF
85115 cat >>confdefs.h <<\_ACEOF
85116 #define HAVE_ISINFL 1
85117 _ACEOF
85119 cat >>confdefs.h <<\_ACEOF
85120 #define HAVE_ISNANL 1
85121 _ACEOF
85125 *-vxworks)
85126 cat >>confdefs.h <<\_ACEOF
85127 #define HAVE_MMAP 1
85128 _ACEOF
85130 cat >>confdefs.h <<\_ACEOF
85131 #define HAVE_ACOSF 1
85132 _ACEOF
85134 cat >>confdefs.h <<\_ACEOF
85135 #define HAVE_ASINF 1
85136 _ACEOF
85138 cat >>confdefs.h <<\_ACEOF
85139 #define HAVE_ATAN2F 1
85140 _ACEOF
85142 cat >>confdefs.h <<\_ACEOF
85143 #define HAVE_ATANF 1
85144 _ACEOF
85146 cat >>confdefs.h <<\_ACEOF
85147 #define HAVE_CEILF 1
85148 _ACEOF
85150 cat >>confdefs.h <<\_ACEOF
85151 #define HAVE_COSF 1
85152 _ACEOF
85154 cat >>confdefs.h <<\_ACEOF
85155 #define HAVE_COSHF 1
85156 _ACEOF
85158 cat >>confdefs.h <<\_ACEOF
85159 #define HAVE_EXPF 1
85160 _ACEOF
85162 cat >>confdefs.h <<\_ACEOF
85163 #define HAVE_FABSF 1
85164 _ACEOF
85166 cat >>confdefs.h <<\_ACEOF
85167 #define HAVE_FLOORF 1
85168 _ACEOF
85170 cat >>confdefs.h <<\_ACEOF
85171 #define HAVE_FMODF 1
85172 _ACEOF
85174 cat >>confdefs.h <<\_ACEOF
85175 #define HAVE_HYPOT 1
85176 _ACEOF
85178 cat >>confdefs.h <<\_ACEOF
85179 #define HAVE_LOG10F 1
85180 _ACEOF
85182 cat >>confdefs.h <<\_ACEOF
85183 #define HAVE_LOGF 1
85184 _ACEOF
85186 cat >>confdefs.h <<\_ACEOF
85187 #define HAVE_POWF 1
85188 _ACEOF
85190 cat >>confdefs.h <<\_ACEOF
85191 #define HAVE_SINF 1
85192 _ACEOF
85194 cat >>confdefs.h <<\_ACEOF
85195 #define HAVE_SINHF 1
85196 _ACEOF
85198 cat >>confdefs.h <<\_ACEOF
85199 #define HAVE_SQRTF 1
85200 _ACEOF
85202 cat >>confdefs.h <<\_ACEOF
85203 #define HAVE_TANF 1
85204 _ACEOF
85206 cat >>confdefs.h <<\_ACEOF
85207 #define HAVE_TANHF 1
85208 _ACEOF
85211 *-windiss*)
85212 cat >>confdefs.h <<\_ACEOF
85213 #define HAVE_ACOSF 1
85214 _ACEOF
85216 cat >>confdefs.h <<\_ACEOF
85217 #define HAVE_ACOSL 1
85218 _ACEOF
85220 cat >>confdefs.h <<\_ACEOF
85221 #define HAVE_ASINF 1
85222 _ACEOF
85224 cat >>confdefs.h <<\_ACEOF
85225 #define HAVE_ASINL 1
85226 _ACEOF
85228 cat >>confdefs.h <<\_ACEOF
85229 #define HAVE_ATAN2F 1
85230 _ACEOF
85232 cat >>confdefs.h <<\_ACEOF
85233 #define HAVE_ATAN2L 1
85234 _ACEOF
85236 cat >>confdefs.h <<\_ACEOF
85237 #define HAVE_ATANF 1
85238 _ACEOF
85240 cat >>confdefs.h <<\_ACEOF
85241 #define HAVE_ATANL 1
85242 _ACEOF
85244 cat >>confdefs.h <<\_ACEOF
85245 #define HAVE_CEILF 1
85246 _ACEOF
85248 cat >>confdefs.h <<\_ACEOF
85249 #define HAVE_CEILL 1
85250 _ACEOF
85252 cat >>confdefs.h <<\_ACEOF
85253 #define HAVE_COPYSIGN 1
85254 _ACEOF
85256 cat >>confdefs.h <<\_ACEOF
85257 #define HAVE_COPYSIGNF 1
85258 _ACEOF
85260 cat >>confdefs.h <<\_ACEOF
85261 #define HAVE_COSF 1
85262 _ACEOF
85264 cat >>confdefs.h <<\_ACEOF
85265 #define HAVE_COSL 1
85266 _ACEOF
85268 cat >>confdefs.h <<\_ACEOF
85269 #define HAVE_COSHF 1
85270 _ACEOF
85272 cat >>confdefs.h <<\_ACEOF
85273 #define HAVE_COSHL 1
85274 _ACEOF
85276 cat >>confdefs.h <<\_ACEOF
85277 #define HAVE_EXPF 1
85278 _ACEOF
85280 cat >>confdefs.h <<\_ACEOF
85281 #define HAVE_EXPL 1
85282 _ACEOF
85284 cat >>confdefs.h <<\_ACEOF
85285 #define HAVE_FABSF 1
85286 _ACEOF
85288 cat >>confdefs.h <<\_ACEOF
85289 #define HAVE_FABSL 1
85290 _ACEOF
85292 cat >>confdefs.h <<\_ACEOF
85293 #define HAVE_FLOORF 1
85294 _ACEOF
85296 cat >>confdefs.h <<\_ACEOF
85297 #define HAVE_FLOORL 1
85298 _ACEOF
85300 cat >>confdefs.h <<\_ACEOF
85301 #define HAVE_FMODF 1
85302 _ACEOF
85304 cat >>confdefs.h <<\_ACEOF
85305 #define HAVE_FMODL 1
85306 _ACEOF
85308 cat >>confdefs.h <<\_ACEOF
85309 #define HAVE_FREXPF 1
85310 _ACEOF
85312 cat >>confdefs.h <<\_ACEOF
85313 #define HAVE_FREXPL 1
85314 _ACEOF
85316 cat >>confdefs.h <<\_ACEOF
85317 #define HAVE_LDEXPF 1
85318 _ACEOF
85320 cat >>confdefs.h <<\_ACEOF
85321 #define HAVE_LDEXPL 1
85322 _ACEOF
85324 cat >>confdefs.h <<\_ACEOF
85325 #define HAVE_LOG10F 1
85326 _ACEOF
85328 cat >>confdefs.h <<\_ACEOF
85329 #define HAVE_LOG10L 1
85330 _ACEOF
85332 cat >>confdefs.h <<\_ACEOF
85333 #define HAVE_LOGF 1
85334 _ACEOF
85336 cat >>confdefs.h <<\_ACEOF
85337 #define HAVE_MODFF 1
85338 _ACEOF
85340 cat >>confdefs.h <<\_ACEOF
85341 #define HAVE_MODFL 1
85342 _ACEOF
85344 cat >>confdefs.h <<\_ACEOF
85345 #define HAVE_POWF 1
85346 _ACEOF
85348 cat >>confdefs.h <<\_ACEOF
85349 #define HAVE_POWL 1
85350 _ACEOF
85352 cat >>confdefs.h <<\_ACEOF
85353 #define HAVE_SINF 1
85354 _ACEOF
85356 cat >>confdefs.h <<\_ACEOF
85357 #define HAVE_SINL 1
85358 _ACEOF
85360 cat >>confdefs.h <<\_ACEOF
85361 #define HAVE_SINHF 1
85362 _ACEOF
85364 cat >>confdefs.h <<\_ACEOF
85365 #define HAVE_SINHL 1
85366 _ACEOF
85368 cat >>confdefs.h <<\_ACEOF
85369 #define HAVE_SQRTF 1
85370 _ACEOF
85372 cat >>confdefs.h <<\_ACEOF
85373 #define HAVE_SQRTL 1
85374 _ACEOF
85376 cat >>confdefs.h <<\_ACEOF
85377 #define HAVE_TANF 1
85378 _ACEOF
85380 cat >>confdefs.h <<\_ACEOF
85381 #define HAVE_TANL 1
85382 _ACEOF
85384 cat >>confdefs.h <<\_ACEOF
85385 #define HAVE_TANHF 1
85386 _ACEOF
85388 cat >>confdefs.h <<\_ACEOF
85389 #define HAVE_TANHL 1
85390 _ACEOF
85394 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
85395 echo "$as_me: error: No support for this host/target combination." >&2;}
85396 { (exit 1); exit 1; }; }
85398 esac
85403 # At some point, we should differentiate between architectures
85404 # like x86, which have long double versions, and alpha/powerpc/etc.,
85405 # which don't. For the time being, punt.
85406 if test x"long_double_math_on_this_cpu" = x"yes"; then
85407 cat >>confdefs.h <<\_ACEOF
85408 #define HAVE_ACOSL 1
85409 _ACEOF
85411 cat >>confdefs.h <<\_ACEOF
85412 #define HAVE_ASINL 1
85413 _ACEOF
85415 cat >>confdefs.h <<\_ACEOF
85416 #define HAVE_ATAN2L 1
85417 _ACEOF
85419 cat >>confdefs.h <<\_ACEOF
85420 #define HAVE_ATANL 1
85421 _ACEOF
85423 cat >>confdefs.h <<\_ACEOF
85424 #define HAVE_CEILL 1
85425 _ACEOF
85427 cat >>confdefs.h <<\_ACEOF
85428 #define HAVE_COPYSIGNL 1
85429 _ACEOF
85431 cat >>confdefs.h <<\_ACEOF
85432 #define HAVE_COSL 1
85433 _ACEOF
85435 cat >>confdefs.h <<\_ACEOF
85436 #define HAVE_COSHL 1
85437 _ACEOF
85439 cat >>confdefs.h <<\_ACEOF
85440 #define HAVE_EXPL 1
85441 _ACEOF
85443 cat >>confdefs.h <<\_ACEOF
85444 #define HAVE_FABSL 1
85445 _ACEOF
85447 cat >>confdefs.h <<\_ACEOF
85448 #define HAVE_FLOORL 1
85449 _ACEOF
85451 cat >>confdefs.h <<\_ACEOF
85452 #define HAVE_FMODL 1
85453 _ACEOF
85455 cat >>confdefs.h <<\_ACEOF
85456 #define HAVE_FREXPL 1
85457 _ACEOF
85459 cat >>confdefs.h <<\_ACEOF
85460 #define HAVE_LDEXPL 1
85461 _ACEOF
85463 cat >>confdefs.h <<\_ACEOF
85464 #define HAVE_LOG10L 1
85465 _ACEOF
85467 cat >>confdefs.h <<\_ACEOF
85468 #define HAVE_LOGL 1
85469 _ACEOF
85471 cat >>confdefs.h <<\_ACEOF
85472 #define HAVE_MODFL 1
85473 _ACEOF
85475 cat >>confdefs.h <<\_ACEOF
85476 #define HAVE_POWL 1
85477 _ACEOF
85479 cat >>confdefs.h <<\_ACEOF
85480 #define HAVE_SINCOSL 1
85481 _ACEOF
85483 cat >>confdefs.h <<\_ACEOF
85484 #define HAVE_SINL 1
85485 _ACEOF
85487 cat >>confdefs.h <<\_ACEOF
85488 #define HAVE_SINHL 1
85489 _ACEOF
85491 cat >>confdefs.h <<\_ACEOF
85492 #define HAVE_SQRTL 1
85493 _ACEOF
85495 cat >>confdefs.h <<\_ACEOF
85496 #define HAVE_TANL 1
85497 _ACEOF
85499 cat >>confdefs.h <<\_ACEOF
85500 #define HAVE_TANHL 1
85501 _ACEOF
85507 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
85510 # Check whether --enable-symvers or --disable-symvers was given.
85511 if test "${enable_symvers+set}" = set; then
85512 enableval="$enable_symvers"
85514 case "$enableval" in
85515 yes|no|gnu) ;;
85516 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
85517 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
85518 { (exit 1); exit 1; }; } ;;
85519 esac
85521 else
85522 enable_symvers=yes
85526 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
85527 # don't know enough about $LD to do tricks...
85529 # FIXME The following test is too strict, in theory.
85530 if test $enable_shared = no ||
85531 test "x$LD" = x ||
85532 test x$glibcxx_gnu_ld_version = x; then
85533 enable_symvers=no
85536 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
85537 if test $enable_symvers != no; then
85538 echo "$as_me:$LINENO: checking for shared libgcc" >&5
85539 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
85540 ac_save_CFLAGS="$CFLAGS"
85541 CFLAGS=' -lgcc_s'
85542 if test x$gcc_no_link = xyes; then
85543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85545 { (exit 1); exit 1; }; }
85547 cat >conftest.$ac_ext <<_ACEOF
85548 /* confdefs.h. */
85549 _ACEOF
85550 cat confdefs.h >>conftest.$ac_ext
85551 cat >>conftest.$ac_ext <<_ACEOF
85552 /* end confdefs.h. */
85555 main ()
85557 return 0;
85559 return 0;
85561 _ACEOF
85562 rm -f conftest.$ac_objext conftest$ac_exeext
85563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85564 (eval $ac_link) 2>conftest.er1
85565 ac_status=$?
85566 grep -v '^ *+' conftest.er1 >conftest.err
85567 rm -f conftest.er1
85568 cat conftest.err >&5
85569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85570 (exit $ac_status); } &&
85571 { ac_try='test -z "$ac_c_werror_flag"
85572 || test ! -s conftest.err'
85573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85574 (eval $ac_try) 2>&5
85575 ac_status=$?
85576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85577 (exit $ac_status); }; } &&
85578 { ac_try='test -s conftest$ac_exeext'
85579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85580 (eval $ac_try) 2>&5
85581 ac_status=$?
85582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85583 (exit $ac_status); }; }; then
85584 glibcxx_shared_libgcc=yes
85585 else
85586 echo "$as_me: failed program was:" >&5
85587 sed 's/^/| /' conftest.$ac_ext >&5
85589 glibcxx_shared_libgcc=no
85591 rm -f conftest.err conftest.$ac_objext \
85592 conftest$ac_exeext conftest.$ac_ext
85593 CFLAGS="$ac_save_CFLAGS"
85594 if test $glibcxx_shared_libgcc = no; then
85595 cat > conftest.c <<EOF
85596 int main (void) { return 0; }
85598 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
85599 -shared -shared-libgcc -o conftest.so \
85600 conftest.c -v 2>&1 >/dev/null \
85601 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
85602 rm -f conftest.c conftest.so
85603 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
85604 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
85605 if test x$gcc_no_link = xyes; then
85606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85608 { (exit 1); exit 1; }; }
85610 cat >conftest.$ac_ext <<_ACEOF
85611 /* confdefs.h. */
85612 _ACEOF
85613 cat confdefs.h >>conftest.$ac_ext
85614 cat >>conftest.$ac_ext <<_ACEOF
85615 /* end confdefs.h. */
85618 main ()
85620 return 0;
85622 return 0;
85624 _ACEOF
85625 rm -f conftest.$ac_objext conftest$ac_exeext
85626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85627 (eval $ac_link) 2>conftest.er1
85628 ac_status=$?
85629 grep -v '^ *+' conftest.er1 >conftest.err
85630 rm -f conftest.er1
85631 cat conftest.err >&5
85632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85633 (exit $ac_status); } &&
85634 { ac_try='test -z "$ac_c_werror_flag"
85635 || test ! -s conftest.err'
85636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85637 (eval $ac_try) 2>&5
85638 ac_status=$?
85639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85640 (exit $ac_status); }; } &&
85641 { ac_try='test -s conftest$ac_exeext'
85642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85643 (eval $ac_try) 2>&5
85644 ac_status=$?
85645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85646 (exit $ac_status); }; }; then
85647 glibcxx_shared_libgcc=yes
85648 else
85649 echo "$as_me: failed program was:" >&5
85650 sed 's/^/| /' conftest.$ac_ext >&5
85653 rm -f conftest.err conftest.$ac_objext \
85654 conftest$ac_exeext conftest.$ac_ext
85655 CFLAGS="$ac_save_CFLAGS"
85658 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
85659 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
85662 # For GNU ld, we need at least this version. The format is described in
85663 # GLIBCXX_CHECK_LINKER_FEATURES above.
85664 glibcxx_min_gnu_ld_version=21400
85665 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
85667 # Check to see if unspecified "yes" value can win, given results above.
85668 # Change "yes" into either "no" or a style name.
85669 if test $enable_symvers = yes; then
85670 if test $with_gnu_ld = yes &&
85671 test $glibcxx_shared_libgcc = yes;
85672 then
85673 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
85674 enable_symvers=gnu
85675 else
85676 # The right tools, the right setup, but too old. Fallbacks?
85677 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
85678 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
85679 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
85680 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
85681 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
85682 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
85683 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
85684 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
85685 if test $glibcxx_gnu_ld_version -ge 21200 ; then
85686 # Globbing fix is present, proper block support is not.
85687 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85688 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85689 enable_symvers=no
85690 else
85691 # 2.11 or older.
85692 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85693 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85694 enable_symvers=no
85697 else
85698 # just fail for now
85699 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
85700 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
85701 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
85702 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
85703 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
85704 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
85705 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85706 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85707 enable_symvers=no
85711 # Everything parsed; figure out what file to use.
85712 case $enable_symvers in
85714 SYMVER_MAP=config/linker-map.dummy
85716 gnu)
85717 SYMVER_MAP=config/linker-map.gnu
85718 cat >>confdefs.h <<\_ACEOF
85719 #define _GLIBCXX_SYMVER 1
85720 _ACEOF
85723 esac
85728 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
85729 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
85732 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
85734 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
85735 # Do checks for resource limit functions.
85737 setrlimit_have_headers=yes
85741 for ac_header in unistd.h sys/time.h sys/resource.h
85743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85745 echo "$as_me:$LINENO: checking for $ac_header" >&5
85746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85748 echo $ECHO_N "(cached) $ECHO_C" >&6
85750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85752 else
85753 # Is the header compilable?
85754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85756 cat >conftest.$ac_ext <<_ACEOF
85757 /* confdefs.h. */
85758 _ACEOF
85759 cat confdefs.h >>conftest.$ac_ext
85760 cat >>conftest.$ac_ext <<_ACEOF
85761 /* end confdefs.h. */
85762 $ac_includes_default
85763 #include <$ac_header>
85764 _ACEOF
85765 rm -f conftest.$ac_objext
85766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85767 (eval $ac_compile) 2>conftest.er1
85768 ac_status=$?
85769 grep -v '^ *+' conftest.er1 >conftest.err
85770 rm -f conftest.er1
85771 cat conftest.err >&5
85772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773 (exit $ac_status); } &&
85774 { ac_try='test -z "$ac_c_werror_flag"
85775 || test ! -s conftest.err'
85776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85777 (eval $ac_try) 2>&5
85778 ac_status=$?
85779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85780 (exit $ac_status); }; } &&
85781 { ac_try='test -s conftest.$ac_objext'
85782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85783 (eval $ac_try) 2>&5
85784 ac_status=$?
85785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85786 (exit $ac_status); }; }; then
85787 ac_header_compiler=yes
85788 else
85789 echo "$as_me: failed program was:" >&5
85790 sed 's/^/| /' conftest.$ac_ext >&5
85792 ac_header_compiler=no
85794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85796 echo "${ECHO_T}$ac_header_compiler" >&6
85798 # Is the header present?
85799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85801 cat >conftest.$ac_ext <<_ACEOF
85802 /* confdefs.h. */
85803 _ACEOF
85804 cat confdefs.h >>conftest.$ac_ext
85805 cat >>conftest.$ac_ext <<_ACEOF
85806 /* end confdefs.h. */
85807 #include <$ac_header>
85808 _ACEOF
85809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85811 ac_status=$?
85812 grep -v '^ *+' conftest.er1 >conftest.err
85813 rm -f conftest.er1
85814 cat conftest.err >&5
85815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85816 (exit $ac_status); } >/dev/null; then
85817 if test -s conftest.err; then
85818 ac_cpp_err=$ac_c_preproc_warn_flag
85819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85820 else
85821 ac_cpp_err=
85823 else
85824 ac_cpp_err=yes
85826 if test -z "$ac_cpp_err"; then
85827 ac_header_preproc=yes
85828 else
85829 echo "$as_me: failed program was:" >&5
85830 sed 's/^/| /' conftest.$ac_ext >&5
85832 ac_header_preproc=no
85834 rm -f conftest.err conftest.$ac_ext
85835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85836 echo "${ECHO_T}$ac_header_preproc" >&6
85838 # So? What about this header?
85839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85840 yes:no: )
85841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85845 ac_header_preproc=yes
85847 no:yes:* )
85848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85852 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85854 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85855 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85858 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85861 cat <<\_ASBOX
85862 ## ----------------------------------------- ##
85863 ## Report this to the package-unused lists. ##
85864 ## ----------------------------------------- ##
85865 _ASBOX
85867 sed "s/^/$as_me: WARNING: /" >&2
85869 esac
85870 echo "$as_me:$LINENO: checking for $ac_header" >&5
85871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85873 echo $ECHO_N "(cached) $ECHO_C" >&6
85874 else
85875 eval "$as_ac_Header=\$ac_header_preproc"
85877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85882 cat >>confdefs.h <<_ACEOF
85883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85884 _ACEOF
85886 else
85887 setrlimit_have_headers=no
85890 done
85892 # If don't have the headers, then we can't run the tests now, and we
85893 # won't be seeing any of these during testsuite compilation.
85894 if test $setrlimit_have_headers = yes; then
85895 # Can't do these in a loop, else the resulting syntax is wrong.
85897 cat >conftest.$ac_ext <<_ACEOF
85898 /* confdefs.h. */
85899 _ACEOF
85900 cat confdefs.h >>conftest.$ac_ext
85901 cat >>conftest.$ac_ext <<_ACEOF
85902 /* end confdefs.h. */
85903 #include <unistd.h>
85904 #include <sys/time.h>
85905 #include <sys/resource.h>
85908 main ()
85910 int f = RLIMIT_DATA ;
85912 return 0;
85914 _ACEOF
85915 rm -f conftest.$ac_objext
85916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85917 (eval $ac_compile) 2>conftest.er1
85918 ac_status=$?
85919 grep -v '^ *+' conftest.er1 >conftest.err
85920 rm -f conftest.er1
85921 cat conftest.err >&5
85922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85923 (exit $ac_status); } &&
85924 { ac_try='test -z "$ac_c_werror_flag"
85925 || test ! -s conftest.err'
85926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85927 (eval $ac_try) 2>&5
85928 ac_status=$?
85929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85930 (exit $ac_status); }; } &&
85931 { ac_try='test -s conftest.$ac_objext'
85932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85933 (eval $ac_try) 2>&5
85934 ac_status=$?
85935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936 (exit $ac_status); }; }; then
85937 glibcxx_mresult=1
85938 else
85939 echo "$as_me: failed program was:" >&5
85940 sed 's/^/| /' conftest.$ac_ext >&5
85942 glibcxx_mresult=0
85944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85946 cat >>confdefs.h <<_ACEOF
85947 #define HAVE_LIMIT_DATA $glibcxx_mresult
85948 _ACEOF
85952 cat >conftest.$ac_ext <<_ACEOF
85953 /* confdefs.h. */
85954 _ACEOF
85955 cat confdefs.h >>conftest.$ac_ext
85956 cat >>conftest.$ac_ext <<_ACEOF
85957 /* end confdefs.h. */
85958 #include <unistd.h>
85959 #include <sys/time.h>
85960 #include <sys/resource.h>
85963 main ()
85965 int f = RLIMIT_RSS ;
85967 return 0;
85969 _ACEOF
85970 rm -f conftest.$ac_objext
85971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85972 (eval $ac_compile) 2>conftest.er1
85973 ac_status=$?
85974 grep -v '^ *+' conftest.er1 >conftest.err
85975 rm -f conftest.er1
85976 cat conftest.err >&5
85977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85978 (exit $ac_status); } &&
85979 { ac_try='test -z "$ac_c_werror_flag"
85980 || test ! -s conftest.err'
85981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85982 (eval $ac_try) 2>&5
85983 ac_status=$?
85984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85985 (exit $ac_status); }; } &&
85986 { ac_try='test -s conftest.$ac_objext'
85987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85988 (eval $ac_try) 2>&5
85989 ac_status=$?
85990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991 (exit $ac_status); }; }; then
85992 glibcxx_mresult=1
85993 else
85994 echo "$as_me: failed program was:" >&5
85995 sed 's/^/| /' conftest.$ac_ext >&5
85997 glibcxx_mresult=0
85999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86001 cat >>confdefs.h <<_ACEOF
86002 #define HAVE_LIMIT_RSS $glibcxx_mresult
86003 _ACEOF
86007 cat >conftest.$ac_ext <<_ACEOF
86008 /* confdefs.h. */
86009 _ACEOF
86010 cat confdefs.h >>conftest.$ac_ext
86011 cat >>conftest.$ac_ext <<_ACEOF
86012 /* end confdefs.h. */
86013 #include <unistd.h>
86014 #include <sys/time.h>
86015 #include <sys/resource.h>
86018 main ()
86020 int f = RLIMIT_VMEM ;
86022 return 0;
86024 _ACEOF
86025 rm -f conftest.$ac_objext
86026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86027 (eval $ac_compile) 2>conftest.er1
86028 ac_status=$?
86029 grep -v '^ *+' conftest.er1 >conftest.err
86030 rm -f conftest.er1
86031 cat conftest.err >&5
86032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86033 (exit $ac_status); } &&
86034 { ac_try='test -z "$ac_c_werror_flag"
86035 || test ! -s conftest.err'
86036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037 (eval $ac_try) 2>&5
86038 ac_status=$?
86039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040 (exit $ac_status); }; } &&
86041 { ac_try='test -s conftest.$ac_objext'
86042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86043 (eval $ac_try) 2>&5
86044 ac_status=$?
86045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046 (exit $ac_status); }; }; then
86047 glibcxx_mresult=1
86048 else
86049 echo "$as_me: failed program was:" >&5
86050 sed 's/^/| /' conftest.$ac_ext >&5
86052 glibcxx_mresult=0
86054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86056 cat >>confdefs.h <<_ACEOF
86057 #define HAVE_LIMIT_VMEM $glibcxx_mresult
86058 _ACEOF
86062 cat >conftest.$ac_ext <<_ACEOF
86063 /* confdefs.h. */
86064 _ACEOF
86065 cat confdefs.h >>conftest.$ac_ext
86066 cat >>conftest.$ac_ext <<_ACEOF
86067 /* end confdefs.h. */
86068 #include <unistd.h>
86069 #include <sys/time.h>
86070 #include <sys/resource.h>
86073 main ()
86075 int f = RLIMIT_AS ;
86077 return 0;
86079 _ACEOF
86080 rm -f conftest.$ac_objext
86081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86082 (eval $ac_compile) 2>conftest.er1
86083 ac_status=$?
86084 grep -v '^ *+' conftest.er1 >conftest.err
86085 rm -f conftest.er1
86086 cat conftest.err >&5
86087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86088 (exit $ac_status); } &&
86089 { ac_try='test -z "$ac_c_werror_flag"
86090 || test ! -s conftest.err'
86091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86092 (eval $ac_try) 2>&5
86093 ac_status=$?
86094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86095 (exit $ac_status); }; } &&
86096 { ac_try='test -s conftest.$ac_objext'
86097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86098 (eval $ac_try) 2>&5
86099 ac_status=$?
86100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86101 (exit $ac_status); }; }; then
86102 glibcxx_mresult=1
86103 else
86104 echo "$as_me: failed program was:" >&5
86105 sed 's/^/| /' conftest.$ac_ext >&5
86107 glibcxx_mresult=0
86109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86111 cat >>confdefs.h <<_ACEOF
86112 #define HAVE_LIMIT_AS $glibcxx_mresult
86113 _ACEOF
86117 cat >conftest.$ac_ext <<_ACEOF
86118 /* confdefs.h. */
86119 _ACEOF
86120 cat confdefs.h >>conftest.$ac_ext
86121 cat >>conftest.$ac_ext <<_ACEOF
86122 /* end confdefs.h. */
86123 #include <unistd.h>
86124 #include <sys/time.h>
86125 #include <sys/resource.h>
86128 main ()
86130 int f = RLIMIT_FSIZE ;
86132 return 0;
86134 _ACEOF
86135 rm -f conftest.$ac_objext
86136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86137 (eval $ac_compile) 2>conftest.er1
86138 ac_status=$?
86139 grep -v '^ *+' conftest.er1 >conftest.err
86140 rm -f conftest.er1
86141 cat conftest.err >&5
86142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86143 (exit $ac_status); } &&
86144 { ac_try='test -z "$ac_c_werror_flag"
86145 || test ! -s conftest.err'
86146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86147 (eval $ac_try) 2>&5
86148 ac_status=$?
86149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86150 (exit $ac_status); }; } &&
86151 { ac_try='test -s conftest.$ac_objext'
86152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86153 (eval $ac_try) 2>&5
86154 ac_status=$?
86155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86156 (exit $ac_status); }; }; then
86157 glibcxx_mresult=1
86158 else
86159 echo "$as_me: failed program was:" >&5
86160 sed 's/^/| /' conftest.$ac_ext >&5
86162 glibcxx_mresult=0
86164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86166 cat >>confdefs.h <<_ACEOF
86167 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
86168 _ACEOF
86172 # Check for rlimit, setrlimit.
86173 if test "${ac_setrlimit+set}" = set; then
86174 echo $ECHO_N "(cached) $ECHO_C" >&6
86175 else
86177 cat >conftest.$ac_ext <<_ACEOF
86178 /* confdefs.h. */
86179 _ACEOF
86180 cat confdefs.h >>conftest.$ac_ext
86181 cat >>conftest.$ac_ext <<_ACEOF
86182 /* end confdefs.h. */
86183 #include <unistd.h>
86184 #include <sys/time.h>
86185 #include <sys/resource.h>
86188 main ()
86190 struct rlimit r;
86191 setrlimit(0, &r);
86193 return 0;
86195 _ACEOF
86196 rm -f conftest.$ac_objext
86197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86198 (eval $ac_compile) 2>conftest.er1
86199 ac_status=$?
86200 grep -v '^ *+' conftest.er1 >conftest.err
86201 rm -f conftest.er1
86202 cat conftest.err >&5
86203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86204 (exit $ac_status); } &&
86205 { ac_try='test -z "$ac_c_werror_flag"
86206 || test ! -s conftest.err'
86207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86208 (eval $ac_try) 2>&5
86209 ac_status=$?
86210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86211 (exit $ac_status); }; } &&
86212 { ac_try='test -s conftest.$ac_objext'
86213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86214 (eval $ac_try) 2>&5
86215 ac_status=$?
86216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86217 (exit $ac_status); }; }; then
86218 ac_setrlimit=yes
86219 else
86220 echo "$as_me: failed program was:" >&5
86221 sed 's/^/| /' conftest.$ac_ext >&5
86223 ac_setrlimit=no
86225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86231 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
86232 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
86233 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
86234 ac_res_limits=yes
86235 cat >>confdefs.h <<\_ACEOF
86236 #define _GLIBCXX_RES_LIMITS 1
86237 _ACEOF
86239 else
86240 ac_res_limits=no
86242 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
86243 echo "${ECHO_T}$ac_res_limits" >&6
86246 # Look for setenv, so that extended locale tests can be performed.
86248 echo "$as_me:$LINENO: checking for setenv declaration" >&5
86249 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
86250 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
86251 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
86252 echo $ECHO_N "(cached) $ECHO_C" >&6
86253 else
86257 ac_ext=cc
86258 ac_cpp='$CXXCPP $CPPFLAGS'
86259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86263 cat >conftest.$ac_ext <<_ACEOF
86264 /* confdefs.h. */
86265 _ACEOF
86266 cat confdefs.h >>conftest.$ac_ext
86267 cat >>conftest.$ac_ext <<_ACEOF
86268 /* end confdefs.h. */
86269 #include <stdlib.h>
86271 main ()
86273 setenv(0, 0, 0);
86275 return 0;
86277 _ACEOF
86278 rm -f conftest.$ac_objext
86279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86280 (eval $ac_compile) 2>conftest.er1
86281 ac_status=$?
86282 grep -v '^ *+' conftest.er1 >conftest.err
86283 rm -f conftest.er1
86284 cat conftest.err >&5
86285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86286 (exit $ac_status); } &&
86287 { ac_try='test -z "$ac_cxx_werror_flag"
86288 || test ! -s conftest.err'
86289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86290 (eval $ac_try) 2>&5
86291 ac_status=$?
86292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86293 (exit $ac_status); }; } &&
86294 { ac_try='test -s conftest.$ac_objext'
86295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86296 (eval $ac_try) 2>&5
86297 ac_status=$?
86298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86299 (exit $ac_status); }; }; then
86300 glibcxx_cv_func_setenv_use=yes
86301 else
86302 echo "$as_me: failed program was:" >&5
86303 sed 's/^/| /' conftest.$ac_ext >&5
86305 glibcxx_cv_func_setenv_use=no
86307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86308 ac_ext=c
86309 ac_cpp='$CPP $CPPFLAGS'
86310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
86319 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
86320 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
86322 for ac_func in setenv
86324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86325 echo "$as_me:$LINENO: checking for $ac_func" >&5
86326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86327 if eval "test \"\${$as_ac_var+set}\" = set"; then
86328 echo $ECHO_N "(cached) $ECHO_C" >&6
86329 else
86330 if test x$gcc_no_link = xyes; then
86331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86333 { (exit 1); exit 1; }; }
86335 cat >conftest.$ac_ext <<_ACEOF
86336 /* confdefs.h. */
86337 _ACEOF
86338 cat confdefs.h >>conftest.$ac_ext
86339 cat >>conftest.$ac_ext <<_ACEOF
86340 /* end confdefs.h. */
86341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86343 #define $ac_func innocuous_$ac_func
86345 /* System header to define __stub macros and hopefully few prototypes,
86346 which can conflict with char $ac_func (); below.
86347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86348 <limits.h> exists even on freestanding compilers. */
86350 #ifdef __STDC__
86351 # include <limits.h>
86352 #else
86353 # include <assert.h>
86354 #endif
86356 #undef $ac_func
86358 /* Override any gcc2 internal prototype to avoid an error. */
86359 #ifdef __cplusplus
86360 extern "C"
86362 #endif
86363 /* We use char because int might match the return type of a gcc2
86364 builtin and then its argument prototype would still apply. */
86365 char $ac_func ();
86366 /* The GNU C library defines this for functions which it implements
86367 to always fail with ENOSYS. Some functions are actually named
86368 something starting with __ and the normal name is an alias. */
86369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86370 choke me
86371 #else
86372 char (*f) () = $ac_func;
86373 #endif
86374 #ifdef __cplusplus
86376 #endif
86379 main ()
86381 return f != $ac_func;
86383 return 0;
86385 _ACEOF
86386 rm -f conftest.$ac_objext conftest$ac_exeext
86387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86388 (eval $ac_link) 2>conftest.er1
86389 ac_status=$?
86390 grep -v '^ *+' conftest.er1 >conftest.err
86391 rm -f conftest.er1
86392 cat conftest.err >&5
86393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86394 (exit $ac_status); } &&
86395 { ac_try='test -z "$ac_c_werror_flag"
86396 || test ! -s conftest.err'
86397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86398 (eval $ac_try) 2>&5
86399 ac_status=$?
86400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86401 (exit $ac_status); }; } &&
86402 { ac_try='test -s conftest$ac_exeext'
86403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86404 (eval $ac_try) 2>&5
86405 ac_status=$?
86406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86407 (exit $ac_status); }; }; then
86408 eval "$as_ac_var=yes"
86409 else
86410 echo "$as_me: failed program was:" >&5
86411 sed 's/^/| /' conftest.$ac_ext >&5
86413 eval "$as_ac_var=no"
86415 rm -f conftest.err conftest.$ac_objext \
86416 conftest$ac_exeext conftest.$ac_ext
86418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86420 if test `eval echo '${'$as_ac_var'}'` = yes; then
86421 cat >>confdefs.h <<_ACEOF
86422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86423 _ACEOF
86426 done
86431 if test $enable_symvers = no; then
86432 enable_abi_check=no
86433 else
86434 case "$host" in
86435 *-*-cygwin*)
86436 enable_abi_check=no ;;
86438 enable_abi_check=yes ;;
86439 esac
86441 else
86442 # Only build this as native, since automake does not understand
86443 # CXX_FOR_BUILD.
86444 enable_abi_check=no
86447 # Export file names for ABI checking.
86448 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
86456 # Propagate the target-specific source directories through the build chain.
86457 ATOMICITY_SRCDIR=config/${atomicity_dir}
86458 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
86459 OS_INC_SRCDIR=config/${os_include_dir}
86460 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
86466 # Determine cross-compile flags and AM_CONDITIONALs.
86467 #AC_SUBST(GLIBCXX_IS_NATIVE)
86468 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
86469 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
86470 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
86473 if test $is_hosted = yes; then
86474 GLIBCXX_HOSTED_TRUE=
86475 GLIBCXX_HOSTED_FALSE='#'
86476 else
86477 GLIBCXX_HOSTED_TRUE='#'
86478 GLIBCXX_HOSTED_FALSE=
86484 if test $enable_libstdcxx_pch = yes; then
86485 GLIBCXX_BUILD_PCH_TRUE=
86486 GLIBCXX_BUILD_PCH_FALSE='#'
86487 else
86488 GLIBCXX_BUILD_PCH_TRUE='#'
86489 GLIBCXX_BUILD_PCH_FALSE=
86495 if test $enable_cheaders = c; then
86496 GLIBCXX_C_HEADERS_C_TRUE=
86497 GLIBCXX_C_HEADERS_C_FALSE='#'
86498 else
86499 GLIBCXX_C_HEADERS_C_TRUE='#'
86500 GLIBCXX_C_HEADERS_C_FALSE=
86506 if test $enable_cheaders = c_std; then
86507 GLIBCXX_C_HEADERS_C_STD_TRUE=
86508 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
86509 else
86510 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
86511 GLIBCXX_C_HEADERS_C_STD_FALSE=
86517 if test $c_compatibility = yes; then
86518 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
86519 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
86520 else
86521 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
86522 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
86528 if test $enable_libstdcxx_debug = yes; then
86529 GLIBCXX_BUILD_DEBUG_TRUE=
86530 GLIBCXX_BUILD_DEBUG_FALSE='#'
86531 else
86532 GLIBCXX_BUILD_DEBUG_TRUE='#'
86533 GLIBCXX_BUILD_DEBUG_FALSE=
86539 if test $enable_symvers != no; then
86540 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
86541 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
86542 else
86543 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
86544 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
86550 if test $enable_wchar_t = yes; then
86551 GLIBCXX_TEST_WCHAR_T_TRUE=
86552 GLIBCXX_TEST_WCHAR_T_FALSE='#'
86553 else
86554 GLIBCXX_TEST_WCHAR_T_TRUE='#'
86555 GLIBCXX_TEST_WCHAR_T_FALSE=
86561 if test $enable_thread = yes; then
86562 GLIBCXX_TEST_THREAD_TRUE=
86563 GLIBCXX_TEST_THREAD_FALSE='#'
86564 else
86565 GLIBCXX_TEST_THREAD_TRUE='#'
86566 GLIBCXX_TEST_THREAD_FALSE=
86572 if test $enable_abi_check = yes; then
86573 GLIBCXX_TEST_ABI_TRUE=
86574 GLIBCXX_TEST_ABI_FALSE='#'
86575 else
86576 GLIBCXX_TEST_ABI_TRUE='#'
86577 GLIBCXX_TEST_ABI_FALSE=
86583 cat >confcache <<\_ACEOF
86584 # This file is a shell script that caches the results of configure
86585 # tests run on this system so they can be shared between configure
86586 # scripts and configure runs, see configure's option --config-cache.
86587 # It is not useful on other systems. If it contains results you don't
86588 # want to keep, you may remove or edit it.
86590 # config.status only pays attention to the cache file if you give it
86591 # the --recheck option to rerun configure.
86593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
86594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
86595 # following values.
86597 _ACEOF
86599 # The following way of writing the cache mishandles newlines in values,
86600 # but we know of no workaround that is simple, portable, and efficient.
86601 # So, don't put newlines in cache variables' values.
86602 # Ultrix sh set writes to stderr and can't be redirected directly,
86603 # and sets the high bit in the cache file unless we assign to the vars.
86605 (set) 2>&1 |
86606 case `(ac_space=' '; set | grep ac_space) 2>&1` in
86607 *ac_space=\ *)
86608 # `set' does not quote correctly, so add quotes (double-quote
86609 # substitution turns \\\\ into \\, and sed turns \\ into \).
86610 sed -n \
86611 "s/'/'\\\\''/g;
86612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
86615 # `set' quotes correctly as required by POSIX, so do not add quotes.
86616 sed -n \
86617 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
86619 esac;
86621 sed '
86622 t clear
86623 : clear
86624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
86625 t end
86626 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
86627 : end' >>confcache
86628 if diff $cache_file confcache >/dev/null 2>&1; then :; else
86629 if test -w $cache_file; then
86630 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
86631 cat confcache >$cache_file
86632 else
86633 echo "not updating unwritable cache $cache_file"
86636 rm -f confcache
86638 if test ${multilib} = yes; then
86639 multilib_arg="--enable-multilib"
86640 else
86641 multilib_arg=
86644 # Export all the install information.
86646 glibcxx_toolexecdir=no
86647 glibcxx_toolexeclibdir=no
86648 glibcxx_prefixdir=$prefix
86650 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
86651 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
86653 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
86654 if test "${with_gxx_include_dir+set}" = set; then
86655 withval="$with_gxx_include_dir"
86656 case "$withval" in
86657 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
86658 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
86659 { (exit 1); exit 1; }; } ;;
86660 no) gxx_include_dir=no ;;
86661 *) gxx_include_dir=$withval ;;
86662 esac
86663 else
86664 gxx_include_dir=no
86666 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
86667 echo "${ECHO_T}$gxx_include_dir" >&6
86669 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
86670 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
86671 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
86672 if test "${enable_version_specific_runtime_libs+set}" = set; then
86673 enableval="$enable_version_specific_runtime_libs"
86674 case "$enableval" in
86675 yes) version_specific_libs=yes ;;
86676 no) version_specific_libs=no ;;
86677 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
86678 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
86679 { (exit 1); exit 1; }; };;
86680 esac
86681 else
86682 version_specific_libs=no
86684 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
86685 echo "${ECHO_T}$version_specific_libs" >&6
86687 # Default case for install directory for include files.
86688 if test $version_specific_libs = no && test $gxx_include_dir = no; then
86689 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
86692 # Version-specific runtime libs processing.
86693 if test $version_specific_libs = yes; then
86694 # Need the gcc compiler version to know where to install libraries
86695 # and header files if --enable-version-specific-runtime-libs option
86696 # is selected. FIXME: these variables are misnamed, there are
86697 # no executables installed in _toolexecdir or _toolexeclibdir.
86698 if test x"$gxx_include_dir" = x"no"; then
86699 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
86701 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
86702 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
86705 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
86706 # Install a library built with a cross compiler in tooldir, not libdir.
86707 if test x"$glibcxx_toolexecdir" = x"no"; then
86708 if test -n "$with_cross_host" &&
86709 test x"$with_cross_host" != x"no"; then
86710 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
86711 glibcxx_toolexeclibdir='${toolexecdir}/lib'
86712 else
86713 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
86714 glibcxx_toolexeclibdir='${libdir}'
86716 multi_os_directory=`$CXX -print-multi-os-directory`
86717 case $multi_os_directory in
86718 .) ;; # Avoid trailing /.
86719 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
86720 esac
86723 echo "$as_me:$LINENO: checking for install location" >&5
86724 echo $ECHO_N "checking for install location... $ECHO_C" >&6
86725 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
86726 echo "${ECHO_T}$gxx_include_dir" >&6
86734 # Export all the include and flag information to Makefiles.
86736 # Used for every C++ compile we perform.
86737 GLIBCXX_INCLUDES="\
86738 -I$glibcxx_builddir/include/$host_alias \
86739 -I$glibcxx_builddir/include \
86740 -I$glibcxx_srcdir/libsupc++"
86742 # For Canadian crosses, pick this up too.
86743 if test $CANADIAN = yes; then
86744 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
86747 # Stuff in the actual top level. Currently only used by libsupc++ to
86748 # get unwind* headers from the gcc dir.
86749 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
86750 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
86752 # Now, export this to all the little Makefiles....
86757 # Optimization flags that are probably a good idea for thrill-seekers. Just
86758 # uncomment the lines below and make, everything else is ready to go...
86759 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
86760 OPTIMIZE_CXXFLAGS=
86763 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
86767 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
86768 grep "enable shared" > /dev/null;
86769 then
86770 LIBSUPCXX_PICFLAGS=-prefer-pic
86771 else
86772 LIBSUPCXX_PICFLAGS=
86776 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
86778 ac_config_files="$ac_config_files scripts/check_survey"
86780 ac_config_files="$ac_config_files scripts/testsuite_flags"
86783 ac_config_commands="$ac_config_commands default"
86786 cat >confcache <<\_ACEOF
86787 # This file is a shell script that caches the results of configure
86788 # tests run on this system so they can be shared between configure
86789 # scripts and configure runs, see configure's option --config-cache.
86790 # It is not useful on other systems. If it contains results you don't
86791 # want to keep, you may remove or edit it.
86793 # config.status only pays attention to the cache file if you give it
86794 # the --recheck option to rerun configure.
86796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
86797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
86798 # following values.
86800 _ACEOF
86802 # The following way of writing the cache mishandles newlines in values,
86803 # but we know of no workaround that is simple, portable, and efficient.
86804 # So, don't put newlines in cache variables' values.
86805 # Ultrix sh set writes to stderr and can't be redirected directly,
86806 # and sets the high bit in the cache file unless we assign to the vars.
86808 (set) 2>&1 |
86809 case `(ac_space=' '; set | grep ac_space) 2>&1` in
86810 *ac_space=\ *)
86811 # `set' does not quote correctly, so add quotes (double-quote
86812 # substitution turns \\\\ into \\, and sed turns \\ into \).
86813 sed -n \
86814 "s/'/'\\\\''/g;
86815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
86818 # `set' quotes correctly as required by POSIX, so do not add quotes.
86819 sed -n \
86820 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
86822 esac;
86824 sed '
86825 t clear
86826 : clear
86827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
86828 t end
86829 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
86830 : end' >>confcache
86831 if diff $cache_file confcache >/dev/null 2>&1; then :; else
86832 if test -w $cache_file; then
86833 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
86834 cat confcache >$cache_file
86835 else
86836 echo "not updating unwritable cache $cache_file"
86839 rm -f confcache
86841 test "x$prefix" = xNONE && prefix=$ac_default_prefix
86842 # Let make expand exec_prefix.
86843 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
86845 # VPATH may cause trouble with some makes, so we remove $(srcdir),
86846 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
86847 # trailing colons and then remove the whole line if VPATH becomes empty
86848 # (actually we leave an empty line to preserve line numbers).
86849 if test "x$srcdir" = x.; then
86850 ac_vpsub='/^[ ]*VPATH[ ]*=/{
86851 s/:*\$(srcdir):*/:/;
86852 s/:*\${srcdir}:*/:/;
86853 s/:*@srcdir@:*/:/;
86854 s/^\([^=]*=[ ]*\):*/\1/;
86855 s/:*$//;
86856 s/^[^=]*=[ ]*$//;
86860 DEFS=-DHAVE_CONFIG_H
86862 ac_libobjs=
86863 ac_ltlibobjs=
86864 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
86865 # 1. Remove the extension, and $U if already installed.
86866 ac_i=`echo "$ac_i" |
86867 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
86868 # 2. Add them.
86869 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
86870 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
86871 done
86872 LIBOBJS=$ac_libobjs
86874 LTLIBOBJS=$ac_ltlibobjs
86877 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
86878 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
86879 Usually this means the macro was only invoked conditionally." >&5
86880 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
86881 Usually this means the macro was only invoked conditionally." >&2;}
86882 { (exit 1); exit 1; }; }
86884 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
86885 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
86886 Usually this means the macro was only invoked conditionally." >&5
86887 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
86888 Usually this means the macro was only invoked conditionally." >&2;}
86889 { (exit 1); exit 1; }; }
86891 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
86892 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
86893 Usually this means the macro was only invoked conditionally." >&5
86894 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
86895 Usually this means the macro was only invoked conditionally." >&2;}
86896 { (exit 1); exit 1; }; }
86898 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
86899 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
86900 Usually this means the macro was only invoked conditionally." >&5
86901 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
86902 Usually this means the macro was only invoked conditionally." >&2;}
86903 { (exit 1); exit 1; }; }
86905 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
86906 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
86907 Usually this means the macro was only invoked conditionally." >&5
86908 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
86909 Usually this means the macro was only invoked conditionally." >&2;}
86910 { (exit 1); exit 1; }; }
86912 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
86913 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
86914 Usually this means the macro was only invoked conditionally." >&5
86915 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
86916 Usually this means the macro was only invoked conditionally." >&2;}
86917 { (exit 1); exit 1; }; }
86919 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
86920 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
86921 Usually this means the macro was only invoked conditionally." >&5
86922 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
86923 Usually this means the macro was only invoked conditionally." >&2;}
86924 { (exit 1); exit 1; }; }
86926 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
86927 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
86928 Usually this means the macro was only invoked conditionally." >&5
86929 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
86930 Usually this means the macro was only invoked conditionally." >&2;}
86931 { (exit 1); exit 1; }; }
86933 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
86934 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
86935 Usually this means the macro was only invoked conditionally." >&5
86936 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
86937 Usually this means the macro was only invoked conditionally." >&2;}
86938 { (exit 1); exit 1; }; }
86940 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
86941 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
86942 Usually this means the macro was only invoked conditionally." >&5
86943 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
86944 Usually this means the macro was only invoked conditionally." >&2;}
86945 { (exit 1); exit 1; }; }
86947 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
86948 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
86949 Usually this means the macro was only invoked conditionally." >&5
86950 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
86951 Usually this means the macro was only invoked conditionally." >&2;}
86952 { (exit 1); exit 1; }; }
86955 : ${CONFIG_STATUS=./config.status}
86956 ac_clean_files_save=$ac_clean_files
86957 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
86958 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
86959 echo "$as_me: creating $CONFIG_STATUS" >&6;}
86960 cat >$CONFIG_STATUS <<_ACEOF
86961 #! $SHELL
86962 # Generated by $as_me.
86963 # Run this file to recreate the current configuration.
86964 # Compiler output produced by configure, useful for debugging
86965 # configure, is in config.log if it exists.
86967 debug=false
86968 ac_cs_recheck=false
86969 ac_cs_silent=false
86970 SHELL=\${CONFIG_SHELL-$SHELL}
86971 _ACEOF
86973 cat >>$CONFIG_STATUS <<\_ACEOF
86974 ## --------------------- ##
86975 ## M4sh Initialization. ##
86976 ## --------------------- ##
86978 # Be Bourne compatible
86979 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
86980 emulate sh
86981 NULLCMD=:
86982 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
86983 # is contrary to our usage. Disable this feature.
86984 alias -g '${1+"$@"}'='"$@"'
86985 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
86986 set -o posix
86988 DUALCASE=1; export DUALCASE # for MKS sh
86990 # Support unset when possible.
86991 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
86992 as_unset=unset
86993 else
86994 as_unset=false
86998 # Work around bugs in pre-3.0 UWIN ksh.
86999 $as_unset ENV MAIL MAILPATH
87000 PS1='$ '
87001 PS2='> '
87002 PS4='+ '
87004 # NLS nuisances.
87005 for as_var in \
87006 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
87007 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
87008 LC_TELEPHONE LC_TIME
87010 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
87011 eval $as_var=C; export $as_var
87012 else
87013 $as_unset $as_var
87015 done
87017 # Required to use basename.
87018 if expr a : '\(a\)' >/dev/null 2>&1; then
87019 as_expr=expr
87020 else
87021 as_expr=false
87024 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
87025 as_basename=basename
87026 else
87027 as_basename=false
87031 # Name of the executable.
87032 as_me=`$as_basename "$0" ||
87033 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
87034 X"$0" : 'X\(//\)$' \| \
87035 X"$0" : 'X\(/\)$' \| \
87036 . : '\(.\)' 2>/dev/null ||
87037 echo X/"$0" |
87038 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
87039 /^X\/\(\/\/\)$/{ s//\1/; q; }
87040 /^X\/\(\/\).*/{ s//\1/; q; }
87041 s/.*/./; q'`
87044 # PATH needs CR, and LINENO needs CR and PATH.
87045 # Avoid depending upon Character Ranges.
87046 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
87047 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
87048 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
87049 as_cr_digits='0123456789'
87050 as_cr_alnum=$as_cr_Letters$as_cr_digits
87052 # The user is always right.
87053 if test "${PATH_SEPARATOR+set}" != set; then
87054 echo "#! /bin/sh" >conf$$.sh
87055 echo "exit 0" >>conf$$.sh
87056 chmod +x conf$$.sh
87057 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
87058 PATH_SEPARATOR=';'
87059 else
87060 PATH_SEPARATOR=:
87062 rm -f conf$$.sh
87066 as_lineno_1=$LINENO
87067 as_lineno_2=$LINENO
87068 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
87069 test "x$as_lineno_1" != "x$as_lineno_2" &&
87070 test "x$as_lineno_3" = "x$as_lineno_2" || {
87071 # Find who we are. Look in the path if we contain no path at all
87072 # relative or not.
87073 case $0 in
87074 *[\\/]* ) as_myself=$0 ;;
87075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
87076 for as_dir in $PATH
87078 IFS=$as_save_IFS
87079 test -z "$as_dir" && as_dir=.
87080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87081 done
87084 esac
87085 # We did not find ourselves, most probably we were run as `sh COMMAND'
87086 # in which case we are not to be found in the path.
87087 if test "x$as_myself" = x; then
87088 as_myself=$0
87090 if test ! -f "$as_myself"; then
87091 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
87092 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
87093 { (exit 1); exit 1; }; }
87095 case $CONFIG_SHELL in
87097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
87098 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
87100 IFS=$as_save_IFS
87101 test -z "$as_dir" && as_dir=.
87102 for as_base in sh bash ksh sh5; do
87103 case $as_dir in
87105 if ("$as_dir/$as_base" -c '
87106 as_lineno_1=$LINENO
87107 as_lineno_2=$LINENO
87108 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
87109 test "x$as_lineno_1" != "x$as_lineno_2" &&
87110 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
87111 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
87112 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
87113 CONFIG_SHELL=$as_dir/$as_base
87114 export CONFIG_SHELL
87115 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
87116 fi;;
87117 esac
87118 done
87119 done
87121 esac
87123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
87124 # uniformly replaced by the line number. The first 'sed' inserts a
87125 # line-number line before each line; the second 'sed' does the real
87126 # work. The second script uses 'N' to pair each line-number line
87127 # with the numbered line, and appends trailing '-' during
87128 # substitution so that $LINENO is not a special case at line end.
87129 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
87130 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
87131 sed '=' <$as_myself |
87132 sed '
87134 s,$,-,
87135 : loop
87136 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
87137 t loop
87138 s,-$,,
87139 s,^['$as_cr_digits']*\n,,
87140 ' >$as_me.lineno &&
87141 chmod +x $as_me.lineno ||
87142 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
87143 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
87144 { (exit 1); exit 1; }; }
87146 # Don't try to exec as it changes $[0], causing all sort of problems
87147 # (the dirname of $[0] is not the place where we might find the
87148 # original and so on. Autoconf is especially sensible to this).
87149 . ./$as_me.lineno
87150 # Exit status is that of the last command.
87151 exit
87155 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
87156 *c*,-n*) ECHO_N= ECHO_C='
87157 ' ECHO_T=' ' ;;
87158 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
87159 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
87160 esac
87162 if expr a : '\(a\)' >/dev/null 2>&1; then
87163 as_expr=expr
87164 else
87165 as_expr=false
87168 rm -f conf$$ conf$$.exe conf$$.file
87169 echo >conf$$.file
87170 if ln -s conf$$.file conf$$ 2>/dev/null; then
87171 # We could just check for DJGPP; but this test a) works b) is more generic
87172 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
87173 if test -f conf$$.exe; then
87174 # Don't use ln at all; we don't have any links
87175 as_ln_s='cp -p'
87176 else
87177 as_ln_s='ln -s'
87179 elif ln conf$$.file conf$$ 2>/dev/null; then
87180 as_ln_s=ln
87181 else
87182 as_ln_s='cp -p'
87184 rm -f conf$$ conf$$.exe conf$$.file
87186 if mkdir -p . 2>/dev/null; then
87187 as_mkdir_p=:
87188 else
87189 test -d ./-p && rmdir ./-p
87190 as_mkdir_p=false
87193 as_executable_p="test -f"
87195 # Sed expression to map a string onto a valid CPP name.
87196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
87198 # Sed expression to map a string onto a valid variable name.
87199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
87202 # IFS
87203 # We need space, tab and new line, in precisely that order.
87204 as_nl='
87206 IFS=" $as_nl"
87208 # CDPATH.
87209 $as_unset CDPATH
87211 exec 6>&1
87213 # Open the log real soon, to keep \$[0] and so on meaningful, and to
87214 # report actual input values of CONFIG_FILES etc. instead of their
87215 # values after options handling. Logging --version etc. is OK.
87216 exec 5>>config.log
87218 echo
87219 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
87220 ## Running $as_me. ##
87221 _ASBOX
87222 } >&5
87223 cat >&5 <<_CSEOF
87225 This file was extended by package-unused $as_me version-unused, which was
87226 generated by GNU Autoconf 2.59. Invocation command line was
87228 CONFIG_FILES = $CONFIG_FILES
87229 CONFIG_HEADERS = $CONFIG_HEADERS
87230 CONFIG_LINKS = $CONFIG_LINKS
87231 CONFIG_COMMANDS = $CONFIG_COMMANDS
87232 $ $0 $@
87234 _CSEOF
87235 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
87236 echo >&5
87237 _ACEOF
87239 # Files that config.status was made for.
87240 if test -n "$ac_config_files"; then
87241 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
87244 if test -n "$ac_config_headers"; then
87245 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
87248 if test -n "$ac_config_links"; then
87249 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
87252 if test -n "$ac_config_commands"; then
87253 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
87256 cat >>$CONFIG_STATUS <<\_ACEOF
87258 ac_cs_usage="\
87259 \`$as_me' instantiates files from templates according to the
87260 current configuration.
87262 Usage: $0 [OPTIONS] [FILE]...
87264 -h, --help print this help, then exit
87265 -V, --version print version number, then exit
87266 -q, --quiet do not print progress messages
87267 -d, --debug don't remove temporary files
87268 --recheck update $as_me by reconfiguring in the same conditions
87269 --file=FILE[:TEMPLATE]
87270 instantiate the configuration file FILE
87271 --header=FILE[:TEMPLATE]
87272 instantiate the configuration header FILE
87274 Configuration files:
87275 $config_files
87277 Configuration headers:
87278 $config_headers
87280 Configuration commands:
87281 $config_commands
87283 Report bugs to <bug-autoconf@gnu.org>."
87284 _ACEOF
87286 cat >>$CONFIG_STATUS <<_ACEOF
87287 ac_cs_version="\\
87288 package-unused config.status version-unused
87289 configured by $0, generated by GNU Autoconf 2.59,
87290 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
87292 Copyright (C) 2003 Free Software Foundation, Inc.
87293 This config.status script is free software; the Free Software Foundation
87294 gives unlimited permission to copy, distribute and modify it."
87295 srcdir=$srcdir
87296 INSTALL="$INSTALL"
87297 _ACEOF
87299 cat >>$CONFIG_STATUS <<\_ACEOF
87300 # If no file are specified by the user, then we need to provide default
87301 # value. By we need to know if files were specified by the user.
87302 ac_need_defaults=:
87303 while test $# != 0
87305 case $1 in
87306 --*=*)
87307 ac_option=`expr "x$1" : 'x\([^=]*\)='`
87308 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
87309 ac_shift=:
87312 ac_option=$1
87313 ac_optarg=$2
87314 ac_shift=shift
87316 *) # This is not an option, so the user has probably given explicit
87317 # arguments.
87318 ac_option=$1
87319 ac_need_defaults=false;;
87320 esac
87322 case $ac_option in
87323 # Handling of the options.
87324 _ACEOF
87325 cat >>$CONFIG_STATUS <<\_ACEOF
87326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
87327 ac_cs_recheck=: ;;
87328 --version | --vers* | -V )
87329 echo "$ac_cs_version"; exit 0 ;;
87330 --he | --h)
87331 # Conflict between --help and --header
87332 { { echo "$as_me:$LINENO: error: ambiguous option: $1
87333 Try \`$0 --help' for more information." >&5
87334 echo "$as_me: error: ambiguous option: $1
87335 Try \`$0 --help' for more information." >&2;}
87336 { (exit 1); exit 1; }; };;
87337 --help | --hel | -h )
87338 echo "$ac_cs_usage"; exit 0 ;;
87339 --debug | --d* | -d )
87340 debug=: ;;
87341 --file | --fil | --fi | --f )
87342 $ac_shift
87343 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
87344 ac_need_defaults=false;;
87345 --header | --heade | --head | --hea )
87346 $ac_shift
87347 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
87348 ac_need_defaults=false;;
87349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
87350 | -silent | --silent | --silen | --sile | --sil | --si | --s)
87351 ac_cs_silent=: ;;
87353 # This is an error.
87354 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
87355 Try \`$0 --help' for more information." >&5
87356 echo "$as_me: error: unrecognized option: $1
87357 Try \`$0 --help' for more information." >&2;}
87358 { (exit 1); exit 1; }; } ;;
87360 *) ac_config_targets="$ac_config_targets $1" ;;
87362 esac
87363 shift
87364 done
87366 ac_configure_extra_args=
87368 if $ac_cs_silent; then
87369 exec 6>/dev/null
87370 ac_configure_extra_args="$ac_configure_extra_args --silent"
87373 _ACEOF
87374 cat >>$CONFIG_STATUS <<_ACEOF
87375 if \$ac_cs_recheck; then
87376 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
87377 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
87380 _ACEOF
87382 cat >>$CONFIG_STATUS <<_ACEOF
87384 # INIT-COMMANDS section.
87388 srcdir="$srcdir"
87389 host="$host"
87390 target="$target"
87391 with_multisubdir="$with_multisubdir"
87392 with_multisrctop="$with_multisrctop"
87393 with_target_subdir="$with_target_subdir"
87394 ac_configure_args="${multilib_arg} ${ac_configure_args}"
87395 multi_basedir="$multi_basedir"
87396 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
87397 CC="$CC"
87399 # Variables needed in config.status (file generation) which aren't already
87400 # passed by autoconf.
87401 SUBDIRS="$SUBDIRS"
87404 _ACEOF
87408 cat >>$CONFIG_STATUS <<\_ACEOF
87409 for ac_config_target in $ac_config_targets
87411 case "$ac_config_target" in
87412 # Handling of arguments.
87413 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
87414 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
87415 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
87416 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
87417 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
87418 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
87419 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
87420 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
87421 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
87422 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
87423 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
87424 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
87425 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
87426 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
87427 { (exit 1); exit 1; }; };;
87428 esac
87429 done
87431 # If the user did not use the arguments to specify the items to instantiate,
87432 # then the envvar interface is used. Set only those that are not.
87433 # We use the long form for the default assignment because of an extremely
87434 # bizarre bug on SunOS 4.1.3.
87435 if $ac_need_defaults; then
87436 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
87437 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
87438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
87441 # Have a temporary directory for convenience. Make it in the build tree
87442 # simply because there is no reason to put it here, and in addition,
87443 # creating and moving files from /tmp can sometimes cause problems.
87444 # Create a temporary directory, and hook for its removal unless debugging.
87445 $debug ||
87447 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
87448 trap '{ (exit 1); exit 1; }' 1 2 13 15
87451 # Create a (secure) tmp directory for tmp files.
87454 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
87455 test -n "$tmp" && test -d "$tmp"
87456 } ||
87458 tmp=./confstat$$-$RANDOM
87459 (umask 077 && mkdir $tmp)
87460 } ||
87462 echo "$me: cannot create a temporary directory in ." >&2
87463 { (exit 1); exit 1; }
87466 _ACEOF
87468 cat >>$CONFIG_STATUS <<_ACEOF
87471 # CONFIG_FILES section.
87474 # No need to generate the scripts if there are no CONFIG_FILES.
87475 # This happens for instance when ./config.status config.h
87476 if test -n "\$CONFIG_FILES"; then
87477 # Protect against being on the right side of a sed subst in config.status.
87478 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
87479 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
87480 s,@SHELL@,$SHELL,;t t
87481 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
87482 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
87483 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
87484 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
87485 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
87486 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
87487 s,@exec_prefix@,$exec_prefix,;t t
87488 s,@prefix@,$prefix,;t t
87489 s,@program_transform_name@,$program_transform_name,;t t
87490 s,@bindir@,$bindir,;t t
87491 s,@sbindir@,$sbindir,;t t
87492 s,@libexecdir@,$libexecdir,;t t
87493 s,@datadir@,$datadir,;t t
87494 s,@sysconfdir@,$sysconfdir,;t t
87495 s,@sharedstatedir@,$sharedstatedir,;t t
87496 s,@localstatedir@,$localstatedir,;t t
87497 s,@libdir@,$libdir,;t t
87498 s,@includedir@,$includedir,;t t
87499 s,@oldincludedir@,$oldincludedir,;t t
87500 s,@infodir@,$infodir,;t t
87501 s,@mandir@,$mandir,;t t
87502 s,@build_alias@,$build_alias,;t t
87503 s,@host_alias@,$host_alias,;t t
87504 s,@target_alias@,$target_alias,;t t
87505 s,@DEFS@,$DEFS,;t t
87506 s,@ECHO_C@,$ECHO_C,;t t
87507 s,@ECHO_N@,$ECHO_N,;t t
87508 s,@ECHO_T@,$ECHO_T,;t t
87509 s,@LIBS@,$LIBS,;t t
87510 s,@libtool_VERSION@,$libtool_VERSION,;t t
87511 s,@multi_basedir@,$multi_basedir,;t t
87512 s,@build@,$build,;t t
87513 s,@build_cpu@,$build_cpu,;t t
87514 s,@build_vendor@,$build_vendor,;t t
87515 s,@build_os@,$build_os,;t t
87516 s,@host@,$host,;t t
87517 s,@host_cpu@,$host_cpu,;t t
87518 s,@host_vendor@,$host_vendor,;t t
87519 s,@host_os@,$host_os,;t t
87520 s,@target@,$target,;t t
87521 s,@target_cpu@,$target_cpu,;t t
87522 s,@target_vendor@,$target_vendor,;t t
87523 s,@target_os@,$target_os,;t t
87524 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
87525 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
87526 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
87527 s,@CYGPATH_W@,$CYGPATH_W,;t t
87528 s,@PACKAGE@,$PACKAGE,;t t
87529 s,@VERSION@,$VERSION,;t t
87530 s,@ACLOCAL@,$ACLOCAL,;t t
87531 s,@AUTOCONF@,$AUTOCONF,;t t
87532 s,@AUTOMAKE@,$AUTOMAKE,;t t
87533 s,@AUTOHEADER@,$AUTOHEADER,;t t
87534 s,@MAKEINFO@,$MAKEINFO,;t t
87535 s,@install_sh@,$install_sh,;t t
87536 s,@STRIP@,$STRIP,;t t
87537 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
87538 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
87539 s,@mkdir_p@,$mkdir_p,;t t
87540 s,@AWK@,$AWK,;t t
87541 s,@SET_MAKE@,$SET_MAKE,;t t
87542 s,@am__leading_dot@,$am__leading_dot,;t t
87543 s,@AMTAR@,$AMTAR,;t t
87544 s,@am__tar@,$am__tar,;t t
87545 s,@am__untar@,$am__untar,;t t
87546 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
87547 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
87548 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
87549 s,@CC@,$CC,;t t
87550 s,@ac_ct_CC@,$ac_ct_CC,;t t
87551 s,@EXEEXT@,$EXEEXT,;t t
87552 s,@OBJEXT@,$OBJEXT,;t t
87553 s,@CXX@,$CXX,;t t
87554 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
87555 s,@CFLAGS@,$CFLAGS,;t t
87556 s,@CXXFLAGS@,$CXXFLAGS,;t t
87557 s,@LN_S@,$LN_S,;t t
87558 s,@AS@,$AS,;t t
87559 s,@ac_ct_AS@,$ac_ct_AS,;t t
87560 s,@AR@,$AR,;t t
87561 s,@ac_ct_AR@,$ac_ct_AR,;t t
87562 s,@RANLIB@,$RANLIB,;t t
87563 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
87564 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
87565 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
87566 s,@MAINT@,$MAINT,;t t
87567 s,@LIBTOOL@,$LIBTOOL,;t t
87568 s,@CXXCPP@,$CXXCPP,;t t
87569 s,@CPPFLAGS@,$CPPFLAGS,;t t
87570 s,@enable_shared@,$enable_shared,;t t
87571 s,@enable_static@,$enable_static,;t t
87572 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
87573 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
87574 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
87575 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
87576 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
87577 s,@CSTDIO_H@,$CSTDIO_H,;t t
87578 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
87579 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
87580 s,@CPP@,$CPP,;t t
87581 s,@EGREP@,$EGREP,;t t
87582 s,@check_msgfmt@,$check_msgfmt,;t t
87583 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
87584 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
87585 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
87586 s,@USE_NLS@,$USE_NLS,;t t
87587 s,@CLOCALE_H@,$CLOCALE_H,;t t
87588 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
87589 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
87590 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
87591 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
87592 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
87593 s,@CMONEY_CC@,$CMONEY_CC,;t t
87594 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
87595 s,@CTIME_H@,$CTIME_H,;t t
87596 s,@CTIME_CC@,$CTIME_CC,;t t
87597 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
87598 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
87599 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
87600 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
87601 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
87602 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
87603 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
87604 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
87605 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
87606 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
87607 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
87608 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
87609 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
87610 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
87611 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
87612 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
87613 s,@WERROR@,$WERROR,;t t
87614 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
87615 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
87616 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
87617 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
87618 s,@LIBICONV@,$LIBICONV,;t t
87619 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
87620 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
87621 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
87622 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
87623 s,@baseline_dir@,$baseline_dir,;t t
87624 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
87625 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
87626 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
87627 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
87628 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
87629 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
87630 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
87631 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
87632 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
87633 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
87634 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
87635 s,@gxx_include_dir@,$gxx_include_dir,;t t
87636 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
87637 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
87638 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
87639 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
87640 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
87641 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
87642 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
87643 s,@LIBOBJS@,$LIBOBJS,;t t
87644 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
87645 CEOF
87647 _ACEOF
87649 cat >>$CONFIG_STATUS <<\_ACEOF
87650 # Split the substitutions into bite-sized pieces for seds with
87651 # small command number limits, like on Digital OSF/1 and HP-UX.
87652 ac_max_sed_lines=48
87653 ac_sed_frag=1 # Number of current file.
87654 ac_beg=1 # First line for current file.
87655 ac_end=$ac_max_sed_lines # Line after last line for current file.
87656 ac_more_lines=:
87657 ac_sed_cmds=
87658 while $ac_more_lines; do
87659 if test $ac_beg -gt 1; then
87660 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
87661 else
87662 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
87664 if test ! -s $tmp/subs.frag; then
87665 ac_more_lines=false
87666 else
87667 # The purpose of the label and of the branching condition is to
87668 # speed up the sed processing (if there are no `@' at all, there
87669 # is no need to browse any of the substitutions).
87670 # These are the two extra sed commands mentioned above.
87671 (echo ':t
87672 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
87673 if test -z "$ac_sed_cmds"; then
87674 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
87675 else
87676 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
87678 ac_sed_frag=`expr $ac_sed_frag + 1`
87679 ac_beg=$ac_end
87680 ac_end=`expr $ac_end + $ac_max_sed_lines`
87682 done
87683 if test -z "$ac_sed_cmds"; then
87684 ac_sed_cmds=cat
87686 fi # test -n "$CONFIG_FILES"
87688 _ACEOF
87689 cat >>$CONFIG_STATUS <<\_ACEOF
87690 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
87691 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
87692 case $ac_file in
87693 - | *:- | *:-:* ) # input from stdin
87694 cat >$tmp/stdin
87695 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87696 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87697 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87698 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87699 * ) ac_file_in=$ac_file.in ;;
87700 esac
87702 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
87703 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
87704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
87705 X"$ac_file" : 'X\(//\)[^/]' \| \
87706 X"$ac_file" : 'X\(//\)$' \| \
87707 X"$ac_file" : 'X\(/\)' \| \
87708 . : '\(.\)' 2>/dev/null ||
87709 echo X"$ac_file" |
87710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
87711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
87712 /^X\(\/\/\)$/{ s//\1/; q; }
87713 /^X\(\/\).*/{ s//\1/; q; }
87714 s/.*/./; q'`
87715 { if $as_mkdir_p; then
87716 mkdir -p "$ac_dir"
87717 else
87718 as_dir="$ac_dir"
87719 as_dirs=
87720 while test ! -d "$as_dir"; do
87721 as_dirs="$as_dir $as_dirs"
87722 as_dir=`(dirname "$as_dir") 2>/dev/null ||
87723 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
87724 X"$as_dir" : 'X\(//\)[^/]' \| \
87725 X"$as_dir" : 'X\(//\)$' \| \
87726 X"$as_dir" : 'X\(/\)' \| \
87727 . : '\(.\)' 2>/dev/null ||
87728 echo X"$as_dir" |
87729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
87730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
87731 /^X\(\/\/\)$/{ s//\1/; q; }
87732 /^X\(\/\).*/{ s//\1/; q; }
87733 s/.*/./; q'`
87734 done
87735 test ! -n "$as_dirs" || mkdir $as_dirs
87736 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
87737 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
87738 { (exit 1); exit 1; }; }; }
87740 ac_builddir=.
87742 if test "$ac_dir" != .; then
87743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
87744 # A "../" for each directory in $ac_dir_suffix.
87745 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
87746 else
87747 ac_dir_suffix= ac_top_builddir=
87750 case $srcdir in
87751 .) # No --srcdir option. We are building in place.
87752 ac_srcdir=.
87753 if test -z "$ac_top_builddir"; then
87754 ac_top_srcdir=.
87755 else
87756 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
87757 fi ;;
87758 [\\/]* | ?:[\\/]* ) # Absolute path.
87759 ac_srcdir=$srcdir$ac_dir_suffix;
87760 ac_top_srcdir=$srcdir ;;
87761 *) # Relative path.
87762 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
87763 ac_top_srcdir=$ac_top_builddir$srcdir ;;
87764 esac
87766 # Do not use `cd foo && pwd` to compute absolute paths, because
87767 # the directories may not exist.
87768 case `pwd` in
87769 .) ac_abs_builddir="$ac_dir";;
87771 case "$ac_dir" in
87772 .) ac_abs_builddir=`pwd`;;
87773 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
87774 *) ac_abs_builddir=`pwd`/"$ac_dir";;
87775 esac;;
87776 esac
87777 case $ac_abs_builddir in
87778 .) ac_abs_top_builddir=${ac_top_builddir}.;;
87780 case ${ac_top_builddir}. in
87781 .) ac_abs_top_builddir=$ac_abs_builddir;;
87782 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
87783 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
87784 esac;;
87785 esac
87786 case $ac_abs_builddir in
87787 .) ac_abs_srcdir=$ac_srcdir;;
87789 case $ac_srcdir in
87790 .) ac_abs_srcdir=$ac_abs_builddir;;
87791 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
87792 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
87793 esac;;
87794 esac
87795 case $ac_abs_builddir in
87796 .) ac_abs_top_srcdir=$ac_top_srcdir;;
87798 case $ac_top_srcdir in
87799 .) ac_abs_top_srcdir=$ac_abs_builddir;;
87800 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
87801 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
87802 esac;;
87803 esac
87806 case $INSTALL in
87807 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
87808 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
87809 esac
87811 if test x"$ac_file" != x-; then
87812 { echo "$as_me:$LINENO: creating $ac_file" >&5
87813 echo "$as_me: creating $ac_file" >&6;}
87814 rm -f "$ac_file"
87816 # Let's still pretend it is `configure' which instantiates (i.e., don't
87817 # use $as_me), people would be surprised to read:
87818 # /* config.h. Generated by config.status. */
87819 if test x"$ac_file" = x-; then
87820 configure_input=
87821 else
87822 configure_input="$ac_file. "
87824 configure_input=$configure_input"Generated from `echo $ac_file_in |
87825 sed 's,.*/,,'` by configure."
87827 # First look for the input files in the build tree, otherwise in the
87828 # src tree.
87829 ac_file_inputs=`IFS=:
87830 for f in $ac_file_in; do
87831 case $f in
87832 -) echo $tmp/stdin ;;
87833 [\\/$]*)
87834 # Absolute (can't be DOS-style, as IFS=:)
87835 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87836 echo "$as_me: error: cannot find input file: $f" >&2;}
87837 { (exit 1); exit 1; }; }
87838 echo "$f";;
87839 *) # Relative
87840 if test -f "$f"; then
87841 # Build tree
87842 echo "$f"
87843 elif test -f "$srcdir/$f"; then
87844 # Source tree
87845 echo "$srcdir/$f"
87846 else
87847 # /dev/null tree
87848 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87849 echo "$as_me: error: cannot find input file: $f" >&2;}
87850 { (exit 1); exit 1; }; }
87851 fi;;
87852 esac
87853 done` || { (exit 1); exit 1; }
87854 _ACEOF
87855 cat >>$CONFIG_STATUS <<_ACEOF
87856 sed "$ac_vpsub
87857 $extrasub
87858 _ACEOF
87859 cat >>$CONFIG_STATUS <<\_ACEOF
87861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
87862 s,@configure_input@,$configure_input,;t t
87863 s,@srcdir@,$ac_srcdir,;t t
87864 s,@abs_srcdir@,$ac_abs_srcdir,;t t
87865 s,@top_srcdir@,$ac_top_srcdir,;t t
87866 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
87867 s,@builddir@,$ac_builddir,;t t
87868 s,@abs_builddir@,$ac_abs_builddir,;t t
87869 s,@top_builddir@,$ac_top_builddir,;t t
87870 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
87871 s,@INSTALL@,$ac_INSTALL,;t t
87872 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
87873 rm -f $tmp/stdin
87874 if test x"$ac_file" != x-; then
87875 mv $tmp/out $ac_file
87876 else
87877 cat $tmp/out
87878 rm -f $tmp/out
87881 # Run the commands associated with the file.
87882 case $ac_file in
87883 scripts/check_survey ) chmod +x scripts/check_survey ;;
87884 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
87885 esac
87886 done
87887 _ACEOF
87888 cat >>$CONFIG_STATUS <<\_ACEOF
87891 # CONFIG_HEADER section.
87894 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
87895 # NAME is the cpp macro being defined and VALUE is the value it is being given.
87897 # ac_d sets the value in "#define NAME VALUE" lines.
87898 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
87899 ac_dB='[ ].*$,\1#\2'
87900 ac_dC=' '
87901 ac_dD=',;t'
87902 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
87903 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
87904 ac_uB='$,\1#\2define\3'
87905 ac_uC=' '
87906 ac_uD=',;t'
87908 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
87909 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
87910 case $ac_file in
87911 - | *:- | *:-:* ) # input from stdin
87912 cat >$tmp/stdin
87913 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87914 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87915 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87916 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87917 * ) ac_file_in=$ac_file.in ;;
87918 esac
87920 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
87921 echo "$as_me: creating $ac_file" >&6;}
87923 # First look for the input files in the build tree, otherwise in the
87924 # src tree.
87925 ac_file_inputs=`IFS=:
87926 for f in $ac_file_in; do
87927 case $f in
87928 -) echo $tmp/stdin ;;
87929 [\\/$]*)
87930 # Absolute (can't be DOS-style, as IFS=:)
87931 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87932 echo "$as_me: error: cannot find input file: $f" >&2;}
87933 { (exit 1); exit 1; }; }
87934 # Do quote $f, to prevent DOS paths from being IFS'd.
87935 echo "$f";;
87936 *) # Relative
87937 if test -f "$f"; then
87938 # Build tree
87939 echo "$f"
87940 elif test -f "$srcdir/$f"; then
87941 # Source tree
87942 echo "$srcdir/$f"
87943 else
87944 # /dev/null tree
87945 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87946 echo "$as_me: error: cannot find input file: $f" >&2;}
87947 { (exit 1); exit 1; }; }
87948 fi;;
87949 esac
87950 done` || { (exit 1); exit 1; }
87951 # Remove the trailing spaces.
87952 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
87954 _ACEOF
87956 # Transform confdefs.h into two sed scripts, `conftest.defines' and
87957 # `conftest.undefs', that substitutes the proper values into
87958 # config.h.in to produce config.h. The first handles `#define'
87959 # templates, and the second `#undef' templates.
87960 # And first: Protect against being on the right side of a sed subst in
87961 # config.status. Protect against being in an unquoted here document
87962 # in config.status.
87963 rm -f conftest.defines conftest.undefs
87964 # Using a here document instead of a string reduces the quoting nightmare.
87965 # Putting comments in sed scripts is not portable.
87967 # `end' is used to avoid that the second main sed command (meant for
87968 # 0-ary CPP macros) applies to n-ary macro definitions.
87969 # See the Autoconf documentation for `clear'.
87970 cat >confdef2sed.sed <<\_ACEOF
87971 s/[\\&,]/\\&/g
87972 s,[\\$`],\\&,g
87973 t clear
87974 : clear
87975 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
87976 t end
87977 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
87978 : end
87979 _ACEOF
87980 # If some macros were called several times there might be several times
87981 # the same #defines, which is useless. Nevertheless, we may not want to
87982 # sort them, since we want the *last* AC-DEFINE to be honored.
87983 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
87984 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
87985 rm -f confdef2sed.sed
87987 # This sed command replaces #undef with comments. This is necessary, for
87988 # example, in the case of _POSIX_SOURCE, which is predefined and required
87989 # on some systems where configure will not decide to define it.
87990 cat >>conftest.undefs <<\_ACEOF
87991 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
87992 _ACEOF
87994 # Break up conftest.defines because some shells have a limit on the size
87995 # of here documents, and old seds have small limits too (100 cmds).
87996 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
87997 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
87998 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
87999 echo ' :' >>$CONFIG_STATUS
88000 rm -f conftest.tail
88001 while grep . conftest.defines >/dev/null
88003 # Write a limited-size here document to $tmp/defines.sed.
88004 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
88005 # Speed up: don't consider the non `#define' lines.
88006 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
88007 # Work around the forget-to-reset-the-flag bug.
88008 echo 't clr' >>$CONFIG_STATUS
88009 echo ': clr' >>$CONFIG_STATUS
88010 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
88011 echo 'CEOF
88012 sed -f $tmp/defines.sed $tmp/in >$tmp/out
88013 rm -f $tmp/in
88014 mv $tmp/out $tmp/in
88015 ' >>$CONFIG_STATUS
88016 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
88017 rm -f conftest.defines
88018 mv conftest.tail conftest.defines
88019 done
88020 rm -f conftest.defines
88021 echo ' fi # grep' >>$CONFIG_STATUS
88022 echo >>$CONFIG_STATUS
88024 # Break up conftest.undefs because some shells have a limit on the size
88025 # of here documents, and old seds have small limits too (100 cmds).
88026 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
88027 rm -f conftest.tail
88028 while grep . conftest.undefs >/dev/null
88030 # Write a limited-size here document to $tmp/undefs.sed.
88031 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
88032 # Speed up: don't consider the non `#undef'
88033 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
88034 # Work around the forget-to-reset-the-flag bug.
88035 echo 't clr' >>$CONFIG_STATUS
88036 echo ': clr' >>$CONFIG_STATUS
88037 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
88038 echo 'CEOF
88039 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
88040 rm -f $tmp/in
88041 mv $tmp/out $tmp/in
88042 ' >>$CONFIG_STATUS
88043 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
88044 rm -f conftest.undefs
88045 mv conftest.tail conftest.undefs
88046 done
88047 rm -f conftest.undefs
88049 cat >>$CONFIG_STATUS <<\_ACEOF
88050 # Let's still pretend it is `configure' which instantiates (i.e., don't
88051 # use $as_me), people would be surprised to read:
88052 # /* config.h. Generated by config.status. */
88053 if test x"$ac_file" = x-; then
88054 echo "/* Generated by configure. */" >$tmp/config.h
88055 else
88056 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
88058 cat $tmp/in >>$tmp/config.h
88059 rm -f $tmp/in
88060 if test x"$ac_file" != x-; then
88061 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
88062 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
88063 echo "$as_me: $ac_file is unchanged" >&6;}
88064 else
88065 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
88066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88067 X"$ac_file" : 'X\(//\)[^/]' \| \
88068 X"$ac_file" : 'X\(//\)$' \| \
88069 X"$ac_file" : 'X\(/\)' \| \
88070 . : '\(.\)' 2>/dev/null ||
88071 echo X"$ac_file" |
88072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88074 /^X\(\/\/\)$/{ s//\1/; q; }
88075 /^X\(\/\).*/{ s//\1/; q; }
88076 s/.*/./; q'`
88077 { if $as_mkdir_p; then
88078 mkdir -p "$ac_dir"
88079 else
88080 as_dir="$ac_dir"
88081 as_dirs=
88082 while test ! -d "$as_dir"; do
88083 as_dirs="$as_dir $as_dirs"
88084 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88086 X"$as_dir" : 'X\(//\)[^/]' \| \
88087 X"$as_dir" : 'X\(//\)$' \| \
88088 X"$as_dir" : 'X\(/\)' \| \
88089 . : '\(.\)' 2>/dev/null ||
88090 echo X"$as_dir" |
88091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88092 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88093 /^X\(\/\/\)$/{ s//\1/; q; }
88094 /^X\(\/\).*/{ s//\1/; q; }
88095 s/.*/./; q'`
88096 done
88097 test ! -n "$as_dirs" || mkdir $as_dirs
88098 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88099 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88100 { (exit 1); exit 1; }; }; }
88102 rm -f $ac_file
88103 mv $tmp/config.h $ac_file
88105 else
88106 cat $tmp/config.h
88107 rm -f $tmp/config.h
88109 # Compute $ac_file's index in $config_headers.
88110 _am_stamp_count=1
88111 for _am_header in $config_headers :; do
88112 case $_am_header in
88113 $ac_file | $ac_file:* )
88114 break ;;
88116 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
88117 esac
88118 done
88119 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
88120 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88121 X$ac_file : 'X\(//\)[^/]' \| \
88122 X$ac_file : 'X\(//\)$' \| \
88123 X$ac_file : 'X\(/\)' \| \
88124 . : '\(.\)' 2>/dev/null ||
88125 echo X$ac_file |
88126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88128 /^X\(\/\/\)$/{ s//\1/; q; }
88129 /^X\(\/\).*/{ s//\1/; q; }
88130 s/.*/./; q'`/stamp-h$_am_stamp_count
88131 done
88132 _ACEOF
88133 cat >>$CONFIG_STATUS <<\_ACEOF
88136 # CONFIG_COMMANDS section.
88138 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
88139 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
88140 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
88141 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
88142 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88143 X"$ac_dest" : 'X\(//\)[^/]' \| \
88144 X"$ac_dest" : 'X\(//\)$' \| \
88145 X"$ac_dest" : 'X\(/\)' \| \
88146 . : '\(.\)' 2>/dev/null ||
88147 echo X"$ac_dest" |
88148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88150 /^X\(\/\/\)$/{ s//\1/; q; }
88151 /^X\(\/\).*/{ s//\1/; q; }
88152 s/.*/./; q'`
88153 { if $as_mkdir_p; then
88154 mkdir -p "$ac_dir"
88155 else
88156 as_dir="$ac_dir"
88157 as_dirs=
88158 while test ! -d "$as_dir"; do
88159 as_dirs="$as_dir $as_dirs"
88160 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88162 X"$as_dir" : 'X\(//\)[^/]' \| \
88163 X"$as_dir" : 'X\(//\)$' \| \
88164 X"$as_dir" : 'X\(/\)' \| \
88165 . : '\(.\)' 2>/dev/null ||
88166 echo X"$as_dir" |
88167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88169 /^X\(\/\/\)$/{ s//\1/; q; }
88170 /^X\(\/\).*/{ s//\1/; q; }
88171 s/.*/./; q'`
88172 done
88173 test ! -n "$as_dirs" || mkdir $as_dirs
88174 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88175 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88176 { (exit 1); exit 1; }; }; }
88178 ac_builddir=.
88180 if test "$ac_dir" != .; then
88181 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
88182 # A "../" for each directory in $ac_dir_suffix.
88183 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
88184 else
88185 ac_dir_suffix= ac_top_builddir=
88188 case $srcdir in
88189 .) # No --srcdir option. We are building in place.
88190 ac_srcdir=.
88191 if test -z "$ac_top_builddir"; then
88192 ac_top_srcdir=.
88193 else
88194 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
88195 fi ;;
88196 [\\/]* | ?:[\\/]* ) # Absolute path.
88197 ac_srcdir=$srcdir$ac_dir_suffix;
88198 ac_top_srcdir=$srcdir ;;
88199 *) # Relative path.
88200 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
88201 ac_top_srcdir=$ac_top_builddir$srcdir ;;
88202 esac
88204 # Do not use `cd foo && pwd` to compute absolute paths, because
88205 # the directories may not exist.
88206 case `pwd` in
88207 .) ac_abs_builddir="$ac_dir";;
88209 case "$ac_dir" in
88210 .) ac_abs_builddir=`pwd`;;
88211 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
88212 *) ac_abs_builddir=`pwd`/"$ac_dir";;
88213 esac;;
88214 esac
88215 case $ac_abs_builddir in
88216 .) ac_abs_top_builddir=${ac_top_builddir}.;;
88218 case ${ac_top_builddir}. in
88219 .) ac_abs_top_builddir=$ac_abs_builddir;;
88220 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
88221 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
88222 esac;;
88223 esac
88224 case $ac_abs_builddir in
88225 .) ac_abs_srcdir=$ac_srcdir;;
88227 case $ac_srcdir in
88228 .) ac_abs_srcdir=$ac_abs_builddir;;
88229 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
88230 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
88231 esac;;
88232 esac
88233 case $ac_abs_builddir in
88234 .) ac_abs_top_srcdir=$ac_top_srcdir;;
88236 case $ac_top_srcdir in
88237 .) ac_abs_top_srcdir=$ac_abs_builddir;;
88238 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
88239 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
88240 esac;;
88241 esac
88244 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
88245 echo "$as_me: executing $ac_dest commands" >&6;}
88246 case $ac_dest in
88247 default-1 )
88248 # Only add multilib support code if we just rebuilt the top-level
88249 # Makefile.
88250 case " $CONFIG_FILES " in
88251 *" Makefile "*)
88252 ac_file=Makefile . ${multi_basedir}/config-ml.in
88254 esac ;;
88255 default ) if test -n "$CONFIG_FILES"; then
88256 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
88257 # that multilib installs will end up installed in the correct place.
88258 # The testsuite needs it for multilib-aware ABI baseline files.
88259 # To work around this not being passed down from config-ml.in ->
88260 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
88261 # append it here. Only modify Makefiles that have just been created.
88263 # Also, get rid of this simulated-VPATH thing that automake does.
88264 cat > vpsed << \_EOF
88265 s!`test -f '$<' || echo '$(srcdir)/'`!!
88266 _EOF
88267 for i in $SUBDIRS; do
88268 case $CONFIG_FILES in
88269 *${i}/Makefile*)
88270 #echo "Adding MULTISUBDIR to $i/Makefile"
88271 sed -f vpsed $i/Makefile > tmp
88272 grep '^MULTISUBDIR =' Makefile >> tmp
88273 mv tmp $i/Makefile
88275 esac
88276 done
88277 rm vpsed
88279 (cd include && ${MAKE-make})
88281 esac
88282 done
88283 _ACEOF
88285 cat >>$CONFIG_STATUS <<\_ACEOF
88287 { (exit 0); exit 0; }
88288 _ACEOF
88289 chmod +x $CONFIG_STATUS
88290 ac_clean_files=$ac_clean_files_save
88293 # configure is writing to config.log, and then calls config.status.
88294 # config.status does its own redirection, appending to config.log.
88295 # Unfortunately, on DOS this fails, as config.log is still kept open
88296 # by configure, so config.status won't be able to write to it; its
88297 # output is simply discarded. So we exec the FD to /dev/null,
88298 # effectively closing config.log, so it can be properly (re)opened and
88299 # appended to by config.status. When coming back to configure, we
88300 # need to make the FD available again.
88301 if test "$no_create" != yes; then
88302 ac_cs_success=:
88303 ac_config_status_args=
88304 test "$silent" = yes &&
88305 ac_config_status_args="$ac_config_status_args --quiet"
88306 exec 5>/dev/null
88307 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
88308 exec 5>>config.log
88309 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
88310 # would make configure fail if this is the last instruction.
88311 $ac_cs_success || { (exit 1); exit 1; }