2005-06-28 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / libstdc++-v3 / configure
blobb679737757c2795267d3b78164e1f7b22b8deb46
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 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:6: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 -'
1969 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1970 # up critical shell variables.
1972 # Keep these sync'd with the list in Makefile.am. The first provides an
1973 # expandable list at autoconf time; the second provides an expandable list
1974 # (i.e., shell variable) at configure time.
1976 SUBDIRS='include libmath libsupc++ src po testsuite'
1978 # These need to be absolute paths, yet at the same time need to
1979 # canonicalize only relative paths, because then amd will not unmount
1980 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1981 glibcxx_builddir=`${PWDCMD-pwd}`
1982 case $srcdir in
1983 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1984 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1985 esac
1986 toplevel_srcdir=${glibcxx_srcdir}/..
1991 # We use these options to decide which functions to include. They are
1992 # set from the top level.
1994 # Check whether --with-target-subdir or --without-target-subdir was given.
1995 if test "${with_target_subdir+set}" = set; then
1996 withval="$with_target_subdir"
2001 # Check whether --with-cross-host or --without-cross-host was given.
2002 if test "${with_cross_host+set}" = set; then
2003 withval="$with_cross_host"
2008 # Check whether --with-newlib or --without-newlib was given.
2009 if test "${with_newlib+set}" = set; then
2010 withval="$with_newlib"
2014 # We're almost certainly being configured before anything else which uses
2015 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2016 # we not cache the value of CXX that we "discover" here, because it's set
2017 # to something unique for us and libjava. Other target libraries need to
2018 # find CXX for themselves. We yank the rug out from under the normal AC_*
2019 # process by sneakily renaming the cache variable. This also lets us debug
2020 # the value of "our" CXX in postmortems.
2022 # We must also force CXX to /not/ be a precious variable, otherwise the
2023 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2024 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2025 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2026 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2028 # -fno-builtin must be present here so that a non-conflicting form of
2029 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2034 save_CXXFLAGS="$CXXFLAGS"
2035 CXXFLAGS="$CXXFLAGS -fno-builtin"
2036 ac_ext=c
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 else
2049 if test -n "$CC"; then
2050 ac_cv_prog_CC="$CC" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 break 2
2063 done
2064 done
2068 CC=$ac_cv_prog_CC
2069 if test -n "$CC"; then
2070 echo "$as_me:$LINENO: result: $CC" >&5
2071 echo "${ECHO_T}$CC" >&6
2072 else
2073 echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2078 if test -z "$ac_cv_prog_CC"; then
2079 ac_ct_CC=$CC
2080 # Extract the first word of "gcc", so it can be a program name with args.
2081 set dummy gcc; ac_word=$2
2082 echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 else
2087 if test -n "$ac_ct_CC"; then
2088 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2093 IFS=$as_save_IFS
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097 ac_cv_prog_ac_ct_CC="gcc"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 break 2
2101 done
2102 done
2106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109 echo "${ECHO_T}$ac_ct_CC" >&6
2110 else
2111 echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6
2115 CC=$ac_ct_CC
2116 else
2117 CC="$ac_cv_prog_CC"
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126 if test "${ac_cv_prog_CC+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="${ac_tool_prefix}cc"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 break 2
2143 done
2144 done
2148 CC=$ac_cv_prog_CC
2149 if test -n "$CC"; then
2150 echo "$as_me:$LINENO: result: $CC" >&5
2151 echo "${ECHO_T}$CC" >&6
2152 else
2153 echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2158 if test -z "$ac_cv_prog_CC"; then
2159 ac_ct_CC=$CC
2160 # Extract the first word of "cc", so it can be a program name with args.
2161 set dummy cc; ac_word=$2
2162 echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167 if test -n "$ac_ct_CC"; then
2168 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169 else
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2173 IFS=$as_save_IFS
2174 test -z "$as_dir" && as_dir=.
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 ac_cv_prog_ac_ct_CC="cc"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 break 2
2181 done
2182 done
2186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187 if test -n "$ac_ct_CC"; then
2188 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2189 echo "${ECHO_T}$ac_ct_CC" >&6
2190 else
2191 echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6
2195 CC=$ac_ct_CC
2196 else
2197 CC="$ac_cv_prog_CC"
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected=yes
2222 continue
2224 ac_cv_prog_CC="cc"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2228 done
2229 done
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy $ac_cv_prog_CC
2234 shift
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2239 shift
2240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247 echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2249 else
2250 echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2255 if test -z "$CC"; then
2256 if test -n "$ac_tool_prefix"; then
2257 for ac_prog in cl
2259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_CC+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 else
2266 if test -n "$CC"; then
2267 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 else
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 for as_dir in $PATH
2272 IFS=$as_save_IFS
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 break 2
2280 done
2281 done
2285 CC=$ac_cv_prog_CC
2286 if test -n "$CC"; then
2287 echo "$as_me:$LINENO: result: $CC" >&5
2288 echo "${ECHO_T}$CC" >&6
2289 else
2290 echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6
2294 test -n "$CC" && break
2295 done
2297 if test -z "$CC"; then
2298 ac_ct_CC=$CC
2299 for ac_prog in cl
2301 # Extract the first word of "$ac_prog", so it can be a program name with args.
2302 set dummy $ac_prog; ac_word=$2
2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308 if test -n "$ac_ct_CC"; then
2309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 ac_cv_prog_ac_ct_CC="$ac_prog"
2319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 break 2
2322 done
2323 done
2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 if test -n "$ac_ct_CC"; then
2329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330 echo "${ECHO_T}$ac_ct_CC" >&6
2331 else
2332 echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6
2336 test -n "$ac_ct_CC" && break
2337 done
2339 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO:" \
2353 "checking for C compiler version" >&5
2354 ac_compiler=`set X $ac_compile; echo $2`
2355 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2356 (eval $ac_compiler --version </dev/null >&5) 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2361 (eval $ac_compiler -v </dev/null >&5) 2>&5
2362 ac_status=$?
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2366 (eval $ac_compiler -V </dev/null >&5) 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2379 main ()
2383 return 0;
2385 _ACEOF
2386 # FIXME: Cleanup?
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388 (eval $ac_link) 2>&5
2389 ac_status=$?
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; then
2392 gcc_no_link=no
2393 else
2394 gcc_no_link=yes
2397 if test x$gcc_no_link = xyes; then
2398 # Setting cross_compile will disable run tests; it will
2399 # also disable AC_CHECK_FILE but that's generally
2400 # correct if we can't link.
2401 cross_compiling=yes
2402 EXEEXT=
2403 else
2404 cat >conftest.$ac_ext <<_ACEOF
2405 /* confdefs.h. */
2406 _ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2412 main ()
2416 return 0;
2418 _ACEOF
2419 ac_clean_files_save=$ac_clean_files
2420 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2423 # of exeext.
2424 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2425 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2426 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2427 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2428 (eval $ac_link_default) 2>&5
2429 ac_status=$?
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; then
2432 # Find the output, starting from the most likely. This scheme is
2433 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2434 # resort.
2436 # Be careful to initialize this variable, since it used to be cached.
2437 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2438 ac_cv_exeext=
2439 # b.out is created by i960 compilers.
2440 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2442 test -f "$ac_file" || continue
2443 case $ac_file in
2444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2446 conftest.$ac_ext )
2447 # This is the source file.
2449 [ab].out )
2450 # We found the default executable, but exeext='' is most
2451 # certainly right.
2452 break;;
2453 *.* )
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455 # FIXME: I believe we export ac_cv_exeext for Libtool,
2456 # but it would be cool to find out if it's true. Does anybody
2457 # maintain Libtool? --akim.
2458 export ac_cv_exeext
2459 break;;
2461 break;;
2462 esac
2463 done
2464 else
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2468 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&2;}
2472 { (exit 77); exit 77; }; }
2475 ac_exeext=$ac_cv_exeext
2476 echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6
2479 # Check the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2483 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484 # If not cross compiling, check that we can run a simple program.
2485 if test "$cross_compiling" != yes; then
2486 if { ac_try='./$ac_file'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 (eval $ac_try) 2>&5
2489 ac_status=$?
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2492 cross_compiling=no
2493 else
2494 if test "$cross_compiling" = maybe; then
2495 cross_compiling=yes
2496 else
2497 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot run C compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details." >&2;}
2503 { (exit 1); exit 1; }; }
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2510 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511 ac_clean_files=$ac_clean_files_save
2512 # Check the compiler produces executables we can run. If not, either
2513 # the compiler is broken, or we cross compile.
2514 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2515 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2516 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2517 echo "${ECHO_T}$cross_compiling" >&6
2519 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2520 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2522 (eval $ac_link) 2>&5
2523 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; then
2526 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2527 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2528 # work properly (i.e., refer to `conftest.exe'), while it won't with
2529 # `rm'.
2530 for ac_file in conftest.exe conftest conftest.*; do
2531 test -f "$ac_file" || continue
2532 case $ac_file in
2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2534 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535 export ac_cv_exeext
2536 break;;
2537 * ) break;;
2538 esac
2539 done
2540 else
2541 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545 { (exit 1); exit 1; }; }
2548 rm -f conftest$ac_cv_exeext
2549 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6
2552 rm -f conftest.$ac_ext
2553 EXEEXT=$ac_cv_exeext
2554 ac_exeext=$EXEEXT
2556 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2558 if test "${ac_cv_objext+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 cat >conftest.$ac_ext <<_ACEOF
2562 /* confdefs.h. */
2563 _ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2569 main ()
2573 return 0;
2575 _ACEOF
2576 rm -f conftest.o conftest.obj
2577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578 (eval $ac_compile) 2>&5
2579 ac_status=$?
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2583 case $ac_file in
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2586 break;;
2587 esac
2588 done
2589 else
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&5
2595 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details." >&2;}
2597 { (exit 1); exit 1; }; }
2600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2602 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2603 echo "${ECHO_T}$ac_cv_objext" >&6
2604 OBJEXT=$ac_cv_objext
2605 ac_objext=$OBJEXT
2606 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2607 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 else
2611 cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h. */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2619 main ()
2621 #ifndef __GNUC__
2622 choke me
2623 #endif
2626 return 0;
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>conftest.er1
2632 ac_status=$?
2633 grep -v '^ *+' conftest.er1 >conftest.err
2634 rm -f conftest.er1
2635 cat conftest.err >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try='test -z "$ac_c_werror_flag"
2639 || test ! -s conftest.err'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 (eval $ac_try) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; } &&
2645 { ac_try='test -s conftest.$ac_objext'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 (eval $ac_try) 2>&5
2648 ac_status=$?
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2651 ac_compiler_gnu=yes
2652 else
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2656 ac_compiler_gnu=no
2658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2662 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2663 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2664 GCC=`test $ac_compiler_gnu = yes && echo yes`
2665 ac_test_CFLAGS=${CFLAGS+set}
2666 ac_save_CFLAGS=$CFLAGS
2667 CFLAGS="-g"
2668 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2669 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2670 if test "${ac_cv_prog_cc_g+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 else
2673 cat >conftest.$ac_ext <<_ACEOF
2674 /* confdefs.h. */
2675 _ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2681 main ()
2685 return 0;
2687 _ACEOF
2688 rm -f conftest.$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690 (eval $ac_compile) 2>conftest.er1
2691 ac_status=$?
2692 grep -v '^ *+' conftest.er1 >conftest.err
2693 rm -f conftest.er1
2694 cat conftest.err >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); } &&
2697 { ac_try='test -z "$ac_c_werror_flag"
2698 || test ! -s conftest.err'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 (eval $ac_try) 2>&5
2701 ac_status=$?
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; } &&
2704 { ac_try='test -s conftest.$ac_objext'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 (eval $ac_try) 2>&5
2707 ac_status=$?
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; }; then
2710 ac_cv_prog_cc_g=yes
2711 else
2712 echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 ac_cv_prog_cc_g=no
2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2719 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2720 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2721 if test "$ac_test_CFLAGS" = set; then
2722 CFLAGS=$ac_save_CFLAGS
2723 elif test $ac_cv_prog_cc_g = yes; then
2724 if test "$GCC" = yes; then
2725 CFLAGS="-g -O2"
2726 else
2727 CFLAGS="-g"
2729 else
2730 if test "$GCC" = yes; then
2731 CFLAGS="-O2"
2732 else
2733 CFLAGS=
2736 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2737 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 else
2741 ac_cv_prog_cc_stdc=no
2742 ac_save_CC=$CC
2743 cat >conftest.$ac_ext <<_ACEOF
2744 /* confdefs.h. */
2745 _ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2749 #include <stdarg.h>
2750 #include <stdio.h>
2751 #include <sys/types.h>
2752 #include <sys/stat.h>
2753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2754 struct buf { int x; };
2755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2756 static char *e (p, i)
2757 char **p;
2758 int i;
2760 return p[i];
2762 static char *f (char * (*g) (char **, int), char **p, ...)
2764 char *s;
2765 va_list v;
2766 va_start (v,p);
2767 s = g (p, va_arg (v,int));
2768 va_end (v);
2769 return s;
2772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2773 function prototypes and stuff, but not '\xHH' hex character constants.
2774 These don't provoke an error unfortunately, instead are silently treated
2775 as 'x'. The following induces an error, until -std1 is added to get
2776 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2777 array size at least. It's necessary to write '\x00'==0 to get something
2778 that's true only with -std1. */
2779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2781 int test (int i, double x);
2782 struct s1 {int (*f) (int a);};
2783 struct s2 {int (*f) (double a);};
2784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2785 int argc;
2786 char **argv;
2788 main ()
2790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2792 return 0;
2794 _ACEOF
2795 # Don't try gcc -ansi; that turns off useful extensions and
2796 # breaks some systems' header files.
2797 # AIX -qlanglvl=ansi
2798 # Ultrix and OSF/1 -std1
2799 # HP-UX 10.20 and later -Ae
2800 # HP-UX older versions -Aa -D_HPUX_SOURCE
2801 # SVR4 -Xc -D__EXTENSIONS__
2802 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2804 CC="$ac_save_CC $ac_arg"
2805 rm -f conftest.$ac_objext
2806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807 (eval $ac_compile) 2>conftest.er1
2808 ac_status=$?
2809 grep -v '^ *+' conftest.er1 >conftest.err
2810 rm -f conftest.er1
2811 cat conftest.err >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } &&
2814 { ac_try='test -z "$ac_c_werror_flag"
2815 || test ! -s conftest.err'
2816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 (eval $ac_try) 2>&5
2818 ac_status=$?
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; } &&
2821 { ac_try='test -s conftest.$ac_objext'
2822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 (eval $ac_try) 2>&5
2824 ac_status=$?
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; }; then
2827 ac_cv_prog_cc_stdc=$ac_arg
2828 break
2829 else
2830 echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2834 rm -f conftest.err conftest.$ac_objext
2835 done
2836 rm -f conftest.$ac_ext conftest.$ac_objext
2837 CC=$ac_save_CC
2841 case "x$ac_cv_prog_cc_stdc" in
2842 x|xno)
2843 echo "$as_me:$LINENO: result: none needed" >&5
2844 echo "${ECHO_T}none needed" >&6 ;;
2846 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2847 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2848 CC="$CC $ac_cv_prog_cc_stdc" ;;
2849 esac
2851 # Some people use a C++ compiler to compile C. Since we use `exit',
2852 # in C++ we need to declare it. In case someone uses the same compiler
2853 # for both compiling C and C++ we need to have the C++ compiler decide
2854 # the declaration of exit, since it's the most demanding environment.
2855 cat >conftest.$ac_ext <<_ACEOF
2856 #ifndef __cplusplus
2857 choke me
2858 #endif
2859 _ACEOF
2860 rm -f conftest.$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862 (eval $ac_compile) 2>conftest.er1
2863 ac_status=$?
2864 grep -v '^ *+' conftest.er1 >conftest.err
2865 rm -f conftest.er1
2866 cat conftest.err >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); } &&
2869 { ac_try='test -z "$ac_c_werror_flag"
2870 || test ! -s conftest.err'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 (eval $ac_try) 2>&5
2873 ac_status=$?
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; } &&
2876 { ac_try='test -s conftest.$ac_objext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 (eval $ac_try) 2>&5
2879 ac_status=$?
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2882 for ac_declaration in \
2883 '' \
2884 'extern "C" void std::exit (int) throw (); using std::exit;' \
2885 'extern "C" void std::exit (int); using std::exit;' \
2886 'extern "C" void exit (int) throw ();' \
2887 'extern "C" void exit (int);' \
2888 'void exit (int);'
2890 cat >conftest.$ac_ext <<_ACEOF
2891 /* confdefs.h. */
2892 _ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2896 $ac_declaration
2897 #include <stdlib.h>
2899 main ()
2901 exit (42);
2903 return 0;
2905 _ACEOF
2906 rm -f conftest.$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908 (eval $ac_compile) 2>conftest.er1
2909 ac_status=$?
2910 grep -v '^ *+' conftest.er1 >conftest.err
2911 rm -f conftest.er1
2912 cat conftest.err >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try='test -z "$ac_c_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5
2919 ac_status=$?
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5
2925 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2929 else
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 continue
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 cat >conftest.$ac_ext <<_ACEOF
2937 /* confdefs.h. */
2938 _ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2942 $ac_declaration
2944 main ()
2946 exit (42);
2948 return 0;
2950 _ACEOF
2951 rm -f conftest.$ac_objext
2952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2953 (eval $ac_compile) 2>conftest.er1
2954 ac_status=$?
2955 grep -v '^ *+' conftest.er1 >conftest.err
2956 rm -f conftest.er1
2957 cat conftest.err >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); } &&
2960 { ac_try='test -z "$ac_c_werror_flag"
2961 || test ! -s conftest.err'
2962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 (eval $ac_try) 2>&5
2964 ac_status=$?
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; } &&
2967 { ac_try='test -s conftest.$ac_objext'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; }; then
2973 break
2974 else
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980 done
2981 rm -f conftest*
2982 if test -n "$ac_declaration"; then
2983 echo '#ifdef __cplusplus' >>confdefs.h
2984 echo $ac_declaration >>confdefs.h
2985 echo '#endif' >>confdefs.h
2988 else
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_ext=c
2995 ac_cpp='$CPP $CPPFLAGS'
2996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 ac_ext=cc
3001 ac_cpp='$CXXCPP $CPPFLAGS'
3002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3005 if test -n "$ac_tool_prefix"; then
3006 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 else
3015 if test -n "$CXX"; then
3016 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3021 IFS=$as_save_IFS
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 break 2
3029 done
3030 done
3034 CXX=$glibcxx_cv_prog_CXX
3035 if test -n "$CXX"; then
3036 echo "$as_me:$LINENO: result: $CXX" >&5
3037 echo "${ECHO_T}$CXX" >&6
3038 else
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3043 test -n "$CXX" && break
3044 done
3046 if test -z "$CXX"; then
3047 ac_ct_CXX=$CXX
3048 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3050 # Extract the first word of "$ac_prog", so it can be a program name with args.
3051 set dummy $ac_prog; ac_word=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 if test -n "$ac_ct_CXX"; then
3058 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3059 else
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3063 IFS=$as_save_IFS
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_ac_ct_CXX="$ac_prog"
3068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 break 2
3071 done
3072 done
3076 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3077 if test -n "$ac_ct_CXX"; then
3078 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3079 echo "${ECHO_T}$ac_ct_CXX" >&6
3080 else
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3085 test -n "$ac_ct_CXX" && break
3086 done
3087 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3089 CXX=$ac_ct_CXX
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO:" \
3095 "checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3098 (eval $ac_compiler --version </dev/null >&5) 2>&5
3099 ac_status=$?
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }
3102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3103 (eval $ac_compiler -v </dev/null >&5) 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3108 (eval $ac_compiler -V </dev/null >&5) 2>&5
3109 ac_status=$?
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }
3113 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118 cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h. */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3126 main ()
3128 #ifndef __GNUC__
3129 choke me
3130 #endif
3133 return 0;
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -z "$ac_cxx_werror_flag"
3146 || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 (eval $ac_try) 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 ac_compiler_gnu=yes
3159 else
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 ac_compiler_gnu=no
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3169 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3170 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3171 GXX=`test $ac_compiler_gnu = yes && echo yes`
3172 ac_test_CXXFLAGS=${CXXFLAGS+set}
3173 ac_save_CXXFLAGS=$CXXFLAGS
3174 CXXFLAGS="-g"
3175 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3176 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3177 if test "${ac_cv_prog_cxx_g+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 else
3180 cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h. */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3188 main ()
3192 return 0;
3194 _ACEOF
3195 rm -f conftest.$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197 (eval $ac_compile) 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } &&
3204 { ac_try='test -z "$ac_cxx_werror_flag"
3205 || test ! -s conftest.err'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 (eval $ac_try) 2>&5
3208 ac_status=$?
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; } &&
3211 { ac_try='test -s conftest.$ac_objext'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 (eval $ac_try) 2>&5
3214 ac_status=$?
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3217 ac_cv_prog_cxx_g=yes
3218 else
3219 echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3222 ac_cv_prog_cxx_g=no
3224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3226 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3227 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3228 if test "$ac_test_CXXFLAGS" = set; then
3229 CXXFLAGS=$ac_save_CXXFLAGS
3230 elif test $ac_cv_prog_cxx_g = yes; then
3231 if test "$GXX" = yes; then
3232 CXXFLAGS="-g -O2"
3233 else
3234 CXXFLAGS="-g"
3236 else
3237 if test "$GXX" = yes; then
3238 CXXFLAGS="-O2"
3239 else
3240 CXXFLAGS=
3243 for ac_declaration in \
3244 '' \
3245 'extern "C" void std::exit (int) throw (); using std::exit;' \
3246 'extern "C" void std::exit (int); using std::exit;' \
3247 'extern "C" void exit (int) throw ();' \
3248 'extern "C" void exit (int);' \
3249 'void exit (int);'
3251 cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h. */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3257 $ac_declaration
3258 #include <stdlib.h>
3260 main ()
3262 exit (42);
3264 return 0;
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269 (eval $ac_compile) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest.$ac_objext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3290 else
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 continue
3296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297 cat >conftest.$ac_ext <<_ACEOF
3298 /* confdefs.h. */
3299 _ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3303 $ac_declaration
3305 main ()
3307 exit (42);
3309 return 0;
3311 _ACEOF
3312 rm -f conftest.$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>conftest.er1
3315 ac_status=$?
3316 grep -v '^ *+' conftest.er1 >conftest.err
3317 rm -f conftest.er1
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try='test -z "$ac_cxx_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try='test -s conftest.$ac_objext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330 (eval $ac_try) 2>&5
3331 ac_status=$?
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 break
3335 else
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3341 done
3342 rm -f conftest*
3343 if test -n "$ac_declaration"; then
3344 echo '#ifdef __cplusplus' >>confdefs.h
3345 echo $ac_declaration >>confdefs.h
3346 echo '#endif' >>confdefs.h
3349 ac_ext=c
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3355 CXXFLAGS="$save_CXXFLAGS"
3360 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3361 # available). Uncomment the next line to force a particular method.
3362 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3363 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3364 LN_S=$as_ln_s
3365 if test "$LN_S" = "ln -s"; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3370 echo "${ECHO_T}no, using $LN_S" >&6
3373 #LN_S='cp -p'
3375 if test -n "$ac_tool_prefix"; then
3376 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}as; ac_word=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_AS+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 else
3383 if test -n "$AS"; then
3384 ac_cv_prog_AS="$AS" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_AS="${ac_tool_prefix}as"
3394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 break 2
3397 done
3398 done
3402 AS=$ac_cv_prog_AS
3403 if test -n "$AS"; then
3404 echo "$as_me:$LINENO: result: $AS" >&5
3405 echo "${ECHO_T}$AS" >&6
3406 else
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3412 if test -z "$ac_cv_prog_AS"; then
3413 ac_ct_AS=$AS
3414 # Extract the first word of "as", so it can be a program name with args.
3415 set dummy as; ac_word=$2
3416 echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3418 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 else
3421 if test -n "$ac_ct_AS"; then
3422 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3427 IFS=$as_save_IFS
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_ac_ct_AS="as"
3432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 break 2
3435 done
3436 done
3440 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3441 if test -n "$ac_ct_AS"; then
3442 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3443 echo "${ECHO_T}$ac_ct_AS" >&6
3444 else
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3449 AS=$ac_ct_AS
3450 else
3451 AS="$ac_cv_prog_AS"
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3459 if test "${ac_cv_prog_AR+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462 if test -n "$AR"; then
3463 ac_cv_prog_AR="$AR" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_AR="${ac_tool_prefix}ar"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3476 done
3477 done
3481 AR=$ac_cv_prog_AR
3482 if test -n "$AR"; then
3483 echo "$as_me:$LINENO: result: $AR" >&5
3484 echo "${ECHO_T}$AR" >&6
3485 else
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3491 if test -z "$ac_cv_prog_AR"; then
3492 ac_ct_AR=$AR
3493 # Extract the first word of "ar", so it can be a program name with args.
3494 set dummy ar; ac_word=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500 if test -n "$ac_ct_AR"; then
3501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_ac_ct_AR="ar"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3514 done
3515 done
3519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3520 if test -n "$ac_ct_AR"; then
3521 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3522 echo "${ECHO_T}$ac_ct_AR" >&6
3523 else
3524 echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3528 AR=$ac_ct_AR
3529 else
3530 AR="$ac_cv_prog_AR"
3533 if test -n "$ac_tool_prefix"; then
3534 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_RANLIB+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 else
3541 if test -n "$RANLIB"; then
3542 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3547 IFS=$as_save_IFS
3548 test -z "$as_dir" && as_dir=.
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 break 2
3555 done
3556 done
3560 RANLIB=$ac_cv_prog_RANLIB
3561 if test -n "$RANLIB"; then
3562 echo "$as_me:$LINENO: result: $RANLIB" >&5
3563 echo "${ECHO_T}$RANLIB" >&6
3564 else
3565 echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3570 if test -z "$ac_cv_prog_RANLIB"; then
3571 ac_ct_RANLIB=$RANLIB
3572 # Extract the first word of "ranlib", so it can be a program name with args.
3573 set dummy ranlib; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 else
3579 if test -n "$ac_ct_RANLIB"; then
3580 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3585 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_ac_ct_RANLIB="ranlib"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 break 2
3593 done
3594 done
3596 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3600 if test -n "$ac_ct_RANLIB"; then
3601 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3602 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3603 else
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3608 RANLIB=$ac_ct_RANLIB
3609 else
3610 RANLIB="$ac_cv_prog_RANLIB"
3614 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3615 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3616 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3617 if test "${enable_maintainer_mode+set}" = set; then
3618 enableval="$enable_maintainer_mode"
3619 USE_MAINTAINER_MODE=$enableval
3620 else
3621 USE_MAINTAINER_MODE=no
3623 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3624 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3627 if test $USE_MAINTAINER_MODE = yes; then
3628 MAINTAINER_MODE_TRUE=
3629 MAINTAINER_MODE_FALSE='#'
3630 else
3631 MAINTAINER_MODE_TRUE='#'
3632 MAINTAINER_MODE_FALSE=
3635 MAINT=$MAINTAINER_MODE_TRUE
3639 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3640 # which are themselves conditionally expanded.
3641 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3642 ## other macros from doing the same. This should be automated.) -pme
3643 need_libmath=no
3645 # Find platform-specific directories containing configuration info.
3646 # Also possibly modify flags used elsewhere, as needed by the platform.
3648 . $glibcxx_srcdir/configure.host
3649 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3650 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3651 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3652 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3657 # Check whether --enable-shared or --disable-shared was given.
3658 if test "${enable_shared+set}" = set; then
3659 enableval="$enable_shared"
3660 p=${PACKAGE-default}
3661 case $enableval in
3662 yes) enable_shared=yes ;;
3663 no) enable_shared=no ;;
3665 enable_shared=no
3666 # Look at the argument we got. We use all the common list separators.
3667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3668 for pkg in $enableval; do
3669 if test "X$pkg" = "X$p"; then
3670 enable_shared=yes
3672 done
3673 IFS="$ac_save_ifs"
3675 esac
3676 else
3677 enable_shared=yes
3679 # Check whether --enable-static or --disable-static was given.
3680 if test "${enable_static+set}" = set; then
3681 enableval="$enable_static"
3682 p=${PACKAGE-default}
3683 case $enableval in
3684 yes) enable_static=yes ;;
3685 no) enable_static=no ;;
3687 enable_static=no
3688 # Look at the argument we got. We use all the common list separators.
3689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3690 for pkg in $enableval; do
3691 if test "X$pkg" = "X$p"; then
3692 enable_static=yes
3694 done
3695 IFS="$ac_save_ifs"
3697 esac
3698 else
3699 enable_static=yes
3701 # Check whether --enable-fast-install or --disable-fast-install was given.
3702 if test "${enable_fast_install+set}" = set; then
3703 enableval="$enable_fast_install"
3704 p=${PACKAGE-default}
3705 case $enableval in
3706 yes) enable_fast_install=yes ;;
3707 no) enable_fast_install=no ;;
3709 enable_fast_install=no
3710 # Look at the argument we got. We use all the common list separators.
3711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3712 for pkg in $enableval; do
3713 if test "X$pkg" = "X$p"; then
3714 enable_fast_install=yes
3716 done
3717 IFS="$ac_save_ifs"
3719 esac
3720 else
3721 enable_fast_install=yes
3724 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3725 if test "${with_gnu_ld+set}" = set; then
3726 withval="$with_gnu_ld"
3727 test "$withval" = no || with_gnu_ld=yes
3728 else
3729 with_gnu_ld=no
3731 ac_prog=ld
3732 if test "$GCC" = yes; then
3733 # Check if gcc -print-prog-name=ld gives a path.
3734 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3735 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3736 case $host in
3737 *-*-mingw*)
3738 # gcc leaves a trailing carriage return which upsets mingw
3739 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3741 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3742 esac
3743 case $ac_prog in
3744 # Accept absolute paths.
3745 [\\/]* | [A-Za-z]:[\\/]*)
3746 re_direlt='/[^/][^/]*/\.\./'
3747 # Canonicalize the path of ld
3748 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3749 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3750 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3751 done
3752 test -z "$LD" && LD="$ac_prog"
3755 # If it fails, then pretend we aren't using GCC.
3756 ac_prog=ld
3759 # If it is relative, then search for the first ld in PATH.
3760 with_gnu_ld=unknown
3762 esac
3763 elif test "$with_gnu_ld" = yes; then
3764 echo "$as_me:$LINENO: checking for GNU ld" >&5
3765 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3766 else
3767 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3768 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3770 if test "${lt_cv_path_LD+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 else
3773 if test -z "$LD"; then
3774 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3775 for ac_dir in $PATH; do
3776 test -z "$ac_dir" && ac_dir=.
3777 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3778 lt_cv_path_LD="$ac_dir/$ac_prog"
3779 # Check to see if the program is GNU ld. I'd rather use --version,
3780 # but apparently some GNU ld's only accept -v.
3781 # Break only if it was the GNU/non-GNU ld that we prefer.
3782 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3783 test "$with_gnu_ld" != no && break
3784 else
3785 test "$with_gnu_ld" != yes && break
3788 done
3789 IFS="$ac_save_ifs"
3790 else
3791 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3795 LD="$lt_cv_path_LD"
3796 if test -n "$LD"; then
3797 echo "$as_me:$LINENO: result: $LD" >&5
3798 echo "${ECHO_T}$LD" >&6
3799 else
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3803 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3804 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3805 { (exit 1); exit 1; }; }
3806 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3807 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3808 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 else
3811 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3813 lt_cv_prog_gnu_ld=yes
3814 else
3815 lt_cv_prog_gnu_ld=no
3818 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3819 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3820 with_gnu_ld=$lt_cv_prog_gnu_ld
3823 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3824 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3825 if test "${lt_cv_ld_reload_flag+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828 lt_cv_ld_reload_flag='-r'
3830 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3831 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3832 reload_flag=$lt_cv_ld_reload_flag
3833 test -n "$reload_flag" && reload_flag=" $reload_flag"
3835 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3836 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3837 if test "${lt_cv_path_NM+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840 if test -n "$NM"; then
3841 # Let the user override the test.
3842 lt_cv_path_NM="$NM"
3843 else
3844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3845 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3846 test -z "$ac_dir" && ac_dir=.
3847 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3848 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3849 # Check to see if the nm accepts a BSD-compat flag.
3850 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3851 # nm: unknown option "B" ignored
3852 # Tru64's nm complains that /dev/null is an invalid object file
3853 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3854 lt_cv_path_NM="$tmp_nm -B"
3855 break
3856 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3857 lt_cv_path_NM="$tmp_nm -p"
3858 break
3859 else
3860 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3861 continue # so that we can try to find one that supports BSD flags
3864 done
3865 IFS="$ac_save_ifs"
3866 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3870 NM="$lt_cv_path_NM"
3871 echo "$as_me:$LINENO: result: $NM" >&5
3872 echo "${ECHO_T}$NM" >&6
3874 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3875 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3876 if test "${lt_cv_deplibs_check_method+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 else
3879 lt_cv_file_magic_cmd='$MAGIC_CMD'
3880 lt_cv_file_magic_test_file=
3881 lt_cv_deplibs_check_method='unknown'
3882 # Need to set the preceding variable on all platforms that support
3883 # interlibrary dependencies.
3884 # 'none' -- dependencies not supported.
3885 # `unknown' -- same as none, but documents that we really don't know.
3886 # 'pass_all' -- all dependencies passed with no checks.
3887 # 'test_compile' -- check by making test program.
3888 # 'file_magic [regex]' -- check by looking for files in library path
3889 # which responds to the $file_magic_cmd with a given egrep regex.
3890 # If you have `file' or equivalent on your system and you're not sure
3891 # whether `pass_all' will *always* work, you probably want this one.
3893 case $host_os in
3894 aix*)
3895 lt_cv_deplibs_check_method=pass_all
3898 beos*)
3899 lt_cv_deplibs_check_method=pass_all
3902 bsdi4*)
3903 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3904 lt_cv_file_magic_cmd='/usr/bin/file -L'
3905 lt_cv_file_magic_test_file=/shlib/libc.so
3908 cygwin* | mingw* |pw32*)
3909 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3910 lt_cv_file_magic_cmd='$OBJDUMP -f'
3913 darwin* | rhapsody*)
3914 # this will be overwritten by pass_all, but leave it in just in case
3915 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3916 lt_cv_file_magic_cmd='/usr/bin/file -L'
3917 case "$host_os" in
3918 rhapsody* | darwin1.012)
3919 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3921 *) # Darwin 1.3 on
3922 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3924 esac
3925 lt_cv_deplibs_check_method=pass_all
3928 freebsd* | kfreebsd*-gnu)
3929 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3930 case $host_cpu in
3931 i*86 )
3932 # Not sure whether the presence of OpenBSD here was a mistake.
3933 # Let's accept both of them until this is cleared up.
3934 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3935 lt_cv_file_magic_cmd=/usr/bin/file
3936 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3938 esac
3939 else
3940 lt_cv_deplibs_check_method=pass_all
3944 gnu*)
3945 lt_cv_deplibs_check_method=pass_all
3948 hpux10.20*|hpux11*)
3949 case $host_cpu in
3950 hppa*)
3951 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3952 lt_cv_file_magic_cmd=/usr/bin/file
3953 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3955 ia64*)
3956 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3957 lt_cv_file_magic_cmd=/usr/bin/file
3958 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3960 esac
3963 irix5* | irix6*)
3964 case $host_os in
3965 irix5*)
3966 # this will be overridden with pass_all, but let us keep it just in case
3967 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3970 case $LD in
3971 *-32|*"-32 ") libmagic=32-bit;;
3972 *-n32|*"-n32 ") libmagic=N32;;
3973 *-64|*"-64 ") libmagic=64-bit;;
3974 *) libmagic=never-match;;
3975 esac
3976 # this will be overridden with pass_all, but let us keep it just in case
3977 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3979 esac
3980 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3981 lt_cv_deplibs_check_method=pass_all
3984 # This must be Linux ELF.
3985 linux-gnu*)
3986 lt_cv_deplibs_check_method=pass_all
3989 netbsd* | knetbsd*-gnu)
3990 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3991 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3992 else
3993 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3997 newsos6)
3998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3999 lt_cv_file_magic_cmd=/usr/bin/file
4000 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4003 osf3* | osf4* | osf5*)
4004 # this will be overridden with pass_all, but let us keep it just in case
4005 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4006 lt_cv_file_magic_test_file=/shlib/libc.so
4007 lt_cv_deplibs_check_method=pass_all
4010 sco3.2v5*)
4011 lt_cv_deplibs_check_method=pass_all
4014 solaris*)
4015 lt_cv_deplibs_check_method=pass_all
4016 lt_cv_file_magic_test_file=/lib/libc.so
4019 sysv5uw[78]* | sysv4*uw2*)
4020 lt_cv_deplibs_check_method=pass_all
4023 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4024 case $host_vendor in
4025 ncr)
4026 lt_cv_deplibs_check_method=pass_all
4028 motorola)
4029 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]'
4030 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4032 esac
4034 esac
4037 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4038 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4039 file_magic_cmd=$lt_cv_file_magic_cmd
4040 deplibs_check_method=$lt_cv_deplibs_check_method
4046 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4048 # find the maximum length of command line arguments
4049 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4050 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4051 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 else
4055 teststring="ABCD"
4057 case $build_os in
4058 msdosdjgpp*)
4059 # On DJGPP, this test can blow up pretty badly due to problems in libc
4060 # (any single argument exceeding 2000 bytes causes a buffer overrun
4061 # during glob expansion). Even if it were fixed, the result of this
4062 # check would be larger than it should be.
4063 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4066 cygwin* | mingw*)
4067 # On Win9x/ME, this test blows up -- it succeeds, but takes
4068 # about 5 minutes as the teststring grows exponentially.
4069 # Worse, since 9x/ME are not pre-emptively multitasking,
4070 # you end up with a "frozen" computer, even though with patience
4071 # the test eventually succeeds (with a max line length of 256k).
4072 # Instead, let's just punt: use the minimum linelength reported by
4073 # all of the supported platforms: 8192 (on NT/2K/XP).
4074 lt_cv_sys_max_cmd_len=8192;
4077 amigaos*)
4078 # On AmigaOS with pdksh, this test takes hours, literally.
4079 # So we just punt and use a minimum line length of 8192.
4080 lt_cv_sys_max_cmd_len=8192;
4083 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4084 # This has been around since 386BSD, at least. Likely further.
4085 if test -x /sbin/sysctl; then
4086 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4087 elif test -x /usr/sbin/sysctl; then
4088 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4089 else
4090 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4092 # And add a safety zone
4093 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4094 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4096 esac
4100 if test -n "$lt_cv_sys_max_cmd_len" ; then
4101 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4102 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4103 else
4104 echo "$as_me:$LINENO: result: none" >&5
4105 echo "${ECHO_T}none" >&6
4109 # Only perform the check for file, if the check method requires it
4110 case $deplibs_check_method in
4111 file_magic*)
4112 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4113 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4114 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4115 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118 case $MAGIC_CMD in
4120 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4122 ?:/*)
4123 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4126 ac_save_MAGIC_CMD="$MAGIC_CMD"
4127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4128 ac_dummy="/usr/bin:$PATH"
4129 for ac_dir in $ac_dummy; do
4130 test -z "$ac_dir" && ac_dir=.
4131 if test -f $ac_dir/${ac_tool_prefix}file; then
4132 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4133 if test -n "$file_magic_test_file"; then
4134 case $deplibs_check_method in
4135 "file_magic "*)
4136 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4137 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4138 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4139 egrep "$file_magic_regex" > /dev/null; then
4141 else
4142 cat <<EOF 1>&2
4144 *** Warning: the command libtool uses to detect shared libraries,
4145 *** $file_magic_cmd, produces output that libtool cannot recognize.
4146 *** The result is that libtool may fail to recognize shared libraries
4147 *** as such. This will affect the creation of libtool libraries that
4148 *** depend on shared libraries, but programs linked with such libtool
4149 *** libraries will work regardless of this problem. Nevertheless, you
4150 *** may want to report the problem to your system manager and/or to
4151 *** bug-libtool@gnu.org
4154 fi ;;
4155 esac
4157 break
4159 done
4160 IFS="$ac_save_ifs"
4161 MAGIC_CMD="$ac_save_MAGIC_CMD"
4163 esac
4166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4167 if test -n "$MAGIC_CMD"; then
4168 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4169 echo "${ECHO_T}$MAGIC_CMD" >&6
4170 else
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4175 if test -z "$lt_cv_path_MAGIC_CMD"; then
4176 if test -n "$ac_tool_prefix"; then
4177 echo "$as_me:$LINENO: checking for file" >&5
4178 echo $ECHO_N "checking for file... $ECHO_C" >&6
4179 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else
4182 case $MAGIC_CMD in
4184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4186 ?:/*)
4187 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4190 ac_save_MAGIC_CMD="$MAGIC_CMD"
4191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4192 ac_dummy="/usr/bin:$PATH"
4193 for ac_dir in $ac_dummy; do
4194 test -z "$ac_dir" && ac_dir=.
4195 if test -f $ac_dir/file; then
4196 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4197 if test -n "$file_magic_test_file"; then
4198 case $deplibs_check_method in
4199 "file_magic "*)
4200 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4202 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4203 egrep "$file_magic_regex" > /dev/null; then
4205 else
4206 cat <<EOF 1>&2
4208 *** Warning: the command libtool uses to detect shared libraries,
4209 *** $file_magic_cmd, produces output that libtool cannot recognize.
4210 *** The result is that libtool may fail to recognize shared libraries
4211 *** as such. This will affect the creation of libtool libraries that
4212 *** depend on shared libraries, but programs linked with such libtool
4213 *** libraries will work regardless of this problem. Nevertheless, you
4214 *** may want to report the problem to your system manager and/or to
4215 *** bug-libtool@gnu.org
4218 fi ;;
4219 esac
4221 break
4223 done
4224 IFS="$ac_save_ifs"
4225 MAGIC_CMD="$ac_save_MAGIC_CMD"
4227 esac
4230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4231 if test -n "$MAGIC_CMD"; then
4232 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4233 echo "${ECHO_T}$MAGIC_CMD" >&6
4234 else
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4239 else
4240 MAGIC_CMD=:
4246 esac
4248 if test -n "$ac_tool_prefix"; then
4249 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4250 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4251 echo "$as_me:$LINENO: checking for $ac_word" >&5
4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4253 if test "${ac_cv_prog_RANLIB+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 else
4256 if test -n "$RANLIB"; then
4257 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4262 IFS=$as_save_IFS
4263 test -z "$as_dir" && as_dir=.
4264 for ac_exec_ext in '' $ac_executable_extensions; do
4265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 break 2
4270 done
4271 done
4275 RANLIB=$ac_cv_prog_RANLIB
4276 if test -n "$RANLIB"; then
4277 echo "$as_me:$LINENO: result: $RANLIB" >&5
4278 echo "${ECHO_T}$RANLIB" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4285 if test -z "$ac_cv_prog_RANLIB"; then
4286 ac_ct_RANLIB=$RANLIB
4287 # Extract the first word of "ranlib", so it can be a program name with args.
4288 set dummy ranlib; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$ac_ct_RANLIB"; then
4295 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_ac_ct_RANLIB="ranlib"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4308 done
4309 done
4311 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4315 if test -n "$ac_ct_RANLIB"; then
4316 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4317 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4318 else
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4323 RANLIB=$ac_ct_RANLIB
4324 else
4325 RANLIB="$ac_cv_prog_RANLIB"
4328 if test -n "$ac_tool_prefix"; then
4329 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}strip; ac_word=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_prog_STRIP+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336 if test -n "$STRIP"; then
4337 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4350 done
4351 done
4355 STRIP=$ac_cv_prog_STRIP
4356 if test -n "$STRIP"; then
4357 echo "$as_me:$LINENO: result: $STRIP" >&5
4358 echo "${ECHO_T}$STRIP" >&6
4359 else
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4365 if test -z "$ac_cv_prog_STRIP"; then
4366 ac_ct_STRIP=$STRIP
4367 # Extract the first word of "strip", so it can be a program name with args.
4368 set dummy strip; ac_word=$2
4369 echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4371 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 else
4374 if test -n "$ac_ct_STRIP"; then
4375 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4376 else
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4380 IFS=$as_save_IFS
4381 test -z "$as_dir" && as_dir=.
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_ac_ct_STRIP="strip"
4385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 break 2
4388 done
4389 done
4391 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4394 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4395 if test -n "$ac_ct_STRIP"; then
4396 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4397 echo "${ECHO_T}$ac_ct_STRIP" >&6
4398 else
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4403 STRIP=$ac_ct_STRIP
4404 else
4405 STRIP="$ac_cv_prog_STRIP"
4409 # Check for any special flags to pass to ltconfig.
4410 libtool_flags="--cache-file=$cache_file"
4411 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4412 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4413 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4414 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4415 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4418 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4419 if test "${enable_libtool_lock+set}" = set; then
4420 enableval="$enable_libtool_lock"
4423 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4424 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4427 # Check whether --with-pic or --without-pic was given.
4428 if test "${with_pic+set}" = set; then
4429 withval="$with_pic"
4430 pic_mode="$withval"
4431 else
4432 pic_mode=default
4434 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4435 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4437 # Some flags need to be propagated to the compiler or linker for good
4438 # libtool support.
4439 case $host in
4440 *-*-irix6*)
4441 # Find out which ABI we are using.
4442 echo '#line 4442 "configure"' > conftest.$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4445 ac_status=$?
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 if test "$lt_cv_prog_gnu_ld" = yes; then
4449 case `/usr/bin/file conftest.$ac_objext` in
4450 *32-bit*)
4451 LD="${LD-ld} -melf32bsmip"
4453 *N32*)
4454 LD="${LD-ld} -melf32bmipn32"
4456 *64-bit*)
4457 LD="${LD-ld} -melf64bmip"
4459 esac
4460 else
4461 case `/usr/bin/file conftest.$ac_objext` in
4462 *32-bit*)
4463 LD="${LD-ld} -32"
4465 *N32*)
4466 LD="${LD-ld} -n32"
4468 *64-bit*)
4469 LD="${LD-ld} -64"
4471 esac
4474 rm -rf conftest*
4477 ia64-*-hpux*)
4478 # Find out which ABI we are using.
4479 echo 'int i;' > conftest.$ac_ext
4480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4481 (eval $ac_compile) 2>&5
4482 ac_status=$?
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; then
4485 case "`/usr/bin/file conftest.o`" in
4486 *ELF-32*)
4487 HPUX_IA64_MODE="32"
4489 *ELF-64*)
4490 HPUX_IA64_MODE="64"
4492 esac
4494 rm -rf conftest*
4497 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4498 # Find out which ABI we are using.
4499 echo 'int i;' > conftest.$ac_ext
4500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501 (eval $ac_compile) 2>&5
4502 ac_status=$?
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; then
4505 case "`/usr/bin/file conftest.o`" in
4506 *32-bit*)
4507 case $host in
4508 x86_64-*linux*)
4509 LD="${LD-ld} -m elf_i386"
4511 ppc64-*linux*|powerpc64-*linux*)
4512 LD="${LD-ld} -m elf32ppclinux"
4514 s390x-*linux*)
4515 LD="${LD-ld} -m elf_s390"
4517 sparc64-*linux*)
4518 LD="${LD-ld} -m elf32_sparc"
4520 esac
4522 *64-bit*)
4523 case $host in
4524 x86_64-*linux*)
4525 LD="${LD-ld} -m elf_x86_64"
4527 ppc*-*linux*|powerpc*-*linux*)
4528 LD="${LD-ld} -m elf64ppc"
4530 s390*-*linux*)
4531 LD="${LD-ld} -m elf64_s390"
4533 sparc*-*linux*)
4534 LD="${LD-ld} -m elf64_sparc"
4536 esac
4538 esac
4540 rm -rf conftest*
4543 *-*-sco3.2v5*)
4544 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4545 SAVE_CFLAGS="$CFLAGS"
4546 CFLAGS="$CFLAGS -belf"
4547 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4548 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4549 if test "${lt_cv_cc_needs_belf+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4554 ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560 if test x$gcc_no_link = xyes; then
4561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4563 { (exit 1); exit 1; }; }
4565 cat >conftest.$ac_ext <<_ACEOF
4566 /* confdefs.h. */
4567 _ACEOF
4568 cat confdefs.h >>conftest.$ac_ext
4569 cat >>conftest.$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4573 main ()
4577 return 0;
4579 _ACEOF
4580 rm -f conftest.$ac_objext conftest$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582 (eval $ac_link) 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 (eval $ac_try) 2>&5
4593 ac_status=$?
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try='test -s conftest$ac_exeext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 (eval $ac_try) 2>&5
4599 ac_status=$?
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 lt_cv_cc_needs_belf=yes
4603 else
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4607 lt_cv_cc_needs_belf=no
4609 rm -f conftest.err conftest.$ac_objext \
4610 conftest$ac_exeext conftest.$ac_ext
4611 ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4619 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4620 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4621 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4622 CFLAGS="$SAVE_CFLAGS"
4627 esac
4630 # Save cache, so that ltconfig can load it
4631 cat >confcache <<\_ACEOF
4632 # This file is a shell script that caches the results of configure
4633 # tests run on this system so they can be shared between configure
4634 # scripts and configure runs, see configure's option --config-cache.
4635 # It is not useful on other systems. If it contains results you don't
4636 # want to keep, you may remove or edit it.
4638 # config.status only pays attention to the cache file if you give it
4639 # the --recheck option to rerun configure.
4641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4643 # following values.
4645 _ACEOF
4647 # The following way of writing the cache mishandles newlines in values,
4648 # but we know of no workaround that is simple, portable, and efficient.
4649 # So, don't put newlines in cache variables' values.
4650 # Ultrix sh set writes to stderr and can't be redirected directly,
4651 # and sets the high bit in the cache file unless we assign to the vars.
4653 (set) 2>&1 |
4654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4655 *ac_space=\ *)
4656 # `set' does not quote correctly, so add quotes (double-quote
4657 # substitution turns \\\\ into \\, and sed turns \\ into \).
4658 sed -n \
4659 "s/'/'\\\\''/g;
4660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4663 # `set' quotes correctly as required by POSIX, so do not add quotes.
4664 sed -n \
4665 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4667 esac;
4669 sed '
4670 t clear
4671 : clear
4672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4673 t end
4674 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4675 : end' >>confcache
4676 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4677 if test -w $cache_file; then
4678 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4679 cat confcache >$cache_file
4680 else
4681 echo "not updating unwritable cache $cache_file"
4684 rm -f confcache
4686 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4687 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4688 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4689 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4690 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4691 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4692 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4694 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4695 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4696 echo "$as_me: error: libtool configure failed" >&2;}
4697 { (exit 1); exit 1; }; }
4699 # Reload cache, that may have been modified by ltconfig
4700 if test -r "$cache_file"; then
4701 # Some versions of bash will fail to source /dev/null (special
4702 # files actually), so we avoid doing that.
4703 if test -f "$cache_file"; then
4704 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4705 echo "$as_me: loading cache $cache_file" >&6;}
4706 case $cache_file in
4707 [\\/]* | ?:[\\/]* ) . $cache_file;;
4708 *) . ./$cache_file;;
4709 esac
4711 else
4712 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4713 echo "$as_me: creating cache $cache_file" >&6;}
4714 >$cache_file
4718 # This can be used to rebuild libtool when needed
4719 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4721 # Always use our own libtool.
4722 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4724 # Redirect the config.log output again, so that the ltconfig log is not
4725 # clobbered by the next message.
4726 exec 5>>./config.log
4728 ac_ext=cc
4729 ac_cpp='$CXXCPP $CPPFLAGS'
4730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4733 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4734 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4735 if test -z "$CXXCPP"; then
4736 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4737 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 else
4739 # Double quotes because CXXCPP needs to be expanded
4740 for CXXCPP in "$CXX -E" "/lib/cpp"
4742 ac_preproc_ok=false
4743 for ac_cxx_preproc_warn_flag in '' yes
4745 # Use a header file that comes with gcc, so configuring glibc
4746 # with a fresh cross-compiler works.
4747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4748 # <limits.h> exists even on freestanding compilers.
4749 # On the NeXT, cc -E runs the code through the compiler's parser,
4750 # not just through cpp. "Syntax error" is here to catch this case.
4751 cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h. */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 #ifdef __STDC__
4758 # include <limits.h>
4759 #else
4760 # include <assert.h>
4761 #endif
4762 Syntax error
4763 _ACEOF
4764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4766 ac_status=$?
4767 grep -v '^ *+' conftest.er1 >conftest.err
4768 rm -f conftest.er1
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } >/dev/null; then
4772 if test -s conftest.err; then
4773 ac_cpp_err=$ac_cxx_preproc_warn_flag
4774 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4775 else
4776 ac_cpp_err=
4778 else
4779 ac_cpp_err=yes
4781 if test -z "$ac_cpp_err"; then
4783 else
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4787 # Broken: fails on valid input.
4788 continue
4790 rm -f conftest.err conftest.$ac_ext
4792 # OK, works on sane cases. Now check whether non-existent headers
4793 # can be detected and how.
4794 cat >conftest.$ac_ext <<_ACEOF
4795 /* confdefs.h. */
4796 _ACEOF
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4800 #include <ac_nonexistent.h>
4801 _ACEOF
4802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4804 ac_status=$?
4805 grep -v '^ *+' conftest.er1 >conftest.err
4806 rm -f conftest.er1
4807 cat conftest.err >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } >/dev/null; then
4810 if test -s conftest.err; then
4811 ac_cpp_err=$ac_cxx_preproc_warn_flag
4812 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4813 else
4814 ac_cpp_err=
4816 else
4817 ac_cpp_err=yes
4819 if test -z "$ac_cpp_err"; then
4820 # Broken: success on invalid input.
4821 continue
4822 else
4823 echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4826 # Passes both tests.
4827 ac_preproc_ok=:
4828 break
4830 rm -f conftest.err conftest.$ac_ext
4832 done
4833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4834 rm -f conftest.err conftest.$ac_ext
4835 if $ac_preproc_ok; then
4836 break
4839 done
4840 ac_cv_prog_CXXCPP=$CXXCPP
4843 CXXCPP=$ac_cv_prog_CXXCPP
4844 else
4845 ac_cv_prog_CXXCPP=$CXXCPP
4847 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4848 echo "${ECHO_T}$CXXCPP" >&6
4849 ac_preproc_ok=false
4850 for ac_cxx_preproc_warn_flag in '' yes
4852 # Use a header file that comes with gcc, so configuring glibc
4853 # with a fresh cross-compiler works.
4854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4855 # <limits.h> exists even on freestanding compilers.
4856 # On the NeXT, cc -E runs the code through the compiler's parser,
4857 # not just through cpp. "Syntax error" is here to catch this case.
4858 cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h. */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 #ifdef __STDC__
4865 # include <limits.h>
4866 #else
4867 # include <assert.h>
4868 #endif
4869 Syntax error
4870 _ACEOF
4871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4873 ac_status=$?
4874 grep -v '^ *+' conftest.er1 >conftest.err
4875 rm -f conftest.er1
4876 cat conftest.err >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } >/dev/null; then
4879 if test -s conftest.err; then
4880 ac_cpp_err=$ac_cxx_preproc_warn_flag
4881 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4882 else
4883 ac_cpp_err=
4885 else
4886 ac_cpp_err=yes
4888 if test -z "$ac_cpp_err"; then
4890 else
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4894 # Broken: fails on valid input.
4895 continue
4897 rm -f conftest.err conftest.$ac_ext
4899 # OK, works on sane cases. Now check whether non-existent headers
4900 # can be detected and how.
4901 cat >conftest.$ac_ext <<_ACEOF
4902 /* confdefs.h. */
4903 _ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4907 #include <ac_nonexistent.h>
4908 _ACEOF
4909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4911 ac_status=$?
4912 grep -v '^ *+' conftest.er1 >conftest.err
4913 rm -f conftest.er1
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } >/dev/null; then
4917 if test -s conftest.err; then
4918 ac_cpp_err=$ac_cxx_preproc_warn_flag
4919 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4920 else
4921 ac_cpp_err=
4923 else
4924 ac_cpp_err=yes
4926 if test -z "$ac_cpp_err"; then
4927 # Broken: success on invalid input.
4928 continue
4929 else
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4933 # Passes both tests.
4934 ac_preproc_ok=:
4935 break
4937 rm -f conftest.err conftest.$ac_ext
4939 done
4940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4941 rm -f conftest.err conftest.$ac_ext
4942 if $ac_preproc_ok; then
4944 else
4945 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4946 See \`config.log' for more details." >&5
4947 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4948 See \`config.log' for more details." >&2;}
4949 { (exit 1); exit 1; }; }
4952 ac_ext=c
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4961 lt_save_CC="$CC"
4962 lt_save_CFLAGS="$CFLAGS"
4963 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4964 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4965 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4966 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4967 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4968 deplibs_check_method="$deplibs_check_method" \
4969 file_magic_cmd="$file_magic_cmd" \
4970 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4971 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4972 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4973 echo "$as_me: error: libtool tag configuration failed" >&2;}
4974 { (exit 1); exit 1; }; }
4975 CC="$lt_save_CC"
4976 CFLAGS="$lt_save_CFLAGS"
4978 # Redirect the config.log output again, so that the ltconfig log is not
4979 # clobbered by the next message.
4980 exec 5>>./config.log
4990 # Possibly disable most of the library.
4991 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4992 ## than just ignoring the results. Faster /and/ more correct, win win.
4994 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4995 if test "${enable_hosted_libstdcxx+set}" = set; then
4996 enableval="$enable_hosted_libstdcxx"
4998 else
4999 case "$host" in
5000 arm*-*-symbianelf*)
5001 enable_hosted_libstdcxx=no
5004 enable_hosted_libstdcxx=yes
5006 esac
5008 if test "$enable_hosted_libstdcxx" = no; then
5009 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5010 echo "$as_me: Only freestanding libraries will be built" >&6;}
5011 is_hosted=no
5012 hosted_define=0
5013 enable_abi_check=no
5014 enable_libstdcxx_pch=no
5015 else
5016 is_hosted=yes
5017 hosted_define=1
5021 cat >>confdefs.h <<_ACEOF
5022 #define _GLIBCXX_HOSTED $hosted_define
5023 _ACEOF
5027 # Check for compiler support that doesn't require linking.
5029 echo "$as_me:$LINENO: checking for exception model to use" >&5
5030 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5033 ac_ext=cc
5034 ac_cpp='$CXXCPP $CPPFLAGS'
5035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5039 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5040 if test "${enable_sjlj_exceptions+set}" = set; then
5041 enableval="$enable_sjlj_exceptions"
5043 case "$enableval" in
5044 yes|no|auto) ;;
5045 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5046 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5047 { (exit 1); exit 1; }; } ;;
5048 esac
5050 else
5051 enable_sjlj_exceptions=auto
5055 if test $enable_sjlj_exceptions = auto; then
5056 # Botheration. Now we've got to detect the exception model. Link tests
5057 # against libgcc.a are problematic since we've not been given proper -L
5058 # bits for single-tree newlib and libgloss.
5060 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5061 cat > conftest.$ac_ext << EOF
5062 #line 5062 "configure"
5063 struct S { ~S(); };
5064 void bar();
5065 void foo()
5067 S s;
5068 bar();
5071 old_CXXFLAGS="$CXXFLAGS"
5072 CXXFLAGS=-S
5073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5074 (eval $ac_compile) 2>&5
5075 ac_status=$?
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; then
5078 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5079 enable_sjlj_exceptions=yes
5080 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5081 enable_sjlj_exceptions=no
5082 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5083 enable_sjlj_exceptions=no
5086 CXXFLAGS="$old_CXXFLAGS"
5087 rm -f conftest*
5090 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5091 # to two different models.
5092 case $enable_sjlj_exceptions in
5093 yes)
5095 cat >>confdefs.h <<\_ACEOF
5096 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5097 _ACEOF
5099 ac_exception_model_name=sjlj
5102 ac_exception_model_name="call frame"
5105 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5106 echo "$as_me: error: unable to detect exception model" >&2;}
5107 { (exit 1); exit 1; }; }
5109 esac
5110 ac_ext=c
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5116 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5117 echo "${ECHO_T}$ac_exception_model_name" >&6
5120 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5121 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5122 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5123 if test "${enable_libstdcxx_pch+set}" = set; then
5124 enableval="$enable_libstdcxx_pch"
5126 case "$enableval" in
5127 yes|no) ;;
5128 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5129 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5130 { (exit 1); exit 1; }; } ;;
5131 esac
5133 else
5134 enable_libstdcxx_pch=$is_hosted
5137 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5138 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5140 if test $enable_libstdcxx_pch = yes; then
5141 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5142 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5143 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146 ac_save_CXXFLAGS="$CXXFLAGS"
5147 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5150 ac_ext=cc
5151 ac_cpp='$CXXCPP $CPPFLAGS'
5152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5156 echo '#include <math.h>' > conftest.h
5157 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5158 -o conftest.h.gch 1>&5 2>&1 &&
5159 echo '#error "pch failed"' > conftest.h &&
5160 echo '#include "conftest.h"' > conftest.cc &&
5161 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5162 then
5163 glibcxx_cv_prog_CXX_pch=yes
5164 else
5165 glibcxx_cv_prog_CXX_pch=no
5167 rm -f conftest*
5168 CXXFLAGS=$ac_save_CXXFLAGS
5169 ac_ext=c
5170 ac_cpp='$CPP $CPPFLAGS'
5171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5178 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5179 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5183 if test $enable_libstdcxx_pch = yes; then
5184 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5185 else
5186 glibcxx_PCHFLAGS=""
5191 # Enable all the variable C++ runtime options.
5193 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5194 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5195 # Check whether --enable-cstdio or --disable-cstdio was given.
5196 if test "${enable_cstdio+set}" = set; then
5197 enableval="$enable_cstdio"
5199 case "$enableval" in
5200 stdio) ;;
5201 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5202 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5203 { (exit 1); exit 1; }; } ;;
5204 esac
5206 else
5207 enable_cstdio=stdio
5211 # Now that libio has been removed, you can have any color you want as long
5212 # as it's black. This is one big no-op until other packages are added, but
5213 # showing the framework never hurts.
5214 case ${enable_cstdio} in
5215 stdio)
5216 CSTDIO_H=config/io/c_io_stdio.h
5217 BASIC_FILE_H=config/io/basic_file_stdio.h
5218 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5219 echo "$as_me:$LINENO: result: stdio" >&5
5220 echo "${ECHO_T}stdio" >&6
5222 esac
5228 ac_ext=c
5229 ac_cpp='$CPP $CPPFLAGS'
5230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5233 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5234 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5235 # On Suns, sometimes $CPP names a directory.
5236 if test -n "$CPP" && test -d "$CPP"; then
5237 CPP=
5239 if test -z "$CPP"; then
5240 if test "${ac_cv_prog_CPP+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 else
5243 # Double quotes because CPP needs to be expanded
5244 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5246 ac_preproc_ok=false
5247 for ac_c_preproc_warn_flag in '' yes
5249 # Use a header file that comes with gcc, so configuring glibc
5250 # with a fresh cross-compiler works.
5251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5252 # <limits.h> exists even on freestanding compilers.
5253 # On the NeXT, cc -E runs the code through the compiler's parser,
5254 # not just through cpp. "Syntax error" is here to catch this case.
5255 cat >conftest.$ac_ext <<_ACEOF
5256 /* confdefs.h. */
5257 _ACEOF
5258 cat confdefs.h >>conftest.$ac_ext
5259 cat >>conftest.$ac_ext <<_ACEOF
5260 /* end confdefs.h. */
5261 #ifdef __STDC__
5262 # include <limits.h>
5263 #else
5264 # include <assert.h>
5265 #endif
5266 Syntax error
5267 _ACEOF
5268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5270 ac_status=$?
5271 grep -v '^ *+' conftest.er1 >conftest.err
5272 rm -f conftest.er1
5273 cat conftest.err >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } >/dev/null; then
5276 if test -s conftest.err; then
5277 ac_cpp_err=$ac_c_preproc_warn_flag
5278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5279 else
5280 ac_cpp_err=
5282 else
5283 ac_cpp_err=yes
5285 if test -z "$ac_cpp_err"; then
5287 else
5288 echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.$ac_ext >&5
5291 # Broken: fails on valid input.
5292 continue
5294 rm -f conftest.err conftest.$ac_ext
5296 # OK, works on sane cases. Now check whether non-existent headers
5297 # can be detected and how.
5298 cat >conftest.$ac_ext <<_ACEOF
5299 /* confdefs.h. */
5300 _ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5304 #include <ac_nonexistent.h>
5305 _ACEOF
5306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5308 ac_status=$?
5309 grep -v '^ *+' conftest.er1 >conftest.err
5310 rm -f conftest.er1
5311 cat conftest.err >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } >/dev/null; then
5314 if test -s conftest.err; then
5315 ac_cpp_err=$ac_c_preproc_warn_flag
5316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5317 else
5318 ac_cpp_err=
5320 else
5321 ac_cpp_err=yes
5323 if test -z "$ac_cpp_err"; then
5324 # Broken: success on invalid input.
5325 continue
5326 else
5327 echo "$as_me: failed program was:" >&5
5328 sed 's/^/| /' conftest.$ac_ext >&5
5330 # Passes both tests.
5331 ac_preproc_ok=:
5332 break
5334 rm -f conftest.err conftest.$ac_ext
5336 done
5337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5338 rm -f conftest.err conftest.$ac_ext
5339 if $ac_preproc_ok; then
5340 break
5343 done
5344 ac_cv_prog_CPP=$CPP
5347 CPP=$ac_cv_prog_CPP
5348 else
5349 ac_cv_prog_CPP=$CPP
5351 echo "$as_me:$LINENO: result: $CPP" >&5
5352 echo "${ECHO_T}$CPP" >&6
5353 ac_preproc_ok=false
5354 for ac_c_preproc_warn_flag in '' yes
5356 # Use a header file that comes with gcc, so configuring glibc
5357 # with a fresh cross-compiler works.
5358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5359 # <limits.h> exists even on freestanding compilers.
5360 # On the NeXT, cc -E runs the code through the compiler's parser,
5361 # not just through cpp. "Syntax error" is here to catch this case.
5362 cat >conftest.$ac_ext <<_ACEOF
5363 /* confdefs.h. */
5364 _ACEOF
5365 cat confdefs.h >>conftest.$ac_ext
5366 cat >>conftest.$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5368 #ifdef __STDC__
5369 # include <limits.h>
5370 #else
5371 # include <assert.h>
5372 #endif
5373 Syntax error
5374 _ACEOF
5375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5377 ac_status=$?
5378 grep -v '^ *+' conftest.er1 >conftest.err
5379 rm -f conftest.er1
5380 cat conftest.err >&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); } >/dev/null; then
5383 if test -s conftest.err; then
5384 ac_cpp_err=$ac_c_preproc_warn_flag
5385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5386 else
5387 ac_cpp_err=
5389 else
5390 ac_cpp_err=yes
5392 if test -z "$ac_cpp_err"; then
5394 else
5395 echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.$ac_ext >&5
5398 # Broken: fails on valid input.
5399 continue
5401 rm -f conftest.err conftest.$ac_ext
5403 # OK, works on sane cases. Now check whether non-existent headers
5404 # can be detected and how.
5405 cat >conftest.$ac_ext <<_ACEOF
5406 /* confdefs.h. */
5407 _ACEOF
5408 cat confdefs.h >>conftest.$ac_ext
5409 cat >>conftest.$ac_ext <<_ACEOF
5410 /* end confdefs.h. */
5411 #include <ac_nonexistent.h>
5412 _ACEOF
5413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5415 ac_status=$?
5416 grep -v '^ *+' conftest.er1 >conftest.err
5417 rm -f conftest.er1
5418 cat conftest.err >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } >/dev/null; then
5421 if test -s conftest.err; then
5422 ac_cpp_err=$ac_c_preproc_warn_flag
5423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5424 else
5425 ac_cpp_err=
5427 else
5428 ac_cpp_err=yes
5430 if test -z "$ac_cpp_err"; then
5431 # Broken: success on invalid input.
5432 continue
5433 else
5434 echo "$as_me: failed program was:" >&5
5435 sed 's/^/| /' conftest.$ac_ext >&5
5437 # Passes both tests.
5438 ac_preproc_ok=:
5439 break
5441 rm -f conftest.err conftest.$ac_ext
5443 done
5444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5445 rm -f conftest.err conftest.$ac_ext
5446 if $ac_preproc_ok; then
5448 else
5449 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5450 See \`config.log' for more details." >&5
5451 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5452 See \`config.log' for more details." >&2;}
5453 { (exit 1); exit 1; }; }
5456 ac_ext=c
5457 ac_cpp='$CPP $CPPFLAGS'
5458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5463 echo "$as_me:$LINENO: checking for egrep" >&5
5464 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5465 if test "${ac_cv_prog_egrep+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 else
5468 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5469 then ac_cv_prog_egrep='grep -E'
5470 else ac_cv_prog_egrep='egrep'
5473 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5474 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5475 EGREP=$ac_cv_prog_egrep
5478 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5479 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5480 if test "${ac_cv_header_stdc+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 else
5483 cat >conftest.$ac_ext <<_ACEOF
5484 /* confdefs.h. */
5485 _ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h. */
5489 #include <stdlib.h>
5490 #include <stdarg.h>
5491 #include <string.h>
5492 #include <float.h>
5495 main ()
5499 return 0;
5501 _ACEOF
5502 rm -f conftest.$ac_objext
5503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5504 (eval $ac_compile) 2>conftest.er1
5505 ac_status=$?
5506 grep -v '^ *+' conftest.er1 >conftest.err
5507 rm -f conftest.er1
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try='test -z "$ac_c_werror_flag"
5512 || test ! -s conftest.err'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514 (eval $ac_try) 2>&5
5515 ac_status=$?
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; } &&
5518 { ac_try='test -s conftest.$ac_objext'
5519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520 (eval $ac_try) 2>&5
5521 ac_status=$?
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); }; }; then
5524 ac_cv_header_stdc=yes
5525 else
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.$ac_ext >&5
5529 ac_cv_header_stdc=no
5531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5533 if test $ac_cv_header_stdc = yes; then
5534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5535 cat >conftest.$ac_ext <<_ACEOF
5536 /* confdefs.h. */
5537 _ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5541 #include <string.h>
5543 _ACEOF
5544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5545 $EGREP "memchr" >/dev/null 2>&1; then
5547 else
5548 ac_cv_header_stdc=no
5550 rm -f conftest*
5554 if test $ac_cv_header_stdc = yes; then
5555 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5556 cat >conftest.$ac_ext <<_ACEOF
5557 /* confdefs.h. */
5558 _ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 #include <stdlib.h>
5564 _ACEOF
5565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5566 $EGREP "free" >/dev/null 2>&1; then
5568 else
5569 ac_cv_header_stdc=no
5571 rm -f conftest*
5575 if test $ac_cv_header_stdc = yes; then
5576 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5577 if test "$cross_compiling" = yes; then
5579 else
5580 cat >conftest.$ac_ext <<_ACEOF
5581 /* confdefs.h. */
5582 _ACEOF
5583 cat confdefs.h >>conftest.$ac_ext
5584 cat >>conftest.$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5586 #include <ctype.h>
5587 #if ((' ' & 0x0FF) == 0x020)
5588 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5589 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5590 #else
5591 # define ISLOWER(c) \
5592 (('a' <= (c) && (c) <= 'i') \
5593 || ('j' <= (c) && (c) <= 'r') \
5594 || ('s' <= (c) && (c) <= 'z'))
5595 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5596 #endif
5598 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5600 main ()
5602 int i;
5603 for (i = 0; i < 256; i++)
5604 if (XOR (islower (i), ISLOWER (i))
5605 || toupper (i) != TOUPPER (i))
5606 exit(2);
5607 exit (0);
5609 _ACEOF
5610 rm -f conftest$ac_exeext
5611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5612 (eval $ac_link) 2>&5
5613 ac_status=$?
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 (eval $ac_try) 2>&5
5618 ac_status=$?
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; }; then
5622 else
5623 echo "$as_me: program exited with status $ac_status" >&5
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.$ac_ext >&5
5627 ( exit $ac_status )
5628 ac_cv_header_stdc=no
5630 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5634 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5635 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5636 if test $ac_cv_header_stdc = yes; then
5638 cat >>confdefs.h <<\_ACEOF
5639 #define STDC_HEADERS 1
5640 _ACEOF
5644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5655 inttypes.h stdint.h unistd.h
5657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5658 echo "$as_me:$LINENO: checking for $ac_header" >&5
5659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 else
5663 cat >conftest.$ac_ext <<_ACEOF
5664 /* confdefs.h. */
5665 _ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5671 #include <$ac_header>
5672 _ACEOF
5673 rm -f conftest.$ac_objext
5674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5675 (eval $ac_compile) 2>conftest.er1
5676 ac_status=$?
5677 grep -v '^ *+' conftest.er1 >conftest.err
5678 rm -f conftest.er1
5679 cat conftest.err >&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } &&
5682 { ac_try='test -z "$ac_c_werror_flag"
5683 || test ! -s conftest.err'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 (eval $ac_try) 2>&5
5686 ac_status=$?
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; } &&
5689 { ac_try='test -s conftest.$ac_objext'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691 (eval $ac_try) 2>&5
5692 ac_status=$?
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 eval "$as_ac_Header=yes"
5696 else
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.$ac_ext >&5
5700 eval "$as_ac_Header=no"
5702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5707 cat >>confdefs.h <<_ACEOF
5708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5709 _ACEOF
5713 done
5717 echo "$as_me:$LINENO: checking for C locale to use" >&5
5718 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5719 # Check whether --enable-clocale or --disable-clocale was given.
5720 if test "${enable_clocale+set}" = set; then
5721 enableval="$enable_clocale"
5723 case "$enableval" in
5724 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5725 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5726 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5727 { (exit 1); exit 1; }; } ;;
5728 esac
5730 else
5731 enable_clocale=auto
5735 # If they didn't use this option switch, or if they specified --enable
5736 # with no specific model, we'll have to look for one. If they
5737 # specified --disable (???), do likewise.
5738 if test $enable_clocale = no || test $enable_clocale = yes; then
5739 enable_clocale=auto
5742 # Either a known package, or "auto"
5743 enable_clocale_flag=$enable_clocale
5745 # Probe for locale support if no specific model is specified.
5746 # Default to "generic".
5747 if test $enable_clocale_flag = auto; then
5748 case ${target_os} in
5749 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5750 cat >conftest.$ac_ext <<_ACEOF
5751 /* confdefs.h. */
5752 _ACEOF
5753 cat confdefs.h >>conftest.$ac_ext
5754 cat >>conftest.$ac_ext <<_ACEOF
5755 /* end confdefs.h. */
5757 #include <features.h>
5758 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5759 _GLIBCXX_ok
5760 #endif
5762 _ACEOF
5763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5764 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5765 enable_clocale_flag=gnu
5766 else
5767 enable_clocale_flag=generic
5769 rm -f conftest*
5772 # Test for bugs early in glibc-2.2.x series
5773 if test $enable_clocale_flag = gnu; then
5774 if test "$cross_compiling" = yes; then
5775 enable_clocale_flag=generic
5776 else
5777 cat >conftest.$ac_ext <<_ACEOF
5778 /* confdefs.h. */
5779 _ACEOF
5780 cat confdefs.h >>conftest.$ac_ext
5781 cat >>conftest.$ac_ext <<_ACEOF
5782 /* end confdefs.h. */
5784 #define _GNU_SOURCE 1
5785 #include <locale.h>
5786 #include <string.h>
5787 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5788 extern __typeof(newlocale) __newlocale;
5789 extern __typeof(duplocale) __duplocale;
5790 extern __typeof(strcoll_l) __strcoll_l;
5791 #endif
5792 int main()
5794 const char __one[] = "Äuglein Augmen";
5795 const char __two[] = "Äuglein";
5796 int i;
5797 int j;
5798 __locale_t loc;
5799 __locale_t loc_dup;
5800 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5801 loc_dup = __duplocale(loc);
5802 i = __strcoll_l(__one, __two, loc);
5803 j = __strcoll_l(__one, __two, loc_dup);
5804 return 0;
5807 _ACEOF
5808 rm -f conftest$ac_exeext
5809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5810 (eval $ac_link) 2>&5
5811 ac_status=$?
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815 (eval $ac_try) 2>&5
5816 ac_status=$?
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); }; }; then
5819 enable_clocale_flag=gnu
5820 else
5821 echo "$as_me: program exited with status $ac_status" >&5
5822 echo "$as_me: failed program was:" >&5
5823 sed 's/^/| /' conftest.$ac_ext >&5
5825 ( exit $ac_status )
5826 enable_clocale_flag=generic
5828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5832 # ... at some point put __strxfrm_l tests in as well.
5834 darwin* | freebsd*)
5835 enable_clocale_flag=darwin
5838 enable_clocale_flag=generic
5840 esac
5843 # Deal with gettext issues. Default to not using it (=no) until we detect
5844 # support for it later. Let the user turn it off via --e/d, but let that
5845 # default to on for easier handling.
5846 USE_NLS=no
5847 # Check whether --enable-nls or --disable-nls was given.
5848 if test "${enable_nls+set}" = set; then
5849 enableval="$enable_nls"
5851 else
5852 enable_nls=yes
5855 # Set configure bits for specified locale package
5856 case ${enable_clocale_flag} in
5857 generic)
5858 echo "$as_me:$LINENO: result: generic" >&5
5859 echo "${ECHO_T}generic" >&6
5861 CLOCALE_H=config/locale/generic/c_locale.h
5862 CLOCALE_CC=config/locale/generic/c_locale.cc
5863 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5864 CCOLLATE_CC=config/locale/generic/collate_members.cc
5865 CCTYPE_CC=config/locale/generic/ctype_members.cc
5866 CMESSAGES_H=config/locale/generic/messages_members.h
5867 CMESSAGES_CC=config/locale/generic/messages_members.cc
5868 CMONEY_CC=config/locale/generic/monetary_members.cc
5869 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5870 CTIME_H=config/locale/generic/time_members.h
5871 CTIME_CC=config/locale/generic/time_members.cc
5872 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5874 darwin)
5875 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5876 echo "${ECHO_T}darwin or freebsd" >&6
5878 CLOCALE_H=config/locale/generic/c_locale.h
5879 CLOCALE_CC=config/locale/generic/c_locale.cc
5880 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5881 CCOLLATE_CC=config/locale/generic/collate_members.cc
5882 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5883 CMESSAGES_H=config/locale/generic/messages_members.h
5884 CMESSAGES_CC=config/locale/generic/messages_members.cc
5885 CMONEY_CC=config/locale/generic/monetary_members.cc
5886 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5887 CTIME_H=config/locale/generic/time_members.h
5888 CTIME_CC=config/locale/generic/time_members.cc
5889 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5892 gnu)
5893 echo "$as_me:$LINENO: result: gnu" >&5
5894 echo "${ECHO_T}gnu" >&6
5896 # Declare intention to use gettext, and add support for specific
5897 # languages.
5898 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5899 ALL_LINGUAS="de fr"
5901 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5902 # Extract the first word of "msgfmt", so it can be a program name with args.
5903 set dummy msgfmt; ac_word=$2
5904 echo "$as_me:$LINENO: checking for $ac_word" >&5
5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5906 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 else
5909 if test -n "$check_msgfmt"; then
5910 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_check_msgfmt="yes"
5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 break 2
5923 done
5924 done
5926 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5929 check_msgfmt=$ac_cv_prog_check_msgfmt
5930 if test -n "$check_msgfmt"; then
5931 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5932 echo "${ECHO_T}$check_msgfmt" >&6
5933 else
5934 echo "$as_me:$LINENO: result: no" >&5
5935 echo "${ECHO_T}no" >&6
5938 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5939 USE_NLS=yes
5941 # Export the build objects.
5942 for ling in $ALL_LINGUAS; do \
5943 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5944 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5945 done
5949 CLOCALE_H=config/locale/gnu/c_locale.h
5950 CLOCALE_CC=config/locale/gnu/c_locale.cc
5951 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5952 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5953 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5954 CMESSAGES_H=config/locale/gnu/messages_members.h
5955 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5956 CMONEY_CC=config/locale/gnu/monetary_members.cc
5957 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5958 CTIME_H=config/locale/gnu/time_members.h
5959 CTIME_CC=config/locale/gnu/time_members.cc
5960 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5962 ieee_1003.1-2001)
5963 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5964 echo "${ECHO_T}IEEE 1003.1" >&6
5966 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5967 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5968 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5969 CCOLLATE_CC=config/locale/generic/collate_members.cc
5970 CCTYPE_CC=config/locale/generic/ctype_members.cc
5971 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5972 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5973 CMONEY_CC=config/locale/generic/monetary_members.cc
5974 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5975 CTIME_H=config/locale/generic/time_members.h
5976 CTIME_CC=config/locale/generic/time_members.cc
5977 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5979 esac
5981 # This is where the testsuite looks for locale catalogs, using the
5982 # -DLOCALEDIR define during testsuite compilation.
5983 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5986 # A standalone libintl (e.g., GNU libintl) may be in use.
5987 if test $USE_NLS = yes; then
5989 for ac_header in libintl.h
5991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5993 echo "$as_me:$LINENO: checking for $ac_header" >&5
5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6000 else
6001 # Is the header compilable?
6002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6004 cat >conftest.$ac_ext <<_ACEOF
6005 /* confdefs.h. */
6006 _ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6010 $ac_includes_default
6011 #include <$ac_header>
6012 _ACEOF
6013 rm -f conftest.$ac_objext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6015 (eval $ac_compile) 2>conftest.er1
6016 ac_status=$?
6017 grep -v '^ *+' conftest.er1 >conftest.err
6018 rm -f conftest.er1
6019 cat conftest.err >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } &&
6022 { ac_try='test -z "$ac_c_werror_flag"
6023 || test ! -s conftest.err'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025 (eval $ac_try) 2>&5
6026 ac_status=$?
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; } &&
6029 { ac_try='test -s conftest.$ac_objext'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 (eval $ac_try) 2>&5
6032 ac_status=$?
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }; then
6035 ac_header_compiler=yes
6036 else
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5
6040 ac_header_compiler=no
6042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6044 echo "${ECHO_T}$ac_header_compiler" >&6
6046 # Is the header present?
6047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6049 cat >conftest.$ac_ext <<_ACEOF
6050 /* confdefs.h. */
6051 _ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6055 #include <$ac_header>
6056 _ACEOF
6057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6059 ac_status=$?
6060 grep -v '^ *+' conftest.er1 >conftest.err
6061 rm -f conftest.er1
6062 cat conftest.err >&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } >/dev/null; then
6065 if test -s conftest.err; then
6066 ac_cpp_err=$ac_c_preproc_warn_flag
6067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6068 else
6069 ac_cpp_err=
6071 else
6072 ac_cpp_err=yes
6074 if test -z "$ac_cpp_err"; then
6075 ac_header_preproc=yes
6076 else
6077 echo "$as_me: failed program was:" >&5
6078 sed 's/^/| /' conftest.$ac_ext >&5
6080 ac_header_preproc=no
6082 rm -f conftest.err conftest.$ac_ext
6083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6084 echo "${ECHO_T}$ac_header_preproc" >&6
6086 # So? What about this header?
6087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6088 yes:no: )
6089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6093 ac_header_preproc=yes
6095 no:yes:* )
6096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6109 cat <<\_ASBOX
6110 ## ----------------------------------------- ##
6111 ## Report this to the package-unused lists. ##
6112 ## ----------------------------------------- ##
6113 _ASBOX
6115 sed "s/^/$as_me: WARNING: /" >&2
6117 esac
6118 echo "$as_me:$LINENO: checking for $ac_header" >&5
6119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6122 else
6123 eval "$as_ac_Header=\$ac_header_preproc"
6125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6130 cat >>confdefs.h <<_ACEOF
6131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6134 else
6135 USE_NLS=no
6138 done
6140 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6141 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6142 if test "${ac_cv_search_gettext+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 else
6145 ac_func_search_save_LIBS=$LIBS
6146 ac_cv_search_gettext=no
6147 if test x$gcc_no_link = xyes; then
6148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6150 { (exit 1); exit 1; }; }
6152 cat >conftest.$ac_ext <<_ACEOF
6153 /* confdefs.h. */
6154 _ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6159 /* Override any gcc2 internal prototype to avoid an error. */
6160 #ifdef __cplusplus
6161 extern "C"
6162 #endif
6163 /* We use char because int might match the return type of a gcc2
6164 builtin and then its argument prototype would still apply. */
6165 char gettext ();
6167 main ()
6169 gettext ();
6171 return 0;
6173 _ACEOF
6174 rm -f conftest.$ac_objext conftest$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176 (eval $ac_link) 2>conftest.er1
6177 ac_status=$?
6178 grep -v '^ *+' conftest.er1 >conftest.err
6179 rm -f conftest.er1
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5
6187 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest$ac_exeext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5
6193 ac_status=$?
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_cv_search_gettext="none required"
6197 else
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.$ac_ext >&5
6202 rm -f conftest.err conftest.$ac_objext \
6203 conftest$ac_exeext conftest.$ac_ext
6204 if test "$ac_cv_search_gettext" = no; then
6205 for ac_lib in intl; do
6206 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6207 if test x$gcc_no_link = xyes; then
6208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6210 { (exit 1); exit 1; }; }
6212 cat >conftest.$ac_ext <<_ACEOF
6213 /* confdefs.h. */
6214 _ACEOF
6215 cat confdefs.h >>conftest.$ac_ext
6216 cat >>conftest.$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6219 /* Override any gcc2 internal prototype to avoid an error. */
6220 #ifdef __cplusplus
6221 extern "C"
6222 #endif
6223 /* We use char because int might match the return type of a gcc2
6224 builtin and then its argument prototype would still apply. */
6225 char gettext ();
6227 main ()
6229 gettext ();
6231 return 0;
6233 _ACEOF
6234 rm -f conftest.$ac_objext conftest$ac_exeext
6235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6236 (eval $ac_link) 2>conftest.er1
6237 ac_status=$?
6238 grep -v '^ *+' conftest.er1 >conftest.err
6239 rm -f conftest.er1
6240 cat conftest.err >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } &&
6243 { ac_try='test -z "$ac_c_werror_flag"
6244 || test ! -s conftest.err'
6245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6246 (eval $ac_try) 2>&5
6247 ac_status=$?
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; } &&
6250 { ac_try='test -s conftest$ac_exeext'
6251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252 (eval $ac_try) 2>&5
6253 ac_status=$?
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); }; }; then
6256 ac_cv_search_gettext="-l$ac_lib"
6257 break
6258 else
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6263 rm -f conftest.err conftest.$ac_objext \
6264 conftest$ac_exeext conftest.$ac_ext
6265 done
6267 LIBS=$ac_func_search_save_LIBS
6269 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6270 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6271 if test "$ac_cv_search_gettext" != no; then
6272 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6274 else
6275 USE_NLS=no
6279 if test $USE_NLS = yes; then
6281 cat >>confdefs.h <<\_ACEOF
6282 #define _GLIBCXX_USE_NLS 1
6283 _ACEOF
6302 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6303 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6304 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6305 if test "${enable_libstdcxx_allocator+set}" = set; then
6306 enableval="$enable_libstdcxx_allocator"
6308 case "$enableval" in
6309 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6310 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6311 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6312 { (exit 1); exit 1; }; } ;;
6313 esac
6315 else
6316 enable_libstdcxx_allocator=auto
6320 # If they didn't use this option switch, or if they specified --enable
6321 # with no specific model, we'll have to look for one. If they
6322 # specified --disable (???), do likewise.
6323 if test $enable_libstdcxx_allocator = no ||
6324 test $enable_libstdcxx_allocator = yes;
6325 then
6326 enable_libstdcxx_allocator=auto
6329 # Either a known package, or "auto". Auto implies the default choice
6330 # for a particular platform.
6331 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6333 # Probe for host-specific support if no specific model is specified.
6334 # Default to "new".
6335 if test $enable_libstdcxx_allocator_flag = auto; then
6336 case ${target_os} in
6337 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6338 enable_libstdcxx_allocator_flag=mt
6341 enable_libstdcxx_allocator_flag=new
6343 esac
6345 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6346 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6349 # Set configure bits for specified locale package
6350 case ${enable_libstdcxx_allocator_flag} in
6351 bitmap)
6352 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6353 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6355 malloc)
6356 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6357 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6360 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6361 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6363 new)
6364 ALLOCATOR_H=config/allocator/new_allocator_base.h
6365 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6367 pool)
6368 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6369 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6371 esac
6377 # Check whether --enable-cheaders or --disable-cheaders was given.
6378 if test "${enable_cheaders+set}" = set; then
6379 enableval="$enable_cheaders"
6381 case "$enableval" in
6382 c|c_std) ;;
6383 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6384 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6385 { (exit 1); exit 1; }; } ;;
6386 esac
6388 else
6389 enable_cheaders=$c_model
6392 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6393 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6395 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6404 # Check whether --enable-c99 or --disable-c99 was given.
6405 if test "${enable_c99+set}" = set; then
6406 enableval="$enable_c99"
6408 case "$enableval" in
6409 yes|no) ;;
6410 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6411 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6412 { (exit 1); exit 1; }; } ;;
6413 esac
6415 else
6416 enable_c99=yes
6420 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6421 # even if C99 support is turned off.
6423 for ac_header in wchar.h
6425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6427 echo "$as_me:$LINENO: checking for $ac_header" >&5
6428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6430 echo $ECHO_N "(cached) $ECHO_C" >&6
6432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6434 else
6435 # Is the header compilable?
6436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6438 cat >conftest.$ac_ext <<_ACEOF
6439 /* confdefs.h. */
6440 _ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6444 $ac_includes_default
6445 #include <$ac_header>
6446 _ACEOF
6447 rm -f conftest.$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>conftest.er1
6450 ac_status=$?
6451 grep -v '^ *+' conftest.er1 >conftest.err
6452 rm -f conftest.er1
6453 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } &&
6456 { ac_try='test -z "$ac_c_werror_flag"
6457 || test ! -s conftest.err'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 (eval $ac_try) 2>&5
6460 ac_status=$?
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; } &&
6463 { ac_try='test -s conftest.$ac_objext'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 (eval $ac_try) 2>&5
6466 ac_status=$?
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6469 ac_header_compiler=yes
6470 else
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.$ac_ext >&5
6474 ac_header_compiler=no
6476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6478 echo "${ECHO_T}$ac_header_compiler" >&6
6480 # Is the header present?
6481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6483 cat >conftest.$ac_ext <<_ACEOF
6484 /* confdefs.h. */
6485 _ACEOF
6486 cat confdefs.h >>conftest.$ac_ext
6487 cat >>conftest.$ac_ext <<_ACEOF
6488 /* end confdefs.h. */
6489 #include <$ac_header>
6490 _ACEOF
6491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6493 ac_status=$?
6494 grep -v '^ *+' conftest.er1 >conftest.err
6495 rm -f conftest.er1
6496 cat conftest.err >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } >/dev/null; then
6499 if test -s conftest.err; then
6500 ac_cpp_err=$ac_c_preproc_warn_flag
6501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6502 else
6503 ac_cpp_err=
6505 else
6506 ac_cpp_err=yes
6508 if test -z "$ac_cpp_err"; then
6509 ac_header_preproc=yes
6510 else
6511 echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.$ac_ext >&5
6514 ac_header_preproc=no
6516 rm -f conftest.err conftest.$ac_ext
6517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6518 echo "${ECHO_T}$ac_header_preproc" >&6
6520 # So? What about this header?
6521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6522 yes:no: )
6523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6527 ac_header_preproc=yes
6529 no:yes:* )
6530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6543 cat <<\_ASBOX
6544 ## ----------------------------------------- ##
6545 ## Report this to the package-unused lists. ##
6546 ## ----------------------------------------- ##
6547 _ASBOX
6549 sed "s/^/$as_me: WARNING: /" >&2
6551 esac
6552 echo "$as_me:$LINENO: checking for $ac_header" >&5
6553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 eval "$as_ac_Header=\$ac_header_preproc"
6559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6564 cat >>confdefs.h <<_ACEOF
6565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6566 _ACEOF
6567 ac_has_wchar_h=yes
6568 else
6569 ac_has_wchar_h=no
6572 done
6574 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6575 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6576 cat >conftest.$ac_ext <<_ACEOF
6577 /* confdefs.h. */
6578 _ACEOF
6579 cat confdefs.h >>conftest.$ac_ext
6580 cat >>conftest.$ac_ext <<_ACEOF
6581 /* end confdefs.h. */
6582 #include <wchar.h>
6584 main ()
6586 mbstate_t teststate;
6588 return 0;
6590 _ACEOF
6591 rm -f conftest.$ac_objext
6592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6593 (eval $ac_compile) 2>conftest.er1
6594 ac_status=$?
6595 grep -v '^ *+' conftest.er1 >conftest.err
6596 rm -f conftest.er1
6597 cat conftest.err >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } &&
6600 { ac_try='test -z "$ac_c_werror_flag"
6601 || test ! -s conftest.err'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 (eval $ac_try) 2>&5
6604 ac_status=$?
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; } &&
6607 { ac_try='test -s conftest.$ac_objext'
6608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 (eval $ac_try) 2>&5
6610 ac_status=$?
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; }; then
6613 have_mbstate_t=yes
6614 else
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6618 have_mbstate_t=no
6620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6621 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6622 echo "${ECHO_T}$have_mbstate_t" >&6
6623 if test x"$have_mbstate_t" = xyes; then
6625 cat >>confdefs.h <<\_ACEOF
6626 #define HAVE_MBSTATE_T 1
6627 _ACEOF
6631 if test x"$enable_c99" = x"yes"; then
6635 ac_ext=cc
6636 ac_cpp='$CXXCPP $CPPFLAGS'
6637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6642 # Check for the existence of <math.h> functions used if C99 is enabled.
6643 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6644 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6645 if test "${ac_c99_math+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6647 else
6649 cat >conftest.$ac_ext <<_ACEOF
6650 /* confdefs.h. */
6651 _ACEOF
6652 cat confdefs.h >>conftest.$ac_ext
6653 cat >>conftest.$ac_ext <<_ACEOF
6654 /* end confdefs.h. */
6655 #include <math.h>
6657 main ()
6659 fpclassify(0.0);
6660 isfinite(0.0);
6661 isinf(0.0);
6662 isnan(0.0);
6663 isnormal(0.0);
6664 signbit(0.0);
6665 isgreater(0.0,0.0);
6666 isgreaterequal(0.0,0.0);
6667 isless(0.0,0.0);
6668 islessequal(0.0,0.0);
6669 islessgreater(0.0,0.0);
6670 islessgreater(0.0,0.0);
6671 isunordered(0.0,0.0);
6674 return 0;
6676 _ACEOF
6677 rm -f conftest.$ac_objext
6678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6679 (eval $ac_compile) 2>conftest.er1
6680 ac_status=$?
6681 grep -v '^ *+' conftest.er1 >conftest.err
6682 rm -f conftest.er1
6683 cat conftest.err >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); } &&
6686 { ac_try='test -z "$ac_cxx_werror_flag"
6687 || test ! -s conftest.err'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 (eval $ac_try) 2>&5
6690 ac_status=$?
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } &&
6693 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6699 ac_c99_math=yes
6700 else
6701 echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6704 ac_c99_math=no
6706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6710 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6711 echo "${ECHO_T}$ac_c99_math" >&6
6712 if test x"$ac_c99_math" = x"yes"; then
6714 cat >>confdefs.h <<\_ACEOF
6715 #define _GLIBCXX_USE_C99_MATH 1
6716 _ACEOF
6720 # Check for the existence of <complex.h> complex math functions.
6721 # This is necessary even though libstdc++ uses the builtin versions
6722 # of these functions, because if the builtin cannot be used, a reference
6723 # to the library function is emitted.
6725 for ac_header in complex.h
6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6729 echo "$as_me:$LINENO: checking for $ac_header" >&5
6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6736 else
6737 # Is the header compilable?
6738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h. */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6747 #include <$ac_header>
6748 _ACEOF
6749 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751 (eval $ac_compile) 2>conftest.er1
6752 ac_status=$?
6753 grep -v '^ *+' conftest.er1 >conftest.err
6754 rm -f conftest.er1
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } &&
6758 { ac_try='test -z "$ac_cxx_werror_flag"
6759 || test ! -s conftest.err'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } &&
6765 { ac_try='test -s conftest.$ac_objext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 (eval $ac_try) 2>&5
6768 ac_status=$?
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_header_compiler=yes
6772 else
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 ac_header_compiler=no
6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6780 echo "${ECHO_T}$ac_header_compiler" >&6
6782 # Is the header present?
6783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6785 cat >conftest.$ac_ext <<_ACEOF
6786 /* confdefs.h. */
6787 _ACEOF
6788 cat confdefs.h >>conftest.$ac_ext
6789 cat >>conftest.$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6791 #include <$ac_header>
6792 _ACEOF
6793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6795 ac_status=$?
6796 grep -v '^ *+' conftest.er1 >conftest.err
6797 rm -f conftest.er1
6798 cat conftest.err >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } >/dev/null; then
6801 if test -s conftest.err; then
6802 ac_cpp_err=$ac_cxx_preproc_warn_flag
6803 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6804 else
6805 ac_cpp_err=
6807 else
6808 ac_cpp_err=yes
6810 if test -z "$ac_cpp_err"; then
6811 ac_header_preproc=yes
6812 else
6813 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5
6816 ac_header_preproc=no
6818 rm -f conftest.err conftest.$ac_ext
6819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6820 echo "${ECHO_T}$ac_header_preproc" >&6
6822 # So? What about this header?
6823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6824 yes:no: )
6825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6829 ac_header_preproc=yes
6831 no:yes:* )
6832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6845 cat <<\_ASBOX
6846 ## ----------------------------------------- ##
6847 ## Report this to the package-unused lists. ##
6848 ## ----------------------------------------- ##
6849 _ASBOX
6851 sed "s/^/$as_me: WARNING: /" >&2
6853 esac
6854 echo "$as_me:$LINENO: checking for $ac_header" >&5
6855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859 eval "$as_ac_Header=\$ac_header_preproc"
6861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6866 cat >>confdefs.h <<_ACEOF
6867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6868 _ACEOF
6869 ac_has_complex_h=yes
6870 else
6871 ac_has_complex_h=no
6874 done
6876 ac_c99_complex=no;
6877 if test x"$ac_has_complex_h" = x"yes"; then
6878 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6879 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6880 cat >conftest.$ac_ext <<_ACEOF
6881 /* confdefs.h. */
6882 _ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 #include <complex.h>
6888 main ()
6890 typedef __complex__ float float_type; float_type tmpf;
6891 cabsf(tmpf);
6892 cargf(tmpf);
6893 ccosf(tmpf);
6894 ccoshf(tmpf);
6895 cexpf(tmpf);
6896 clogf(tmpf);
6897 csinf(tmpf);
6898 csinhf(tmpf);
6899 csqrtf(tmpf);
6900 ctanf(tmpf);
6901 ctanhf(tmpf);
6902 cpowf(tmpf, tmpf);
6903 typedef __complex__ double double_type; double_type tmpd;
6904 cabs(tmpd);
6905 carg(tmpd);
6906 ccos(tmpd);
6907 ccosh(tmpd);
6908 cexp(tmpd);
6909 clog(tmpd);
6910 csin(tmpd);
6911 csinh(tmpd);
6912 csqrt(tmpd);
6913 ctan(tmpd);
6914 ctanh(tmpd);
6915 cpow(tmpd, tmpd);
6916 typedef __complex__ long double ld_type; ld_type tmpld;
6917 cabsl(tmpld);
6918 cargl(tmpld);
6919 ccosl(tmpld);
6920 ccoshl(tmpld);
6921 cexpl(tmpld);
6922 clogl(tmpld);
6923 csinl(tmpld);
6924 csinhl(tmpld);
6925 csqrtl(tmpld);
6926 ctanl(tmpld);
6927 ctanhl(tmpld);
6928 cpowl(tmpld, tmpld);
6931 return 0;
6933 _ACEOF
6934 rm -f conftest.$ac_objext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6936 (eval $ac_compile) 2>conftest.er1
6937 ac_status=$?
6938 grep -v '^ *+' conftest.er1 >conftest.err
6939 rm -f conftest.er1
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } &&
6943 { ac_try='test -z "$ac_cxx_werror_flag"
6944 || test ! -s conftest.err'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 (eval $ac_try) 2>&5
6947 ac_status=$?
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; } &&
6950 { ac_try='test -s conftest.$ac_objext'
6951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 (eval $ac_try) 2>&5
6953 ac_status=$?
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); }; }; then
6956 ac_c99_complex=yes
6957 else
6958 echo "$as_me: failed program was:" >&5
6959 sed 's/^/| /' conftest.$ac_ext >&5
6961 ac_c99_complex=no
6963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6965 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6966 echo "${ECHO_T}$ac_c99_complex" >&6
6967 if test x"$ac_c99_complex" = x"yes"; then
6969 cat >>confdefs.h <<\_ACEOF
6970 #define _GLIBCXX_USE_C99_COMPLEX 1
6971 _ACEOF
6975 # Check for the existence in <stdio.h> of vscanf, et. al.
6976 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6977 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6978 if test "${ac_c99_stdio+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 else
6982 cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h. */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 #include <stdio.h>
6989 #include <stdarg.h>
6990 void foo(char* fmt, ...)
6992 va_list args; va_start(args, fmt);
6993 vfscanf(stderr, "%i", args);
6994 vscanf("%i", args);
6995 vsnprintf(fmt, 0, "%i", args);
6996 vsscanf(fmt, "%i", args);
6999 main ()
7001 snprintf("12", 0, "%i");
7003 return 0;
7005 _ACEOF
7006 rm -f conftest.$ac_objext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008 (eval $ac_compile) 2>conftest.er1
7009 ac_status=$?
7010 grep -v '^ *+' conftest.er1 >conftest.err
7011 rm -f conftest.er1
7012 cat conftest.err >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } &&
7015 { ac_try='test -z "$ac_cxx_werror_flag"
7016 || test ! -s conftest.err'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018 (eval $ac_try) 2>&5
7019 ac_status=$?
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; } &&
7022 { ac_try='test -s conftest.$ac_objext'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 (eval $ac_try) 2>&5
7025 ac_status=$?
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; }; then
7028 ac_c99_stdio=yes
7029 else
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7033 ac_c99_stdio=no
7035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7039 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7040 echo "${ECHO_T}$ac_c99_stdio" >&6
7042 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7043 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7044 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7045 if test "${ac_c99_stdlib+set}" = set; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7047 else
7049 cat >conftest.$ac_ext <<_ACEOF
7050 /* confdefs.h. */
7051 _ACEOF
7052 cat confdefs.h >>conftest.$ac_ext
7053 cat >>conftest.$ac_ext <<_ACEOF
7054 /* end confdefs.h. */
7055 #include <stdlib.h>
7057 main ()
7059 char* tmp;
7060 strtof("gnu", &tmp);
7061 strtold("gnu", &tmp);
7062 strtoll("gnu", &tmp, 10);
7063 strtoull("gnu", &tmp, 10);
7064 llabs(10);
7065 lldiv(10,1);
7066 atoll("10");
7067 _Exit(0);
7068 lldiv_t mydivt;
7070 return 0;
7072 _ACEOF
7073 rm -f conftest.$ac_objext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7075 (eval $ac_compile) 2>conftest.er1
7076 ac_status=$?
7077 grep -v '^ *+' conftest.er1 >conftest.err
7078 rm -f conftest.er1
7079 cat conftest.err >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } &&
7082 { ac_try='test -z "$ac_cxx_werror_flag"
7083 || test ! -s conftest.err'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 (eval $ac_try) 2>&5
7086 ac_status=$?
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; } &&
7089 { ac_try='test -s conftest.$ac_objext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 (eval $ac_try) 2>&5
7092 ac_status=$?
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 ac_c99_stdlib=yes
7096 else
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.$ac_ext >&5
7100 ac_c99_stdlib=no
7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7106 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7107 echo "${ECHO_T}$ac_c99_stdlib" >&6
7109 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7111 for ac_header in wctype.h
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7115 echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7122 else
7123 # Is the header compilable?
7124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7126 cat >conftest.$ac_ext <<_ACEOF
7127 /* confdefs.h. */
7128 _ACEOF
7129 cat confdefs.h >>conftest.$ac_ext
7130 cat >>conftest.$ac_ext <<_ACEOF
7131 /* end confdefs.h. */
7132 $ac_includes_default
7133 #include <$ac_header>
7134 _ACEOF
7135 rm -f conftest.$ac_objext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7137 (eval $ac_compile) 2>conftest.er1
7138 ac_status=$?
7139 grep -v '^ *+' conftest.er1 >conftest.err
7140 rm -f conftest.er1
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_cxx_werror_flag"
7145 || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 (eval $ac_try) 2>&5
7148 ac_status=$?
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 (eval $ac_try) 2>&5
7154 ac_status=$?
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_header_compiler=yes
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_header_compiler=no
7164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7166 echo "${ECHO_T}$ac_header_compiler" >&6
7168 # Is the header present?
7169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7171 cat >conftest.$ac_ext <<_ACEOF
7172 /* confdefs.h. */
7173 _ACEOF
7174 cat confdefs.h >>conftest.$ac_ext
7175 cat >>conftest.$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 #include <$ac_header>
7178 _ACEOF
7179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } >/dev/null; then
7187 if test -s conftest.err; then
7188 ac_cpp_err=$ac_cxx_preproc_warn_flag
7189 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7190 else
7191 ac_cpp_err=
7193 else
7194 ac_cpp_err=yes
7196 if test -z "$ac_cpp_err"; then
7197 ac_header_preproc=yes
7198 else
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7202 ac_header_preproc=no
7204 rm -f conftest.err conftest.$ac_ext
7205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7206 echo "${ECHO_T}$ac_header_preproc" >&6
7208 # So? What about this header?
7209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7210 yes:no: )
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7215 ac_header_preproc=yes
7217 no:yes:* )
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7231 cat <<\_ASBOX
7232 ## ----------------------------------------- ##
7233 ## Report this to the package-unused lists. ##
7234 ## ----------------------------------------- ##
7235 _ASBOX
7237 sed "s/^/$as_me: WARNING: /" >&2
7239 esac
7240 echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 else
7245 eval "$as_ac_Header=\$ac_header_preproc"
7247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7252 cat >>confdefs.h <<_ACEOF
7253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7254 _ACEOF
7255 ac_has_wctype_h=yes
7256 else
7257 ac_has_wctype_h=no
7260 done
7262 ac_c99_wchar=no;
7263 if test x"$ac_has_wchar_h" = xyes &&
7264 test x"$ac_has_wctype_h" = xyes; then
7265 cat >conftest.$ac_ext <<_ACEOF
7266 /* confdefs.h. */
7267 _ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h. */
7271 #include <wchar.h>
7272 #include <stddef.h>
7273 wint_t i;
7274 long l = WEOF;
7275 long j = WCHAR_MIN;
7276 long k = WCHAR_MAX;
7277 namespace test
7279 using ::btowc;
7280 using ::fgetwc;
7281 using ::fgetws;
7282 using ::fputwc;
7283 using ::fputws;
7284 using ::fwide;
7285 using ::fwprintf;
7286 using ::fwscanf;
7287 using ::getwc;
7288 using ::getwchar;
7289 using ::mbrlen;
7290 using ::mbrtowc;
7291 using ::mbsinit;
7292 using ::mbsrtowcs;
7293 using ::putwc;
7294 using ::putwchar;
7295 using ::swprintf;
7296 using ::swscanf;
7297 using ::ungetwc;
7298 using ::vfwprintf;
7299 using ::vswprintf;
7300 using ::vwprintf;
7301 using ::wcrtomb;
7302 using ::wcscat;
7303 using ::wcschr;
7304 using ::wcscmp;
7305 using ::wcscoll;
7306 using ::wcscpy;
7307 using ::wcscspn;
7308 using ::wcsftime;
7309 using ::wcslen;
7310 using ::wcsncat;
7311 using ::wcsncmp;
7312 using ::wcsncpy;
7313 using ::wcspbrk;
7314 using ::wcsrchr;
7315 using ::wcsrtombs;
7316 using ::wcsspn;
7317 using ::wcsstr;
7318 using ::wcstod;
7319 using ::wcstok;
7320 using ::wcstol;
7321 using ::wcstold;
7322 using ::wcstoll;
7323 using ::wcstoul;
7324 using ::wcstoull;
7325 using ::wcsxfrm;
7326 using ::wctob;
7327 using ::wmemchr;
7328 using ::wmemcmp;
7329 using ::wmemcpy;
7330 using ::wmemmove;
7331 using ::wmemset;
7332 using ::wprintf;
7333 using ::wscanf;
7337 main ()
7341 return 0;
7343 _ACEOF
7344 rm -f conftest.$ac_objext
7345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7346 (eval $ac_compile) 2>conftest.er1
7347 ac_status=$?
7348 grep -v '^ *+' conftest.er1 >conftest.err
7349 rm -f conftest.er1
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } &&
7353 { ac_try='test -z "$ac_cxx_werror_flag"
7354 || test ! -s conftest.err'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356 (eval $ac_try) 2>&5
7357 ac_status=$?
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; } &&
7360 { ac_try='test -s conftest.$ac_objext'
7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7362 (eval $ac_try) 2>&5
7363 ac_status=$?
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); }; }; then
7366 ac_c99_wchar=yes
7367 else
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7371 ac_c99_wchar=no
7373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7375 # Checks for wide character functions that may not be present.
7376 # Injection of these is wrapped with guard macros.
7377 # NB: only put functions here, instead of immediately above, if
7378 # absolutely necessary.
7379 cat >conftest.$ac_ext <<_ACEOF
7380 /* confdefs.h. */
7381 _ACEOF
7382 cat confdefs.h >>conftest.$ac_ext
7383 cat >>conftest.$ac_ext <<_ACEOF
7384 /* end confdefs.h. */
7385 #include <wchar.h>
7386 namespace test { using ::vfwscanf; }
7388 main ()
7392 return 0;
7394 _ACEOF
7395 rm -f conftest.$ac_objext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7397 (eval $ac_compile) 2>conftest.er1
7398 ac_status=$?
7399 grep -v '^ *+' conftest.er1 >conftest.err
7400 rm -f conftest.er1
7401 cat conftest.err >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } &&
7404 { ac_try='test -z "$ac_cxx_werror_flag"
7405 || test ! -s conftest.err'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407 (eval $ac_try) 2>&5
7408 ac_status=$?
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; } &&
7411 { ac_try='test -s conftest.$ac_objext'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413 (eval $ac_try) 2>&5
7414 ac_status=$?
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; }; then
7418 cat >>confdefs.h <<\_ACEOF
7419 #define HAVE_VFWSCANF 1
7420 _ACEOF
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7429 cat >conftest.$ac_ext <<_ACEOF
7430 /* confdefs.h. */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <wchar.h>
7436 namespace test { using ::vswscanf; }
7438 main ()
7442 return 0;
7444 _ACEOF
7445 rm -f conftest.$ac_objext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447 (eval $ac_compile) 2>conftest.er1
7448 ac_status=$?
7449 grep -v '^ *+' conftest.er1 >conftest.err
7450 rm -f conftest.er1
7451 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } &&
7454 { ac_try='test -z "$ac_cxx_werror_flag"
7455 || test ! -s conftest.err'
7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 (eval $ac_try) 2>&5
7458 ac_status=$?
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); }; } &&
7461 { ac_try='test -s conftest.$ac_objext'
7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 (eval $ac_try) 2>&5
7464 ac_status=$?
7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 (exit $ac_status); }; }; then
7468 cat >>confdefs.h <<\_ACEOF
7469 #define HAVE_VSWSCANF 1
7470 _ACEOF
7472 else
7473 echo "$as_me: failed program was:" >&5
7474 sed 's/^/| /' conftest.$ac_ext >&5
7477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7479 cat >conftest.$ac_ext <<_ACEOF
7480 /* confdefs.h. */
7481 _ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7485 #include <wchar.h>
7486 namespace test { using ::vwscanf; }
7488 main ()
7492 return 0;
7494 _ACEOF
7495 rm -f conftest.$ac_objext
7496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7497 (eval $ac_compile) 2>conftest.er1
7498 ac_status=$?
7499 grep -v '^ *+' conftest.er1 >conftest.err
7500 rm -f conftest.er1
7501 cat conftest.err >&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); } &&
7504 { ac_try='test -z "$ac_cxx_werror_flag"
7505 || test ! -s conftest.err'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 (eval $ac_try) 2>&5
7508 ac_status=$?
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; } &&
7511 { ac_try='test -s conftest.$ac_objext'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 (eval $ac_try) 2>&5
7514 ac_status=$?
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; }; then
7518 cat >>confdefs.h <<\_ACEOF
7519 #define HAVE_VWSCANF 1
7520 _ACEOF
7522 else
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7529 cat >conftest.$ac_ext <<_ACEOF
7530 /* confdefs.h. */
7531 _ACEOF
7532 cat confdefs.h >>conftest.$ac_ext
7533 cat >>conftest.$ac_ext <<_ACEOF
7534 /* end confdefs.h. */
7535 #include <wchar.h>
7536 namespace test { using ::wcstof; }
7538 main ()
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>conftest.er1
7548 ac_status=$?
7549 grep -v '^ *+' conftest.er1 >conftest.err
7550 rm -f conftest.er1
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_cxx_werror_flag"
7555 || test ! -s conftest.err'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 (eval $ac_try) 2>&5
7558 ac_status=$?
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; } &&
7561 { ac_try='test -s conftest.$ac_objext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 (eval $ac_try) 2>&5
7564 ac_status=$?
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7568 cat >>confdefs.h <<\_ACEOF
7569 #define HAVE_WCSTOF 1
7570 _ACEOF
7572 else
7573 echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.$ac_ext >&5
7577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7579 cat >conftest.$ac_ext <<_ACEOF
7580 /* confdefs.h. */
7581 _ACEOF
7582 cat confdefs.h >>conftest.$ac_ext
7583 cat >>conftest.$ac_ext <<_ACEOF
7584 /* end confdefs.h. */
7585 #include <wctype.h>
7587 main ()
7589 wint_t t; int i = iswblank(t);
7591 return 0;
7593 _ACEOF
7594 rm -f conftest.$ac_objext
7595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7596 (eval $ac_compile) 2>conftest.er1
7597 ac_status=$?
7598 grep -v '^ *+' conftest.er1 >conftest.err
7599 rm -f conftest.er1
7600 cat conftest.err >&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); } &&
7603 { ac_try='test -z "$ac_cxx_werror_flag"
7604 || test ! -s conftest.err'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 (eval $ac_try) 2>&5
7607 ac_status=$?
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; } &&
7610 { ac_try='test -s conftest.$ac_objext'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 (eval $ac_try) 2>&5
7613 ac_status=$?
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; }; then
7617 cat >>confdefs.h <<\_ACEOF
7618 #define HAVE_ISWBLANK 1
7619 _ACEOF
7621 else
7622 echo "$as_me: failed program was:" >&5
7623 sed 's/^/| /' conftest.$ac_ext >&5
7626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7628 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7629 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7630 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7631 echo "${ECHO_T}$ac_c99_wchar" >&6
7634 # Option parsed, now set things appropriately.
7635 if test x"$ac_c99_math" = x"no" ||
7636 test x"$ac_c99_complex" = x"no" ||
7637 test x"$ac_c99_stdio" = x"no" ||
7638 test x"$ac_c99_stdlib" = x"no" ||
7639 test x"$ac_c99_wchar" = x"no"; then
7640 enable_c99=no;
7641 else
7643 cat >>confdefs.h <<\_ACEOF
7644 #define _GLIBCXX_USE_C99 1
7645 _ACEOF
7649 ac_ext=c
7650 ac_cpp='$CPP $CPPFLAGS'
7651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7657 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7658 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7659 echo "$as_me:$LINENO: result: $enable_c99" >&5
7660 echo "${ECHO_T}$enable_c99" >&6
7663 # Check whether --enable-long-long or --disable-long-long was given.
7664 if test "${enable_long_long+set}" = set; then
7665 enableval="$enable_long_long"
7667 case "$enableval" in
7668 yes|no) ;;
7669 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7670 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7671 { (exit 1); exit 1; }; } ;;
7672 esac
7674 else
7675 enable_long_long=yes
7678 if test $enable_long_long = yes; then
7680 cat >>confdefs.h <<\_ACEOF
7681 #define _GLIBCXX_USE_LONG_LONG 1
7682 _ACEOF
7685 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7686 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7687 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7688 echo "${ECHO_T}$enable_long_long" >&6
7691 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7692 if test "${enable_wchar_t+set}" = set; then
7693 enableval="$enable_wchar_t"
7695 case "$enableval" in
7696 yes|no) ;;
7697 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7698 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7699 { (exit 1); exit 1; }; } ;;
7700 esac
7702 else
7703 enable_wchar_t=yes
7706 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7708 cat >>confdefs.h <<\_ACEOF
7709 #define _GLIBCXX_USE_WCHAR_T 1
7710 _ACEOF
7713 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7714 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7715 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7716 echo "${ECHO_T}$enable_wchar_t" >&6
7719 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7720 if test "${enable_concept_checks+set}" = set; then
7721 enableval="$enable_concept_checks"
7723 case "$enableval" in
7724 yes|no) ;;
7725 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7726 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7727 { (exit 1); exit 1; }; } ;;
7728 esac
7730 else
7731 enable_concept_checks=no
7734 if test $enable_concept_checks = yes; then
7736 cat >>confdefs.h <<\_ACEOF
7737 #define _GLIBCXX_CONCEPT_CHECKS 1
7738 _ACEOF
7743 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7744 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7745 enableval="$enable_libstdcxx_debug_flags"
7746 case "x$enable_libstdcxx_debug_flags" in
7747 xno | x) enable_libstdcxx_debug_flags= ;;
7748 x-*) ;;
7749 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7750 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7751 { (exit 1); exit 1; }; } ;;
7752 esac
7753 else
7754 enable_libstdcxx_debug_flags="-g3 -O0"
7758 # Option parsed, now set things appropriately
7759 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7762 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7763 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7766 echo "$as_me:$LINENO: checking for additional debug build" >&5
7767 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7768 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7769 if test "${enable_libstdcxx_debug+set}" = set; then
7770 enableval="$enable_libstdcxx_debug"
7772 case "$enableval" in
7773 yes|no) ;;
7774 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7775 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7776 { (exit 1); exit 1; }; } ;;
7777 esac
7779 else
7780 enable_libstdcxx_debug=no
7783 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7784 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7787 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7788 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7789 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7790 if test "${enable_cxx_flags+set}" = set; then
7791 enableval="$enable_cxx_flags"
7792 case "x$enable_cxx_flags" in
7793 xno | x) enable_cxx_flags= ;;
7794 x-*) ;;
7795 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7796 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7797 { (exit 1); exit 1; }; } ;;
7798 esac
7799 else
7800 enable_cxx_flags=
7804 # Run through flags (either default or command-line) and set anything
7805 # extra (e.g., #defines) that must accompany particular g++ options.
7806 if test -n "$enable_cxx_flags"; then
7807 for f in $enable_cxx_flags; do
7808 case "$f" in
7809 -fhonor-std) ;;
7810 -*) ;;
7811 *) # and we're trying to pass /what/ exactly?
7812 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7813 echo "$as_me: error: compiler flags start with a -" >&2;}
7814 { (exit 1); exit 1; }; } ;;
7815 esac
7816 done
7819 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7820 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7821 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7825 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7826 if test "${enable_fully_dynamic_string+set}" = set; then
7827 enableval="$enable_fully_dynamic_string"
7829 case "$enableval" in
7830 yes|no) ;;
7831 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7832 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7833 { (exit 1); exit 1; }; } ;;
7834 esac
7836 else
7837 enable_fully_dynamic_string=no
7840 if test $enable_fully_dynamic_string = yes; then
7842 cat >>confdefs.h <<\_ACEOF
7843 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7844 _ACEOF
7849 # No surprises, no surprises...
7851 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7852 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7853 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7854 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7855 echo "${ECHO_T}$target_thread_file" >&6
7857 if test $target_thread_file != single; then
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_GTHR_DEFAULT 1
7861 _ACEOF
7865 glibcxx_thread_h=gthr-$target_thread_file.h
7867 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7868 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7869 enable_thread=yes
7870 else
7871 enable_thread=no
7876 if test $atomicity_dir = cpu/generic ; then
7877 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7878 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7879 if test $target_thread_file = single; then
7880 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7881 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7882 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7883 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7884 else
7885 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7886 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7887 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7888 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7893 if $GLIBCXX_IS_NATIVE; then
7895 # We can do more elaborate tests that assume a working linker.
7896 CANADIAN=no
7898 # Check for available headers.
7914 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7915 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7916 sys/types.h sys/ipc.h sys/sem.h
7918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7920 echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7927 else
7928 # Is the header compilable?
7929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7932 /* confdefs.h. */
7933 _ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 $ac_includes_default
7938 #include <$ac_header>
7939 _ACEOF
7940 rm -f conftest.$ac_objext
7941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7942 (eval $ac_compile) 2>conftest.er1
7943 ac_status=$?
7944 grep -v '^ *+' conftest.er1 >conftest.err
7945 rm -f conftest.er1
7946 cat conftest.err >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } &&
7949 { ac_try='test -z "$ac_c_werror_flag"
7950 || test ! -s conftest.err'
7951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 (eval $ac_try) 2>&5
7953 ac_status=$?
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); }; } &&
7956 { ac_try='test -s conftest.$ac_objext'
7957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958 (eval $ac_try) 2>&5
7959 ac_status=$?
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; }; then
7962 ac_header_compiler=yes
7963 else
7964 echo "$as_me: failed program was:" >&5
7965 sed 's/^/| /' conftest.$ac_ext >&5
7967 ac_header_compiler=no
7969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7971 echo "${ECHO_T}$ac_header_compiler" >&6
7973 # Is the header present?
7974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7976 cat >conftest.$ac_ext <<_ACEOF
7977 /* confdefs.h. */
7978 _ACEOF
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7982 #include <$ac_header>
7983 _ACEOF
7984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7986 ac_status=$?
7987 grep -v '^ *+' conftest.er1 >conftest.err
7988 rm -f conftest.er1
7989 cat conftest.err >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } >/dev/null; then
7992 if test -s conftest.err; then
7993 ac_cpp_err=$ac_c_preproc_warn_flag
7994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7995 else
7996 ac_cpp_err=
7998 else
7999 ac_cpp_err=yes
8001 if test -z "$ac_cpp_err"; then
8002 ac_header_preproc=yes
8003 else
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 ac_header_preproc=no
8009 rm -f conftest.err conftest.$ac_ext
8010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8011 echo "${ECHO_T}$ac_header_preproc" >&6
8013 # So? What about this header?
8014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8015 yes:no: )
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8020 ac_header_preproc=yes
8022 no:yes:* )
8023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8036 cat <<\_ASBOX
8037 ## ----------------------------------------- ##
8038 ## Report this to the package-unused lists. ##
8039 ## ----------------------------------------- ##
8040 _ASBOX
8042 sed "s/^/$as_me: WARNING: /" >&2
8044 esac
8045 echo "$as_me:$LINENO: checking for $ac_header" >&5
8046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 eval "$as_ac_Header=\$ac_header_preproc"
8052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8057 cat >>confdefs.h <<_ACEOF
8058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8059 _ACEOF
8063 done
8067 # All these tests are for C++; save the language and the compiler flags.
8068 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8069 # found in GLIBCXX_CONFIGURE.
8072 ac_ext=cc
8073 ac_cpp='$CXXCPP $CPPFLAGS'
8074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8078 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8079 ac_save_CXXFLAGS="$CXXFLAGS"
8081 # Check for maintainer-mode bits.
8082 if test x"$USE_MAINTAINER_MODE" = xno; then
8083 WERROR=''
8084 else
8085 WERROR='-Werror'
8088 # Check for -ffunction-sections -fdata-sections
8089 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8090 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8091 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8092 cat >conftest.$ac_ext <<_ACEOF
8093 /* confdefs.h. */
8094 _ACEOF
8095 cat confdefs.h >>conftest.$ac_ext
8096 cat >>conftest.$ac_ext <<_ACEOF
8097 /* end confdefs.h. */
8100 main ()
8102 int foo;
8104 return 0;
8106 _ACEOF
8107 rm -f conftest.$ac_objext
8108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8109 (eval $ac_compile) 2>conftest.er1
8110 ac_status=$?
8111 grep -v '^ *+' conftest.er1 >conftest.err
8112 rm -f conftest.er1
8113 cat conftest.err >&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } &&
8116 { ac_try='test -z "$ac_cxx_werror_flag"
8117 || test ! -s conftest.err'
8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119 (eval $ac_try) 2>&5
8120 ac_status=$?
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); }; } &&
8123 { ac_try='test -s conftest.$ac_objext'
8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8125 (eval $ac_try) 2>&5
8126 ac_status=$?
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); }; }; then
8129 ac_fdsections=yes
8130 else
8131 echo "$as_me: failed program was:" >&5
8132 sed 's/^/| /' conftest.$ac_ext >&5
8134 ac_fdsections=no
8136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8137 if test "$ac_test_CXXFLAGS" = set; then
8138 CXXFLAGS="$ac_save_CXXFLAGS"
8139 else
8140 # this is the suspicious part
8141 CXXFLAGS=''
8143 if test x"$ac_fdsections" = x"yes"; then
8144 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8146 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8147 echo "${ECHO_T}$ac_fdsections" >&6
8149 ac_ext=c
8150 ac_cpp='$CPP $CPPFLAGS'
8151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8159 # If we're not using GNU ld, then there's no point in even trying these
8160 # tests. Check for that first. We should have already tested for gld
8161 # by now (in libtool), but require it now just to be safe...
8162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8167 # The name set by libtool depends on the version of libtool. Shame on us
8168 # for depending on an impl detail, but c'est la vie. Older versions used
8169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8172 # set (hence we're using an older libtool), then set it.
8173 if test x${with_gnu_ld+set} != xset; then
8174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8176 with_gnu_ld=no
8177 else
8178 with_gnu_ld=$ac_cv_prog_gnu_ld
8182 # Start by getting the version number. I think the libtool test already
8183 # does some of this, but throws away the result.
8185 ldver=`$LD --version 2>/dev/null | head -1 | \
8186 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8188 glibcxx_gnu_ld_version=`echo $ldver | \
8189 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8191 # Set --gc-sections.
8192 if test "$with_gnu_ld" = "notbroken"; then
8193 # GNU ld it is! Joy and bunny rabbits!
8195 # All these tests are for C++; save the language and the compiler flags.
8196 # Need to do this so that g++ won't try to link in libstdc++
8197 ac_test_CFLAGS="${CFLAGS+set}"
8198 ac_save_CFLAGS="$CFLAGS"
8199 CFLAGS='-x c++ -Wl,--gc-sections'
8201 # Check for -Wl,--gc-sections
8202 # XXX This test is broken at the moment, as symbols required for linking
8203 # are now in libsupc++ (not built yet). In addition, this test has
8204 # cored on solaris in the past. In addition, --gc-sections doesn't
8205 # really work at the moment (keeps on discarding used sections, first
8206 # .eh_frame and now some of the glibc sections for iconv).
8207 # Bzzzzt. Thanks for playing, maybe next time.
8208 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8209 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8210 if test "$cross_compiling" = yes; then
8211 ac_sectionLDflags=yes
8212 else
8213 cat >conftest.$ac_ext <<_ACEOF
8214 /* confdefs.h. */
8215 _ACEOF
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8220 int main(void)
8222 try { throw 1; }
8223 catch (...) { };
8224 return 0;
8227 _ACEOF
8228 rm -f conftest$ac_exeext
8229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8230 (eval $ac_link) 2>&5
8231 ac_status=$?
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235 (eval $ac_try) 2>&5
8236 ac_status=$?
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; }; then
8239 ac_sectionLDflags=yes
8240 else
8241 echo "$as_me: program exited with status $ac_status" >&5
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8245 ( exit $ac_status )
8246 ac_sectionLDflags=no
8248 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8250 if test "$ac_test_CFLAGS" = set; then
8251 CFLAGS="$ac_save_CFLAGS"
8252 else
8253 # this is the suspicious part
8254 CFLAGS=''
8256 if test "$ac_sectionLDflags" = "yes"; then
8257 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8259 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8260 echo "${ECHO_T}$ac_sectionLDflags" >&6
8263 # Set linker optimization flags.
8264 if test x"$with_gnu_ld" = x"yes"; then
8265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8272 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8273 ac_save_CXXFLAGS="$CXXFLAGS"
8274 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8276 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8277 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8278 if test "${ac_cv_lib_m_sin+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8280 else
8281 ac_check_lib_save_LIBS=$LIBS
8282 LIBS="-lm $LIBS"
8283 if test x$gcc_no_link = xyes; then
8284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8286 { (exit 1); exit 1; }; }
8288 cat >conftest.$ac_ext <<_ACEOF
8289 /* confdefs.h. */
8290 _ACEOF
8291 cat confdefs.h >>conftest.$ac_ext
8292 cat >>conftest.$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8295 /* Override any gcc2 internal prototype to avoid an error. */
8296 #ifdef __cplusplus
8297 extern "C"
8298 #endif
8299 /* We use char because int might match the return type of a gcc2
8300 builtin and then its argument prototype would still apply. */
8301 char sin ();
8303 main ()
8305 sin ();
8307 return 0;
8309 _ACEOF
8310 rm -f conftest.$ac_objext conftest$ac_exeext
8311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8312 (eval $ac_link) 2>conftest.er1
8313 ac_status=$?
8314 grep -v '^ *+' conftest.er1 >conftest.err
8315 rm -f conftest.er1
8316 cat conftest.err >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } &&
8319 { ac_try='test -z "$ac_c_werror_flag"
8320 || test ! -s conftest.err'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 (eval $ac_try) 2>&5
8323 ac_status=$?
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; } &&
8326 { ac_try='test -s conftest$ac_exeext'
8327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328 (eval $ac_try) 2>&5
8329 ac_status=$?
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); }; }; then
8332 ac_cv_lib_m_sin=yes
8333 else
8334 echo "$as_me: failed program was:" >&5
8335 sed 's/^/| /' conftest.$ac_ext >&5
8337 ac_cv_lib_m_sin=no
8339 rm -f conftest.err conftest.$ac_objext \
8340 conftest$ac_exeext conftest.$ac_ext
8341 LIBS=$ac_check_lib_save_LIBS
8343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8344 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8345 if test $ac_cv_lib_m_sin = yes; then
8346 libm="-lm"
8349 ac_save_LIBS="$LIBS"
8350 LIBS="$LIBS $libm"
8354 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8355 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8356 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8357 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 else
8363 ac_ext=cc
8364 ac_cpp='$CXXCPP $CPPFLAGS'
8365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
8376 #ifdef HAVE_IEEEFP_H
8377 #include <ieeefp.h>
8378 #endif
8381 main ()
8383 isinf(0);
8385 return 0;
8387 _ACEOF
8388 rm -f conftest.$ac_objext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390 (eval $ac_compile) 2>conftest.er1
8391 ac_status=$?
8392 grep -v '^ *+' conftest.er1 >conftest.err
8393 rm -f conftest.er1
8394 cat conftest.err >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } &&
8397 { ac_try='test -z "$ac_cxx_werror_flag"
8398 || test ! -s conftest.err'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 (eval $ac_try) 2>&5
8401 ac_status=$?
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; } &&
8404 { ac_try='test -s conftest.$ac_objext'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 (eval $ac_try) 2>&5
8407 ac_status=$?
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; }; then
8410 glibcxx_cv_func_isinf_use=yes
8411 else
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 glibcxx_cv_func_isinf_use=no
8417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8418 ac_ext=c
8419 ac_cpp='$CPP $CPPFLAGS'
8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8429 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8431 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8433 for ac_func in isinf
8435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8436 echo "$as_me:$LINENO: checking for $ac_func" >&5
8437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8438 if eval "test \"\${$as_ac_var+set}\" = set"; then
8439 echo $ECHO_N "(cached) $ECHO_C" >&6
8440 else
8441 if test x$gcc_no_link = xyes; then
8442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8444 { (exit 1); exit 1; }; }
8446 cat >conftest.$ac_ext <<_ACEOF
8447 /* confdefs.h. */
8448 _ACEOF
8449 cat confdefs.h >>conftest.$ac_ext
8450 cat >>conftest.$ac_ext <<_ACEOF
8451 /* end confdefs.h. */
8452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8454 #define $ac_func innocuous_$ac_func
8456 /* System header to define __stub macros and hopefully few prototypes,
8457 which can conflict with char $ac_func (); below.
8458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8459 <limits.h> exists even on freestanding compilers. */
8461 #ifdef __STDC__
8462 # include <limits.h>
8463 #else
8464 # include <assert.h>
8465 #endif
8467 #undef $ac_func
8469 /* Override any gcc2 internal prototype to avoid an error. */
8470 #ifdef __cplusplus
8471 extern "C"
8473 #endif
8474 /* We use char because int might match the return type of a gcc2
8475 builtin and then its argument prototype would still apply. */
8476 char $ac_func ();
8477 /* The GNU C library defines this for functions which it implements
8478 to always fail with ENOSYS. Some functions are actually named
8479 something starting with __ and the normal name is an alias. */
8480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8481 choke me
8482 #else
8483 char (*f) () = $ac_func;
8484 #endif
8485 #ifdef __cplusplus
8487 #endif
8490 main ()
8492 return f != $ac_func;
8494 return 0;
8496 _ACEOF
8497 rm -f conftest.$ac_objext conftest$ac_exeext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8499 (eval $ac_link) 2>conftest.er1
8500 ac_status=$?
8501 grep -v '^ *+' conftest.er1 >conftest.err
8502 rm -f conftest.er1
8503 cat conftest.err >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); } &&
8506 { ac_try='test -z "$ac_c_werror_flag"
8507 || test ! -s conftest.err'
8508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509 (eval $ac_try) 2>&5
8510 ac_status=$?
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); }; } &&
8513 { ac_try='test -s conftest$ac_exeext'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 (eval $ac_try) 2>&5
8516 ac_status=$?
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; }; then
8519 eval "$as_ac_var=yes"
8520 else
8521 echo "$as_me: failed program was:" >&5
8522 sed 's/^/| /' conftest.$ac_ext >&5
8524 eval "$as_ac_var=no"
8526 rm -f conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8531 if test `eval echo '${'$as_ac_var'}'` = yes; then
8532 cat >>confdefs.h <<_ACEOF
8533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8534 _ACEOF
8537 done
8539 else
8541 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8542 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8543 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8544 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 else
8550 ac_ext=cc
8551 ac_cpp='$CXXCPP $CPPFLAGS'
8552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
8563 #ifdef HAVE_IEEEFP_H
8564 #include <ieeefp.h>
8565 #endif
8568 main ()
8570 _isinf(0);
8572 return 0;
8574 _ACEOF
8575 rm -f conftest.$ac_objext
8576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8577 (eval $ac_compile) 2>conftest.er1
8578 ac_status=$?
8579 grep -v '^ *+' conftest.er1 >conftest.err
8580 rm -f conftest.er1
8581 cat conftest.err >&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); } &&
8584 { ac_try='test -z "$ac_cxx_werror_flag"
8585 || test ! -s conftest.err'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8587 (eval $ac_try) 2>&5
8588 ac_status=$?
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; } &&
8591 { ac_try='test -s conftest.$ac_objext'
8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593 (eval $ac_try) 2>&5
8594 ac_status=$?
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); }; }; then
8597 glibcxx_cv_func__isinf_use=yes
8598 else
8599 echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.$ac_ext >&5
8602 glibcxx_cv_func__isinf_use=no
8604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8605 ac_ext=c
8606 ac_cpp='$CPP $CPPFLAGS'
8607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8616 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8618 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8620 for ac_func in _isinf
8622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8623 echo "$as_me:$LINENO: checking for $ac_func" >&5
8624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8625 if eval "test \"\${$as_ac_var+set}\" = set"; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 else
8628 if test x$gcc_no_link = xyes; then
8629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8631 { (exit 1); exit 1; }; }
8633 cat >conftest.$ac_ext <<_ACEOF
8634 /* confdefs.h. */
8635 _ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8641 #define $ac_func innocuous_$ac_func
8643 /* System header to define __stub macros and hopefully few prototypes,
8644 which can conflict with char $ac_func (); below.
8645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8646 <limits.h> exists even on freestanding compilers. */
8648 #ifdef __STDC__
8649 # include <limits.h>
8650 #else
8651 # include <assert.h>
8652 #endif
8654 #undef $ac_func
8656 /* Override any gcc2 internal prototype to avoid an error. */
8657 #ifdef __cplusplus
8658 extern "C"
8660 #endif
8661 /* We use char because int might match the return type of a gcc2
8662 builtin and then its argument prototype would still apply. */
8663 char $ac_func ();
8664 /* The GNU C library defines this for functions which it implements
8665 to always fail with ENOSYS. Some functions are actually named
8666 something starting with __ and the normal name is an alias. */
8667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8668 choke me
8669 #else
8670 char (*f) () = $ac_func;
8671 #endif
8672 #ifdef __cplusplus
8674 #endif
8677 main ()
8679 return f != $ac_func;
8681 return 0;
8683 _ACEOF
8684 rm -f conftest.$ac_objext conftest$ac_exeext
8685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8686 (eval $ac_link) 2>conftest.er1
8687 ac_status=$?
8688 grep -v '^ *+' conftest.er1 >conftest.err
8689 rm -f conftest.er1
8690 cat conftest.err >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); } &&
8693 { ac_try='test -z "$ac_c_werror_flag"
8694 || test ! -s conftest.err'
8695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 (eval $ac_try) 2>&5
8697 ac_status=$?
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; } &&
8700 { ac_try='test -s conftest$ac_exeext'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 (eval $ac_try) 2>&5
8703 ac_status=$?
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; }; then
8706 eval "$as_ac_var=yes"
8707 else
8708 echo "$as_me: failed program was:" >&5
8709 sed 's/^/| /' conftest.$ac_ext >&5
8711 eval "$as_ac_var=no"
8713 rm -f conftest.err conftest.$ac_objext \
8714 conftest$ac_exeext conftest.$ac_ext
8716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8718 if test `eval echo '${'$as_ac_var'}'` = yes; then
8719 cat >>confdefs.h <<_ACEOF
8720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8721 _ACEOF
8724 done
8734 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8735 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8736 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8737 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8738 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 else
8743 ac_ext=cc
8744 ac_cpp='$CXXCPP $CPPFLAGS'
8745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8749 cat >conftest.$ac_ext <<_ACEOF
8750 /* confdefs.h. */
8751 _ACEOF
8752 cat confdefs.h >>conftest.$ac_ext
8753 cat >>conftest.$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 #include <math.h>
8756 #ifdef HAVE_IEEEFP_H
8757 #include <ieeefp.h>
8758 #endif
8761 main ()
8763 isnan(0);
8765 return 0;
8767 _ACEOF
8768 rm -f conftest.$ac_objext
8769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8770 (eval $ac_compile) 2>conftest.er1
8771 ac_status=$?
8772 grep -v '^ *+' conftest.er1 >conftest.err
8773 rm -f conftest.er1
8774 cat conftest.err >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); } &&
8777 { ac_try='test -z "$ac_cxx_werror_flag"
8778 || test ! -s conftest.err'
8779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8780 (eval $ac_try) 2>&5
8781 ac_status=$?
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 (exit $ac_status); }; } &&
8784 { ac_try='test -s conftest.$ac_objext'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 (eval $ac_try) 2>&5
8787 ac_status=$?
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; }; then
8790 glibcxx_cv_func_isnan_use=yes
8791 else
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.$ac_ext >&5
8795 glibcxx_cv_func_isnan_use=no
8797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8798 ac_ext=c
8799 ac_cpp='$CPP $CPPFLAGS'
8800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8809 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8811 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8813 for ac_func in isnan
8815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8816 echo "$as_me:$LINENO: checking for $ac_func" >&5
8817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_var+set}\" = set"; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else
8821 if test x$gcc_no_link = xyes; then
8822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8824 { (exit 1); exit 1; }; }
8826 cat >conftest.$ac_ext <<_ACEOF
8827 /* confdefs.h. */
8828 _ACEOF
8829 cat confdefs.h >>conftest.$ac_ext
8830 cat >>conftest.$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8834 #define $ac_func innocuous_$ac_func
8836 /* System header to define __stub macros and hopefully few prototypes,
8837 which can conflict with char $ac_func (); below.
8838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8839 <limits.h> exists even on freestanding compilers. */
8841 #ifdef __STDC__
8842 # include <limits.h>
8843 #else
8844 # include <assert.h>
8845 #endif
8847 #undef $ac_func
8849 /* Override any gcc2 internal prototype to avoid an error. */
8850 #ifdef __cplusplus
8851 extern "C"
8853 #endif
8854 /* We use char because int might match the return type of a gcc2
8855 builtin and then its argument prototype would still apply. */
8856 char $ac_func ();
8857 /* The GNU C library defines this for functions which it implements
8858 to always fail with ENOSYS. Some functions are actually named
8859 something starting with __ and the normal name is an alias. */
8860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8861 choke me
8862 #else
8863 char (*f) () = $ac_func;
8864 #endif
8865 #ifdef __cplusplus
8867 #endif
8870 main ()
8872 return f != $ac_func;
8874 return 0;
8876 _ACEOF
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8879 (eval $ac_link) 2>conftest.er1
8880 ac_status=$?
8881 grep -v '^ *+' conftest.er1 >conftest.err
8882 rm -f conftest.er1
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag"
8887 || test ! -s conftest.err'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 (eval $ac_try) 2>&5
8890 ac_status=$?
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try='test -s conftest$ac_exeext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 (eval $ac_try) 2>&5
8896 ac_status=$?
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 eval "$as_ac_var=yes"
8900 else
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.$ac_ext >&5
8904 eval "$as_ac_var=no"
8906 rm -f conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8911 if test `eval echo '${'$as_ac_var'}'` = yes; then
8912 cat >>confdefs.h <<_ACEOF
8913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8914 _ACEOF
8917 done
8919 else
8921 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8922 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8923 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8924 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 else
8930 ac_ext=cc
8931 ac_cpp='$CXXCPP $CPPFLAGS'
8932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8936 cat >conftest.$ac_ext <<_ACEOF
8937 /* confdefs.h. */
8938 _ACEOF
8939 cat confdefs.h >>conftest.$ac_ext
8940 cat >>conftest.$ac_ext <<_ACEOF
8941 /* end confdefs.h. */
8942 #include <math.h>
8943 #ifdef HAVE_IEEEFP_H
8944 #include <ieeefp.h>
8945 #endif
8948 main ()
8950 _isnan(0);
8952 return 0;
8954 _ACEOF
8955 rm -f conftest.$ac_objext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8957 (eval $ac_compile) 2>conftest.er1
8958 ac_status=$?
8959 grep -v '^ *+' conftest.er1 >conftest.err
8960 rm -f conftest.er1
8961 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } &&
8964 { ac_try='test -z "$ac_cxx_werror_flag"
8965 || test ! -s conftest.err'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 (eval $ac_try) 2>&5
8968 ac_status=$?
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; } &&
8971 { ac_try='test -s conftest.$ac_objext'
8972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 (eval $ac_try) 2>&5
8974 ac_status=$?
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); }; }; then
8977 glibcxx_cv_func__isnan_use=yes
8978 else
8979 echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.$ac_ext >&5
8982 glibcxx_cv_func__isnan_use=no
8984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8985 ac_ext=c
8986 ac_cpp='$CPP $CPPFLAGS'
8987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8996 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8998 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9000 for ac_func in _isnan
9002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9003 echo "$as_me:$LINENO: checking for $ac_func" >&5
9004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9005 if eval "test \"\${$as_ac_var+set}\" = set"; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9007 else
9008 if test x$gcc_no_link = xyes; then
9009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9011 { (exit 1); exit 1; }; }
9013 cat >conftest.$ac_ext <<_ACEOF
9014 /* confdefs.h. */
9015 _ACEOF
9016 cat confdefs.h >>conftest.$ac_ext
9017 cat >>conftest.$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9021 #define $ac_func innocuous_$ac_func
9023 /* System header to define __stub macros and hopefully few prototypes,
9024 which can conflict with char $ac_func (); below.
9025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9026 <limits.h> exists even on freestanding compilers. */
9028 #ifdef __STDC__
9029 # include <limits.h>
9030 #else
9031 # include <assert.h>
9032 #endif
9034 #undef $ac_func
9036 /* Override any gcc2 internal prototype to avoid an error. */
9037 #ifdef __cplusplus
9038 extern "C"
9040 #endif
9041 /* We use char because int might match the return type of a gcc2
9042 builtin and then its argument prototype would still apply. */
9043 char $ac_func ();
9044 /* The GNU C library defines this for functions which it implements
9045 to always fail with ENOSYS. Some functions are actually named
9046 something starting with __ and the normal name is an alias. */
9047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9048 choke me
9049 #else
9050 char (*f) () = $ac_func;
9051 #endif
9052 #ifdef __cplusplus
9054 #endif
9057 main ()
9059 return f != $ac_func;
9061 return 0;
9063 _ACEOF
9064 rm -f conftest.$ac_objext conftest$ac_exeext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9066 (eval $ac_link) 2>conftest.er1
9067 ac_status=$?
9068 grep -v '^ *+' conftest.er1 >conftest.err
9069 rm -f conftest.er1
9070 cat conftest.err >&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } &&
9073 { ac_try='test -z "$ac_c_werror_flag"
9074 || test ! -s conftest.err'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 (eval $ac_try) 2>&5
9077 ac_status=$?
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; } &&
9080 { ac_try='test -s conftest$ac_exeext'
9081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082 (eval $ac_try) 2>&5
9083 ac_status=$?
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; }; then
9086 eval "$as_ac_var=yes"
9087 else
9088 echo "$as_me: failed program was:" >&5
9089 sed 's/^/| /' conftest.$ac_ext >&5
9091 eval "$as_ac_var=no"
9093 rm -f conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9098 if test `eval echo '${'$as_ac_var'}'` = yes; then
9099 cat >>confdefs.h <<_ACEOF
9100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9101 _ACEOF
9104 done
9114 echo "$as_me:$LINENO: checking for finite declaration" >&5
9115 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9116 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9117 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 else
9123 ac_ext=cc
9124 ac_cpp='$CXXCPP $CPPFLAGS'
9125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9129 cat >conftest.$ac_ext <<_ACEOF
9130 /* confdefs.h. */
9131 _ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9135 #include <math.h>
9136 #ifdef HAVE_IEEEFP_H
9137 #include <ieeefp.h>
9138 #endif
9141 main ()
9143 finite(0);
9145 return 0;
9147 _ACEOF
9148 rm -f conftest.$ac_objext
9149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9150 (eval $ac_compile) 2>conftest.er1
9151 ac_status=$?
9152 grep -v '^ *+' conftest.er1 >conftest.err
9153 rm -f conftest.er1
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); } &&
9157 { ac_try='test -z "$ac_cxx_werror_flag"
9158 || test ! -s conftest.err'
9159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9160 (eval $ac_try) 2>&5
9161 ac_status=$?
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }; } &&
9164 { ac_try='test -s conftest.$ac_objext'
9165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9166 (eval $ac_try) 2>&5
9167 ac_status=$?
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); }; }; then
9170 glibcxx_cv_func_finite_use=yes
9171 else
9172 echo "$as_me: failed program was:" >&5
9173 sed 's/^/| /' conftest.$ac_ext >&5
9175 glibcxx_cv_func_finite_use=no
9177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9178 ac_ext=c
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9189 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9191 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9193 for ac_func in finite
9195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9196 echo "$as_me:$LINENO: checking for $ac_func" >&5
9197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9198 if eval "test \"\${$as_ac_var+set}\" = set"; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 else
9201 if test x$gcc_no_link = xyes; then
9202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9204 { (exit 1); exit 1; }; }
9206 cat >conftest.$ac_ext <<_ACEOF
9207 /* confdefs.h. */
9208 _ACEOF
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9214 #define $ac_func innocuous_$ac_func
9216 /* System header to define __stub macros and hopefully few prototypes,
9217 which can conflict with char $ac_func (); below.
9218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9219 <limits.h> exists even on freestanding compilers. */
9221 #ifdef __STDC__
9222 # include <limits.h>
9223 #else
9224 # include <assert.h>
9225 #endif
9227 #undef $ac_func
9229 /* Override any gcc2 internal prototype to avoid an error. */
9230 #ifdef __cplusplus
9231 extern "C"
9233 #endif
9234 /* We use char because int might match the return type of a gcc2
9235 builtin and then its argument prototype would still apply. */
9236 char $ac_func ();
9237 /* The GNU C library defines this for functions which it implements
9238 to always fail with ENOSYS. Some functions are actually named
9239 something starting with __ and the normal name is an alias. */
9240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9241 choke me
9242 #else
9243 char (*f) () = $ac_func;
9244 #endif
9245 #ifdef __cplusplus
9247 #endif
9250 main ()
9252 return f != $ac_func;
9254 return 0;
9256 _ACEOF
9257 rm -f conftest.$ac_objext conftest$ac_exeext
9258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9259 (eval $ac_link) 2>conftest.er1
9260 ac_status=$?
9261 grep -v '^ *+' conftest.er1 >conftest.err
9262 rm -f conftest.er1
9263 cat conftest.err >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } &&
9266 { ac_try='test -z "$ac_c_werror_flag"
9267 || test ! -s conftest.err'
9268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9269 (eval $ac_try) 2>&5
9270 ac_status=$?
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); }; } &&
9273 { ac_try='test -s conftest$ac_exeext'
9274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 (eval $ac_try) 2>&5
9276 ac_status=$?
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); }; }; then
9279 eval "$as_ac_var=yes"
9280 else
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9284 eval "$as_ac_var=no"
9286 rm -f conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9291 if test `eval echo '${'$as_ac_var'}'` = yes; then
9292 cat >>confdefs.h <<_ACEOF
9293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9294 _ACEOF
9297 done
9299 else
9301 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9302 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9303 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9304 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9306 else
9310 ac_ext=cc
9311 ac_cpp='$CXXCPP $CPPFLAGS'
9312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9316 cat >conftest.$ac_ext <<_ACEOF
9317 /* confdefs.h. */
9318 _ACEOF
9319 cat confdefs.h >>conftest.$ac_ext
9320 cat >>conftest.$ac_ext <<_ACEOF
9321 /* end confdefs.h. */
9322 #include <math.h>
9323 #ifdef HAVE_IEEEFP_H
9324 #include <ieeefp.h>
9325 #endif
9328 main ()
9330 _finite(0);
9332 return 0;
9334 _ACEOF
9335 rm -f conftest.$ac_objext
9336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9337 (eval $ac_compile) 2>conftest.er1
9338 ac_status=$?
9339 grep -v '^ *+' conftest.er1 >conftest.err
9340 rm -f conftest.er1
9341 cat conftest.err >&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); } &&
9344 { ac_try='test -z "$ac_cxx_werror_flag"
9345 || test ! -s conftest.err'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 (eval $ac_try) 2>&5
9348 ac_status=$?
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; } &&
9351 { ac_try='test -s conftest.$ac_objext'
9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 (eval $ac_try) 2>&5
9354 ac_status=$?
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; }; then
9357 glibcxx_cv_func__finite_use=yes
9358 else
9359 echo "$as_me: failed program was:" >&5
9360 sed 's/^/| /' conftest.$ac_ext >&5
9362 glibcxx_cv_func__finite_use=no
9364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9365 ac_ext=c
9366 ac_cpp='$CPP $CPPFLAGS'
9367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9376 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9378 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9380 for ac_func in _finite
9382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9383 echo "$as_me:$LINENO: checking for $ac_func" >&5
9384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9385 if eval "test \"\${$as_ac_var+set}\" = set"; then
9386 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 else
9388 if test x$gcc_no_link = xyes; then
9389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9391 { (exit 1); exit 1; }; }
9393 cat >conftest.$ac_ext <<_ACEOF
9394 /* confdefs.h. */
9395 _ACEOF
9396 cat confdefs.h >>conftest.$ac_ext
9397 cat >>conftest.$ac_ext <<_ACEOF
9398 /* end confdefs.h. */
9399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9401 #define $ac_func innocuous_$ac_func
9403 /* System header to define __stub macros and hopefully few prototypes,
9404 which can conflict with char $ac_func (); below.
9405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9406 <limits.h> exists even on freestanding compilers. */
9408 #ifdef __STDC__
9409 # include <limits.h>
9410 #else
9411 # include <assert.h>
9412 #endif
9414 #undef $ac_func
9416 /* Override any gcc2 internal prototype to avoid an error. */
9417 #ifdef __cplusplus
9418 extern "C"
9420 #endif
9421 /* We use char because int might match the return type of a gcc2
9422 builtin and then its argument prototype would still apply. */
9423 char $ac_func ();
9424 /* The GNU C library defines this for functions which it implements
9425 to always fail with ENOSYS. Some functions are actually named
9426 something starting with __ and the normal name is an alias. */
9427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9428 choke me
9429 #else
9430 char (*f) () = $ac_func;
9431 #endif
9432 #ifdef __cplusplus
9434 #endif
9437 main ()
9439 return f != $ac_func;
9441 return 0;
9443 _ACEOF
9444 rm -f conftest.$ac_objext conftest$ac_exeext
9445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9446 (eval $ac_link) 2>conftest.er1
9447 ac_status=$?
9448 grep -v '^ *+' conftest.er1 >conftest.err
9449 rm -f conftest.er1
9450 cat conftest.err >&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); } &&
9453 { ac_try='test -z "$ac_c_werror_flag"
9454 || test ! -s conftest.err'
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); }; } &&
9460 { ac_try='test -s conftest$ac_exeext'
9461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 (eval $ac_try) 2>&5
9463 ac_status=$?
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); }; }; then
9466 eval "$as_ac_var=yes"
9467 else
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9471 eval "$as_ac_var=no"
9473 rm -f conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9478 if test `eval echo '${'$as_ac_var'}'` = yes; then
9479 cat >>confdefs.h <<_ACEOF
9480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9481 _ACEOF
9484 done
9494 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9495 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9496 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9497 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 else
9503 ac_ext=cc
9504 ac_cpp='$CXXCPP $CPPFLAGS'
9505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9509 cat >conftest.$ac_ext <<_ACEOF
9510 /* confdefs.h. */
9511 _ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9515 #include <math.h>
9517 main ()
9519 copysign(0, 0);
9521 return 0;
9523 _ACEOF
9524 rm -f conftest.$ac_objext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9526 (eval $ac_compile) 2>conftest.er1
9527 ac_status=$?
9528 grep -v '^ *+' conftest.er1 >conftest.err
9529 rm -f conftest.er1
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } &&
9533 { ac_try='test -z "$ac_cxx_werror_flag"
9534 || test ! -s conftest.err'
9535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536 (eval $ac_try) 2>&5
9537 ac_status=$?
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; } &&
9540 { ac_try='test -s conftest.$ac_objext'
9541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9542 (eval $ac_try) 2>&5
9543 ac_status=$?
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; }; then
9546 glibcxx_cv_func_copysign_use=yes
9547 else
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9551 glibcxx_cv_func_copysign_use=no
9553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9554 ac_ext=c
9555 ac_cpp='$CPP $CPPFLAGS'
9556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9565 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9567 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9569 for ac_func in copysign
9571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9572 echo "$as_me:$LINENO: checking for $ac_func" >&5
9573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9574 if eval "test \"\${$as_ac_var+set}\" = set"; then
9575 echo $ECHO_N "(cached) $ECHO_C" >&6
9576 else
9577 if test x$gcc_no_link = xyes; then
9578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9580 { (exit 1); exit 1; }; }
9582 cat >conftest.$ac_ext <<_ACEOF
9583 /* confdefs.h. */
9584 _ACEOF
9585 cat confdefs.h >>conftest.$ac_ext
9586 cat >>conftest.$ac_ext <<_ACEOF
9587 /* end confdefs.h. */
9588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9590 #define $ac_func innocuous_$ac_func
9592 /* System header to define __stub macros and hopefully few prototypes,
9593 which can conflict with char $ac_func (); below.
9594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9595 <limits.h> exists even on freestanding compilers. */
9597 #ifdef __STDC__
9598 # include <limits.h>
9599 #else
9600 # include <assert.h>
9601 #endif
9603 #undef $ac_func
9605 /* Override any gcc2 internal prototype to avoid an error. */
9606 #ifdef __cplusplus
9607 extern "C"
9609 #endif
9610 /* We use char because int might match the return type of a gcc2
9611 builtin and then its argument prototype would still apply. */
9612 char $ac_func ();
9613 /* The GNU C library defines this for functions which it implements
9614 to always fail with ENOSYS. Some functions are actually named
9615 something starting with __ and the normal name is an alias. */
9616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9617 choke me
9618 #else
9619 char (*f) () = $ac_func;
9620 #endif
9621 #ifdef __cplusplus
9623 #endif
9626 main ()
9628 return f != $ac_func;
9630 return 0;
9632 _ACEOF
9633 rm -f conftest.$ac_objext conftest$ac_exeext
9634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9635 (eval $ac_link) 2>conftest.er1
9636 ac_status=$?
9637 grep -v '^ *+' conftest.er1 >conftest.err
9638 rm -f conftest.er1
9639 cat conftest.err >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); } &&
9642 { ac_try='test -z "$ac_c_werror_flag"
9643 || test ! -s conftest.err'
9644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 (eval $ac_try) 2>&5
9646 ac_status=$?
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); }; } &&
9649 { ac_try='test -s conftest$ac_exeext'
9650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9651 (eval $ac_try) 2>&5
9652 ac_status=$?
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); }; }; then
9655 eval "$as_ac_var=yes"
9656 else
9657 echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.$ac_ext >&5
9660 eval "$as_ac_var=no"
9662 rm -f conftest.err conftest.$ac_objext \
9663 conftest$ac_exeext conftest.$ac_ext
9665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9667 if test `eval echo '${'$as_ac_var'}'` = yes; then
9668 cat >>confdefs.h <<_ACEOF
9669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9670 _ACEOF
9673 done
9675 else
9677 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9678 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9679 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9680 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9682 else
9686 ac_ext=cc
9687 ac_cpp='$CXXCPP $CPPFLAGS'
9688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9692 cat >conftest.$ac_ext <<_ACEOF
9693 /* confdefs.h. */
9694 _ACEOF
9695 cat confdefs.h >>conftest.$ac_ext
9696 cat >>conftest.$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9698 #include <math.h>
9700 main ()
9702 _copysign(0, 0);
9704 return 0;
9706 _ACEOF
9707 rm -f conftest.$ac_objext
9708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9709 (eval $ac_compile) 2>conftest.er1
9710 ac_status=$?
9711 grep -v '^ *+' conftest.er1 >conftest.err
9712 rm -f conftest.er1
9713 cat conftest.err >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } &&
9716 { ac_try='test -z "$ac_cxx_werror_flag"
9717 || test ! -s conftest.err'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 (eval $ac_try) 2>&5
9720 ac_status=$?
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; } &&
9723 { ac_try='test -s conftest.$ac_objext'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725 (eval $ac_try) 2>&5
9726 ac_status=$?
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; }; then
9729 glibcxx_cv_func__copysign_use=yes
9730 else
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9734 glibcxx_cv_func__copysign_use=no
9736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9737 ac_ext=c
9738 ac_cpp='$CPP $CPPFLAGS'
9739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9748 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9750 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9752 for ac_func in _copysign
9754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9755 echo "$as_me:$LINENO: checking for $ac_func" >&5
9756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9757 if eval "test \"\${$as_ac_var+set}\" = set"; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 else
9760 if test x$gcc_no_link = xyes; then
9761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9763 { (exit 1); exit 1; }; }
9765 cat >conftest.$ac_ext <<_ACEOF
9766 /* confdefs.h. */
9767 _ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9773 #define $ac_func innocuous_$ac_func
9775 /* System header to define __stub macros and hopefully few prototypes,
9776 which can conflict with char $ac_func (); below.
9777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9778 <limits.h> exists even on freestanding compilers. */
9780 #ifdef __STDC__
9781 # include <limits.h>
9782 #else
9783 # include <assert.h>
9784 #endif
9786 #undef $ac_func
9788 /* Override any gcc2 internal prototype to avoid an error. */
9789 #ifdef __cplusplus
9790 extern "C"
9792 #endif
9793 /* We use char because int might match the return type of a gcc2
9794 builtin and then its argument prototype would still apply. */
9795 char $ac_func ();
9796 /* The GNU C library defines this for functions which it implements
9797 to always fail with ENOSYS. Some functions are actually named
9798 something starting with __ and the normal name is an alias. */
9799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9800 choke me
9801 #else
9802 char (*f) () = $ac_func;
9803 #endif
9804 #ifdef __cplusplus
9806 #endif
9809 main ()
9811 return f != $ac_func;
9813 return 0;
9815 _ACEOF
9816 rm -f conftest.$ac_objext conftest$ac_exeext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9818 (eval $ac_link) 2>conftest.er1
9819 ac_status=$?
9820 grep -v '^ *+' conftest.er1 >conftest.err
9821 rm -f conftest.er1
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } &&
9825 { ac_try='test -z "$ac_c_werror_flag"
9826 || test ! -s conftest.err'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828 (eval $ac_try) 2>&5
9829 ac_status=$?
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; } &&
9832 { ac_try='test -s conftest$ac_exeext'
9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 (eval $ac_try) 2>&5
9835 ac_status=$?
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 eval "$as_ac_var=yes"
9839 else
9840 echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9843 eval "$as_ac_var=no"
9845 rm -f conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9850 if test `eval echo '${'$as_ac_var'}'` = yes; then
9851 cat >>confdefs.h <<_ACEOF
9852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9853 _ACEOF
9856 done
9866 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9867 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9868 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9869 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 else
9875 ac_ext=cc
9876 ac_cpp='$CXXCPP $CPPFLAGS'
9877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9881 cat >conftest.$ac_ext <<_ACEOF
9882 /* confdefs.h. */
9883 _ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9887 #include <math.h>
9889 main ()
9891 sincos(0, 0, 0);
9893 return 0;
9895 _ACEOF
9896 rm -f conftest.$ac_objext
9897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9898 (eval $ac_compile) 2>conftest.er1
9899 ac_status=$?
9900 grep -v '^ *+' conftest.er1 >conftest.err
9901 rm -f conftest.er1
9902 cat conftest.err >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } &&
9905 { ac_try='test -z "$ac_cxx_werror_flag"
9906 || test ! -s conftest.err'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 (eval $ac_try) 2>&5
9909 ac_status=$?
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try='test -s conftest.$ac_objext'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 (eval $ac_try) 2>&5
9915 ac_status=$?
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9918 glibcxx_cv_func_sincos_use=yes
9919 else
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 glibcxx_cv_func_sincos_use=no
9925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9926 ac_ext=c
9927 ac_cpp='$CPP $CPPFLAGS'
9928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9937 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9939 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9941 for ac_func in sincos
9943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9944 echo "$as_me:$LINENO: checking for $ac_func" >&5
9945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9946 if eval "test \"\${$as_ac_var+set}\" = set"; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949 if test x$gcc_no_link = xyes; then
9950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9952 { (exit 1); exit 1; }; }
9954 cat >conftest.$ac_ext <<_ACEOF
9955 /* confdefs.h. */
9956 _ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9962 #define $ac_func innocuous_$ac_func
9964 /* System header to define __stub macros and hopefully few prototypes,
9965 which can conflict with char $ac_func (); below.
9966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9967 <limits.h> exists even on freestanding compilers. */
9969 #ifdef __STDC__
9970 # include <limits.h>
9971 #else
9972 # include <assert.h>
9973 #endif
9975 #undef $ac_func
9977 /* Override any gcc2 internal prototype to avoid an error. */
9978 #ifdef __cplusplus
9979 extern "C"
9981 #endif
9982 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */
9984 char $ac_func ();
9985 /* The GNU C library defines this for functions which it implements
9986 to always fail with ENOSYS. Some functions are actually named
9987 something starting with __ and the normal name is an alias. */
9988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9989 choke me
9990 #else
9991 char (*f) () = $ac_func;
9992 #endif
9993 #ifdef __cplusplus
9995 #endif
9998 main ()
10000 return f != $ac_func;
10002 return 0;
10004 _ACEOF
10005 rm -f conftest.$ac_objext conftest$ac_exeext
10006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10007 (eval $ac_link) 2>conftest.er1
10008 ac_status=$?
10009 grep -v '^ *+' conftest.er1 >conftest.err
10010 rm -f conftest.er1
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try='test -z "$ac_c_werror_flag"
10015 || test ! -s conftest.err'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10018 ac_status=$?
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try='test -s conftest$ac_exeext'
10022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023 (eval $ac_try) 2>&5
10024 ac_status=$?
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); }; }; then
10027 eval "$as_ac_var=yes"
10028 else
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10032 eval "$as_ac_var=no"
10034 rm -f conftest.err conftest.$ac_objext \
10035 conftest$ac_exeext conftest.$ac_ext
10037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10039 if test `eval echo '${'$as_ac_var'}'` = yes; then
10040 cat >>confdefs.h <<_ACEOF
10041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10042 _ACEOF
10045 done
10047 else
10049 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10050 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10051 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10052 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 else
10058 ac_ext=cc
10059 ac_cpp='$CXXCPP $CPPFLAGS'
10060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10064 cat >conftest.$ac_ext <<_ACEOF
10065 /* confdefs.h. */
10066 _ACEOF
10067 cat confdefs.h >>conftest.$ac_ext
10068 cat >>conftest.$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 #include <math.h>
10072 main ()
10074 _sincos(0, 0, 0);
10076 return 0;
10078 _ACEOF
10079 rm -f conftest.$ac_objext
10080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10081 (eval $ac_compile) 2>conftest.er1
10082 ac_status=$?
10083 grep -v '^ *+' conftest.er1 >conftest.err
10084 rm -f conftest.er1
10085 cat conftest.err >&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); } &&
10088 { ac_try='test -z "$ac_cxx_werror_flag"
10089 || test ! -s conftest.err'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10092 ac_status=$?
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try='test -s conftest.$ac_objext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10098 ac_status=$?
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 glibcxx_cv_func__sincos_use=yes
10102 else
10103 echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.$ac_ext >&5
10106 glibcxx_cv_func__sincos_use=no
10108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10109 ac_ext=c
10110 ac_cpp='$CPP $CPPFLAGS'
10111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10120 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10122 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10124 for ac_func in _sincos
10126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10127 echo "$as_me:$LINENO: checking for $ac_func" >&5
10128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10129 if eval "test \"\${$as_ac_var+set}\" = set"; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 else
10132 if test x$gcc_no_link = xyes; then
10133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10135 { (exit 1); exit 1; }; }
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h. */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10145 #define $ac_func innocuous_$ac_func
10147 /* System header to define __stub macros and hopefully few prototypes,
10148 which can conflict with char $ac_func (); below.
10149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10150 <limits.h> exists even on freestanding compilers. */
10152 #ifdef __STDC__
10153 # include <limits.h>
10154 #else
10155 # include <assert.h>
10156 #endif
10158 #undef $ac_func
10160 /* Override any gcc2 internal prototype to avoid an error. */
10161 #ifdef __cplusplus
10162 extern "C"
10164 #endif
10165 /* We use char because int might match the return type of a gcc2
10166 builtin and then its argument prototype would still apply. */
10167 char $ac_func ();
10168 /* The GNU C library defines this for functions which it implements
10169 to always fail with ENOSYS. Some functions are actually named
10170 something starting with __ and the normal name is an alias. */
10171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10172 choke me
10173 #else
10174 char (*f) () = $ac_func;
10175 #endif
10176 #ifdef __cplusplus
10178 #endif
10181 main ()
10183 return f != $ac_func;
10185 return 0;
10187 _ACEOF
10188 rm -f conftest.$ac_objext conftest$ac_exeext
10189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10190 (eval $ac_link) 2>conftest.er1
10191 ac_status=$?
10192 grep -v '^ *+' conftest.er1 >conftest.err
10193 rm -f conftest.er1
10194 cat conftest.err >&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); } &&
10197 { ac_try='test -z "$ac_c_werror_flag"
10198 || test ! -s conftest.err'
10199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200 (eval $ac_try) 2>&5
10201 ac_status=$?
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); }; } &&
10204 { ac_try='test -s conftest$ac_exeext'
10205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206 (eval $ac_try) 2>&5
10207 ac_status=$?
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); }; }; then
10210 eval "$as_ac_var=yes"
10211 else
10212 echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10215 eval "$as_ac_var=no"
10217 rm -f conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10222 if test `eval echo '${'$as_ac_var'}'` = yes; then
10223 cat >>confdefs.h <<_ACEOF
10224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10225 _ACEOF
10228 done
10238 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10239 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10240 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10241 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 else
10247 ac_ext=cc
10248 ac_cpp='$CXXCPP $CPPFLAGS'
10249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10253 cat >conftest.$ac_ext <<_ACEOF
10254 /* confdefs.h. */
10255 _ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10259 #include <math.h>
10260 #ifdef HAVE_IEEEFP_H
10261 #include <ieeefp.h>
10262 #endif
10265 main ()
10267 fpclass(0);
10269 return 0;
10271 _ACEOF
10272 rm -f conftest.$ac_objext
10273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10274 (eval $ac_compile) 2>conftest.er1
10275 ac_status=$?
10276 grep -v '^ *+' conftest.er1 >conftest.err
10277 rm -f conftest.er1
10278 cat conftest.err >&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } &&
10281 { ac_try='test -z "$ac_cxx_werror_flag"
10282 || test ! -s conftest.err'
10283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284 (eval $ac_try) 2>&5
10285 ac_status=$?
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; } &&
10288 { ac_try='test -s conftest.$ac_objext'
10289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10290 (eval $ac_try) 2>&5
10291 ac_status=$?
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); }; }; then
10294 glibcxx_cv_func_fpclass_use=yes
10295 else
10296 echo "$as_me: failed program was:" >&5
10297 sed 's/^/| /' conftest.$ac_ext >&5
10299 glibcxx_cv_func_fpclass_use=no
10301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10302 ac_ext=c
10303 ac_cpp='$CPP $CPPFLAGS'
10304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10313 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10315 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10317 for ac_func in fpclass
10319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10320 echo "$as_me:$LINENO: checking for $ac_func" >&5
10321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10322 if eval "test \"\${$as_ac_var+set}\" = set"; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else
10325 if test x$gcc_no_link = xyes; then
10326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10328 { (exit 1); exit 1; }; }
10330 cat >conftest.$ac_ext <<_ACEOF
10331 /* confdefs.h. */
10332 _ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10338 #define $ac_func innocuous_$ac_func
10340 /* System header to define __stub macros and hopefully few prototypes,
10341 which can conflict with char $ac_func (); below.
10342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10343 <limits.h> exists even on freestanding compilers. */
10345 #ifdef __STDC__
10346 # include <limits.h>
10347 #else
10348 # include <assert.h>
10349 #endif
10351 #undef $ac_func
10353 /* Override any gcc2 internal prototype to avoid an error. */
10354 #ifdef __cplusplus
10355 extern "C"
10357 #endif
10358 /* We use char because int might match the return type of a gcc2
10359 builtin and then its argument prototype would still apply. */
10360 char $ac_func ();
10361 /* The GNU C library defines this for functions which it implements
10362 to always fail with ENOSYS. Some functions are actually named
10363 something starting with __ and the normal name is an alias. */
10364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10365 choke me
10366 #else
10367 char (*f) () = $ac_func;
10368 #endif
10369 #ifdef __cplusplus
10371 #endif
10374 main ()
10376 return f != $ac_func;
10378 return 0;
10380 _ACEOF
10381 rm -f conftest.$ac_objext conftest$ac_exeext
10382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10383 (eval $ac_link) 2>conftest.er1
10384 ac_status=$?
10385 grep -v '^ *+' conftest.er1 >conftest.err
10386 rm -f conftest.er1
10387 cat conftest.err >&5
10388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 (exit $ac_status); } &&
10390 { ac_try='test -z "$ac_c_werror_flag"
10391 || test ! -s conftest.err'
10392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10393 (eval $ac_try) 2>&5
10394 ac_status=$?
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); }; } &&
10397 { ac_try='test -s conftest$ac_exeext'
10398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399 (eval $ac_try) 2>&5
10400 ac_status=$?
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); }; }; then
10403 eval "$as_ac_var=yes"
10404 else
10405 echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.$ac_ext >&5
10408 eval "$as_ac_var=no"
10410 rm -f conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10415 if test `eval echo '${'$as_ac_var'}'` = yes; then
10416 cat >>confdefs.h <<_ACEOF
10417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10418 _ACEOF
10421 done
10423 else
10425 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10426 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10427 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10428 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10429 echo $ECHO_N "(cached) $ECHO_C" >&6
10430 else
10434 ac_ext=cc
10435 ac_cpp='$CXXCPP $CPPFLAGS'
10436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10440 cat >conftest.$ac_ext <<_ACEOF
10441 /* confdefs.h. */
10442 _ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10446 #include <math.h>
10447 #ifdef HAVE_IEEEFP_H
10448 #include <ieeefp.h>
10449 #endif
10452 main ()
10454 _fpclass(0);
10456 return 0;
10458 _ACEOF
10459 rm -f conftest.$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>conftest.er1
10462 ac_status=$?
10463 grep -v '^ *+' conftest.er1 >conftest.err
10464 rm -f conftest.er1
10465 cat conftest.err >&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try='test -z "$ac_cxx_werror_flag"
10469 || test ! -s conftest.err'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10472 ac_status=$?
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; } &&
10475 { ac_try='test -s conftest.$ac_objext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10478 ac_status=$?
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10481 glibcxx_cv_func__fpclass_use=yes
10482 else
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10486 glibcxx_cv_func__fpclass_use=no
10488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10489 ac_ext=c
10490 ac_cpp='$CPP $CPPFLAGS'
10491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10500 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10502 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10504 for ac_func in _fpclass
10506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10507 echo "$as_me:$LINENO: checking for $ac_func" >&5
10508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10509 if eval "test \"\${$as_ac_var+set}\" = set"; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 else
10512 if test x$gcc_no_link = xyes; then
10513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10515 { (exit 1); exit 1; }; }
10517 cat >conftest.$ac_ext <<_ACEOF
10518 /* confdefs.h. */
10519 _ACEOF
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10525 #define $ac_func innocuous_$ac_func
10527 /* System header to define __stub macros and hopefully few prototypes,
10528 which can conflict with char $ac_func (); below.
10529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10530 <limits.h> exists even on freestanding compilers. */
10532 #ifdef __STDC__
10533 # include <limits.h>
10534 #else
10535 # include <assert.h>
10536 #endif
10538 #undef $ac_func
10540 /* Override any gcc2 internal prototype to avoid an error. */
10541 #ifdef __cplusplus
10542 extern "C"
10544 #endif
10545 /* We use char because int might match the return type of a gcc2
10546 builtin and then its argument prototype would still apply. */
10547 char $ac_func ();
10548 /* The GNU C library defines this for functions which it implements
10549 to always fail with ENOSYS. Some functions are actually named
10550 something starting with __ and the normal name is an alias. */
10551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10552 choke me
10553 #else
10554 char (*f) () = $ac_func;
10555 #endif
10556 #ifdef __cplusplus
10558 #endif
10561 main ()
10563 return f != $ac_func;
10565 return 0;
10567 _ACEOF
10568 rm -f conftest.$ac_objext conftest$ac_exeext
10569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570 (eval $ac_link) 2>conftest.er1
10571 ac_status=$?
10572 grep -v '^ *+' conftest.er1 >conftest.err
10573 rm -f conftest.er1
10574 cat conftest.err >&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } &&
10577 { ac_try='test -z "$ac_c_werror_flag"
10578 || test ! -s conftest.err'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10581 ac_status=$?
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); }; } &&
10584 { ac_try='test -s conftest$ac_exeext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10587 ac_status=$?
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 eval "$as_ac_var=yes"
10591 else
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10595 eval "$as_ac_var=no"
10597 rm -f conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10602 if test `eval echo '${'$as_ac_var'}'` = yes; then
10603 cat >>confdefs.h <<_ACEOF
10604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10605 _ACEOF
10608 done
10618 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10619 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10620 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10621 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 else
10627 ac_ext=cc
10628 ac_cpp='$CXXCPP $CPPFLAGS'
10629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10633 cat >conftest.$ac_ext <<_ACEOF
10634 /* confdefs.h. */
10635 _ACEOF
10636 cat confdefs.h >>conftest.$ac_ext
10637 cat >>conftest.$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10639 #include <math.h>
10640 #ifdef HAVE_IEEEFP_H
10641 #include <ieeefp.h>
10642 #endif
10645 main ()
10647 qfpclass(0);
10649 return 0;
10651 _ACEOF
10652 rm -f conftest.$ac_objext
10653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10654 (eval $ac_compile) 2>conftest.er1
10655 ac_status=$?
10656 grep -v '^ *+' conftest.er1 >conftest.err
10657 rm -f conftest.er1
10658 cat conftest.err >&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } &&
10661 { ac_try='test -z "$ac_cxx_werror_flag"
10662 || test ! -s conftest.err'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10665 ac_status=$?
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; } &&
10668 { ac_try='test -s conftest.$ac_objext'
10669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5
10671 ac_status=$?
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; }; then
10674 glibcxx_cv_func_qfpclass_use=yes
10675 else
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10679 glibcxx_cv_func_qfpclass_use=no
10681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10682 ac_ext=c
10683 ac_cpp='$CPP $CPPFLAGS'
10684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10693 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10695 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10697 for ac_func in qfpclass
10699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10700 echo "$as_me:$LINENO: checking for $ac_func" >&5
10701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10702 if eval "test \"\${$as_ac_var+set}\" = set"; then
10703 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 else
10705 if test x$gcc_no_link = xyes; then
10706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10708 { (exit 1); exit 1; }; }
10710 cat >conftest.$ac_ext <<_ACEOF
10711 /* confdefs.h. */
10712 _ACEOF
10713 cat confdefs.h >>conftest.$ac_ext
10714 cat >>conftest.$ac_ext <<_ACEOF
10715 /* end confdefs.h. */
10716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10718 #define $ac_func innocuous_$ac_func
10720 /* System header to define __stub macros and hopefully few prototypes,
10721 which can conflict with char $ac_func (); below.
10722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10723 <limits.h> exists even on freestanding compilers. */
10725 #ifdef __STDC__
10726 # include <limits.h>
10727 #else
10728 # include <assert.h>
10729 #endif
10731 #undef $ac_func
10733 /* Override any gcc2 internal prototype to avoid an error. */
10734 #ifdef __cplusplus
10735 extern "C"
10737 #endif
10738 /* We use char because int might match the return type of a gcc2
10739 builtin and then its argument prototype would still apply. */
10740 char $ac_func ();
10741 /* The GNU C library defines this for functions which it implements
10742 to always fail with ENOSYS. Some functions are actually named
10743 something starting with __ and the normal name is an alias. */
10744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10745 choke me
10746 #else
10747 char (*f) () = $ac_func;
10748 #endif
10749 #ifdef __cplusplus
10751 #endif
10754 main ()
10756 return f != $ac_func;
10758 return 0;
10760 _ACEOF
10761 rm -f conftest.$ac_objext conftest$ac_exeext
10762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10763 (eval $ac_link) 2>conftest.er1
10764 ac_status=$?
10765 grep -v '^ *+' conftest.er1 >conftest.err
10766 rm -f conftest.er1
10767 cat conftest.err >&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } &&
10770 { ac_try='test -z "$ac_c_werror_flag"
10771 || test ! -s conftest.err'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10774 ac_status=$?
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; } &&
10777 { ac_try='test -s conftest$ac_exeext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10780 ac_status=$?
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 eval "$as_ac_var=yes"
10784 else
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.$ac_ext >&5
10788 eval "$as_ac_var=no"
10790 rm -f conftest.err conftest.$ac_objext \
10791 conftest$ac_exeext conftest.$ac_ext
10793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10795 if test `eval echo '${'$as_ac_var'}'` = yes; then
10796 cat >>confdefs.h <<_ACEOF
10797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10798 _ACEOF
10801 done
10803 else
10805 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10806 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10807 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10808 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else
10814 ac_ext=cc
10815 ac_cpp='$CXXCPP $CPPFLAGS'
10816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10820 cat >conftest.$ac_ext <<_ACEOF
10821 /* confdefs.h. */
10822 _ACEOF
10823 cat confdefs.h >>conftest.$ac_ext
10824 cat >>conftest.$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10826 #include <math.h>
10827 #ifdef HAVE_IEEEFP_H
10828 #include <ieeefp.h>
10829 #endif
10832 main ()
10834 _qfpclass(0);
10836 return 0;
10838 _ACEOF
10839 rm -f conftest.$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>conftest.er1
10842 ac_status=$?
10843 grep -v '^ *+' conftest.er1 >conftest.err
10844 rm -f conftest.er1
10845 cat conftest.err >&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try='test -z "$ac_cxx_werror_flag"
10849 || test ! -s conftest.err'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10852 ac_status=$?
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; } &&
10855 { ac_try='test -s conftest.$ac_objext'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10858 ac_status=$?
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; }; then
10861 glibcxx_cv_func__qfpclass_use=yes
10862 else
10863 echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.$ac_ext >&5
10866 glibcxx_cv_func__qfpclass_use=no
10868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10869 ac_ext=c
10870 ac_cpp='$CPP $CPPFLAGS'
10871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10880 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10882 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10884 for ac_func in _qfpclass
10886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10887 echo "$as_me:$LINENO: checking for $ac_func" >&5
10888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10889 if eval "test \"\${$as_ac_var+set}\" = set"; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 else
10892 if test x$gcc_no_link = xyes; then
10893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10895 { (exit 1); exit 1; }; }
10897 cat >conftest.$ac_ext <<_ACEOF
10898 /* confdefs.h. */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10905 #define $ac_func innocuous_$ac_func
10907 /* System header to define __stub macros and hopefully few prototypes,
10908 which can conflict with char $ac_func (); below.
10909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10910 <limits.h> exists even on freestanding compilers. */
10912 #ifdef __STDC__
10913 # include <limits.h>
10914 #else
10915 # include <assert.h>
10916 #endif
10918 #undef $ac_func
10920 /* Override any gcc2 internal prototype to avoid an error. */
10921 #ifdef __cplusplus
10922 extern "C"
10924 #endif
10925 /* We use char because int might match the return type of a gcc2
10926 builtin and then its argument prototype would still apply. */
10927 char $ac_func ();
10928 /* The GNU C library defines this for functions which it implements
10929 to always fail with ENOSYS. Some functions are actually named
10930 something starting with __ and the normal name is an alias. */
10931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10932 choke me
10933 #else
10934 char (*f) () = $ac_func;
10935 #endif
10936 #ifdef __cplusplus
10938 #endif
10941 main ()
10943 return f != $ac_func;
10945 return 0;
10947 _ACEOF
10948 rm -f conftest.$ac_objext conftest$ac_exeext
10949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10950 (eval $ac_link) 2>conftest.er1
10951 ac_status=$?
10952 grep -v '^ *+' conftest.er1 >conftest.err
10953 rm -f conftest.er1
10954 cat conftest.err >&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); } &&
10957 { ac_try='test -z "$ac_c_werror_flag"
10958 || test ! -s conftest.err'
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5
10961 ac_status=$?
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; } &&
10964 { ac_try='test -s conftest$ac_exeext'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10967 ac_status=$?
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; }; then
10970 eval "$as_ac_var=yes"
10971 else
10972 echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10975 eval "$as_ac_var=no"
10977 rm -f conftest.err conftest.$ac_objext \
10978 conftest$ac_exeext conftest.$ac_ext
10980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10982 if test `eval echo '${'$as_ac_var'}'` = yes; then
10983 cat >>confdefs.h <<_ACEOF
10984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10985 _ACEOF
10988 done
10998 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10999 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11000 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11001 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 else
11007 ac_ext=cc
11008 ac_cpp='$CXXCPP $CPPFLAGS'
11009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11013 cat >conftest.$ac_ext <<_ACEOF
11014 /* confdefs.h. */
11015 _ACEOF
11016 cat confdefs.h >>conftest.$ac_ext
11017 cat >>conftest.$ac_ext <<_ACEOF
11018 /* end confdefs.h. */
11019 #include <math.h>
11021 main ()
11023 hypot(0, 0);
11025 return 0;
11027 _ACEOF
11028 rm -f conftest.$ac_objext
11029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11030 (eval $ac_compile) 2>conftest.er1
11031 ac_status=$?
11032 grep -v '^ *+' conftest.er1 >conftest.err
11033 rm -f conftest.er1
11034 cat conftest.err >&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } &&
11037 { ac_try='test -z "$ac_cxx_werror_flag"
11038 || test ! -s conftest.err'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11041 ac_status=$?
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; } &&
11044 { ac_try='test -s conftest.$ac_objext'
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046 (eval $ac_try) 2>&5
11047 ac_status=$?
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; }; then
11050 glibcxx_cv_func_hypot_use=yes
11051 else
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11055 glibcxx_cv_func_hypot_use=no
11057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11058 ac_ext=c
11059 ac_cpp='$CPP $CPPFLAGS'
11060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11068 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11069 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11071 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11073 for ac_func in hypot
11075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11076 echo "$as_me:$LINENO: checking for $ac_func" >&5
11077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11078 if eval "test \"\${$as_ac_var+set}\" = set"; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 else
11081 if test x$gcc_no_link = xyes; then
11082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11084 { (exit 1); exit 1; }; }
11086 cat >conftest.$ac_ext <<_ACEOF
11087 /* confdefs.h. */
11088 _ACEOF
11089 cat confdefs.h >>conftest.$ac_ext
11090 cat >>conftest.$ac_ext <<_ACEOF
11091 /* end confdefs.h. */
11092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11094 #define $ac_func innocuous_$ac_func
11096 /* System header to define __stub macros and hopefully few prototypes,
11097 which can conflict with char $ac_func (); below.
11098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11099 <limits.h> exists even on freestanding compilers. */
11101 #ifdef __STDC__
11102 # include <limits.h>
11103 #else
11104 # include <assert.h>
11105 #endif
11107 #undef $ac_func
11109 /* Override any gcc2 internal prototype to avoid an error. */
11110 #ifdef __cplusplus
11111 extern "C"
11113 #endif
11114 /* We use char because int might match the return type of a gcc2
11115 builtin and then its argument prototype would still apply. */
11116 char $ac_func ();
11117 /* The GNU C library defines this for functions which it implements
11118 to always fail with ENOSYS. Some functions are actually named
11119 something starting with __ and the normal name is an alias. */
11120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11121 choke me
11122 #else
11123 char (*f) () = $ac_func;
11124 #endif
11125 #ifdef __cplusplus
11127 #endif
11130 main ()
11132 return f != $ac_func;
11134 return 0;
11136 _ACEOF
11137 rm -f conftest.$ac_objext conftest$ac_exeext
11138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11139 (eval $ac_link) 2>conftest.er1
11140 ac_status=$?
11141 grep -v '^ *+' conftest.er1 >conftest.err
11142 rm -f conftest.er1
11143 cat conftest.err >&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); } &&
11146 { ac_try='test -z "$ac_c_werror_flag"
11147 || test ! -s conftest.err'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11150 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; } &&
11153 { ac_try='test -s conftest$ac_exeext'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 (eval $ac_try) 2>&5
11156 ac_status=$?
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; }; then
11159 eval "$as_ac_var=yes"
11160 else
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11164 eval "$as_ac_var=no"
11166 rm -f conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11171 if test `eval echo '${'$as_ac_var'}'` = yes; then
11172 cat >>confdefs.h <<_ACEOF
11173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11174 _ACEOF
11177 done
11179 else
11181 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11182 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11183 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11184 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 else
11190 ac_ext=cc
11191 ac_cpp='$CXXCPP $CPPFLAGS'
11192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11196 cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h. */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <math.h>
11204 main ()
11206 _hypot(0, 0);
11208 return 0;
11210 _ACEOF
11211 rm -f conftest.$ac_objext
11212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11213 (eval $ac_compile) 2>conftest.er1
11214 ac_status=$?
11215 grep -v '^ *+' conftest.er1 >conftest.err
11216 rm -f conftest.er1
11217 cat conftest.err >&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } &&
11220 { ac_try='test -z "$ac_cxx_werror_flag"
11221 || test ! -s conftest.err'
11222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223 (eval $ac_try) 2>&5
11224 ac_status=$?
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; } &&
11227 { ac_try='test -s conftest.$ac_objext'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11230 ac_status=$?
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; }; then
11233 glibcxx_cv_func__hypot_use=yes
11234 else
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11238 glibcxx_cv_func__hypot_use=no
11240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11241 ac_ext=c
11242 ac_cpp='$CPP $CPPFLAGS'
11243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11252 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11254 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11256 for ac_func in _hypot
11258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11259 echo "$as_me:$LINENO: checking for $ac_func" >&5
11260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11261 if eval "test \"\${$as_ac_var+set}\" = set"; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 else
11264 if test x$gcc_no_link = xyes; then
11265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11267 { (exit 1); exit 1; }; }
11269 cat >conftest.$ac_ext <<_ACEOF
11270 /* confdefs.h. */
11271 _ACEOF
11272 cat confdefs.h >>conftest.$ac_ext
11273 cat >>conftest.$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11277 #define $ac_func innocuous_$ac_func
11279 /* System header to define __stub macros and hopefully few prototypes,
11280 which can conflict with char $ac_func (); below.
11281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11282 <limits.h> exists even on freestanding compilers. */
11284 #ifdef __STDC__
11285 # include <limits.h>
11286 #else
11287 # include <assert.h>
11288 #endif
11290 #undef $ac_func
11292 /* Override any gcc2 internal prototype to avoid an error. */
11293 #ifdef __cplusplus
11294 extern "C"
11296 #endif
11297 /* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11299 char $ac_func ();
11300 /* The GNU C library defines this for functions which it implements
11301 to always fail with ENOSYS. Some functions are actually named
11302 something starting with __ and the normal name is an alias. */
11303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11304 choke me
11305 #else
11306 char (*f) () = $ac_func;
11307 #endif
11308 #ifdef __cplusplus
11310 #endif
11313 main ()
11315 return f != $ac_func;
11317 return 0;
11319 _ACEOF
11320 rm -f conftest.$ac_objext conftest$ac_exeext
11321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11322 (eval $ac_link) 2>conftest.er1
11323 ac_status=$?
11324 grep -v '^ *+' conftest.er1 >conftest.err
11325 rm -f conftest.er1
11326 cat conftest.err >&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); } &&
11329 { ac_try='test -z "$ac_c_werror_flag"
11330 || test ! -s conftest.err'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11333 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; } &&
11336 { ac_try='test -s conftest$ac_exeext'
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338 (eval $ac_try) 2>&5
11339 ac_status=$?
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); }; }; then
11342 eval "$as_ac_var=yes"
11343 else
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.$ac_ext >&5
11347 eval "$as_ac_var=no"
11349 rm -f conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11354 if test `eval echo '${'$as_ac_var'}'` = yes; then
11355 cat >>confdefs.h <<_ACEOF
11356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11357 _ACEOF
11360 done
11370 echo "$as_me:$LINENO: checking for float trig functions" >&5
11371 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11372 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11373 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 else
11378 ac_ext=cc
11379 ac_cpp='$CXXCPP $CPPFLAGS'
11380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11384 cat >conftest.$ac_ext <<_ACEOF
11385 /* confdefs.h. */
11386 _ACEOF
11387 cat confdefs.h >>conftest.$ac_ext
11388 cat >>conftest.$ac_ext <<_ACEOF
11389 /* end confdefs.h. */
11390 #include <math.h>
11392 main ()
11394 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11396 return 0;
11398 _ACEOF
11399 rm -f conftest.$ac_objext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401 (eval $ac_compile) 2>conftest.er1
11402 ac_status=$?
11403 grep -v '^ *+' conftest.er1 >conftest.err
11404 rm -f conftest.er1
11405 cat conftest.err >&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } &&
11408 { ac_try='test -z "$ac_cxx_werror_flag"
11409 || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11412 ac_status=$?
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try='test -s conftest.$ac_objext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11418 ac_status=$?
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 glibcxx_cv_func_float_trig_use=yes
11422 else
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.$ac_ext >&5
11426 glibcxx_cv_func_float_trig_use=no
11428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11429 ac_ext=c
11430 ac_cpp='$CPP $CPPFLAGS'
11431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11438 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11439 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11449 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11452 echo "$as_me:$LINENO: checking for $ac_func" >&5
11453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11454 if eval "test \"\${$as_ac_var+set}\" = set"; then
11455 echo $ECHO_N "(cached) $ECHO_C" >&6
11456 else
11457 if test x$gcc_no_link = xyes; then
11458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11460 { (exit 1); exit 1; }; }
11462 cat >conftest.$ac_ext <<_ACEOF
11463 /* confdefs.h. */
11464 _ACEOF
11465 cat confdefs.h >>conftest.$ac_ext
11466 cat >>conftest.$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11470 #define $ac_func innocuous_$ac_func
11472 /* System header to define __stub macros and hopefully few prototypes,
11473 which can conflict with char $ac_func (); below.
11474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11475 <limits.h> exists even on freestanding compilers. */
11477 #ifdef __STDC__
11478 # include <limits.h>
11479 #else
11480 # include <assert.h>
11481 #endif
11483 #undef $ac_func
11485 /* Override any gcc2 internal prototype to avoid an error. */
11486 #ifdef __cplusplus
11487 extern "C"
11489 #endif
11490 /* We use char because int might match the return type of a gcc2
11491 builtin and then its argument prototype would still apply. */
11492 char $ac_func ();
11493 /* The GNU C library defines this for functions which it implements
11494 to always fail with ENOSYS. Some functions are actually named
11495 something starting with __ and the normal name is an alias. */
11496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11497 choke me
11498 #else
11499 char (*f) () = $ac_func;
11500 #endif
11501 #ifdef __cplusplus
11503 #endif
11506 main ()
11508 return f != $ac_func;
11510 return 0;
11512 _ACEOF
11513 rm -f conftest.$ac_objext conftest$ac_exeext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11515 (eval $ac_link) 2>conftest.er1
11516 ac_status=$?
11517 grep -v '^ *+' conftest.er1 >conftest.err
11518 rm -f conftest.er1
11519 cat conftest.err >&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } &&
11522 { ac_try='test -z "$ac_c_werror_flag"
11523 || test ! -s conftest.err'
11524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11525 (eval $ac_try) 2>&5
11526 ac_status=$?
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); }; } &&
11529 { ac_try='test -s conftest$ac_exeext'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11532 ac_status=$?
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; }; then
11535 eval "$as_ac_var=yes"
11536 else
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11540 eval "$as_ac_var=no"
11542 rm -f conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11547 if test `eval echo '${'$as_ac_var'}'` = yes; then
11548 cat >>confdefs.h <<_ACEOF
11549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11550 _ACEOF
11553 done
11555 else
11556 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11557 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11558 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 else
11564 ac_ext=cc
11565 ac_cpp='$CXXCPP $CPPFLAGS'
11566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11570 cat >conftest.$ac_ext <<_ACEOF
11571 /* confdefs.h. */
11572 _ACEOF
11573 cat confdefs.h >>conftest.$ac_ext
11574 cat >>conftest.$ac_ext <<_ACEOF
11575 /* end confdefs.h. */
11576 #include <math.h>
11578 main ()
11580 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11582 return 0;
11584 _ACEOF
11585 rm -f conftest.$ac_objext
11586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11587 (eval $ac_compile) 2>conftest.er1
11588 ac_status=$?
11589 grep -v '^ *+' conftest.er1 >conftest.err
11590 rm -f conftest.er1
11591 cat conftest.err >&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } &&
11594 { ac_try='test -z "$ac_cxx_werror_flag"
11595 || test ! -s conftest.err'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11598 ac_status=$?
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; } &&
11601 { ac_try='test -s conftest.$ac_objext'
11602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11603 (eval $ac_try) 2>&5
11604 ac_status=$?
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }; }; then
11607 glibcxx_cv_func__float_trig_use=yes
11608 else
11609 echo "$as_me: failed program was:" >&5
11610 sed 's/^/| /' conftest.$ac_ext >&5
11612 glibcxx_cv_func__float_trig_use=no
11614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11615 ac_ext=c
11616 ac_cpp='$CPP $CPPFLAGS'
11617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11624 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11625 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11635 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11638 echo "$as_me:$LINENO: checking for $ac_func" >&5
11639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11640 if eval "test \"\${$as_ac_var+set}\" = set"; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 else
11643 if test x$gcc_no_link = xyes; then
11644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11646 { (exit 1); exit 1; }; }
11648 cat >conftest.$ac_ext <<_ACEOF
11649 /* confdefs.h. */
11650 _ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11656 #define $ac_func innocuous_$ac_func
11658 /* System header to define __stub macros and hopefully few prototypes,
11659 which can conflict with char $ac_func (); below.
11660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11661 <limits.h> exists even on freestanding compilers. */
11663 #ifdef __STDC__
11664 # include <limits.h>
11665 #else
11666 # include <assert.h>
11667 #endif
11669 #undef $ac_func
11671 /* Override any gcc2 internal prototype to avoid an error. */
11672 #ifdef __cplusplus
11673 extern "C"
11675 #endif
11676 /* We use char because int might match the return type of a gcc2
11677 builtin and then its argument prototype would still apply. */
11678 char $ac_func ();
11679 /* The GNU C library defines this for functions which it implements
11680 to always fail with ENOSYS. Some functions are actually named
11681 something starting with __ and the normal name is an alias. */
11682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11683 choke me
11684 #else
11685 char (*f) () = $ac_func;
11686 #endif
11687 #ifdef __cplusplus
11689 #endif
11692 main ()
11694 return f != $ac_func;
11696 return 0;
11698 _ACEOF
11699 rm -f conftest.$ac_objext conftest$ac_exeext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11701 (eval $ac_link) 2>conftest.er1
11702 ac_status=$?
11703 grep -v '^ *+' conftest.er1 >conftest.err
11704 rm -f conftest.er1
11705 cat conftest.err >&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try='test -z "$ac_c_werror_flag"
11709 || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11712 ac_status=$?
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try='test -s conftest$ac_exeext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11718 ac_status=$?
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 eval "$as_ac_var=yes"
11722 else
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11726 eval "$as_ac_var=no"
11728 rm -f conftest.err conftest.$ac_objext \
11729 conftest$ac_exeext conftest.$ac_ext
11731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11733 if test `eval echo '${'$as_ac_var'}'` = yes; then
11734 cat >>confdefs.h <<_ACEOF
11735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11736 _ACEOF
11739 done
11757 echo "$as_me:$LINENO: checking for float round functions" >&5
11758 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11759 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11765 ac_ext=cc
11766 ac_cpp='$CXXCPP $CPPFLAGS'
11767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11771 cat >conftest.$ac_ext <<_ACEOF
11772 /* confdefs.h. */
11773 _ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11777 #include <math.h>
11779 main ()
11781 ceilf (0); floorf (0);
11783 return 0;
11785 _ACEOF
11786 rm -f conftest.$ac_objext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11788 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_round_use=yes
11809 else
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 glibcxx_cv_func_float_round_use=no
11815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11816 ac_ext=c
11817 ac_cpp='$CPP $CPPFLAGS'
11818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11824 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11825 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11826 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11829 for ac_func in ceilf floorf
11831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11832 echo "$as_me:$LINENO: checking for $ac_func" >&5
11833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11834 if eval "test \"\${$as_ac_var+set}\" = set"; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837 if test x$gcc_no_link = xyes; then
11838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11840 { (exit 1); exit 1; }; }
11842 cat >conftest.$ac_ext <<_ACEOF
11843 /* confdefs.h. */
11844 _ACEOF
11845 cat confdefs.h >>conftest.$ac_ext
11846 cat >>conftest.$ac_ext <<_ACEOF
11847 /* end confdefs.h. */
11848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11850 #define $ac_func innocuous_$ac_func
11852 /* System header to define __stub macros and hopefully few prototypes,
11853 which can conflict with char $ac_func (); below.
11854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11855 <limits.h> exists even on freestanding compilers. */
11857 #ifdef __STDC__
11858 # include <limits.h>
11859 #else
11860 # include <assert.h>
11861 #endif
11863 #undef $ac_func
11865 /* Override any gcc2 internal prototype to avoid an error. */
11866 #ifdef __cplusplus
11867 extern "C"
11869 #endif
11870 /* We use char because int might match the return type of a gcc2
11871 builtin and then its argument prototype would still apply. */
11872 char $ac_func ();
11873 /* The GNU C library defines this for functions which it implements
11874 to always fail with ENOSYS. Some functions are actually named
11875 something starting with __ and the normal name is an alias. */
11876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11877 choke me
11878 #else
11879 char (*f) () = $ac_func;
11880 #endif
11881 #ifdef __cplusplus
11883 #endif
11886 main ()
11888 return f != $ac_func;
11890 return 0;
11892 _ACEOF
11893 rm -f conftest.$ac_objext conftest$ac_exeext
11894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11895 (eval $ac_link) 2>conftest.er1
11896 ac_status=$?
11897 grep -v '^ *+' conftest.er1 >conftest.err
11898 rm -f conftest.er1
11899 cat conftest.err >&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); } &&
11902 { ac_try='test -z "$ac_c_werror_flag"
11903 || test ! -s conftest.err'
11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 (eval $ac_try) 2>&5
11906 ac_status=$?
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }; } &&
11909 { ac_try='test -s conftest$ac_exeext'
11910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 (eval $ac_try) 2>&5
11912 ac_status=$?
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; }; then
11915 eval "$as_ac_var=yes"
11916 else
11917 echo "$as_me: failed program was:" >&5
11918 sed 's/^/| /' conftest.$ac_ext >&5
11920 eval "$as_ac_var=no"
11922 rm -f conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11927 if test `eval echo '${'$as_ac_var'}'` = yes; then
11928 cat >>confdefs.h <<_ACEOF
11929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11930 _ACEOF
11933 done
11935 else
11936 echo "$as_me:$LINENO: checking for _float round functions" >&5
11937 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11938 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11939 echo $ECHO_N "(cached) $ECHO_C" >&6
11940 else
11944 ac_ext=cc
11945 ac_cpp='$CXXCPP $CPPFLAGS'
11946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11950 cat >conftest.$ac_ext <<_ACEOF
11951 /* confdefs.h. */
11952 _ACEOF
11953 cat confdefs.h >>conftest.$ac_ext
11954 cat >>conftest.$ac_ext <<_ACEOF
11955 /* end confdefs.h. */
11956 #include <math.h>
11958 main ()
11960 _ceilf (0); _floorf (0);
11962 return 0;
11964 _ACEOF
11965 rm -f conftest.$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967 (eval $ac_compile) 2>conftest.er1
11968 ac_status=$?
11969 grep -v '^ *+' conftest.er1 >conftest.err
11970 rm -f conftest.er1
11971 cat conftest.err >&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try='test -z "$ac_cxx_werror_flag"
11975 || test ! -s conftest.err'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11978 ac_status=$?
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; } &&
11981 { ac_try='test -s conftest.$ac_objext'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11984 ac_status=$?
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; }; then
11987 glibcxx_cv_func__float_round_use=yes
11988 else
11989 echo "$as_me: failed program was:" >&5
11990 sed 's/^/| /' conftest.$ac_ext >&5
11992 glibcxx_cv_func__float_round_use=no
11994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11995 ac_ext=c
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12004 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12005 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12008 for ac_func in _ceilf _floorf
12010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12011 echo "$as_me:$LINENO: checking for $ac_func" >&5
12012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12013 if eval "test \"\${$as_ac_var+set}\" = set"; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 else
12016 if test x$gcc_no_link = xyes; then
12017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12019 { (exit 1); exit 1; }; }
12021 cat >conftest.$ac_ext <<_ACEOF
12022 /* confdefs.h. */
12023 _ACEOF
12024 cat confdefs.h >>conftest.$ac_ext
12025 cat >>conftest.$ac_ext <<_ACEOF
12026 /* end confdefs.h. */
12027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12029 #define $ac_func innocuous_$ac_func
12031 /* System header to define __stub macros and hopefully few prototypes,
12032 which can conflict with char $ac_func (); below.
12033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12034 <limits.h> exists even on freestanding compilers. */
12036 #ifdef __STDC__
12037 # include <limits.h>
12038 #else
12039 # include <assert.h>
12040 #endif
12042 #undef $ac_func
12044 /* Override any gcc2 internal prototype to avoid an error. */
12045 #ifdef __cplusplus
12046 extern "C"
12048 #endif
12049 /* We use char because int might match the return type of a gcc2
12050 builtin and then its argument prototype would still apply. */
12051 char $ac_func ();
12052 /* The GNU C library defines this for functions which it implements
12053 to always fail with ENOSYS. Some functions are actually named
12054 something starting with __ and the normal name is an alias. */
12055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12056 choke me
12057 #else
12058 char (*f) () = $ac_func;
12059 #endif
12060 #ifdef __cplusplus
12062 #endif
12065 main ()
12067 return f != $ac_func;
12069 return 0;
12071 _ACEOF
12072 rm -f conftest.$ac_objext conftest$ac_exeext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12074 (eval $ac_link) 2>conftest.er1
12075 ac_status=$?
12076 grep -v '^ *+' conftest.er1 >conftest.err
12077 rm -f conftest.er1
12078 cat conftest.err >&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } &&
12081 { ac_try='test -z "$ac_c_werror_flag"
12082 || test ! -s conftest.err'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12085 ac_status=$?
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; } &&
12088 { ac_try='test -s conftest$ac_exeext'
12089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090 (eval $ac_try) 2>&5
12091 ac_status=$?
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); }; }; then
12094 eval "$as_ac_var=yes"
12095 else
12096 echo "$as_me: failed program was:" >&5
12097 sed 's/^/| /' conftest.$ac_ext >&5
12099 eval "$as_ac_var=no"
12101 rm -f conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12106 if test `eval echo '${'$as_ac_var'}'` = yes; then
12107 cat >>confdefs.h <<_ACEOF
12108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12109 _ACEOF
12112 done
12124 echo "$as_me:$LINENO: checking for expf declaration" >&5
12125 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12126 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12127 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 else
12133 ac_ext=cc
12134 ac_cpp='$CXXCPP $CPPFLAGS'
12135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12139 cat >conftest.$ac_ext <<_ACEOF
12140 /* confdefs.h. */
12141 _ACEOF
12142 cat confdefs.h >>conftest.$ac_ext
12143 cat >>conftest.$ac_ext <<_ACEOF
12144 /* end confdefs.h. */
12145 #include <math.h>
12146 #ifdef HAVE_IEEEFP_H
12147 #include <ieeefp.h>
12148 #endif
12151 main ()
12153 expf(0);
12155 return 0;
12157 _ACEOF
12158 rm -f conftest.$ac_objext
12159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12160 (eval $ac_compile) 2>conftest.er1
12161 ac_status=$?
12162 grep -v '^ *+' conftest.er1 >conftest.err
12163 rm -f conftest.er1
12164 cat conftest.err >&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); } &&
12167 { ac_try='test -z "$ac_cxx_werror_flag"
12168 || test ! -s conftest.err'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170 (eval $ac_try) 2>&5
12171 ac_status=$?
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; } &&
12174 { ac_try='test -s conftest.$ac_objext'
12175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12176 (eval $ac_try) 2>&5
12177 ac_status=$?
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 glibcxx_cv_func_expf_use=yes
12181 else
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12185 glibcxx_cv_func_expf_use=no
12187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12188 ac_ext=c
12189 ac_cpp='$CPP $CPPFLAGS'
12190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12199 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12201 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12203 for ac_func in expf
12205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12206 echo "$as_me:$LINENO: checking for $ac_func" >&5
12207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12208 if eval "test \"\${$as_ac_var+set}\" = set"; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else
12211 if test x$gcc_no_link = xyes; then
12212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12214 { (exit 1); exit 1; }; }
12216 cat >conftest.$ac_ext <<_ACEOF
12217 /* confdefs.h. */
12218 _ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12224 #define $ac_func innocuous_$ac_func
12226 /* System header to define __stub macros and hopefully few prototypes,
12227 which can conflict with char $ac_func (); below.
12228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12229 <limits.h> exists even on freestanding compilers. */
12231 #ifdef __STDC__
12232 # include <limits.h>
12233 #else
12234 # include <assert.h>
12235 #endif
12237 #undef $ac_func
12239 /* Override any gcc2 internal prototype to avoid an error. */
12240 #ifdef __cplusplus
12241 extern "C"
12243 #endif
12244 /* We use char because int might match the return type of a gcc2
12245 builtin and then its argument prototype would still apply. */
12246 char $ac_func ();
12247 /* The GNU C library defines this for functions which it implements
12248 to always fail with ENOSYS. Some functions are actually named
12249 something starting with __ and the normal name is an alias. */
12250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12251 choke me
12252 #else
12253 char (*f) () = $ac_func;
12254 #endif
12255 #ifdef __cplusplus
12257 #endif
12260 main ()
12262 return f != $ac_func;
12264 return 0;
12266 _ACEOF
12267 rm -f conftest.$ac_objext conftest$ac_exeext
12268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12269 (eval $ac_link) 2>conftest.er1
12270 ac_status=$?
12271 grep -v '^ *+' conftest.er1 >conftest.err
12272 rm -f conftest.er1
12273 cat conftest.err >&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } &&
12276 { ac_try='test -z "$ac_c_werror_flag"
12277 || test ! -s conftest.err'
12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 (eval $ac_try) 2>&5
12280 ac_status=$?
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; } &&
12283 { ac_try='test -s conftest$ac_exeext'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12286 ac_status=$?
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; }; then
12289 eval "$as_ac_var=yes"
12290 else
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12294 eval "$as_ac_var=no"
12296 rm -f conftest.err conftest.$ac_objext \
12297 conftest$ac_exeext conftest.$ac_ext
12299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12301 if test `eval echo '${'$as_ac_var'}'` = yes; then
12302 cat >>confdefs.h <<_ACEOF
12303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12304 _ACEOF
12307 done
12309 else
12311 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12312 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12313 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12314 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 else
12320 ac_ext=cc
12321 ac_cpp='$CXXCPP $CPPFLAGS'
12322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12326 cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h. */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 #include <math.h>
12333 #ifdef HAVE_IEEEFP_H
12334 #include <ieeefp.h>
12335 #endif
12338 main ()
12340 _expf(0);
12342 return 0;
12344 _ACEOF
12345 rm -f conftest.$ac_objext
12346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12347 (eval $ac_compile) 2>conftest.er1
12348 ac_status=$?
12349 grep -v '^ *+' conftest.er1 >conftest.err
12350 rm -f conftest.er1
12351 cat conftest.err >&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); } &&
12354 { ac_try='test -z "$ac_cxx_werror_flag"
12355 || test ! -s conftest.err'
12356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357 (eval $ac_try) 2>&5
12358 ac_status=$?
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); }; } &&
12361 { ac_try='test -s conftest.$ac_objext'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12364 ac_status=$?
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; }; then
12367 glibcxx_cv_func__expf_use=yes
12368 else
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12372 glibcxx_cv_func__expf_use=no
12374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12375 ac_ext=c
12376 ac_cpp='$CPP $CPPFLAGS'
12377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12386 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12388 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12390 for ac_func in _expf
12392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12393 echo "$as_me:$LINENO: checking for $ac_func" >&5
12394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12395 if eval "test \"\${$as_ac_var+set}\" = set"; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 else
12398 if test x$gcc_no_link = xyes; then
12399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12401 { (exit 1); exit 1; }; }
12403 cat >conftest.$ac_ext <<_ACEOF
12404 /* confdefs.h. */
12405 _ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12411 #define $ac_func innocuous_$ac_func
12413 /* System header to define __stub macros and hopefully few prototypes,
12414 which can conflict with char $ac_func (); below.
12415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12416 <limits.h> exists even on freestanding compilers. */
12418 #ifdef __STDC__
12419 # include <limits.h>
12420 #else
12421 # include <assert.h>
12422 #endif
12424 #undef $ac_func
12426 /* Override any gcc2 internal prototype to avoid an error. */
12427 #ifdef __cplusplus
12428 extern "C"
12430 #endif
12431 /* We use char because int might match the return type of a gcc2
12432 builtin and then its argument prototype would still apply. */
12433 char $ac_func ();
12434 /* The GNU C library defines this for functions which it implements
12435 to always fail with ENOSYS. Some functions are actually named
12436 something starting with __ and the normal name is an alias. */
12437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12438 choke me
12439 #else
12440 char (*f) () = $ac_func;
12441 #endif
12442 #ifdef __cplusplus
12444 #endif
12447 main ()
12449 return f != $ac_func;
12451 return 0;
12453 _ACEOF
12454 rm -f conftest.$ac_objext conftest$ac_exeext
12455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12456 (eval $ac_link) 2>conftest.er1
12457 ac_status=$?
12458 grep -v '^ *+' conftest.er1 >conftest.err
12459 rm -f conftest.er1
12460 cat conftest.err >&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } &&
12463 { ac_try='test -z "$ac_c_werror_flag"
12464 || test ! -s conftest.err'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12467 ac_status=$?
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; } &&
12470 { ac_try='test -s conftest$ac_exeext'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12473 ac_status=$?
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; }; then
12476 eval "$as_ac_var=yes"
12477 else
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12481 eval "$as_ac_var=no"
12483 rm -f conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12488 if test `eval echo '${'$as_ac_var'}'` = yes; then
12489 cat >>confdefs.h <<_ACEOF
12490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12491 _ACEOF
12494 done
12504 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12505 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12506 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12507 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12509 else
12513 ac_ext=cc
12514 ac_cpp='$CXXCPP $CPPFLAGS'
12515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12519 cat >conftest.$ac_ext <<_ACEOF
12520 /* confdefs.h. */
12521 _ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525 #include <math.h>
12526 #ifdef HAVE_IEEEFP_H
12527 #include <ieeefp.h>
12528 #endif
12531 main ()
12533 isnanf(0);
12535 return 0;
12537 _ACEOF
12538 rm -f conftest.$ac_objext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12540 (eval $ac_compile) 2>conftest.er1
12541 ac_status=$?
12542 grep -v '^ *+' conftest.er1 >conftest.err
12543 rm -f conftest.er1
12544 cat conftest.err >&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } &&
12547 { ac_try='test -z "$ac_cxx_werror_flag"
12548 || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 glibcxx_cv_func_isnanf_use=yes
12561 else
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12565 glibcxx_cv_func_isnanf_use=no
12567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12568 ac_ext=c
12569 ac_cpp='$CPP $CPPFLAGS'
12570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12579 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12581 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12583 for ac_func in isnanf
12585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12586 echo "$as_me:$LINENO: checking for $ac_func" >&5
12587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12588 if eval "test \"\${$as_ac_var+set}\" = set"; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 else
12591 if test x$gcc_no_link = xyes; then
12592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12594 { (exit 1); exit 1; }; }
12596 cat >conftest.$ac_ext <<_ACEOF
12597 /* confdefs.h. */
12598 _ACEOF
12599 cat confdefs.h >>conftest.$ac_ext
12600 cat >>conftest.$ac_ext <<_ACEOF
12601 /* end confdefs.h. */
12602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12604 #define $ac_func innocuous_$ac_func
12606 /* System header to define __stub macros and hopefully few prototypes,
12607 which can conflict with char $ac_func (); below.
12608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12609 <limits.h> exists even on freestanding compilers. */
12611 #ifdef __STDC__
12612 # include <limits.h>
12613 #else
12614 # include <assert.h>
12615 #endif
12617 #undef $ac_func
12619 /* Override any gcc2 internal prototype to avoid an error. */
12620 #ifdef __cplusplus
12621 extern "C"
12623 #endif
12624 /* We use char because int might match the return type of a gcc2
12625 builtin and then its argument prototype would still apply. */
12626 char $ac_func ();
12627 /* The GNU C library defines this for functions which it implements
12628 to always fail with ENOSYS. Some functions are actually named
12629 something starting with __ and the normal name is an alias. */
12630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12631 choke me
12632 #else
12633 char (*f) () = $ac_func;
12634 #endif
12635 #ifdef __cplusplus
12637 #endif
12640 main ()
12642 return f != $ac_func;
12644 return 0;
12646 _ACEOF
12647 rm -f conftest.$ac_objext conftest$ac_exeext
12648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12649 (eval $ac_link) 2>conftest.er1
12650 ac_status=$?
12651 grep -v '^ *+' conftest.er1 >conftest.err
12652 rm -f conftest.er1
12653 cat conftest.err >&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } &&
12656 { ac_try='test -z "$ac_c_werror_flag"
12657 || test ! -s conftest.err'
12658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659 (eval $ac_try) 2>&5
12660 ac_status=$?
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); }; } &&
12663 { ac_try='test -s conftest$ac_exeext'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12666 ac_status=$?
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; }; then
12669 eval "$as_ac_var=yes"
12670 else
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.$ac_ext >&5
12674 eval "$as_ac_var=no"
12676 rm -f conftest.err conftest.$ac_objext \
12677 conftest$ac_exeext conftest.$ac_ext
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12681 if test `eval echo '${'$as_ac_var'}'` = yes; then
12682 cat >>confdefs.h <<_ACEOF
12683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12684 _ACEOF
12687 done
12689 else
12691 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12692 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12693 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12694 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12695 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 else
12700 ac_ext=cc
12701 ac_cpp='$CXXCPP $CPPFLAGS'
12702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12706 cat >conftest.$ac_ext <<_ACEOF
12707 /* confdefs.h. */
12708 _ACEOF
12709 cat confdefs.h >>conftest.$ac_ext
12710 cat >>conftest.$ac_ext <<_ACEOF
12711 /* end confdefs.h. */
12712 #include <math.h>
12713 #ifdef HAVE_IEEEFP_H
12714 #include <ieeefp.h>
12715 #endif
12718 main ()
12720 _isnanf(0);
12722 return 0;
12724 _ACEOF
12725 rm -f conftest.$ac_objext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12727 (eval $ac_compile) 2>conftest.er1
12728 ac_status=$?
12729 grep -v '^ *+' conftest.er1 >conftest.err
12730 rm -f conftest.er1
12731 cat conftest.err >&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } &&
12734 { ac_try='test -z "$ac_cxx_werror_flag"
12735 || test ! -s conftest.err'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12738 ac_status=$?
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; } &&
12741 { ac_try='test -s conftest.$ac_objext'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12744 ac_status=$?
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 glibcxx_cv_func__isnanf_use=yes
12748 else
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.$ac_ext >&5
12752 glibcxx_cv_func__isnanf_use=no
12754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12755 ac_ext=c
12756 ac_cpp='$CPP $CPPFLAGS'
12757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12766 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12768 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12770 for ac_func in _isnanf
12772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12773 echo "$as_me:$LINENO: checking for $ac_func" >&5
12774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12775 if eval "test \"\${$as_ac_var+set}\" = set"; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 else
12778 if test x$gcc_no_link = xyes; then
12779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12781 { (exit 1); exit 1; }; }
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12791 #define $ac_func innocuous_$ac_func
12793 /* System header to define __stub macros and hopefully few prototypes,
12794 which can conflict with char $ac_func (); below.
12795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12796 <limits.h> exists even on freestanding compilers. */
12798 #ifdef __STDC__
12799 # include <limits.h>
12800 #else
12801 # include <assert.h>
12802 #endif
12804 #undef $ac_func
12806 /* Override any gcc2 internal prototype to avoid an error. */
12807 #ifdef __cplusplus
12808 extern "C"
12810 #endif
12811 /* We use char because int might match the return type of a gcc2
12812 builtin and then its argument prototype would still apply. */
12813 char $ac_func ();
12814 /* The GNU C library defines this for functions which it implements
12815 to always fail with ENOSYS. Some functions are actually named
12816 something starting with __ and the normal name is an alias. */
12817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12818 choke me
12819 #else
12820 char (*f) () = $ac_func;
12821 #endif
12822 #ifdef __cplusplus
12824 #endif
12827 main ()
12829 return f != $ac_func;
12831 return 0;
12833 _ACEOF
12834 rm -f conftest.$ac_objext conftest$ac_exeext
12835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12836 (eval $ac_link) 2>conftest.er1
12837 ac_status=$?
12838 grep -v '^ *+' conftest.er1 >conftest.err
12839 rm -f conftest.er1
12840 cat conftest.err >&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } &&
12843 { ac_try='test -z "$ac_c_werror_flag"
12844 || test ! -s conftest.err'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12847 ac_status=$?
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; } &&
12850 { ac_try='test -s conftest$ac_exeext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12853 ac_status=$?
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 eval "$as_ac_var=yes"
12857 else
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.$ac_ext >&5
12861 eval "$as_ac_var=no"
12863 rm -f conftest.err conftest.$ac_objext \
12864 conftest$ac_exeext conftest.$ac_ext
12866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12868 if test `eval echo '${'$as_ac_var'}'` = yes; then
12869 cat >>confdefs.h <<_ACEOF
12870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12871 _ACEOF
12874 done
12884 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12885 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12886 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12887 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12889 else
12893 ac_ext=cc
12894 ac_cpp='$CXXCPP $CPPFLAGS'
12895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12899 cat >conftest.$ac_ext <<_ACEOF
12900 /* confdefs.h. */
12901 _ACEOF
12902 cat confdefs.h >>conftest.$ac_ext
12903 cat >>conftest.$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12905 #include <math.h>
12906 #ifdef HAVE_IEEEFP_H
12907 #include <ieeefp.h>
12908 #endif
12911 main ()
12913 isinff(0);
12915 return 0;
12917 _ACEOF
12918 rm -f conftest.$ac_objext
12919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12920 (eval $ac_compile) 2>conftest.er1
12921 ac_status=$?
12922 grep -v '^ *+' conftest.er1 >conftest.err
12923 rm -f conftest.er1
12924 cat conftest.err >&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); } &&
12927 { ac_try='test -z "$ac_cxx_werror_flag"
12928 || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12931 ac_status=$?
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try='test -s conftest.$ac_objext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12937 ac_status=$?
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 glibcxx_cv_func_isinff_use=yes
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 glibcxx_cv_func_isinff_use=no
12947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12948 ac_ext=c
12949 ac_cpp='$CPP $CPPFLAGS'
12950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12958 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12959 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12961 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12963 for ac_func in isinff
12965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12966 echo "$as_me:$LINENO: checking for $ac_func" >&5
12967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12968 if eval "test \"\${$as_ac_var+set}\" = set"; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 else
12971 if test x$gcc_no_link = xyes; then
12972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12974 { (exit 1); exit 1; }; }
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12984 #define $ac_func innocuous_$ac_func
12986 /* System header to define __stub macros and hopefully few prototypes,
12987 which can conflict with char $ac_func (); below.
12988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12989 <limits.h> exists even on freestanding compilers. */
12991 #ifdef __STDC__
12992 # include <limits.h>
12993 #else
12994 # include <assert.h>
12995 #endif
12997 #undef $ac_func
12999 /* Override any gcc2 internal prototype to avoid an error. */
13000 #ifdef __cplusplus
13001 extern "C"
13003 #endif
13004 /* We use char because int might match the return type of a gcc2
13005 builtin and then its argument prototype would still apply. */
13006 char $ac_func ();
13007 /* The GNU C library defines this for functions which it implements
13008 to always fail with ENOSYS. Some functions are actually named
13009 something starting with __ and the normal name is an alias. */
13010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13011 choke me
13012 #else
13013 char (*f) () = $ac_func;
13014 #endif
13015 #ifdef __cplusplus
13017 #endif
13020 main ()
13022 return f != $ac_func;
13024 return 0;
13026 _ACEOF
13027 rm -f conftest.$ac_objext conftest$ac_exeext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13029 (eval $ac_link) 2>conftest.er1
13030 ac_status=$?
13031 grep -v '^ *+' conftest.er1 >conftest.err
13032 rm -f conftest.er1
13033 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
13036 { ac_try='test -z "$ac_c_werror_flag"
13037 || test ! -s conftest.err'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try='test -s conftest$ac_exeext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 eval "$as_ac_var=yes"
13050 else
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.$ac_ext >&5
13054 eval "$as_ac_var=no"
13056 rm -f conftest.err conftest.$ac_objext \
13057 conftest$ac_exeext conftest.$ac_ext
13059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13061 if test `eval echo '${'$as_ac_var'}'` = yes; then
13062 cat >>confdefs.h <<_ACEOF
13063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13064 _ACEOF
13067 done
13069 else
13071 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13072 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13073 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13074 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 else
13080 ac_ext=cc
13081 ac_cpp='$CXXCPP $CPPFLAGS'
13082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13086 cat >conftest.$ac_ext <<_ACEOF
13087 /* confdefs.h. */
13088 _ACEOF
13089 cat confdefs.h >>conftest.$ac_ext
13090 cat >>conftest.$ac_ext <<_ACEOF
13091 /* end confdefs.h. */
13092 #include <math.h>
13093 #ifdef HAVE_IEEEFP_H
13094 #include <ieeefp.h>
13095 #endif
13098 main ()
13100 _isinff(0);
13102 return 0;
13104 _ACEOF
13105 rm -f conftest.$ac_objext
13106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13107 (eval $ac_compile) 2>conftest.er1
13108 ac_status=$?
13109 grep -v '^ *+' conftest.er1 >conftest.err
13110 rm -f conftest.er1
13111 cat conftest.err >&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); } &&
13114 { ac_try='test -z "$ac_cxx_werror_flag"
13115 || test ! -s conftest.err'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; } &&
13121 { ac_try='test -s conftest.$ac_objext'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13124 ac_status=$?
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 glibcxx_cv_func__isinff_use=yes
13128 else
13129 echo "$as_me: failed program was:" >&5
13130 sed 's/^/| /' conftest.$ac_ext >&5
13132 glibcxx_cv_func__isinff_use=no
13134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13135 ac_ext=c
13136 ac_cpp='$CPP $CPPFLAGS'
13137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13146 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13148 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13150 for ac_func in _isinff
13152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13153 echo "$as_me:$LINENO: checking for $ac_func" >&5
13154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13155 if eval "test \"\${$as_ac_var+set}\" = set"; then
13156 echo $ECHO_N "(cached) $ECHO_C" >&6
13157 else
13158 if test x$gcc_no_link = xyes; then
13159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13161 { (exit 1); exit 1; }; }
13163 cat >conftest.$ac_ext <<_ACEOF
13164 /* confdefs.h. */
13165 _ACEOF
13166 cat confdefs.h >>conftest.$ac_ext
13167 cat >>conftest.$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13171 #define $ac_func innocuous_$ac_func
13173 /* System header to define __stub macros and hopefully few prototypes,
13174 which can conflict with char $ac_func (); below.
13175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13176 <limits.h> exists even on freestanding compilers. */
13178 #ifdef __STDC__
13179 # include <limits.h>
13180 #else
13181 # include <assert.h>
13182 #endif
13184 #undef $ac_func
13186 /* Override any gcc2 internal prototype to avoid an error. */
13187 #ifdef __cplusplus
13188 extern "C"
13190 #endif
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13193 char $ac_func ();
13194 /* The GNU C library defines this for functions which it implements
13195 to always fail with ENOSYS. Some functions are actually named
13196 something starting with __ and the normal name is an alias. */
13197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198 choke me
13199 #else
13200 char (*f) () = $ac_func;
13201 #endif
13202 #ifdef __cplusplus
13204 #endif
13207 main ()
13209 return f != $ac_func;
13211 return 0;
13213 _ACEOF
13214 rm -f conftest.$ac_objext conftest$ac_exeext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13216 (eval $ac_link) 2>conftest.er1
13217 ac_status=$?
13218 grep -v '^ *+' conftest.er1 >conftest.err
13219 rm -f conftest.er1
13220 cat conftest.err >&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try='test -z "$ac_c_werror_flag"
13224 || test ! -s conftest.err'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13227 ac_status=$?
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; } &&
13230 { ac_try='test -s conftest$ac_exeext'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13233 ac_status=$?
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; }; then
13236 eval "$as_ac_var=yes"
13237 else
13238 echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.$ac_ext >&5
13241 eval "$as_ac_var=no"
13243 rm -f conftest.err conftest.$ac_objext \
13244 conftest$ac_exeext conftest.$ac_ext
13246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13248 if test `eval echo '${'$as_ac_var'}'` = yes; then
13249 cat >>confdefs.h <<_ACEOF
13250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13251 _ACEOF
13254 done
13264 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13265 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13266 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13267 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 else
13273 ac_ext=cc
13274 ac_cpp='$CXXCPP $CPPFLAGS'
13275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13279 cat >conftest.$ac_ext <<_ACEOF
13280 /* confdefs.h. */
13281 _ACEOF
13282 cat confdefs.h >>conftest.$ac_ext
13283 cat >>conftest.$ac_ext <<_ACEOF
13284 /* end confdefs.h. */
13285 #include <math.h>
13287 main ()
13289 atan2f(0, 0);
13291 return 0;
13293 _ACEOF
13294 rm -f conftest.$ac_objext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13296 (eval $ac_compile) 2>conftest.er1
13297 ac_status=$?
13298 grep -v '^ *+' conftest.er1 >conftest.err
13299 rm -f conftest.er1
13300 cat conftest.err >&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try='test -z "$ac_cxx_werror_flag"
13304 || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13307 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try='test -s conftest.$ac_objext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 glibcxx_cv_func_atan2f_use=yes
13317 else
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13321 glibcxx_cv_func_atan2f_use=no
13323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13324 ac_ext=c
13325 ac_cpp='$CPP $CPPFLAGS'
13326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13334 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13335 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13337 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13339 for ac_func in atan2f
13341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13342 echo "$as_me:$LINENO: checking for $ac_func" >&5
13343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13344 if eval "test \"\${$as_ac_var+set}\" = set"; then
13345 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 else
13347 if test x$gcc_no_link = xyes; then
13348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13350 { (exit 1); exit 1; }; }
13352 cat >conftest.$ac_ext <<_ACEOF
13353 /* confdefs.h. */
13354 _ACEOF
13355 cat confdefs.h >>conftest.$ac_ext
13356 cat >>conftest.$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13360 #define $ac_func innocuous_$ac_func
13362 /* System header to define __stub macros and hopefully few prototypes,
13363 which can conflict with char $ac_func (); below.
13364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13365 <limits.h> exists even on freestanding compilers. */
13367 #ifdef __STDC__
13368 # include <limits.h>
13369 #else
13370 # include <assert.h>
13371 #endif
13373 #undef $ac_func
13375 /* Override any gcc2 internal prototype to avoid an error. */
13376 #ifdef __cplusplus
13377 extern "C"
13379 #endif
13380 /* We use char because int might match the return type of a gcc2
13381 builtin and then its argument prototype would still apply. */
13382 char $ac_func ();
13383 /* The GNU C library defines this for functions which it implements
13384 to always fail with ENOSYS. Some functions are actually named
13385 something starting with __ and the normal name is an alias. */
13386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13387 choke me
13388 #else
13389 char (*f) () = $ac_func;
13390 #endif
13391 #ifdef __cplusplus
13393 #endif
13396 main ()
13398 return f != $ac_func;
13400 return 0;
13402 _ACEOF
13403 rm -f conftest.$ac_objext conftest$ac_exeext
13404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13405 (eval $ac_link) 2>conftest.er1
13406 ac_status=$?
13407 grep -v '^ *+' conftest.er1 >conftest.err
13408 rm -f conftest.er1
13409 cat conftest.err >&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } &&
13412 { ac_try='test -z "$ac_c_werror_flag"
13413 || test ! -s conftest.err'
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415 (eval $ac_try) 2>&5
13416 ac_status=$?
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); }; } &&
13419 { ac_try='test -s conftest$ac_exeext'
13420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421 (eval $ac_try) 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; }; then
13425 eval "$as_ac_var=yes"
13426 else
13427 echo "$as_me: failed program was:" >&5
13428 sed 's/^/| /' conftest.$ac_ext >&5
13430 eval "$as_ac_var=no"
13432 rm -f conftest.err conftest.$ac_objext \
13433 conftest$ac_exeext conftest.$ac_ext
13435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13437 if test `eval echo '${'$as_ac_var'}'` = yes; then
13438 cat >>confdefs.h <<_ACEOF
13439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13440 _ACEOF
13443 done
13445 else
13447 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13448 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13449 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13450 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 else
13456 ac_ext=cc
13457 ac_cpp='$CXXCPP $CPPFLAGS'
13458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13462 cat >conftest.$ac_ext <<_ACEOF
13463 /* confdefs.h. */
13464 _ACEOF
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13468 #include <math.h>
13470 main ()
13472 _atan2f(0, 0);
13474 return 0;
13476 _ACEOF
13477 rm -f conftest.$ac_objext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13479 (eval $ac_compile) 2>conftest.er1
13480 ac_status=$?
13481 grep -v '^ *+' conftest.er1 >conftest.err
13482 rm -f conftest.er1
13483 cat conftest.err >&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try='test -z "$ac_cxx_werror_flag"
13487 || test ! -s conftest.err'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13490 ac_status=$?
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } &&
13493 { ac_try='test -s conftest.$ac_objext'
13494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495 (eval $ac_try) 2>&5
13496 ac_status=$?
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; }; then
13499 glibcxx_cv_func__atan2f_use=yes
13500 else
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.$ac_ext >&5
13504 glibcxx_cv_func__atan2f_use=no
13506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13507 ac_ext=c
13508 ac_cpp='$CPP $CPPFLAGS'
13509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13518 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13520 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13522 for ac_func in _atan2f
13524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13525 echo "$as_me:$LINENO: checking for $ac_func" >&5
13526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13527 if eval "test \"\${$as_ac_var+set}\" = set"; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 if test x$gcc_no_link = xyes; then
13531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13533 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13543 #define $ac_func innocuous_$ac_func
13545 /* System header to define __stub macros and hopefully few prototypes,
13546 which can conflict with char $ac_func (); below.
13547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13548 <limits.h> exists even on freestanding compilers. */
13550 #ifdef __STDC__
13551 # include <limits.h>
13552 #else
13553 # include <assert.h>
13554 #endif
13556 #undef $ac_func
13558 /* Override any gcc2 internal prototype to avoid an error. */
13559 #ifdef __cplusplus
13560 extern "C"
13562 #endif
13563 /* We use char because int might match the return type of a gcc2
13564 builtin and then its argument prototype would still apply. */
13565 char $ac_func ();
13566 /* The GNU C library defines this for functions which it implements
13567 to always fail with ENOSYS. Some functions are actually named
13568 something starting with __ and the normal name is an alias. */
13569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13570 choke me
13571 #else
13572 char (*f) () = $ac_func;
13573 #endif
13574 #ifdef __cplusplus
13576 #endif
13579 main ()
13581 return f != $ac_func;
13583 return 0;
13585 _ACEOF
13586 rm -f conftest.$ac_objext conftest$ac_exeext
13587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13588 (eval $ac_link) 2>conftest.er1
13589 ac_status=$?
13590 grep -v '^ *+' conftest.er1 >conftest.err
13591 rm -f conftest.er1
13592 cat conftest.err >&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); } &&
13595 { ac_try='test -z "$ac_c_werror_flag"
13596 || test ! -s conftest.err'
13597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13598 (eval $ac_try) 2>&5
13599 ac_status=$?
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; } &&
13602 { ac_try='test -s conftest$ac_exeext'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13605 ac_status=$?
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; }; then
13608 eval "$as_ac_var=yes"
13609 else
13610 echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.$ac_ext >&5
13613 eval "$as_ac_var=no"
13615 rm -f conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13620 if test `eval echo '${'$as_ac_var'}'` = yes; then
13621 cat >>confdefs.h <<_ACEOF
13622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13623 _ACEOF
13626 done
13636 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13637 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13638 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13639 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 else
13645 ac_ext=cc
13646 ac_cpp='$CXXCPP $CPPFLAGS'
13647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13651 cat >conftest.$ac_ext <<_ACEOF
13652 /* confdefs.h. */
13653 _ACEOF
13654 cat confdefs.h >>conftest.$ac_ext
13655 cat >>conftest.$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13657 #include <math.h>
13658 #ifdef HAVE_IEEEFP_H
13659 #include <ieeefp.h>
13660 #endif
13663 main ()
13665 fabsf(0);
13667 return 0;
13669 _ACEOF
13670 rm -f conftest.$ac_objext
13671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13672 (eval $ac_compile) 2>conftest.er1
13673 ac_status=$?
13674 grep -v '^ *+' conftest.er1 >conftest.err
13675 rm -f conftest.er1
13676 cat conftest.err >&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } &&
13679 { ac_try='test -z "$ac_cxx_werror_flag"
13680 || test ! -s conftest.err'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13683 ac_status=$?
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try='test -s conftest.$ac_objext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13689 ac_status=$?
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 glibcxx_cv_func_fabsf_use=yes
13693 else
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13697 glibcxx_cv_func_fabsf_use=no
13699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13700 ac_ext=c
13701 ac_cpp='$CPP $CPPFLAGS'
13702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13711 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13713 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13715 for ac_func in fabsf
13717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13718 echo "$as_me:$LINENO: checking for $ac_func" >&5
13719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13720 if eval "test \"\${$as_ac_var+set}\" = set"; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723 if test x$gcc_no_link = xyes; then
13724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13726 { (exit 1); exit 1; }; }
13728 cat >conftest.$ac_ext <<_ACEOF
13729 /* confdefs.h. */
13730 _ACEOF
13731 cat confdefs.h >>conftest.$ac_ext
13732 cat >>conftest.$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13736 #define $ac_func innocuous_$ac_func
13738 /* System header to define __stub macros and hopefully few prototypes,
13739 which can conflict with char $ac_func (); below.
13740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13741 <limits.h> exists even on freestanding compilers. */
13743 #ifdef __STDC__
13744 # include <limits.h>
13745 #else
13746 # include <assert.h>
13747 #endif
13749 #undef $ac_func
13751 /* Override any gcc2 internal prototype to avoid an error. */
13752 #ifdef __cplusplus
13753 extern "C"
13755 #endif
13756 /* We use char because int might match the return type of a gcc2
13757 builtin and then its argument prototype would still apply. */
13758 char $ac_func ();
13759 /* The GNU C library defines this for functions which it implements
13760 to always fail with ENOSYS. Some functions are actually named
13761 something starting with __ and the normal name is an alias. */
13762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13763 choke me
13764 #else
13765 char (*f) () = $ac_func;
13766 #endif
13767 #ifdef __cplusplus
13769 #endif
13772 main ()
13774 return f != $ac_func;
13776 return 0;
13778 _ACEOF
13779 rm -f conftest.$ac_objext conftest$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781 (eval $ac_link) 2>conftest.er1
13782 ac_status=$?
13783 grep -v '^ *+' conftest.er1 >conftest.err
13784 rm -f conftest.er1
13785 cat conftest.err >&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try='test -z "$ac_c_werror_flag"
13789 || test ! -s conftest.err'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13792 ac_status=$?
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; } &&
13795 { ac_try='test -s conftest$ac_exeext'
13796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797 (eval $ac_try) 2>&5
13798 ac_status=$?
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); }; }; then
13801 eval "$as_ac_var=yes"
13802 else
13803 echo "$as_me: failed program was:" >&5
13804 sed 's/^/| /' conftest.$ac_ext >&5
13806 eval "$as_ac_var=no"
13808 rm -f conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13813 if test `eval echo '${'$as_ac_var'}'` = yes; then
13814 cat >>confdefs.h <<_ACEOF
13815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13816 _ACEOF
13819 done
13821 else
13823 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13824 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13825 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13826 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13827 echo $ECHO_N "(cached) $ECHO_C" >&6
13828 else
13832 ac_ext=cc
13833 ac_cpp='$CXXCPP $CPPFLAGS'
13834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13838 cat >conftest.$ac_ext <<_ACEOF
13839 /* confdefs.h. */
13840 _ACEOF
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 #include <math.h>
13845 #ifdef HAVE_IEEEFP_H
13846 #include <ieeefp.h>
13847 #endif
13850 main ()
13852 _fabsf(0);
13854 return 0;
13856 _ACEOF
13857 rm -f conftest.$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>conftest.er1
13860 ac_status=$?
13861 grep -v '^ *+' conftest.er1 >conftest.err
13862 rm -f conftest.er1
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try='test -z "$ac_cxx_werror_flag"
13867 || test ! -s conftest.err'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13870 ac_status=$?
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; } &&
13873 { ac_try='test -s conftest.$ac_objext'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13876 ac_status=$?
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; }; then
13879 glibcxx_cv_func__fabsf_use=yes
13880 else
13881 echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.$ac_ext >&5
13884 glibcxx_cv_func__fabsf_use=no
13886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13887 ac_ext=c
13888 ac_cpp='$CPP $CPPFLAGS'
13889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13898 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13900 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13902 for ac_func in _fabsf
13904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13905 echo "$as_me:$LINENO: checking for $ac_func" >&5
13906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13907 if eval "test \"\${$as_ac_var+set}\" = set"; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 else
13910 if test x$gcc_no_link = xyes; then
13911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13913 { (exit 1); exit 1; }; }
13915 cat >conftest.$ac_ext <<_ACEOF
13916 /* confdefs.h. */
13917 _ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13923 #define $ac_func innocuous_$ac_func
13925 /* System header to define __stub macros and hopefully few prototypes,
13926 which can conflict with char $ac_func (); below.
13927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13928 <limits.h> exists even on freestanding compilers. */
13930 #ifdef __STDC__
13931 # include <limits.h>
13932 #else
13933 # include <assert.h>
13934 #endif
13936 #undef $ac_func
13938 /* Override any gcc2 internal prototype to avoid an error. */
13939 #ifdef __cplusplus
13940 extern "C"
13942 #endif
13943 /* We use char because int might match the return type of a gcc2
13944 builtin and then its argument prototype would still apply. */
13945 char $ac_func ();
13946 /* The GNU C library defines this for functions which it implements
13947 to always fail with ENOSYS. Some functions are actually named
13948 something starting with __ and the normal name is an alias. */
13949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13950 choke me
13951 #else
13952 char (*f) () = $ac_func;
13953 #endif
13954 #ifdef __cplusplus
13956 #endif
13959 main ()
13961 return f != $ac_func;
13963 return 0;
13965 _ACEOF
13966 rm -f conftest.$ac_objext conftest$ac_exeext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13968 (eval $ac_link) 2>conftest.er1
13969 ac_status=$?
13970 grep -v '^ *+' conftest.er1 >conftest.err
13971 rm -f conftest.er1
13972 cat conftest.err >&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } &&
13975 { ac_try='test -z "$ac_c_werror_flag"
13976 || test ! -s conftest.err'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13979 ac_status=$?
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; } &&
13982 { ac_try='test -s conftest$ac_exeext'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13985 ac_status=$?
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; }; then
13988 eval "$as_ac_var=yes"
13989 else
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13993 eval "$as_ac_var=no"
13995 rm -f conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14000 if test `eval echo '${'$as_ac_var'}'` = yes; then
14001 cat >>confdefs.h <<_ACEOF
14002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14003 _ACEOF
14006 done
14016 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14017 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14018 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14019 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14021 else
14025 ac_ext=cc
14026 ac_cpp='$CXXCPP $CPPFLAGS'
14027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14031 cat >conftest.$ac_ext <<_ACEOF
14032 /* confdefs.h. */
14033 _ACEOF
14034 cat confdefs.h >>conftest.$ac_ext
14035 cat >>conftest.$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14037 #include <math.h>
14039 main ()
14041 fmodf(0, 0);
14043 return 0;
14045 _ACEOF
14046 rm -f conftest.$ac_objext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048 (eval $ac_compile) 2>conftest.er1
14049 ac_status=$?
14050 grep -v '^ *+' conftest.er1 >conftest.err
14051 rm -f conftest.er1
14052 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try='test -z "$ac_cxx_werror_flag"
14056 || test ! -s conftest.err'
14057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058 (eval $ac_try) 2>&5
14059 ac_status=$?
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }; } &&
14062 { ac_try='test -s conftest.$ac_objext'
14063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14064 (eval $ac_try) 2>&5
14065 ac_status=$?
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); }; }; then
14068 glibcxx_cv_func_fmodf_use=yes
14069 else
14070 echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.$ac_ext >&5
14073 glibcxx_cv_func_fmodf_use=no
14075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14076 ac_ext=c
14077 ac_cpp='$CPP $CPPFLAGS'
14078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14087 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14089 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14091 for ac_func in fmodf
14093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14094 echo "$as_me:$LINENO: checking for $ac_func" >&5
14095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14096 if eval "test \"\${$as_ac_var+set}\" = set"; then
14097 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 else
14099 if test x$gcc_no_link = xyes; then
14100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14102 { (exit 1); exit 1; }; }
14104 cat >conftest.$ac_ext <<_ACEOF
14105 /* confdefs.h. */
14106 _ACEOF
14107 cat confdefs.h >>conftest.$ac_ext
14108 cat >>conftest.$ac_ext <<_ACEOF
14109 /* end confdefs.h. */
14110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14112 #define $ac_func innocuous_$ac_func
14114 /* System header to define __stub macros and hopefully few prototypes,
14115 which can conflict with char $ac_func (); below.
14116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14117 <limits.h> exists even on freestanding compilers. */
14119 #ifdef __STDC__
14120 # include <limits.h>
14121 #else
14122 # include <assert.h>
14123 #endif
14125 #undef $ac_func
14127 /* Override any gcc2 internal prototype to avoid an error. */
14128 #ifdef __cplusplus
14129 extern "C"
14131 #endif
14132 /* We use char because int might match the return type of a gcc2
14133 builtin and then its argument prototype would still apply. */
14134 char $ac_func ();
14135 /* The GNU C library defines this for functions which it implements
14136 to always fail with ENOSYS. Some functions are actually named
14137 something starting with __ and the normal name is an alias. */
14138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14139 choke me
14140 #else
14141 char (*f) () = $ac_func;
14142 #endif
14143 #ifdef __cplusplus
14145 #endif
14148 main ()
14150 return f != $ac_func;
14152 return 0;
14154 _ACEOF
14155 rm -f conftest.$ac_objext conftest$ac_exeext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14157 (eval $ac_link) 2>conftest.er1
14158 ac_status=$?
14159 grep -v '^ *+' conftest.er1 >conftest.err
14160 rm -f conftest.er1
14161 cat conftest.err >&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } &&
14164 { ac_try='test -z "$ac_c_werror_flag"
14165 || test ! -s conftest.err'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14168 ac_status=$?
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; } &&
14171 { ac_try='test -s conftest$ac_exeext'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14174 ac_status=$?
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then
14177 eval "$as_ac_var=yes"
14178 else
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.$ac_ext >&5
14182 eval "$as_ac_var=no"
14184 rm -f conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14189 if test `eval echo '${'$as_ac_var'}'` = yes; then
14190 cat >>confdefs.h <<_ACEOF
14191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14192 _ACEOF
14195 done
14197 else
14199 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14200 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14201 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14202 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14203 echo $ECHO_N "(cached) $ECHO_C" >&6
14204 else
14208 ac_ext=cc
14209 ac_cpp='$CXXCPP $CPPFLAGS'
14210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14214 cat >conftest.$ac_ext <<_ACEOF
14215 /* confdefs.h. */
14216 _ACEOF
14217 cat confdefs.h >>conftest.$ac_ext
14218 cat >>conftest.$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14220 #include <math.h>
14222 main ()
14224 _fmodf(0, 0);
14226 return 0;
14228 _ACEOF
14229 rm -f conftest.$ac_objext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14231 (eval $ac_compile) 2>conftest.er1
14232 ac_status=$?
14233 grep -v '^ *+' conftest.er1 >conftest.err
14234 rm -f conftest.er1
14235 cat conftest.err >&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try='test -z "$ac_cxx_werror_flag"
14239 || test ! -s conftest.err'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14242 ac_status=$?
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; } &&
14245 { ac_try='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14248 ac_status=$?
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 glibcxx_cv_func__fmodf_use=yes
14252 else
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.$ac_ext >&5
14256 glibcxx_cv_func__fmodf_use=no
14258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14259 ac_ext=c
14260 ac_cpp='$CPP $CPPFLAGS'
14261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14270 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14272 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14274 for ac_func in _fmodf
14276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14277 echo "$as_me:$LINENO: checking for $ac_func" >&5
14278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14279 if eval "test \"\${$as_ac_var+set}\" = set"; then
14280 echo $ECHO_N "(cached) $ECHO_C" >&6
14281 else
14282 if test x$gcc_no_link = xyes; then
14283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14285 { (exit 1); exit 1; }; }
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14295 #define $ac_func innocuous_$ac_func
14297 /* System header to define __stub macros and hopefully few prototypes,
14298 which can conflict with char $ac_func (); below.
14299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14300 <limits.h> exists even on freestanding compilers. */
14302 #ifdef __STDC__
14303 # include <limits.h>
14304 #else
14305 # include <assert.h>
14306 #endif
14308 #undef $ac_func
14310 /* Override any gcc2 internal prototype to avoid an error. */
14311 #ifdef __cplusplus
14312 extern "C"
14314 #endif
14315 /* We use char because int might match the return type of a gcc2
14316 builtin and then its argument prototype would still apply. */
14317 char $ac_func ();
14318 /* The GNU C library defines this for functions which it implements
14319 to always fail with ENOSYS. Some functions are actually named
14320 something starting with __ and the normal name is an alias. */
14321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14322 choke me
14323 #else
14324 char (*f) () = $ac_func;
14325 #endif
14326 #ifdef __cplusplus
14328 #endif
14331 main ()
14333 return f != $ac_func;
14335 return 0;
14337 _ACEOF
14338 rm -f conftest.$ac_objext conftest$ac_exeext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14340 (eval $ac_link) 2>conftest.er1
14341 ac_status=$?
14342 grep -v '^ *+' conftest.er1 >conftest.err
14343 rm -f conftest.er1
14344 cat conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try='test -z "$ac_c_werror_flag"
14348 || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest$ac_exeext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14357 ac_status=$?
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 eval "$as_ac_var=yes"
14361 else
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14365 eval "$as_ac_var=no"
14367 rm -f conftest.err conftest.$ac_objext \
14368 conftest$ac_exeext conftest.$ac_ext
14370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14372 if test `eval echo '${'$as_ac_var'}'` = yes; then
14373 cat >>confdefs.h <<_ACEOF
14374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14375 _ACEOF
14378 done
14388 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14389 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14390 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14391 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 else
14397 ac_ext=cc
14398 ac_cpp='$CXXCPP $CPPFLAGS'
14399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14403 cat >conftest.$ac_ext <<_ACEOF
14404 /* confdefs.h. */
14405 _ACEOF
14406 cat confdefs.h >>conftest.$ac_ext
14407 cat >>conftest.$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14409 #include <math.h>
14411 main ()
14413 frexpf(0, 0);
14415 return 0;
14417 _ACEOF
14418 rm -f conftest.$ac_objext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14420 (eval $ac_compile) 2>conftest.er1
14421 ac_status=$?
14422 grep -v '^ *+' conftest.er1 >conftest.err
14423 rm -f conftest.er1
14424 cat conftest.err >&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } &&
14427 { ac_try='test -z "$ac_cxx_werror_flag"
14428 || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14431 ac_status=$?
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try='test -s conftest.$ac_objext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14437 ac_status=$?
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14440 glibcxx_cv_func_frexpf_use=yes
14441 else
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.$ac_ext >&5
14445 glibcxx_cv_func_frexpf_use=no
14447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14448 ac_ext=c
14449 ac_cpp='$CPP $CPPFLAGS'
14450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14459 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14461 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14463 for ac_func in frexpf
14465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14466 echo "$as_me:$LINENO: checking for $ac_func" >&5
14467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14468 if eval "test \"\${$as_ac_var+set}\" = set"; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471 if test x$gcc_no_link = xyes; then
14472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14474 { (exit 1); exit 1; }; }
14476 cat >conftest.$ac_ext <<_ACEOF
14477 /* confdefs.h. */
14478 _ACEOF
14479 cat confdefs.h >>conftest.$ac_ext
14480 cat >>conftest.$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14484 #define $ac_func innocuous_$ac_func
14486 /* System header to define __stub macros and hopefully few prototypes,
14487 which can conflict with char $ac_func (); below.
14488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14489 <limits.h> exists even on freestanding compilers. */
14491 #ifdef __STDC__
14492 # include <limits.h>
14493 #else
14494 # include <assert.h>
14495 #endif
14497 #undef $ac_func
14499 /* Override any gcc2 internal prototype to avoid an error. */
14500 #ifdef __cplusplus
14501 extern "C"
14503 #endif
14504 /* We use char because int might match the return type of a gcc2
14505 builtin and then its argument prototype would still apply. */
14506 char $ac_func ();
14507 /* The GNU C library defines this for functions which it implements
14508 to always fail with ENOSYS. Some functions are actually named
14509 something starting with __ and the normal name is an alias. */
14510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14511 choke me
14512 #else
14513 char (*f) () = $ac_func;
14514 #endif
14515 #ifdef __cplusplus
14517 #endif
14520 main ()
14522 return f != $ac_func;
14524 return 0;
14526 _ACEOF
14527 rm -f conftest.$ac_objext conftest$ac_exeext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14529 (eval $ac_link) 2>conftest.er1
14530 ac_status=$?
14531 grep -v '^ *+' conftest.er1 >conftest.err
14532 rm -f conftest.er1
14533 cat conftest.err >&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); } &&
14536 { ac_try='test -z "$ac_c_werror_flag"
14537 || test ! -s conftest.err'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; } &&
14543 { ac_try='test -s conftest$ac_exeext'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14546 ac_status=$?
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; }; then
14549 eval "$as_ac_var=yes"
14550 else
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14554 eval "$as_ac_var=no"
14556 rm -f conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14561 if test `eval echo '${'$as_ac_var'}'` = yes; then
14562 cat >>confdefs.h <<_ACEOF
14563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14564 _ACEOF
14567 done
14569 else
14571 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14572 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14573 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14574 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14580 ac_ext=cc
14581 ac_cpp='$CXXCPP $CPPFLAGS'
14582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h. */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 #include <math.h>
14594 main ()
14596 _frexpf(0, 0);
14598 return 0;
14600 _ACEOF
14601 rm -f conftest.$ac_objext
14602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14603 (eval $ac_compile) 2>conftest.er1
14604 ac_status=$?
14605 grep -v '^ *+' conftest.er1 >conftest.err
14606 rm -f conftest.er1
14607 cat conftest.err >&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } &&
14610 { ac_try='test -z "$ac_cxx_werror_flag"
14611 || test ! -s conftest.err'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14614 ac_status=$?
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; } &&
14617 { ac_try='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14623 glibcxx_cv_func__frexpf_use=yes
14624 else
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.$ac_ext >&5
14628 glibcxx_cv_func__frexpf_use=no
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14631 ac_ext=c
14632 ac_cpp='$CPP $CPPFLAGS'
14633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14642 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14644 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14646 for ac_func in _frexpf
14648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14649 echo "$as_me:$LINENO: checking for $ac_func" >&5
14650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14651 if eval "test \"\${$as_ac_var+set}\" = set"; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14653 else
14654 if test x$gcc_no_link = xyes; then
14655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14657 { (exit 1); exit 1; }; }
14659 cat >conftest.$ac_ext <<_ACEOF
14660 /* confdefs.h. */
14661 _ACEOF
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14667 #define $ac_func innocuous_$ac_func
14669 /* System header to define __stub macros and hopefully few prototypes,
14670 which can conflict with char $ac_func (); below.
14671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14672 <limits.h> exists even on freestanding compilers. */
14674 #ifdef __STDC__
14675 # include <limits.h>
14676 #else
14677 # include <assert.h>
14678 #endif
14680 #undef $ac_func
14682 /* Override any gcc2 internal prototype to avoid an error. */
14683 #ifdef __cplusplus
14684 extern "C"
14686 #endif
14687 /* We use char because int might match the return type of a gcc2
14688 builtin and then its argument prototype would still apply. */
14689 char $ac_func ();
14690 /* The GNU C library defines this for functions which it implements
14691 to always fail with ENOSYS. Some functions are actually named
14692 something starting with __ and the normal name is an alias. */
14693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14694 choke me
14695 #else
14696 char (*f) () = $ac_func;
14697 #endif
14698 #ifdef __cplusplus
14700 #endif
14703 main ()
14705 return f != $ac_func;
14707 return 0;
14709 _ACEOF
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14712 (eval $ac_link) 2>conftest.er1
14713 ac_status=$?
14714 grep -v '^ *+' conftest.er1 >conftest.err
14715 rm -f conftest.er1
14716 cat conftest.err >&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try='test -z "$ac_c_werror_flag"
14720 || test ! -s conftest.err'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14723 ac_status=$?
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try='test -s conftest$ac_exeext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 eval "$as_ac_var=yes"
14733 else
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14737 eval "$as_ac_var=no"
14739 rm -f conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14744 if test `eval echo '${'$as_ac_var'}'` = yes; then
14745 cat >>confdefs.h <<_ACEOF
14746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14747 _ACEOF
14750 done
14760 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14761 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14762 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14763 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14769 ac_ext=cc
14770 ac_cpp='$CXXCPP $CPPFLAGS'
14771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14775 cat >conftest.$ac_ext <<_ACEOF
14776 /* confdefs.h. */
14777 _ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781 #include <math.h>
14783 main ()
14785 hypotf(0, 0);
14787 return 0;
14789 _ACEOF
14790 rm -f conftest.$ac_objext
14791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14792 (eval $ac_compile) 2>conftest.er1
14793 ac_status=$?
14794 grep -v '^ *+' conftest.er1 >conftest.err
14795 rm -f conftest.er1
14796 cat conftest.err >&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } &&
14799 { ac_try='test -z "$ac_cxx_werror_flag"
14800 || test ! -s conftest.err'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14812 glibcxx_cv_func_hypotf_use=yes
14813 else
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14817 glibcxx_cv_func_hypotf_use=no
14819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14820 ac_ext=c
14821 ac_cpp='$CPP $CPPFLAGS'
14822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14831 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14833 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14835 for ac_func in hypotf
14837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14838 echo "$as_me:$LINENO: checking for $ac_func" >&5
14839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14840 if eval "test \"\${$as_ac_var+set}\" = set"; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 else
14843 if test x$gcc_no_link = xyes; then
14844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14846 { (exit 1); exit 1; }; }
14848 cat >conftest.$ac_ext <<_ACEOF
14849 /* confdefs.h. */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14856 #define $ac_func innocuous_$ac_func
14858 /* System header to define __stub macros and hopefully few prototypes,
14859 which can conflict with char $ac_func (); below.
14860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14861 <limits.h> exists even on freestanding compilers. */
14863 #ifdef __STDC__
14864 # include <limits.h>
14865 #else
14866 # include <assert.h>
14867 #endif
14869 #undef $ac_func
14871 /* Override any gcc2 internal prototype to avoid an error. */
14872 #ifdef __cplusplus
14873 extern "C"
14875 #endif
14876 /* We use char because int might match the return type of a gcc2
14877 builtin and then its argument prototype would still apply. */
14878 char $ac_func ();
14879 /* The GNU C library defines this for functions which it implements
14880 to always fail with ENOSYS. Some functions are actually named
14881 something starting with __ and the normal name is an alias. */
14882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14883 choke me
14884 #else
14885 char (*f) () = $ac_func;
14886 #endif
14887 #ifdef __cplusplus
14889 #endif
14892 main ()
14894 return f != $ac_func;
14896 return 0;
14898 _ACEOF
14899 rm -f conftest.$ac_objext conftest$ac_exeext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14901 (eval $ac_link) 2>conftest.er1
14902 ac_status=$?
14903 grep -v '^ *+' conftest.er1 >conftest.err
14904 rm -f conftest.er1
14905 cat conftest.err >&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } &&
14908 { ac_try='test -z "$ac_c_werror_flag"
14909 || test ! -s conftest.err'
14910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911 (eval $ac_try) 2>&5
14912 ac_status=$?
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; } &&
14915 { ac_try='test -s conftest$ac_exeext'
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917 (eval $ac_try) 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 eval "$as_ac_var=yes"
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14926 eval "$as_ac_var=no"
14928 rm -f conftest.err conftest.$ac_objext \
14929 conftest$ac_exeext conftest.$ac_ext
14931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14933 if test `eval echo '${'$as_ac_var'}'` = yes; then
14934 cat >>confdefs.h <<_ACEOF
14935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14936 _ACEOF
14939 done
14941 else
14943 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14944 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14945 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14946 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14952 ac_ext=cc
14953 ac_cpp='$CXXCPP $CPPFLAGS'
14954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14958 cat >conftest.$ac_ext <<_ACEOF
14959 /* confdefs.h. */
14960 _ACEOF
14961 cat confdefs.h >>conftest.$ac_ext
14962 cat >>conftest.$ac_ext <<_ACEOF
14963 /* end confdefs.h. */
14964 #include <math.h>
14966 main ()
14968 _hypotf(0, 0);
14970 return 0;
14972 _ACEOF
14973 rm -f conftest.$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>conftest.er1
14976 ac_status=$?
14977 grep -v '^ *+' conftest.er1 >conftest.err
14978 rm -f conftest.er1
14979 cat conftest.err >&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try='test -z "$ac_cxx_werror_flag"
14983 || test ! -s conftest.err'
14984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985 (eval $ac_try) 2>&5
14986 ac_status=$?
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; } &&
14989 { ac_try='test -s conftest.$ac_objext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14992 ac_status=$?
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14995 glibcxx_cv_func__hypotf_use=yes
14996 else
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
15000 glibcxx_cv_func__hypotf_use=no
15002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15003 ac_ext=c
15004 ac_cpp='$CPP $CPPFLAGS'
15005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15014 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15016 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15018 for ac_func in _hypotf
15020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15021 echo "$as_me:$LINENO: checking for $ac_func" >&5
15022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15023 if eval "test \"\${$as_ac_var+set}\" = set"; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 else
15026 if test x$gcc_no_link = xyes; then
15027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15029 { (exit 1); exit 1; }; }
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h. */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15039 #define $ac_func innocuous_$ac_func
15041 /* System header to define __stub macros and hopefully few prototypes,
15042 which can conflict with char $ac_func (); below.
15043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15044 <limits.h> exists even on freestanding compilers. */
15046 #ifdef __STDC__
15047 # include <limits.h>
15048 #else
15049 # include <assert.h>
15050 #endif
15052 #undef $ac_func
15054 /* Override any gcc2 internal prototype to avoid an error. */
15055 #ifdef __cplusplus
15056 extern "C"
15058 #endif
15059 /* We use char because int might match the return type of a gcc2
15060 builtin and then its argument prototype would still apply. */
15061 char $ac_func ();
15062 /* The GNU C library defines this for functions which it implements
15063 to always fail with ENOSYS. Some functions are actually named
15064 something starting with __ and the normal name is an alias. */
15065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15066 choke me
15067 #else
15068 char (*f) () = $ac_func;
15069 #endif
15070 #ifdef __cplusplus
15072 #endif
15075 main ()
15077 return f != $ac_func;
15079 return 0;
15081 _ACEOF
15082 rm -f conftest.$ac_objext conftest$ac_exeext
15083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15084 (eval $ac_link) 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } &&
15091 { ac_try='test -z "$ac_c_werror_flag"
15092 || test ! -s conftest.err'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; } &&
15098 { ac_try='test -s conftest$ac_exeext'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15101 ac_status=$?
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 eval "$as_ac_var=yes"
15105 else
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15109 eval "$as_ac_var=no"
15111 rm -f conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext conftest.$ac_ext
15114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15116 if test `eval echo '${'$as_ac_var'}'` = yes; then
15117 cat >>confdefs.h <<_ACEOF
15118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15119 _ACEOF
15122 done
15132 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15133 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15134 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15135 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15141 ac_ext=cc
15142 ac_cpp='$CXXCPP $CPPFLAGS'
15143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15147 cat >conftest.$ac_ext <<_ACEOF
15148 /* confdefs.h. */
15149 _ACEOF
15150 cat confdefs.h >>conftest.$ac_ext
15151 cat >>conftest.$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15153 #include <math.h>
15155 main ()
15157 ldexpf(0, 0);
15159 return 0;
15161 _ACEOF
15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try='test -z "$ac_cxx_werror_flag"
15172 || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 glibcxx_cv_func_ldexpf_use=yes
15185 else
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15189 glibcxx_cv_func_ldexpf_use=no
15191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15192 ac_ext=c
15193 ac_cpp='$CPP $CPPFLAGS'
15194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15203 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15205 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15207 for ac_func in ldexpf
15209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15210 echo "$as_me:$LINENO: checking for $ac_func" >&5
15211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_var+set}\" = set"; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 if test x$gcc_no_link = xyes; then
15216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15218 { (exit 1); exit 1; }; }
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h. */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15228 #define $ac_func innocuous_$ac_func
15230 /* System header to define __stub macros and hopefully few prototypes,
15231 which can conflict with char $ac_func (); below.
15232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15233 <limits.h> exists even on freestanding compilers. */
15235 #ifdef __STDC__
15236 # include <limits.h>
15237 #else
15238 # include <assert.h>
15239 #endif
15241 #undef $ac_func
15243 /* Override any gcc2 internal prototype to avoid an error. */
15244 #ifdef __cplusplus
15245 extern "C"
15247 #endif
15248 /* We use char because int might match the return type of a gcc2
15249 builtin and then its argument prototype would still apply. */
15250 char $ac_func ();
15251 /* The GNU C library defines this for functions which it implements
15252 to always fail with ENOSYS. Some functions are actually named
15253 something starting with __ and the normal name is an alias. */
15254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15255 choke me
15256 #else
15257 char (*f) () = $ac_func;
15258 #endif
15259 #ifdef __cplusplus
15261 #endif
15264 main ()
15266 return f != $ac_func;
15268 return 0;
15270 _ACEOF
15271 rm -f conftest.$ac_objext conftest$ac_exeext
15272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15273 (eval $ac_link) 2>conftest.er1
15274 ac_status=$?
15275 grep -v '^ *+' conftest.er1 >conftest.err
15276 rm -f conftest.er1
15277 cat conftest.err >&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } &&
15280 { ac_try='test -z "$ac_c_werror_flag"
15281 || test ! -s conftest.err'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15284 ac_status=$?
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; } &&
15287 { ac_try='test -s conftest$ac_exeext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 eval "$as_ac_var=yes"
15294 else
15295 echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.$ac_ext >&5
15298 eval "$as_ac_var=no"
15300 rm -f conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15305 if test `eval echo '${'$as_ac_var'}'` = yes; then
15306 cat >>confdefs.h <<_ACEOF
15307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15308 _ACEOF
15311 done
15313 else
15315 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15316 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15317 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15318 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15319 echo $ECHO_N "(cached) $ECHO_C" >&6
15320 else
15324 ac_ext=cc
15325 ac_cpp='$CXXCPP $CPPFLAGS'
15326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15330 cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h. */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336 #include <math.h>
15338 main ()
15340 _ldexpf(0, 0);
15342 return 0;
15344 _ACEOF
15345 rm -f conftest.$ac_objext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347 (eval $ac_compile) 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try='test -z "$ac_cxx_werror_flag"
15355 || test ! -s conftest.err'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; } &&
15361 { ac_try='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15367 glibcxx_cv_func__ldexpf_use=yes
15368 else
15369 echo "$as_me: failed program was:" >&5
15370 sed 's/^/| /' conftest.$ac_ext >&5
15372 glibcxx_cv_func__ldexpf_use=no
15374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15375 ac_ext=c
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15386 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15388 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15390 for ac_func in _ldexpf
15392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15393 echo "$as_me:$LINENO: checking for $ac_func" >&5
15394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15395 if eval "test \"\${$as_ac_var+set}\" = set"; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398 if test x$gcc_no_link = xyes; then
15399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15401 { (exit 1); exit 1; }; }
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h. */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15411 #define $ac_func innocuous_$ac_func
15413 /* System header to define __stub macros and hopefully few prototypes,
15414 which can conflict with char $ac_func (); below.
15415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15416 <limits.h> exists even on freestanding compilers. */
15418 #ifdef __STDC__
15419 # include <limits.h>
15420 #else
15421 # include <assert.h>
15422 #endif
15424 #undef $ac_func
15426 /* Override any gcc2 internal prototype to avoid an error. */
15427 #ifdef __cplusplus
15428 extern "C"
15430 #endif
15431 /* We use char because int might match the return type of a gcc2
15432 builtin and then its argument prototype would still apply. */
15433 char $ac_func ();
15434 /* The GNU C library defines this for functions which it implements
15435 to always fail with ENOSYS. Some functions are actually named
15436 something starting with __ and the normal name is an alias. */
15437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15438 choke me
15439 #else
15440 char (*f) () = $ac_func;
15441 #endif
15442 #ifdef __cplusplus
15444 #endif
15447 main ()
15449 return f != $ac_func;
15451 return 0;
15453 _ACEOF
15454 rm -f conftest.$ac_objext conftest$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>conftest.er1
15457 ac_status=$?
15458 grep -v '^ *+' conftest.er1 >conftest.err
15459 rm -f conftest.er1
15460 cat conftest.err >&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } &&
15463 { ac_try='test -z "$ac_c_werror_flag"
15464 || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try='test -s conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 eval "$as_ac_var=yes"
15477 else
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15481 eval "$as_ac_var=no"
15483 rm -f conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext conftest.$ac_ext
15486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15488 if test `eval echo '${'$as_ac_var'}'` = yes; then
15489 cat >>confdefs.h <<_ACEOF
15490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15491 _ACEOF
15494 done
15504 echo "$as_me:$LINENO: checking for logf declaration" >&5
15505 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15506 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15507 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 else
15513 ac_ext=cc
15514 ac_cpp='$CXXCPP $CPPFLAGS'
15515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15519 cat >conftest.$ac_ext <<_ACEOF
15520 /* confdefs.h. */
15521 _ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15525 #include <math.h>
15526 #ifdef HAVE_IEEEFP_H
15527 #include <ieeefp.h>
15528 #endif
15531 main ()
15533 logf(0);
15535 return 0;
15537 _ACEOF
15538 rm -f conftest.$ac_objext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15540 (eval $ac_compile) 2>conftest.er1
15541 ac_status=$?
15542 grep -v '^ *+' conftest.er1 >conftest.err
15543 rm -f conftest.er1
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try='test -z "$ac_cxx_werror_flag"
15548 || test ! -s conftest.err'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; } &&
15554 { ac_try='test -s conftest.$ac_objext'
15555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556 (eval $ac_try) 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; }; then
15560 glibcxx_cv_func_logf_use=yes
15561 else
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.$ac_ext >&5
15565 glibcxx_cv_func_logf_use=no
15567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15568 ac_ext=c
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15579 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15581 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15583 for ac_func in logf
15585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15586 echo "$as_me:$LINENO: checking for $ac_func" >&5
15587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15588 if eval "test \"\${$as_ac_var+set}\" = set"; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15591 if test x$gcc_no_link = xyes; then
15592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15594 { (exit 1); exit 1; }; }
15596 cat >conftest.$ac_ext <<_ACEOF
15597 /* confdefs.h. */
15598 _ACEOF
15599 cat confdefs.h >>conftest.$ac_ext
15600 cat >>conftest.$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15604 #define $ac_func innocuous_$ac_func
15606 /* System header to define __stub macros and hopefully few prototypes,
15607 which can conflict with char $ac_func (); below.
15608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15609 <limits.h> exists even on freestanding compilers. */
15611 #ifdef __STDC__
15612 # include <limits.h>
15613 #else
15614 # include <assert.h>
15615 #endif
15617 #undef $ac_func
15619 /* Override any gcc2 internal prototype to avoid an error. */
15620 #ifdef __cplusplus
15621 extern "C"
15623 #endif
15624 /* We use char because int might match the return type of a gcc2
15625 builtin and then its argument prototype would still apply. */
15626 char $ac_func ();
15627 /* The GNU C library defines this for functions which it implements
15628 to always fail with ENOSYS. Some functions are actually named
15629 something starting with __ and the normal name is an alias. */
15630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15631 choke me
15632 #else
15633 char (*f) () = $ac_func;
15634 #endif
15635 #ifdef __cplusplus
15637 #endif
15640 main ()
15642 return f != $ac_func;
15644 return 0;
15646 _ACEOF
15647 rm -f conftest.$ac_objext conftest$ac_exeext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15649 (eval $ac_link) 2>conftest.er1
15650 ac_status=$?
15651 grep -v '^ *+' conftest.er1 >conftest.err
15652 rm -f conftest.er1
15653 cat conftest.err >&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); } &&
15656 { ac_try='test -z "$ac_c_werror_flag"
15657 || test ! -s conftest.err'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15660 ac_status=$?
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try='test -s conftest$ac_exeext'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15666 ac_status=$?
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; }; then
15669 eval "$as_ac_var=yes"
15670 else
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15674 eval "$as_ac_var=no"
15676 rm -f conftest.err conftest.$ac_objext \
15677 conftest$ac_exeext conftest.$ac_ext
15679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15681 if test `eval echo '${'$as_ac_var'}'` = yes; then
15682 cat >>confdefs.h <<_ACEOF
15683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15684 _ACEOF
15687 done
15689 else
15691 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15692 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15693 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15694 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15700 ac_ext=cc
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h. */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15712 #include <math.h>
15713 #ifdef HAVE_IEEEFP_H
15714 #include <ieeefp.h>
15715 #endif
15718 main ()
15720 _logf(0);
15722 return 0;
15724 _ACEOF
15725 rm -f conftest.$ac_objext
15726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727 (eval $ac_compile) 2>conftest.er1
15728 ac_status=$?
15729 grep -v '^ *+' conftest.er1 >conftest.err
15730 rm -f conftest.er1
15731 cat conftest.err >&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } &&
15734 { ac_try='test -z "$ac_cxx_werror_flag"
15735 || test ! -s conftest.err'
15736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737 (eval $ac_try) 2>&5
15738 ac_status=$?
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); }; } &&
15741 { ac_try='test -s conftest.$ac_objext'
15742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743 (eval $ac_try) 2>&5
15744 ac_status=$?
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); }; }; then
15747 glibcxx_cv_func__logf_use=yes
15748 else
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15752 glibcxx_cv_func__logf_use=no
15754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15766 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15768 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15770 for ac_func in _logf
15772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15773 echo "$as_me:$LINENO: checking for $ac_func" >&5
15774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15775 if eval "test \"\${$as_ac_var+set}\" = set"; then
15776 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 else
15778 if test x$gcc_no_link = xyes; then
15779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15781 { (exit 1); exit 1; }; }
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15791 #define $ac_func innocuous_$ac_func
15793 /* System header to define __stub macros and hopefully few prototypes,
15794 which can conflict with char $ac_func (); below.
15795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15796 <limits.h> exists even on freestanding compilers. */
15798 #ifdef __STDC__
15799 # include <limits.h>
15800 #else
15801 # include <assert.h>
15802 #endif
15804 #undef $ac_func
15806 /* Override any gcc2 internal prototype to avoid an error. */
15807 #ifdef __cplusplus
15808 extern "C"
15810 #endif
15811 /* We use char because int might match the return type of a gcc2
15812 builtin and then its argument prototype would still apply. */
15813 char $ac_func ();
15814 /* The GNU C library defines this for functions which it implements
15815 to always fail with ENOSYS. Some functions are actually named
15816 something starting with __ and the normal name is an alias. */
15817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15818 choke me
15819 #else
15820 char (*f) () = $ac_func;
15821 #endif
15822 #ifdef __cplusplus
15824 #endif
15827 main ()
15829 return f != $ac_func;
15831 return 0;
15833 _ACEOF
15834 rm -f conftest.$ac_objext conftest$ac_exeext
15835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15836 (eval $ac_link) 2>conftest.er1
15837 ac_status=$?
15838 grep -v '^ *+' conftest.er1 >conftest.err
15839 rm -f conftest.er1
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } &&
15843 { ac_try='test -z "$ac_c_werror_flag"
15844 || test ! -s conftest.err'
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846 (eval $ac_try) 2>&5
15847 ac_status=$?
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); }; } &&
15850 { ac_try='test -s conftest$ac_exeext'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15853 ac_status=$?
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; }; then
15856 eval "$as_ac_var=yes"
15857 else
15858 echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.$ac_ext >&5
15861 eval "$as_ac_var=no"
15863 rm -f conftest.err conftest.$ac_objext \
15864 conftest$ac_exeext conftest.$ac_ext
15866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15868 if test `eval echo '${'$as_ac_var'}'` = yes; then
15869 cat >>confdefs.h <<_ACEOF
15870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15871 _ACEOF
15874 done
15884 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15885 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15886 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15887 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 else
15893 ac_ext=cc
15894 ac_cpp='$CXXCPP $CPPFLAGS'
15895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15899 cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h. */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 #include <math.h>
15906 #ifdef HAVE_IEEEFP_H
15907 #include <ieeefp.h>
15908 #endif
15911 main ()
15913 log10f(0);
15915 return 0;
15917 _ACEOF
15918 rm -f conftest.$ac_objext
15919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15920 (eval $ac_compile) 2>conftest.er1
15921 ac_status=$?
15922 grep -v '^ *+' conftest.er1 >conftest.err
15923 rm -f conftest.er1
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } &&
15927 { ac_try='test -z "$ac_cxx_werror_flag"
15928 || test ! -s conftest.err'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15931 ac_status=$?
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; } &&
15934 { ac_try='test -s conftest.$ac_objext'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; }; then
15940 glibcxx_cv_func_log10f_use=yes
15941 else
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15945 glibcxx_cv_func_log10f_use=no
15947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15948 ac_ext=c
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15958 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15959 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15961 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15963 for ac_func in log10f
15965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15966 echo "$as_me:$LINENO: checking for $ac_func" >&5
15967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15968 if eval "test \"\${$as_ac_var+set}\" = set"; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 if test x$gcc_no_link = xyes; then
15972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15974 { (exit 1); exit 1; }; }
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15984 #define $ac_func innocuous_$ac_func
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func (); below.
15988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15989 <limits.h> exists even on freestanding compilers. */
15991 #ifdef __STDC__
15992 # include <limits.h>
15993 #else
15994 # include <assert.h>
15995 #endif
15997 #undef $ac_func
15999 /* Override any gcc2 internal prototype to avoid an error. */
16000 #ifdef __cplusplus
16001 extern "C"
16003 #endif
16004 /* We use char because int might match the return type of a gcc2
16005 builtin and then its argument prototype would still apply. */
16006 char $ac_func ();
16007 /* The GNU C library defines this for functions which it implements
16008 to always fail with ENOSYS. Some functions are actually named
16009 something starting with __ and the normal name is an alias. */
16010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16011 choke me
16012 #else
16013 char (*f) () = $ac_func;
16014 #endif
16015 #ifdef __cplusplus
16017 #endif
16020 main ()
16022 return f != $ac_func;
16024 return 0;
16026 _ACEOF
16027 rm -f conftest.$ac_objext conftest$ac_exeext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16029 (eval $ac_link) 2>conftest.er1
16030 ac_status=$?
16031 grep -v '^ *+' conftest.er1 >conftest.err
16032 rm -f conftest.er1
16033 cat conftest.err >&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } &&
16036 { ac_try='test -z "$ac_c_werror_flag"
16037 || test ! -s conftest.err'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; } &&
16043 { ac_try='test -s conftest$ac_exeext'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; }; then
16049 eval "$as_ac_var=yes"
16050 else
16051 echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.$ac_ext >&5
16054 eval "$as_ac_var=no"
16056 rm -f conftest.err conftest.$ac_objext \
16057 conftest$ac_exeext conftest.$ac_ext
16059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16061 if test `eval echo '${'$as_ac_var'}'` = yes; then
16062 cat >>confdefs.h <<_ACEOF
16063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16064 _ACEOF
16067 done
16069 else
16071 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16072 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16073 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16074 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 else
16080 ac_ext=cc
16081 ac_cpp='$CXXCPP $CPPFLAGS'
16082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16086 cat >conftest.$ac_ext <<_ACEOF
16087 /* confdefs.h. */
16088 _ACEOF
16089 cat confdefs.h >>conftest.$ac_ext
16090 cat >>conftest.$ac_ext <<_ACEOF
16091 /* end confdefs.h. */
16092 #include <math.h>
16093 #ifdef HAVE_IEEEFP_H
16094 #include <ieeefp.h>
16095 #endif
16098 main ()
16100 _log10f(0);
16102 return 0;
16104 _ACEOF
16105 rm -f conftest.$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>conftest.er1
16108 ac_status=$?
16109 grep -v '^ *+' conftest.er1 >conftest.err
16110 rm -f conftest.er1
16111 cat conftest.err >&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } &&
16114 { ac_try='test -z "$ac_cxx_werror_flag"
16115 || test ! -s conftest.err'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 glibcxx_cv_func__log10f_use=yes
16128 else
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16132 glibcxx_cv_func__log10f_use=no
16134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16135 ac_ext=c
16136 ac_cpp='$CPP $CPPFLAGS'
16137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16146 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16148 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16150 for ac_func in _log10f
16152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16153 echo "$as_me:$LINENO: checking for $ac_func" >&5
16154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16155 if eval "test \"\${$as_ac_var+set}\" = set"; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158 if test x$gcc_no_link = xyes; then
16159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16161 { (exit 1); exit 1; }; }
16163 cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h. */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16171 #define $ac_func innocuous_$ac_func
16173 /* System header to define __stub macros and hopefully few prototypes,
16174 which can conflict with char $ac_func (); below.
16175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16176 <limits.h> exists even on freestanding compilers. */
16178 #ifdef __STDC__
16179 # include <limits.h>
16180 #else
16181 # include <assert.h>
16182 #endif
16184 #undef $ac_func
16186 /* Override any gcc2 internal prototype to avoid an error. */
16187 #ifdef __cplusplus
16188 extern "C"
16190 #endif
16191 /* We use char because int might match the return type of a gcc2
16192 builtin and then its argument prototype would still apply. */
16193 char $ac_func ();
16194 /* The GNU C library defines this for functions which it implements
16195 to always fail with ENOSYS. Some functions are actually named
16196 something starting with __ and the normal name is an alias. */
16197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16198 choke me
16199 #else
16200 char (*f) () = $ac_func;
16201 #endif
16202 #ifdef __cplusplus
16204 #endif
16207 main ()
16209 return f != $ac_func;
16211 return 0;
16213 _ACEOF
16214 rm -f conftest.$ac_objext conftest$ac_exeext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16216 (eval $ac_link) 2>conftest.er1
16217 ac_status=$?
16218 grep -v '^ *+' conftest.er1 >conftest.err
16219 rm -f conftest.er1
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try='test -s conftest$ac_exeext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 eval "$as_ac_var=yes"
16237 else
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16241 eval "$as_ac_var=no"
16243 rm -f conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16248 if test `eval echo '${'$as_ac_var'}'` = yes; then
16249 cat >>confdefs.h <<_ACEOF
16250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16251 _ACEOF
16254 done
16264 echo "$as_me:$LINENO: checking for modff declaration" >&5
16265 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16266 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16267 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16268 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 else
16273 ac_ext=cc
16274 ac_cpp='$CXXCPP $CPPFLAGS'
16275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 #include <math.h>
16287 main ()
16289 modff(0, 0);
16291 return 0;
16293 _ACEOF
16294 rm -f conftest.$ac_objext
16295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16296 (eval $ac_compile) 2>conftest.er1
16297 ac_status=$?
16298 grep -v '^ *+' conftest.er1 >conftest.err
16299 rm -f conftest.er1
16300 cat conftest.err >&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } &&
16303 { ac_try='test -z "$ac_cxx_werror_flag"
16304 || test ! -s conftest.err'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16307 ac_status=$?
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; } &&
16310 { ac_try='test -s conftest.$ac_objext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16313 ac_status=$?
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16316 glibcxx_cv_func_modff_use=yes
16317 else
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16321 glibcxx_cv_func_modff_use=no
16323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16324 ac_ext=c
16325 ac_cpp='$CPP $CPPFLAGS'
16326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16334 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16335 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16337 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16339 for ac_func in modff
16341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16342 echo "$as_me:$LINENO: checking for $ac_func" >&5
16343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16344 if eval "test \"\${$as_ac_var+set}\" = set"; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 else
16347 if test x$gcc_no_link = xyes; then
16348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16350 { (exit 1); exit 1; }; }
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16360 #define $ac_func innocuous_$ac_func
16362 /* System header to define __stub macros and hopefully few prototypes,
16363 which can conflict with char $ac_func (); below.
16364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16365 <limits.h> exists even on freestanding compilers. */
16367 #ifdef __STDC__
16368 # include <limits.h>
16369 #else
16370 # include <assert.h>
16371 #endif
16373 #undef $ac_func
16375 /* Override any gcc2 internal prototype to avoid an error. */
16376 #ifdef __cplusplus
16377 extern "C"
16379 #endif
16380 /* We use char because int might match the return type of a gcc2
16381 builtin and then its argument prototype would still apply. */
16382 char $ac_func ();
16383 /* The GNU C library defines this for functions which it implements
16384 to always fail with ENOSYS. Some functions are actually named
16385 something starting with __ and the normal name is an alias. */
16386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16387 choke me
16388 #else
16389 char (*f) () = $ac_func;
16390 #endif
16391 #ifdef __cplusplus
16393 #endif
16396 main ()
16398 return f != $ac_func;
16400 return 0;
16402 _ACEOF
16403 rm -f conftest.$ac_objext conftest$ac_exeext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16405 (eval $ac_link) 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -z "$ac_c_werror_flag"
16413 || test ! -s conftest.err'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16416 ac_status=$?
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; } &&
16419 { ac_try='test -s conftest$ac_exeext'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16422 ac_status=$?
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; }; then
16425 eval "$as_ac_var=yes"
16426 else
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16430 eval "$as_ac_var=no"
16432 rm -f conftest.err conftest.$ac_objext \
16433 conftest$ac_exeext conftest.$ac_ext
16435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16437 if test `eval echo '${'$as_ac_var'}'` = yes; then
16438 cat >>confdefs.h <<_ACEOF
16439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16440 _ACEOF
16443 done
16445 else
16447 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16448 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16449 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16450 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16451 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 else
16456 ac_ext=cc
16457 ac_cpp='$CXXCPP $CPPFLAGS'
16458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #include <math.h>
16470 main ()
16472 _modff(0, 0);
16474 return 0;
16476 _ACEOF
16477 rm -f conftest.$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479 (eval $ac_compile) 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -z "$ac_cxx_werror_flag"
16487 || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16490 ac_status=$?
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try='test -s conftest.$ac_objext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16496 ac_status=$?
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 glibcxx_cv_func__modff_use=yes
16500 else
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16504 glibcxx_cv_func__modff_use=no
16506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16507 ac_ext=c
16508 ac_cpp='$CPP $CPPFLAGS'
16509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16518 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16520 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16522 for ac_func in _modff
16524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16525 echo "$as_me:$LINENO: checking for $ac_func" >&5
16526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16527 if eval "test \"\${$as_ac_var+set}\" = set"; then
16528 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 else
16530 if test x$gcc_no_link = xyes; then
16531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16533 { (exit 1); exit 1; }; }
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16543 #define $ac_func innocuous_$ac_func
16545 /* System header to define __stub macros and hopefully few prototypes,
16546 which can conflict with char $ac_func (); below.
16547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16548 <limits.h> exists even on freestanding compilers. */
16550 #ifdef __STDC__
16551 # include <limits.h>
16552 #else
16553 # include <assert.h>
16554 #endif
16556 #undef $ac_func
16558 /* Override any gcc2 internal prototype to avoid an error. */
16559 #ifdef __cplusplus
16560 extern "C"
16562 #endif
16563 /* We use char because int might match the return type of a gcc2
16564 builtin and then its argument prototype would still apply. */
16565 char $ac_func ();
16566 /* The GNU C library defines this for functions which it implements
16567 to always fail with ENOSYS. Some functions are actually named
16568 something starting with __ and the normal name is an alias. */
16569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16570 choke me
16571 #else
16572 char (*f) () = $ac_func;
16573 #endif
16574 #ifdef __cplusplus
16576 #endif
16579 main ()
16581 return f != $ac_func;
16583 return 0;
16585 _ACEOF
16586 rm -f conftest.$ac_objext conftest$ac_exeext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16588 (eval $ac_link) 2>conftest.er1
16589 ac_status=$?
16590 grep -v '^ *+' conftest.er1 >conftest.err
16591 rm -f conftest.er1
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try='test -z "$ac_c_werror_flag"
16596 || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16599 ac_status=$?
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try='test -s conftest$ac_exeext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16605 ac_status=$?
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 eval "$as_ac_var=yes"
16609 else
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16613 eval "$as_ac_var=no"
16615 rm -f conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16620 if test `eval echo '${'$as_ac_var'}'` = yes; then
16621 cat >>confdefs.h <<_ACEOF
16622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16623 _ACEOF
16626 done
16636 echo "$as_me:$LINENO: checking for modf declaration" >&5
16637 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16638 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16639 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16645 ac_ext=cc
16646 ac_cpp='$CXXCPP $CPPFLAGS'
16647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16651 cat >conftest.$ac_ext <<_ACEOF
16652 /* confdefs.h. */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #include <math.h>
16659 main ()
16661 modf(0, 0);
16663 return 0;
16665 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } &&
16675 { ac_try='test -z "$ac_cxx_werror_flag"
16676 || test ! -s conftest.err'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; } &&
16682 { ac_try='test -s conftest.$ac_objext'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16685 ac_status=$?
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; }; then
16688 glibcxx_cv_func_modf_use=yes
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16693 glibcxx_cv_func_modf_use=no
16695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16696 ac_ext=c
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16707 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16709 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16711 for ac_func in modf
16713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16714 echo "$as_me:$LINENO: checking for $ac_func" >&5
16715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16716 if eval "test \"\${$as_ac_var+set}\" = set"; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719 if test x$gcc_no_link = xyes; then
16720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16722 { (exit 1); exit 1; }; }
16724 cat >conftest.$ac_ext <<_ACEOF
16725 /* confdefs.h. */
16726 _ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16732 #define $ac_func innocuous_$ac_func
16734 /* System header to define __stub macros and hopefully few prototypes,
16735 which can conflict with char $ac_func (); below.
16736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16737 <limits.h> exists even on freestanding compilers. */
16739 #ifdef __STDC__
16740 # include <limits.h>
16741 #else
16742 # include <assert.h>
16743 #endif
16745 #undef $ac_func
16747 /* Override any gcc2 internal prototype to avoid an error. */
16748 #ifdef __cplusplus
16749 extern "C"
16751 #endif
16752 /* We use char because int might match the return type of a gcc2
16753 builtin and then its argument prototype would still apply. */
16754 char $ac_func ();
16755 /* The GNU C library defines this for functions which it implements
16756 to always fail with ENOSYS. Some functions are actually named
16757 something starting with __ and the normal name is an alias. */
16758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16759 choke me
16760 #else
16761 char (*f) () = $ac_func;
16762 #endif
16763 #ifdef __cplusplus
16765 #endif
16768 main ()
16770 return f != $ac_func;
16772 return 0;
16774 _ACEOF
16775 rm -f conftest.$ac_objext conftest$ac_exeext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16777 (eval $ac_link) 2>conftest.er1
16778 ac_status=$?
16779 grep -v '^ *+' conftest.er1 >conftest.err
16780 rm -f conftest.er1
16781 cat conftest.err >&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try='test -s conftest$ac_exeext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16794 ac_status=$?
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16797 eval "$as_ac_var=yes"
16798 else
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.$ac_ext >&5
16802 eval "$as_ac_var=no"
16804 rm -f conftest.err conftest.$ac_objext \
16805 conftest$ac_exeext conftest.$ac_ext
16807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16809 if test `eval echo '${'$as_ac_var'}'` = yes; then
16810 cat >>confdefs.h <<_ACEOF
16811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16812 _ACEOF
16815 done
16817 else
16819 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16820 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16821 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16822 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16828 ac_ext=cc
16829 ac_cpp='$CXXCPP $CPPFLAGS'
16830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16834 cat >conftest.$ac_ext <<_ACEOF
16835 /* confdefs.h. */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840 #include <math.h>
16842 main ()
16844 _modf(0, 0);
16846 return 0;
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -z "$ac_cxx_werror_flag"
16859 || test ! -s conftest.err'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16862 ac_status=$?
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; } &&
16865 { ac_try='test -s conftest.$ac_objext'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16868 ac_status=$?
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; }; then
16871 glibcxx_cv_func__modf_use=yes
16872 else
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16876 glibcxx_cv_func__modf_use=no
16878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16879 ac_ext=c
16880 ac_cpp='$CPP $CPPFLAGS'
16881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16890 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16892 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16894 for ac_func in _modf
16896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16897 echo "$as_me:$LINENO: checking for $ac_func" >&5
16898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16899 if eval "test \"\${$as_ac_var+set}\" = set"; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 else
16902 if test x$gcc_no_link = xyes; then
16903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16905 { (exit 1); exit 1; }; }
16907 cat >conftest.$ac_ext <<_ACEOF
16908 /* confdefs.h. */
16909 _ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16915 #define $ac_func innocuous_$ac_func
16917 /* System header to define __stub macros and hopefully few prototypes,
16918 which can conflict with char $ac_func (); below.
16919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16920 <limits.h> exists even on freestanding compilers. */
16922 #ifdef __STDC__
16923 # include <limits.h>
16924 #else
16925 # include <assert.h>
16926 #endif
16928 #undef $ac_func
16930 /* Override any gcc2 internal prototype to avoid an error. */
16931 #ifdef __cplusplus
16932 extern "C"
16934 #endif
16935 /* We use char because int might match the return type of a gcc2
16936 builtin and then its argument prototype would still apply. */
16937 char $ac_func ();
16938 /* The GNU C library defines this for functions which it implements
16939 to always fail with ENOSYS. Some functions are actually named
16940 something starting with __ and the normal name is an alias. */
16941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16942 choke me
16943 #else
16944 char (*f) () = $ac_func;
16945 #endif
16946 #ifdef __cplusplus
16948 #endif
16951 main ()
16953 return f != $ac_func;
16955 return 0;
16957 _ACEOF
16958 rm -f conftest.$ac_objext conftest$ac_exeext
16959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16960 (eval $ac_link) 2>conftest.er1
16961 ac_status=$?
16962 grep -v '^ *+' conftest.er1 >conftest.err
16963 rm -f conftest.er1
16964 cat conftest.err >&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } &&
16967 { ac_try='test -z "$ac_c_werror_flag"
16968 || test ! -s conftest.err'
16969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970 (eval $ac_try) 2>&5
16971 ac_status=$?
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; } &&
16974 { ac_try='test -s conftest$ac_exeext'
16975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976 (eval $ac_try) 2>&5
16977 ac_status=$?
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); }; }; then
16980 eval "$as_ac_var=yes"
16981 else
16982 echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16985 eval "$as_ac_var=no"
16987 rm -f conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16992 if test `eval echo '${'$as_ac_var'}'` = yes; then
16993 cat >>confdefs.h <<_ACEOF
16994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16995 _ACEOF
16998 done
17008 echo "$as_me:$LINENO: checking for powf declaration" >&5
17009 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17010 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17011 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 else
17017 ac_ext=cc
17018 ac_cpp='$CXXCPP $CPPFLAGS'
17019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029 #include <math.h>
17031 main ()
17033 powf(0, 0);
17035 return 0;
17037 _ACEOF
17038 rm -f conftest.$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040 (eval $ac_compile) 2>conftest.er1
17041 ac_status=$?
17042 grep -v '^ *+' conftest.er1 >conftest.err
17043 rm -f conftest.er1
17044 cat conftest.err >&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -z "$ac_cxx_werror_flag"
17048 || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17051 ac_status=$?
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17060 glibcxx_cv_func_powf_use=yes
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17065 glibcxx_cv_func_powf_use=no
17067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17068 ac_ext=c
17069 ac_cpp='$CPP $CPPFLAGS'
17070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17079 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17081 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17083 for ac_func in powf
17085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17086 echo "$as_me:$LINENO: checking for $ac_func" >&5
17087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17088 if eval "test \"\${$as_ac_var+set}\" = set"; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 if test x$gcc_no_link = xyes; then
17092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17094 { (exit 1); exit 1; }; }
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h. */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17104 #define $ac_func innocuous_$ac_func
17106 /* System header to define __stub macros and hopefully few prototypes,
17107 which can conflict with char $ac_func (); below.
17108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17109 <limits.h> exists even on freestanding compilers. */
17111 #ifdef __STDC__
17112 # include <limits.h>
17113 #else
17114 # include <assert.h>
17115 #endif
17117 #undef $ac_func
17119 /* Override any gcc2 internal prototype to avoid an error. */
17120 #ifdef __cplusplus
17121 extern "C"
17123 #endif
17124 /* We use char because int might match the return type of a gcc2
17125 builtin and then its argument prototype would still apply. */
17126 char $ac_func ();
17127 /* The GNU C library defines this for functions which it implements
17128 to always fail with ENOSYS. Some functions are actually named
17129 something starting with __ and the normal name is an alias. */
17130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17131 choke me
17132 #else
17133 char (*f) () = $ac_func;
17134 #endif
17135 #ifdef __cplusplus
17137 #endif
17140 main ()
17142 return f != $ac_func;
17144 return 0;
17146 _ACEOF
17147 rm -f conftest.$ac_objext conftest$ac_exeext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17149 (eval $ac_link) 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try='test -z "$ac_c_werror_flag"
17157 || test ! -s conftest.err'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17160 ac_status=$?
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; } &&
17163 { ac_try='test -s conftest$ac_exeext'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17166 ac_status=$?
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 eval "$as_ac_var=yes"
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 eval "$as_ac_var=no"
17176 rm -f conftest.err conftest.$ac_objext \
17177 conftest$ac_exeext conftest.$ac_ext
17179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17181 if test `eval echo '${'$as_ac_var'}'` = yes; then
17182 cat >>confdefs.h <<_ACEOF
17183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17184 _ACEOF
17187 done
17189 else
17191 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17192 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17193 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17194 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17195 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 else
17200 ac_ext=cc
17201 ac_cpp='$CXXCPP $CPPFLAGS'
17202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 #include <math.h>
17214 main ()
17216 _powf(0, 0);
17218 return 0;
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try='test -z "$ac_cxx_werror_flag"
17231 || test ! -s conftest.err'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17234 ac_status=$?
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; } &&
17237 { ac_try='test -s conftest.$ac_objext'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17240 ac_status=$?
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; }; then
17243 glibcxx_cv_func__powf_use=yes
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 glibcxx_cv_func__powf_use=no
17250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17251 ac_ext=c
17252 ac_cpp='$CPP $CPPFLAGS'
17253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17262 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17264 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17266 for ac_func in _powf
17268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17269 echo "$as_me:$LINENO: checking for $ac_func" >&5
17270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17271 if eval "test \"\${$as_ac_var+set}\" = set"; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 else
17274 if test x$gcc_no_link = xyes; then
17275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17277 { (exit 1); exit 1; }; }
17279 cat >conftest.$ac_ext <<_ACEOF
17280 /* confdefs.h. */
17281 _ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17287 #define $ac_func innocuous_$ac_func
17289 /* System header to define __stub macros and hopefully few prototypes,
17290 which can conflict with char $ac_func (); below.
17291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17292 <limits.h> exists even on freestanding compilers. */
17294 #ifdef __STDC__
17295 # include <limits.h>
17296 #else
17297 # include <assert.h>
17298 #endif
17300 #undef $ac_func
17302 /* Override any gcc2 internal prototype to avoid an error. */
17303 #ifdef __cplusplus
17304 extern "C"
17306 #endif
17307 /* We use char because int might match the return type of a gcc2
17308 builtin and then its argument prototype would still apply. */
17309 char $ac_func ();
17310 /* The GNU C library defines this for functions which it implements
17311 to always fail with ENOSYS. Some functions are actually named
17312 something starting with __ and the normal name is an alias. */
17313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17314 choke me
17315 #else
17316 char (*f) () = $ac_func;
17317 #endif
17318 #ifdef __cplusplus
17320 #endif
17323 main ()
17325 return f != $ac_func;
17327 return 0;
17329 _ACEOF
17330 rm -f conftest.$ac_objext conftest$ac_exeext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17332 (eval $ac_link) 2>conftest.er1
17333 ac_status=$?
17334 grep -v '^ *+' conftest.er1 >conftest.err
17335 rm -f conftest.er1
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17343 ac_status=$?
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try='test -s conftest$ac_exeext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 eval "$as_ac_var=yes"
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 eval "$as_ac_var=no"
17359 rm -f conftest.err conftest.$ac_objext \
17360 conftest$ac_exeext conftest.$ac_ext
17362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17364 if test `eval echo '${'$as_ac_var'}'` = yes; then
17365 cat >>confdefs.h <<_ACEOF
17366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17367 _ACEOF
17370 done
17380 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17381 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17382 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17383 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17384 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 else
17389 ac_ext=cc
17390 ac_cpp='$CXXCPP $CPPFLAGS'
17391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401 #include <math.h>
17402 #ifdef HAVE_IEEEFP_H
17403 #include <ieeefp.h>
17404 #endif
17407 main ()
17409 sqrtf(0);
17411 return 0;
17413 _ACEOF
17414 rm -f conftest.$ac_objext
17415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17416 (eval $ac_compile) 2>conftest.er1
17417 ac_status=$?
17418 grep -v '^ *+' conftest.er1 >conftest.err
17419 rm -f conftest.er1
17420 cat conftest.err >&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } &&
17423 { ac_try='test -z "$ac_cxx_werror_flag"
17424 || test ! -s conftest.err'
17425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17426 (eval $ac_try) 2>&5
17427 ac_status=$?
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); }; } &&
17430 { ac_try='test -s conftest.$ac_objext'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17433 ac_status=$?
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; }; then
17436 glibcxx_cv_func_sqrtf_use=yes
17437 else
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17441 glibcxx_cv_func_sqrtf_use=no
17443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17444 ac_ext=c
17445 ac_cpp='$CPP $CPPFLAGS'
17446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17455 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17457 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17459 for ac_func in sqrtf
17461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17462 echo "$as_me:$LINENO: checking for $ac_func" >&5
17463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17464 if eval "test \"\${$as_ac_var+set}\" = set"; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467 if test x$gcc_no_link = xyes; then
17468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17470 { (exit 1); exit 1; }; }
17472 cat >conftest.$ac_ext <<_ACEOF
17473 /* confdefs.h. */
17474 _ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17480 #define $ac_func innocuous_$ac_func
17482 /* System header to define __stub macros and hopefully few prototypes,
17483 which can conflict with char $ac_func (); below.
17484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17485 <limits.h> exists even on freestanding compilers. */
17487 #ifdef __STDC__
17488 # include <limits.h>
17489 #else
17490 # include <assert.h>
17491 #endif
17493 #undef $ac_func
17495 /* Override any gcc2 internal prototype to avoid an error. */
17496 #ifdef __cplusplus
17497 extern "C"
17499 #endif
17500 /* We use char because int might match the return type of a gcc2
17501 builtin and then its argument prototype would still apply. */
17502 char $ac_func ();
17503 /* The GNU C library defines this for functions which it implements
17504 to always fail with ENOSYS. Some functions are actually named
17505 something starting with __ and the normal name is an alias. */
17506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17507 choke me
17508 #else
17509 char (*f) () = $ac_func;
17510 #endif
17511 #ifdef __cplusplus
17513 #endif
17516 main ()
17518 return f != $ac_func;
17520 return 0;
17522 _ACEOF
17523 rm -f conftest.$ac_objext conftest$ac_exeext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17525 (eval $ac_link) 2>conftest.er1
17526 ac_status=$?
17527 grep -v '^ *+' conftest.er1 >conftest.err
17528 rm -f conftest.er1
17529 cat conftest.err >&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); } &&
17532 { ac_try='test -z "$ac_c_werror_flag"
17533 || test ! -s conftest.err'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17536 ac_status=$?
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; } &&
17539 { ac_try='test -s conftest$ac_exeext'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17542 ac_status=$?
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; }; then
17545 eval "$as_ac_var=yes"
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17550 eval "$as_ac_var=no"
17552 rm -f conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17557 if test `eval echo '${'$as_ac_var'}'` = yes; then
17558 cat >>confdefs.h <<_ACEOF
17559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17560 _ACEOF
17563 done
17565 else
17567 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17568 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17569 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17570 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17571 echo $ECHO_N "(cached) $ECHO_C" >&6
17572 else
17576 ac_ext=cc
17577 ac_cpp='$CXXCPP $CPPFLAGS'
17578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588 #include <math.h>
17589 #ifdef HAVE_IEEEFP_H
17590 #include <ieeefp.h>
17591 #endif
17594 main ()
17596 _sqrtf(0);
17598 return 0;
17600 _ACEOF
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_cxx_werror_flag"
17611 || test ! -s conftest.err'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; } &&
17617 { ac_try='test -s conftest.$ac_objext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 glibcxx_cv_func__sqrtf_use=yes
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 glibcxx_cv_func__sqrtf_use=no
17630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17631 ac_ext=c
17632 ac_cpp='$CPP $CPPFLAGS'
17633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17642 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17644 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17646 for ac_func in _sqrtf
17648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17649 echo "$as_me:$LINENO: checking for $ac_func" >&5
17650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17651 if eval "test \"\${$as_ac_var+set}\" = set"; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 else
17654 if test x$gcc_no_link = xyes; then
17655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17657 { (exit 1); exit 1; }; }
17659 cat >conftest.$ac_ext <<_ACEOF
17660 /* confdefs.h. */
17661 _ACEOF
17662 cat confdefs.h >>conftest.$ac_ext
17663 cat >>conftest.$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17667 #define $ac_func innocuous_$ac_func
17669 /* System header to define __stub macros and hopefully few prototypes,
17670 which can conflict with char $ac_func (); below.
17671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17672 <limits.h> exists even on freestanding compilers. */
17674 #ifdef __STDC__
17675 # include <limits.h>
17676 #else
17677 # include <assert.h>
17678 #endif
17680 #undef $ac_func
17682 /* Override any gcc2 internal prototype to avoid an error. */
17683 #ifdef __cplusplus
17684 extern "C"
17686 #endif
17687 /* We use char because int might match the return type of a gcc2
17688 builtin and then its argument prototype would still apply. */
17689 char $ac_func ();
17690 /* The GNU C library defines this for functions which it implements
17691 to always fail with ENOSYS. Some functions are actually named
17692 something starting with __ and the normal name is an alias. */
17693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17694 choke me
17695 #else
17696 char (*f) () = $ac_func;
17697 #endif
17698 #ifdef __cplusplus
17700 #endif
17703 main ()
17705 return f != $ac_func;
17707 return 0;
17709 _ACEOF
17710 rm -f conftest.$ac_objext conftest$ac_exeext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17712 (eval $ac_link) 2>conftest.er1
17713 ac_status=$?
17714 grep -v '^ *+' conftest.er1 >conftest.err
17715 rm -f conftest.er1
17716 cat conftest.err >&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try='test -z "$ac_c_werror_flag"
17720 || test ! -s conftest.err'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; } &&
17726 { ac_try='test -s conftest$ac_exeext'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17729 ac_status=$?
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; }; then
17732 eval "$as_ac_var=yes"
17733 else
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17737 eval "$as_ac_var=no"
17739 rm -f conftest.err conftest.$ac_objext \
17740 conftest$ac_exeext conftest.$ac_ext
17742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17744 if test `eval echo '${'$as_ac_var'}'` = yes; then
17745 cat >>confdefs.h <<_ACEOF
17746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17747 _ACEOF
17750 done
17760 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17761 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17762 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17763 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17764 echo $ECHO_N "(cached) $ECHO_C" >&6
17765 else
17769 ac_ext=cc
17770 ac_cpp='$CXXCPP $CPPFLAGS'
17771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17775 cat >conftest.$ac_ext <<_ACEOF
17776 /* confdefs.h. */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 #include <math.h>
17783 main ()
17785 sincosf(0, 0, 0);
17787 return 0;
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>conftest.er1
17793 ac_status=$?
17794 grep -v '^ *+' conftest.er1 >conftest.err
17795 rm -f conftest.er1
17796 cat conftest.err >&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try='test -z "$ac_cxx_werror_flag"
17800 || test ! -s conftest.err'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; } &&
17806 { ac_try='test -s conftest.$ac_objext'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17809 ac_status=$?
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; }; then
17812 glibcxx_cv_func_sincosf_use=yes
17813 else
17814 echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.$ac_ext >&5
17817 glibcxx_cv_func_sincosf_use=no
17819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17820 ac_ext=c
17821 ac_cpp='$CPP $CPPFLAGS'
17822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17831 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17833 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17835 for ac_func in sincosf
17837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17838 echo "$as_me:$LINENO: checking for $ac_func" >&5
17839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17840 if eval "test \"\${$as_ac_var+set}\" = set"; then
17841 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 else
17843 if test x$gcc_no_link = xyes; then
17844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17846 { (exit 1); exit 1; }; }
17848 cat >conftest.$ac_ext <<_ACEOF
17849 /* confdefs.h. */
17850 _ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17856 #define $ac_func innocuous_$ac_func
17858 /* System header to define __stub macros and hopefully few prototypes,
17859 which can conflict with char $ac_func (); below.
17860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17861 <limits.h> exists even on freestanding compilers. */
17863 #ifdef __STDC__
17864 # include <limits.h>
17865 #else
17866 # include <assert.h>
17867 #endif
17869 #undef $ac_func
17871 /* Override any gcc2 internal prototype to avoid an error. */
17872 #ifdef __cplusplus
17873 extern "C"
17875 #endif
17876 /* We use char because int might match the return type of a gcc2
17877 builtin and then its argument prototype would still apply. */
17878 char $ac_func ();
17879 /* The GNU C library defines this for functions which it implements
17880 to always fail with ENOSYS. Some functions are actually named
17881 something starting with __ and the normal name is an alias. */
17882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17883 choke me
17884 #else
17885 char (*f) () = $ac_func;
17886 #endif
17887 #ifdef __cplusplus
17889 #endif
17892 main ()
17894 return f != $ac_func;
17896 return 0;
17898 _ACEOF
17899 rm -f conftest.$ac_objext conftest$ac_exeext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17901 (eval $ac_link) 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try='test -z "$ac_c_werror_flag"
17909 || test ! -s conftest.err'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; } &&
17915 { ac_try='test -s conftest$ac_exeext'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17918 ac_status=$?
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; }; then
17921 eval "$as_ac_var=yes"
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17926 eval "$as_ac_var=no"
17928 rm -f conftest.err conftest.$ac_objext \
17929 conftest$ac_exeext conftest.$ac_ext
17931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17933 if test `eval echo '${'$as_ac_var'}'` = yes; then
17934 cat >>confdefs.h <<_ACEOF
17935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17936 _ACEOF
17939 done
17941 else
17943 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17944 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17945 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17946 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17952 ac_ext=cc
17953 ac_cpp='$CXXCPP $CPPFLAGS'
17954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17958 cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 #include <math.h>
17966 main ()
17968 _sincosf(0, 0, 0);
17970 return 0;
17972 _ACEOF
17973 rm -f conftest.$ac_objext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17975 (eval $ac_compile) 2>conftest.er1
17976 ac_status=$?
17977 grep -v '^ *+' conftest.er1 >conftest.err
17978 rm -f conftest.er1
17979 cat conftest.err >&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try='test -z "$ac_cxx_werror_flag"
17983 || test ! -s conftest.err'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17986 ac_status=$?
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; } &&
17989 { ac_try='test -s conftest.$ac_objext'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17992 ac_status=$?
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; }; then
17995 glibcxx_cv_func__sincosf_use=yes
17996 else
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
18000 glibcxx_cv_func__sincosf_use=no
18002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18003 ac_ext=c
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18014 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18016 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18018 for ac_func in _sincosf
18020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18021 echo "$as_me:$LINENO: checking for $ac_func" >&5
18022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18023 if eval "test \"\${$as_ac_var+set}\" = set"; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026 if test x$gcc_no_link = xyes; then
18027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18029 { (exit 1); exit 1; }; }
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18039 #define $ac_func innocuous_$ac_func
18041 /* System header to define __stub macros and hopefully few prototypes,
18042 which can conflict with char $ac_func (); below.
18043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18044 <limits.h> exists even on freestanding compilers. */
18046 #ifdef __STDC__
18047 # include <limits.h>
18048 #else
18049 # include <assert.h>
18050 #endif
18052 #undef $ac_func
18054 /* Override any gcc2 internal prototype to avoid an error. */
18055 #ifdef __cplusplus
18056 extern "C"
18058 #endif
18059 /* We use char because int might match the return type of a gcc2
18060 builtin and then its argument prototype would still apply. */
18061 char $ac_func ();
18062 /* The GNU C library defines this for functions which it implements
18063 to always fail with ENOSYS. Some functions are actually named
18064 something starting with __ and the normal name is an alias. */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 choke me
18067 #else
18068 char (*f) () = $ac_func;
18069 #endif
18070 #ifdef __cplusplus
18072 #endif
18075 main ()
18077 return f != $ac_func;
18079 return 0;
18081 _ACEOF
18082 rm -f conftest.$ac_objext conftest$ac_exeext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18084 (eval $ac_link) 2>conftest.er1
18085 ac_status=$?
18086 grep -v '^ *+' conftest.er1 >conftest.err
18087 rm -f conftest.er1
18088 cat conftest.err >&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } &&
18091 { ac_try='test -z "$ac_c_werror_flag"
18092 || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try='test -s conftest$ac_exeext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 eval "$as_ac_var=yes"
18105 else
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18109 eval "$as_ac_var=no"
18111 rm -f conftest.err conftest.$ac_objext \
18112 conftest$ac_exeext conftest.$ac_ext
18114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18116 if test `eval echo '${'$as_ac_var'}'` = yes; then
18117 cat >>confdefs.h <<_ACEOF
18118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18119 _ACEOF
18122 done
18132 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18133 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18134 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18135 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18136 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 else
18141 ac_ext=cc
18142 ac_cpp='$CXXCPP $CPPFLAGS'
18143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18147 cat >conftest.$ac_ext <<_ACEOF
18148 /* confdefs.h. */
18149 _ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 #include <math.h>
18154 #ifdef HAVE_IEEEFP_H
18155 #include <ieeefp.h>
18156 #endif
18159 main ()
18161 finitef(0);
18163 return 0;
18165 _ACEOF
18166 rm -f conftest.$ac_objext
18167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18168 (eval $ac_compile) 2>conftest.er1
18169 ac_status=$?
18170 grep -v '^ *+' conftest.er1 >conftest.err
18171 rm -f conftest.er1
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } &&
18175 { ac_try='test -z "$ac_cxx_werror_flag"
18176 || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 glibcxx_cv_func_finitef_use=yes
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18193 glibcxx_cv_func_finitef_use=no
18195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18196 ac_ext=c
18197 ac_cpp='$CPP $CPPFLAGS'
18198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18207 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18209 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18211 for ac_func in finitef
18213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18214 echo "$as_me:$LINENO: checking for $ac_func" >&5
18215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18216 if eval "test \"\${$as_ac_var+set}\" = set"; then
18217 echo $ECHO_N "(cached) $ECHO_C" >&6
18218 else
18219 if test x$gcc_no_link = xyes; then
18220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18222 { (exit 1); exit 1; }; }
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18232 #define $ac_func innocuous_$ac_func
18234 /* System header to define __stub macros and hopefully few prototypes,
18235 which can conflict with char $ac_func (); below.
18236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18237 <limits.h> exists even on freestanding compilers. */
18239 #ifdef __STDC__
18240 # include <limits.h>
18241 #else
18242 # include <assert.h>
18243 #endif
18245 #undef $ac_func
18247 /* Override any gcc2 internal prototype to avoid an error. */
18248 #ifdef __cplusplus
18249 extern "C"
18251 #endif
18252 /* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18254 char $ac_func ();
18255 /* The GNU C library defines this for functions which it implements
18256 to always fail with ENOSYS. Some functions are actually named
18257 something starting with __ and the normal name is an alias. */
18258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18259 choke me
18260 #else
18261 char (*f) () = $ac_func;
18262 #endif
18263 #ifdef __cplusplus
18265 #endif
18268 main ()
18270 return f != $ac_func;
18272 return 0;
18274 _ACEOF
18275 rm -f conftest.$ac_objext conftest$ac_exeext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277 (eval $ac_link) 2>conftest.er1
18278 ac_status=$?
18279 grep -v '^ *+' conftest.er1 >conftest.err
18280 rm -f conftest.er1
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try='test -z "$ac_c_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18288 ac_status=$?
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest$ac_exeext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18294 ac_status=$?
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 eval "$as_ac_var=yes"
18298 else
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 eval "$as_ac_var=no"
18304 rm -f conftest.err conftest.$ac_objext \
18305 conftest$ac_exeext conftest.$ac_ext
18307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18309 if test `eval echo '${'$as_ac_var'}'` = yes; then
18310 cat >>confdefs.h <<_ACEOF
18311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18312 _ACEOF
18315 done
18317 else
18319 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18320 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18321 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18322 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18328 ac_ext=cc
18329 ac_cpp='$CXXCPP $CPPFLAGS'
18330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340 #include <math.h>
18341 #ifdef HAVE_IEEEFP_H
18342 #include <ieeefp.h>
18343 #endif
18346 main ()
18348 _finitef(0);
18350 return 0;
18352 _ACEOF
18353 rm -f conftest.$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18356 ac_status=$?
18357 grep -v '^ *+' conftest.er1 >conftest.err
18358 rm -f conftest.er1
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try='test -z "$ac_cxx_werror_flag"
18363 || test ! -s conftest.err'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18366 ac_status=$?
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; } &&
18369 { ac_try='test -s conftest.$ac_objext'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; }; then
18375 glibcxx_cv_func__finitef_use=yes
18376 else
18377 echo "$as_me: failed program was:" >&5
18378 sed 's/^/| /' conftest.$ac_ext >&5
18380 glibcxx_cv_func__finitef_use=no
18382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18383 ac_ext=c
18384 ac_cpp='$CPP $CPPFLAGS'
18385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18394 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18396 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18398 for ac_func in _finitef
18400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18401 echo "$as_me:$LINENO: checking for $ac_func" >&5
18402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18403 if eval "test \"\${$as_ac_var+set}\" = set"; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 else
18406 if test x$gcc_no_link = xyes; then
18407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18409 { (exit 1); exit 1; }; }
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18419 #define $ac_func innocuous_$ac_func
18421 /* System header to define __stub macros and hopefully few prototypes,
18422 which can conflict with char $ac_func (); below.
18423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18424 <limits.h> exists even on freestanding compilers. */
18426 #ifdef __STDC__
18427 # include <limits.h>
18428 #else
18429 # include <assert.h>
18430 #endif
18432 #undef $ac_func
18434 /* Override any gcc2 internal prototype to avoid an error. */
18435 #ifdef __cplusplus
18436 extern "C"
18438 #endif
18439 /* We use char because int might match the return type of a gcc2
18440 builtin and then its argument prototype would still apply. */
18441 char $ac_func ();
18442 /* The GNU C library defines this for functions which it implements
18443 to always fail with ENOSYS. Some functions are actually named
18444 something starting with __ and the normal name is an alias. */
18445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18446 choke me
18447 #else
18448 char (*f) () = $ac_func;
18449 #endif
18450 #ifdef __cplusplus
18452 #endif
18455 main ()
18457 return f != $ac_func;
18459 return 0;
18461 _ACEOF
18462 rm -f conftest.$ac_objext conftest$ac_exeext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464 (eval $ac_link) 2>conftest.er1
18465 ac_status=$?
18466 grep -v '^ *+' conftest.er1 >conftest.err
18467 rm -f conftest.er1
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try='test -z "$ac_c_werror_flag"
18472 || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18475 ac_status=$?
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try='test -s conftest$ac_exeext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18481 ac_status=$?
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 eval "$as_ac_var=yes"
18485 else
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18489 eval "$as_ac_var=no"
18491 rm -f conftest.err conftest.$ac_objext \
18492 conftest$ac_exeext conftest.$ac_ext
18494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18496 if test `eval echo '${'$as_ac_var'}'` = yes; then
18497 cat >>confdefs.h <<_ACEOF
18498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18499 _ACEOF
18502 done
18512 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18513 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18514 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 else
18520 ac_ext=cc
18521 ac_cpp='$CXXCPP $CPPFLAGS'
18522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h. */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #include <math.h>
18534 main ()
18536 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18538 return 0;
18540 _ACEOF
18541 rm -f conftest.$ac_objext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18543 (eval $ac_compile) 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try='test -z "$ac_cxx_werror_flag"
18551 || test ! -s conftest.err'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18554 ac_status=$?
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; } &&
18557 { ac_try='test -s conftest.$ac_objext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18560 ac_status=$?
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 glibcxx_cv_func_long_double_trig_use=yes
18564 else
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 glibcxx_cv_func_long_double_trig_use=no
18570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18571 ac_ext=c
18572 ac_cpp='$CPP $CPPFLAGS'
18573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18580 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18581 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18591 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18594 echo "$as_me:$LINENO: checking for $ac_func" >&5
18595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18596 if eval "test \"\${$as_ac_var+set}\" = set"; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599 if test x$gcc_no_link = xyes; then
18600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18602 { (exit 1); exit 1; }; }
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18612 #define $ac_func innocuous_$ac_func
18614 /* System header to define __stub macros and hopefully few prototypes,
18615 which can conflict with char $ac_func (); below.
18616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18617 <limits.h> exists even on freestanding compilers. */
18619 #ifdef __STDC__
18620 # include <limits.h>
18621 #else
18622 # include <assert.h>
18623 #endif
18625 #undef $ac_func
18627 /* Override any gcc2 internal prototype to avoid an error. */
18628 #ifdef __cplusplus
18629 extern "C"
18631 #endif
18632 /* We use char because int might match the return type of a gcc2
18633 builtin and then its argument prototype would still apply. */
18634 char $ac_func ();
18635 /* The GNU C library defines this for functions which it implements
18636 to always fail with ENOSYS. Some functions are actually named
18637 something starting with __ and the normal name is an alias. */
18638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18639 choke me
18640 #else
18641 char (*f) () = $ac_func;
18642 #endif
18643 #ifdef __cplusplus
18645 #endif
18648 main ()
18650 return f != $ac_func;
18652 return 0;
18654 _ACEOF
18655 rm -f conftest.$ac_objext conftest$ac_exeext
18656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18657 (eval $ac_link) 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } &&
18664 { ac_try='test -z "$ac_c_werror_flag"
18665 || test ! -s conftest.err'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try='test -s conftest$ac_exeext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 eval "$as_ac_var=yes"
18678 else
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18682 eval "$as_ac_var=no"
18684 rm -f conftest.err conftest.$ac_objext \
18685 conftest$ac_exeext conftest.$ac_ext
18687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18689 if test `eval echo '${'$as_ac_var'}'` = yes; then
18690 cat >>confdefs.h <<_ACEOF
18691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18692 _ACEOF
18695 done
18697 else
18698 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18699 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18700 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18706 ac_ext=cc
18707 ac_cpp='$CXXCPP $CPPFLAGS'
18708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18712 cat >conftest.$ac_ext <<_ACEOF
18713 /* confdefs.h. */
18714 _ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 #include <math.h>
18720 main ()
18722 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18724 return 0;
18726 _ACEOF
18727 rm -f conftest.$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729 (eval $ac_compile) 2>conftest.er1
18730 ac_status=$?
18731 grep -v '^ *+' conftest.er1 >conftest.err
18732 rm -f conftest.er1
18733 cat conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try='test -z "$ac_cxx_werror_flag"
18737 || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try='test -s conftest.$ac_objext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18746 ac_status=$?
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 glibcxx_cv_func__long_double_trig_use=yes
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 glibcxx_cv_func__long_double_trig_use=no
18756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18757 ac_ext=c
18758 ac_cpp='$CPP $CPPFLAGS'
18759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18766 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18767 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18777 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18780 echo "$as_me:$LINENO: checking for $ac_func" >&5
18781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18782 if eval "test \"\${$as_ac_var+set}\" = set"; then
18783 echo $ECHO_N "(cached) $ECHO_C" >&6
18784 else
18785 if test x$gcc_no_link = xyes; then
18786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18788 { (exit 1); exit 1; }; }
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h. */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18798 #define $ac_func innocuous_$ac_func
18800 /* System header to define __stub macros and hopefully few prototypes,
18801 which can conflict with char $ac_func (); below.
18802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18803 <limits.h> exists even on freestanding compilers. */
18805 #ifdef __STDC__
18806 # include <limits.h>
18807 #else
18808 # include <assert.h>
18809 #endif
18811 #undef $ac_func
18813 /* Override any gcc2 internal prototype to avoid an error. */
18814 #ifdef __cplusplus
18815 extern "C"
18817 #endif
18818 /* We use char because int might match the return type of a gcc2
18819 builtin and then its argument prototype would still apply. */
18820 char $ac_func ();
18821 /* The GNU C library defines this for functions which it implements
18822 to always fail with ENOSYS. Some functions are actually named
18823 something starting with __ and the normal name is an alias. */
18824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18825 choke me
18826 #else
18827 char (*f) () = $ac_func;
18828 #endif
18829 #ifdef __cplusplus
18831 #endif
18834 main ()
18836 return f != $ac_func;
18838 return 0;
18840 _ACEOF
18841 rm -f conftest.$ac_objext conftest$ac_exeext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18843 (eval $ac_link) 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try='test -z "$ac_c_werror_flag"
18851 || test ! -s conftest.err'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; } &&
18857 { ac_try='test -s conftest$ac_exeext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 eval "$as_ac_var=yes"
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 eval "$as_ac_var=no"
18870 rm -f conftest.err conftest.$ac_objext \
18871 conftest$ac_exeext conftest.$ac_ext
18873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18875 if test `eval echo '${'$as_ac_var'}'` = yes; then
18876 cat >>confdefs.h <<_ACEOF
18877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18878 _ACEOF
18881 done
18899 echo "$as_me:$LINENO: checking for long double round functions" >&5
18900 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18901 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18907 ac_ext=cc
18908 ac_cpp='$CXXCPP $CPPFLAGS'
18909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18913 cat >conftest.$ac_ext <<_ACEOF
18914 /* confdefs.h. */
18915 _ACEOF
18916 cat confdefs.h >>conftest.$ac_ext
18917 cat >>conftest.$ac_ext <<_ACEOF
18918 /* end confdefs.h. */
18919 #include <math.h>
18921 main ()
18923 ceill (0); floorl (0);
18925 return 0;
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try='test -z "$ac_cxx_werror_flag"
18938 || test ! -s conftest.err'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18941 ac_status=$?
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; } &&
18944 { ac_try='test -s conftest.$ac_objext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18950 glibcxx_cv_func_long_double_round_use=yes
18951 else
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18955 glibcxx_cv_func_long_double_round_use=no
18957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18958 ac_ext=c
18959 ac_cpp='$CPP $CPPFLAGS'
18960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18966 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18967 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18968 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18971 for ac_func in ceill floorl
18973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18974 echo "$as_me:$LINENO: checking for $ac_func" >&5
18975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18976 if eval "test \"\${$as_ac_var+set}\" = set"; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18978 else
18979 if test x$gcc_no_link = xyes; then
18980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18982 { (exit 1); exit 1; }; }
18984 cat >conftest.$ac_ext <<_ACEOF
18985 /* confdefs.h. */
18986 _ACEOF
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18992 #define $ac_func innocuous_$ac_func
18994 /* System header to define __stub macros and hopefully few prototypes,
18995 which can conflict with char $ac_func (); below.
18996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18997 <limits.h> exists even on freestanding compilers. */
18999 #ifdef __STDC__
19000 # include <limits.h>
19001 #else
19002 # include <assert.h>
19003 #endif
19005 #undef $ac_func
19007 /* Override any gcc2 internal prototype to avoid an error. */
19008 #ifdef __cplusplus
19009 extern "C"
19011 #endif
19012 /* We use char because int might match the return type of a gcc2
19013 builtin and then its argument prototype would still apply. */
19014 char $ac_func ();
19015 /* The GNU C library defines this for functions which it implements
19016 to always fail with ENOSYS. Some functions are actually named
19017 something starting with __ and the normal name is an alias. */
19018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19019 choke me
19020 #else
19021 char (*f) () = $ac_func;
19022 #endif
19023 #ifdef __cplusplus
19025 #endif
19028 main ()
19030 return f != $ac_func;
19032 return 0;
19034 _ACEOF
19035 rm -f conftest.$ac_objext conftest$ac_exeext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19037 (eval $ac_link) 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try='test -z "$ac_c_werror_flag"
19045 || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try='test -s conftest$ac_exeext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 eval "$as_ac_var=yes"
19058 else
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19062 eval "$as_ac_var=no"
19064 rm -f conftest.err conftest.$ac_objext \
19065 conftest$ac_exeext conftest.$ac_ext
19067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19069 if test `eval echo '${'$as_ac_var'}'` = yes; then
19070 cat >>confdefs.h <<_ACEOF
19071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19072 _ACEOF
19075 done
19077 else
19078 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19079 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19080 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19086 ac_ext=cc
19087 ac_cpp='$CXXCPP $CPPFLAGS'
19088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19092 cat >conftest.$ac_ext <<_ACEOF
19093 /* confdefs.h. */
19094 _ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 #include <math.h>
19100 main ()
19102 _ceill (0); _floorl (0);
19104 return 0;
19106 _ACEOF
19107 rm -f conftest.$ac_objext
19108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19109 (eval $ac_compile) 2>conftest.er1
19110 ac_status=$?
19111 grep -v '^ *+' conftest.er1 >conftest.err
19112 rm -f conftest.er1
19113 cat conftest.err >&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try='test -z "$ac_cxx_werror_flag"
19117 || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 glibcxx_cv_func__long_double_round_use=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 glibcxx_cv_func__long_double_round_use=no
19136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19137 ac_ext=c
19138 ac_cpp='$CPP $CPPFLAGS'
19139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19146 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19147 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19150 for ac_func in _ceill _floorl
19152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19153 echo "$as_me:$LINENO: checking for $ac_func" >&5
19154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19155 if eval "test \"\${$as_ac_var+set}\" = set"; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158 if test x$gcc_no_link = xyes; then
19159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19161 { (exit 1); exit 1; }; }
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19171 #define $ac_func innocuous_$ac_func
19173 /* System header to define __stub macros and hopefully few prototypes,
19174 which can conflict with char $ac_func (); below.
19175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19176 <limits.h> exists even on freestanding compilers. */
19178 #ifdef __STDC__
19179 # include <limits.h>
19180 #else
19181 # include <assert.h>
19182 #endif
19184 #undef $ac_func
19186 /* Override any gcc2 internal prototype to avoid an error. */
19187 #ifdef __cplusplus
19188 extern "C"
19190 #endif
19191 /* We use char because int might match the return type of a gcc2
19192 builtin and then its argument prototype would still apply. */
19193 char $ac_func ();
19194 /* The GNU C library defines this for functions which it implements
19195 to always fail with ENOSYS. Some functions are actually named
19196 something starting with __ and the normal name is an alias. */
19197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19198 choke me
19199 #else
19200 char (*f) () = $ac_func;
19201 #endif
19202 #ifdef __cplusplus
19204 #endif
19207 main ()
19209 return f != $ac_func;
19211 return 0;
19213 _ACEOF
19214 rm -f conftest.$ac_objext conftest$ac_exeext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19216 (eval $ac_link) 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try='test -z "$ac_c_werror_flag"
19224 || test ! -s conftest.err'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; } &&
19230 { ac_try='test -s conftest$ac_exeext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19233 ac_status=$?
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 eval "$as_ac_var=yes"
19237 else
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19241 eval "$as_ac_var=no"
19243 rm -f conftest.err conftest.$ac_objext \
19244 conftest$ac_exeext conftest.$ac_ext
19246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19248 if test `eval echo '${'$as_ac_var'}'` = yes; then
19249 cat >>confdefs.h <<_ACEOF
19250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19251 _ACEOF
19254 done
19266 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19267 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19268 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19269 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19270 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 else
19275 ac_ext=cc
19276 ac_cpp='$CXXCPP $CPPFLAGS'
19277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19281 cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h. */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 #include <math.h>
19288 #ifdef HAVE_IEEEFP_H
19289 #include <ieeefp.h>
19290 #endif
19293 main ()
19295 isnanl(0);
19297 return 0;
19299 _ACEOF
19300 rm -f conftest.$ac_objext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19302 (eval $ac_compile) 2>conftest.er1
19303 ac_status=$?
19304 grep -v '^ *+' conftest.er1 >conftest.err
19305 rm -f conftest.er1
19306 cat conftest.err >&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } &&
19309 { ac_try='test -z "$ac_cxx_werror_flag"
19310 || test ! -s conftest.err'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19313 ac_status=$?
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; } &&
19316 { ac_try='test -s conftest.$ac_objext'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19319 ac_status=$?
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; }; then
19322 glibcxx_cv_func_isnanl_use=yes
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19327 glibcxx_cv_func_isnanl_use=no
19329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19330 ac_ext=c
19331 ac_cpp='$CPP $CPPFLAGS'
19332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19341 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19343 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19345 for ac_func in isnanl
19347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19348 echo "$as_me:$LINENO: checking for $ac_func" >&5
19349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19350 if eval "test \"\${$as_ac_var+set}\" = set"; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 else
19353 if test x$gcc_no_link = xyes; then
19354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19356 { (exit 1); exit 1; }; }
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19366 #define $ac_func innocuous_$ac_func
19368 /* System header to define __stub macros and hopefully few prototypes,
19369 which can conflict with char $ac_func (); below.
19370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19371 <limits.h> exists even on freestanding compilers. */
19373 #ifdef __STDC__
19374 # include <limits.h>
19375 #else
19376 # include <assert.h>
19377 #endif
19379 #undef $ac_func
19381 /* Override any gcc2 internal prototype to avoid an error. */
19382 #ifdef __cplusplus
19383 extern "C"
19385 #endif
19386 /* We use char because int might match the return type of a gcc2
19387 builtin and then its argument prototype would still apply. */
19388 char $ac_func ();
19389 /* The GNU C library defines this for functions which it implements
19390 to always fail with ENOSYS. Some functions are actually named
19391 something starting with __ and the normal name is an alias. */
19392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19393 choke me
19394 #else
19395 char (*f) () = $ac_func;
19396 #endif
19397 #ifdef __cplusplus
19399 #endif
19402 main ()
19404 return f != $ac_func;
19406 return 0;
19408 _ACEOF
19409 rm -f conftest.$ac_objext conftest$ac_exeext
19410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19411 (eval $ac_link) 2>conftest.er1
19412 ac_status=$?
19413 grep -v '^ *+' conftest.er1 >conftest.err
19414 rm -f conftest.er1
19415 cat conftest.err >&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } &&
19418 { ac_try='test -z "$ac_c_werror_flag"
19419 || test ! -s conftest.err'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19422 ac_status=$?
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; } &&
19425 { ac_try='test -s conftest$ac_exeext'
19426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427 (eval $ac_try) 2>&5
19428 ac_status=$?
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); }; }; then
19431 eval "$as_ac_var=yes"
19432 else
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19436 eval "$as_ac_var=no"
19438 rm -f conftest.err conftest.$ac_objext \
19439 conftest$ac_exeext conftest.$ac_ext
19441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19443 if test `eval echo '${'$as_ac_var'}'` = yes; then
19444 cat >>confdefs.h <<_ACEOF
19445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19446 _ACEOF
19449 done
19451 else
19453 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19454 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19455 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19456 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19462 ac_ext=cc
19463 ac_cpp='$CXXCPP $CPPFLAGS'
19464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #include <math.h>
19475 #ifdef HAVE_IEEEFP_H
19476 #include <ieeefp.h>
19477 #endif
19480 main ()
19482 _isnanl(0);
19484 return 0;
19486 _ACEOF
19487 rm -f conftest.$ac_objext
19488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19489 (eval $ac_compile) 2>conftest.er1
19490 ac_status=$?
19491 grep -v '^ *+' conftest.er1 >conftest.err
19492 rm -f conftest.er1
19493 cat conftest.err >&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } &&
19496 { ac_try='test -z "$ac_cxx_werror_flag"
19497 || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 glibcxx_cv_func__isnanl_use=yes
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19514 glibcxx_cv_func__isnanl_use=no
19516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19517 ac_ext=c
19518 ac_cpp='$CPP $CPPFLAGS'
19519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19528 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19530 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19532 for ac_func in _isnanl
19534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19535 echo "$as_me:$LINENO: checking for $ac_func" >&5
19536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19537 if eval "test \"\${$as_ac_var+set}\" = set"; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 else
19540 if test x$gcc_no_link = xyes; then
19541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19543 { (exit 1); exit 1; }; }
19545 cat >conftest.$ac_ext <<_ACEOF
19546 /* confdefs.h. */
19547 _ACEOF
19548 cat confdefs.h >>conftest.$ac_ext
19549 cat >>conftest.$ac_ext <<_ACEOF
19550 /* end confdefs.h. */
19551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19553 #define $ac_func innocuous_$ac_func
19555 /* System header to define __stub macros and hopefully few prototypes,
19556 which can conflict with char $ac_func (); below.
19557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19558 <limits.h> exists even on freestanding compilers. */
19560 #ifdef __STDC__
19561 # include <limits.h>
19562 #else
19563 # include <assert.h>
19564 #endif
19566 #undef $ac_func
19568 /* Override any gcc2 internal prototype to avoid an error. */
19569 #ifdef __cplusplus
19570 extern "C"
19572 #endif
19573 /* We use char because int might match the return type of a gcc2
19574 builtin and then its argument prototype would still apply. */
19575 char $ac_func ();
19576 /* The GNU C library defines this for functions which it implements
19577 to always fail with ENOSYS. Some functions are actually named
19578 something starting with __ and the normal name is an alias. */
19579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19580 choke me
19581 #else
19582 char (*f) () = $ac_func;
19583 #endif
19584 #ifdef __cplusplus
19586 #endif
19589 main ()
19591 return f != $ac_func;
19593 return 0;
19595 _ACEOF
19596 rm -f conftest.$ac_objext conftest$ac_exeext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19598 (eval $ac_link) 2>conftest.er1
19599 ac_status=$?
19600 grep -v '^ *+' conftest.er1 >conftest.err
19601 rm -f conftest.er1
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try='test -z "$ac_c_werror_flag"
19606 || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19609 ac_status=$?
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try='test -s conftest$ac_exeext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 eval "$as_ac_var=yes"
19619 else
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 eval "$as_ac_var=no"
19625 rm -f conftest.err conftest.$ac_objext \
19626 conftest$ac_exeext conftest.$ac_ext
19628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19630 if test `eval echo '${'$as_ac_var'}'` = yes; then
19631 cat >>confdefs.h <<_ACEOF
19632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19633 _ACEOF
19636 done
19646 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19647 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19648 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19649 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 else
19655 ac_ext=cc
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19661 cat >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h. */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 #include <math.h>
19668 #ifdef HAVE_IEEEFP_H
19669 #include <ieeefp.h>
19670 #endif
19673 main ()
19675 isinfl(0);
19677 return 0;
19679 _ACEOF
19680 rm -f conftest.$ac_objext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19682 (eval $ac_compile) 2>conftest.er1
19683 ac_status=$?
19684 grep -v '^ *+' conftest.er1 >conftest.err
19685 rm -f conftest.er1
19686 cat conftest.err >&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } &&
19689 { ac_try='test -z "$ac_cxx_werror_flag"
19690 || test ! -s conftest.err'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; } &&
19696 { ac_try='test -s conftest.$ac_objext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19699 ac_status=$?
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 glibcxx_cv_func_isinfl_use=yes
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 glibcxx_cv_func_isinfl_use=no
19709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19710 ac_ext=c
19711 ac_cpp='$CPP $CPPFLAGS'
19712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19721 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19723 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19725 for ac_func in isinfl
19727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19728 echo "$as_me:$LINENO: checking for $ac_func" >&5
19729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19730 if eval "test \"\${$as_ac_var+set}\" = set"; then
19731 echo $ECHO_N "(cached) $ECHO_C" >&6
19732 else
19733 if test x$gcc_no_link = xyes; then
19734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19736 { (exit 1); exit 1; }; }
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19746 #define $ac_func innocuous_$ac_func
19748 /* System header to define __stub macros and hopefully few prototypes,
19749 which can conflict with char $ac_func (); below.
19750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19751 <limits.h> exists even on freestanding compilers. */
19753 #ifdef __STDC__
19754 # include <limits.h>
19755 #else
19756 # include <assert.h>
19757 #endif
19759 #undef $ac_func
19761 /* Override any gcc2 internal prototype to avoid an error. */
19762 #ifdef __cplusplus
19763 extern "C"
19765 #endif
19766 /* We use char because int might match the return type of a gcc2
19767 builtin and then its argument prototype would still apply. */
19768 char $ac_func ();
19769 /* The GNU C library defines this for functions which it implements
19770 to always fail with ENOSYS. Some functions are actually named
19771 something starting with __ and the normal name is an alias. */
19772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19773 choke me
19774 #else
19775 char (*f) () = $ac_func;
19776 #endif
19777 #ifdef __cplusplus
19779 #endif
19782 main ()
19784 return f != $ac_func;
19786 return 0;
19788 _ACEOF
19789 rm -f conftest.$ac_objext conftest$ac_exeext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19791 (eval $ac_link) 2>conftest.er1
19792 ac_status=$?
19793 grep -v '^ *+' conftest.er1 >conftest.err
19794 rm -f conftest.er1
19795 cat conftest.err >&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } &&
19798 { ac_try='test -z "$ac_c_werror_flag"
19799 || test ! -s conftest.err'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19802 ac_status=$?
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; } &&
19805 { ac_try='test -s conftest$ac_exeext'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19808 ac_status=$?
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; }; then
19811 eval "$as_ac_var=yes"
19812 else
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19816 eval "$as_ac_var=no"
19818 rm -f conftest.err conftest.$ac_objext \
19819 conftest$ac_exeext conftest.$ac_ext
19821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19823 if test `eval echo '${'$as_ac_var'}'` = yes; then
19824 cat >>confdefs.h <<_ACEOF
19825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19826 _ACEOF
19829 done
19831 else
19833 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19834 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19835 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19836 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 else
19842 ac_ext=cc
19843 ac_cpp='$CXXCPP $CPPFLAGS'
19844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 #include <math.h>
19855 #ifdef HAVE_IEEEFP_H
19856 #include <ieeefp.h>
19857 #endif
19860 main ()
19862 _isinfl(0);
19864 return 0;
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869 (eval $ac_compile) 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try='test -z "$ac_cxx_werror_flag"
19877 || test ! -s conftest.err'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19880 ac_status=$?
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; } &&
19883 { ac_try='test -s conftest.$ac_objext'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19886 ac_status=$?
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; }; then
19889 glibcxx_cv_func__isinfl_use=yes
19890 else
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 glibcxx_cv_func__isinfl_use=no
19896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19897 ac_ext=c
19898 ac_cpp='$CPP $CPPFLAGS'
19899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19908 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19910 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19912 for ac_func in _isinfl
19914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19915 echo "$as_me:$LINENO: checking for $ac_func" >&5
19916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19917 if eval "test \"\${$as_ac_var+set}\" = set"; then
19918 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 else
19920 if test x$gcc_no_link = xyes; then
19921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19923 { (exit 1); exit 1; }; }
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19933 #define $ac_func innocuous_$ac_func
19935 /* System header to define __stub macros and hopefully few prototypes,
19936 which can conflict with char $ac_func (); below.
19937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19938 <limits.h> exists even on freestanding compilers. */
19940 #ifdef __STDC__
19941 # include <limits.h>
19942 #else
19943 # include <assert.h>
19944 #endif
19946 #undef $ac_func
19948 /* Override any gcc2 internal prototype to avoid an error. */
19949 #ifdef __cplusplus
19950 extern "C"
19952 #endif
19953 /* We use char because int might match the return type of a gcc2
19954 builtin and then its argument prototype would still apply. */
19955 char $ac_func ();
19956 /* The GNU C library defines this for functions which it implements
19957 to always fail with ENOSYS. Some functions are actually named
19958 something starting with __ and the normal name is an alias. */
19959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19960 choke me
19961 #else
19962 char (*f) () = $ac_func;
19963 #endif
19964 #ifdef __cplusplus
19966 #endif
19969 main ()
19971 return f != $ac_func;
19973 return 0;
19975 _ACEOF
19976 rm -f conftest.$ac_objext conftest$ac_exeext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19978 (eval $ac_link) 2>conftest.er1
19979 ac_status=$?
19980 grep -v '^ *+' conftest.er1 >conftest.err
19981 rm -f conftest.er1
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -z "$ac_c_werror_flag"
19986 || test ! -s conftest.err'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19989 ac_status=$?
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try='test -s conftest$ac_exeext'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19995 ac_status=$?
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; }; then
19998 eval "$as_ac_var=yes"
19999 else
20000 echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.$ac_ext >&5
20003 eval "$as_ac_var=no"
20005 rm -f conftest.err conftest.$ac_objext \
20006 conftest$ac_exeext conftest.$ac_ext
20008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20010 if test `eval echo '${'$as_ac_var'}'` = yes; then
20011 cat >>confdefs.h <<_ACEOF
20012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20013 _ACEOF
20016 done
20026 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20027 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20028 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20029 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 else
20035 ac_ext=cc
20036 ac_cpp='$CXXCPP $CPPFLAGS'
20037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20041 cat >conftest.$ac_ext <<_ACEOF
20042 /* confdefs.h. */
20043 _ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 #include <math.h>
20049 main ()
20051 copysignl(0, 0);
20053 return 0;
20055 _ACEOF
20056 rm -f conftest.$ac_objext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20058 (eval $ac_compile) 2>conftest.er1
20059 ac_status=$?
20060 grep -v '^ *+' conftest.er1 >conftest.err
20061 rm -f conftest.er1
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
20065 { ac_try='test -z "$ac_cxx_werror_flag"
20066 || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20069 ac_status=$?
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest.$ac_objext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20075 ac_status=$?
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 glibcxx_cv_func_copysignl_use=yes
20079 else
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20083 glibcxx_cv_func_copysignl_use=no
20085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20086 ac_ext=c
20087 ac_cpp='$CPP $CPPFLAGS'
20088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20097 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20099 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20101 for ac_func in copysignl
20103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20104 echo "$as_me:$LINENO: checking for $ac_func" >&5
20105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20106 if eval "test \"\${$as_ac_var+set}\" = set"; then
20107 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 else
20109 if test x$gcc_no_link = xyes; then
20110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20112 { (exit 1); exit 1; }; }
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20122 #define $ac_func innocuous_$ac_func
20124 /* System header to define __stub macros and hopefully few prototypes,
20125 which can conflict with char $ac_func (); below.
20126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20127 <limits.h> exists even on freestanding compilers. */
20129 #ifdef __STDC__
20130 # include <limits.h>
20131 #else
20132 # include <assert.h>
20133 #endif
20135 #undef $ac_func
20137 /* Override any gcc2 internal prototype to avoid an error. */
20138 #ifdef __cplusplus
20139 extern "C"
20141 #endif
20142 /* We use char because int might match the return type of a gcc2
20143 builtin and then its argument prototype would still apply. */
20144 char $ac_func ();
20145 /* The GNU C library defines this for functions which it implements
20146 to always fail with ENOSYS. Some functions are actually named
20147 something starting with __ and the normal name is an alias. */
20148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20149 choke me
20150 #else
20151 char (*f) () = $ac_func;
20152 #endif
20153 #ifdef __cplusplus
20155 #endif
20158 main ()
20160 return f != $ac_func;
20162 return 0;
20164 _ACEOF
20165 rm -f conftest.$ac_objext conftest$ac_exeext
20166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20167 (eval $ac_link) 2>conftest.er1
20168 ac_status=$?
20169 grep -v '^ *+' conftest.er1 >conftest.err
20170 rm -f conftest.er1
20171 cat conftest.err >&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } &&
20174 { ac_try='test -z "$ac_c_werror_flag"
20175 || test ! -s conftest.err'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20178 ac_status=$?
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; } &&
20181 { ac_try='test -s conftest$ac_exeext'
20182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20183 (eval $ac_try) 2>&5
20184 ac_status=$?
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; }; then
20187 eval "$as_ac_var=yes"
20188 else
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20192 eval "$as_ac_var=no"
20194 rm -f conftest.err conftest.$ac_objext \
20195 conftest$ac_exeext conftest.$ac_ext
20197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20199 if test `eval echo '${'$as_ac_var'}'` = yes; then
20200 cat >>confdefs.h <<_ACEOF
20201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20202 _ACEOF
20205 done
20207 else
20209 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20210 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20211 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20212 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 else
20218 ac_ext=cc
20219 ac_cpp='$CXXCPP $CPPFLAGS'
20220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20224 cat >conftest.$ac_ext <<_ACEOF
20225 /* confdefs.h. */
20226 _ACEOF
20227 cat confdefs.h >>conftest.$ac_ext
20228 cat >>conftest.$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20230 #include <math.h>
20232 main ()
20234 _copysignl(0, 0);
20236 return 0;
20238 _ACEOF
20239 rm -f conftest.$ac_objext
20240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20241 (eval $ac_compile) 2>conftest.er1
20242 ac_status=$?
20243 grep -v '^ *+' conftest.er1 >conftest.err
20244 rm -f conftest.er1
20245 cat conftest.err >&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } &&
20248 { ac_try='test -z "$ac_cxx_werror_flag"
20249 || test ! -s conftest.err'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; } &&
20255 { ac_try='test -s conftest.$ac_objext'
20256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20257 (eval $ac_try) 2>&5
20258 ac_status=$?
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); }; }; then
20261 glibcxx_cv_func__copysignl_use=yes
20262 else
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20266 glibcxx_cv_func__copysignl_use=no
20268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20269 ac_ext=c
20270 ac_cpp='$CPP $CPPFLAGS'
20271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20279 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20280 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20282 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20284 for ac_func in _copysignl
20286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20287 echo "$as_me:$LINENO: checking for $ac_func" >&5
20288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20289 if eval "test \"\${$as_ac_var+set}\" = set"; then
20290 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 else
20292 if test x$gcc_no_link = xyes; then
20293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20295 { (exit 1); exit 1; }; }
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20305 #define $ac_func innocuous_$ac_func
20307 /* System header to define __stub macros and hopefully few prototypes,
20308 which can conflict with char $ac_func (); below.
20309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20310 <limits.h> exists even on freestanding compilers. */
20312 #ifdef __STDC__
20313 # include <limits.h>
20314 #else
20315 # include <assert.h>
20316 #endif
20318 #undef $ac_func
20320 /* Override any gcc2 internal prototype to avoid an error. */
20321 #ifdef __cplusplus
20322 extern "C"
20324 #endif
20325 /* We use char because int might match the return type of a gcc2
20326 builtin and then its argument prototype would still apply. */
20327 char $ac_func ();
20328 /* The GNU C library defines this for functions which it implements
20329 to always fail with ENOSYS. Some functions are actually named
20330 something starting with __ and the normal name is an alias. */
20331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20332 choke me
20333 #else
20334 char (*f) () = $ac_func;
20335 #endif
20336 #ifdef __cplusplus
20338 #endif
20341 main ()
20343 return f != $ac_func;
20345 return 0;
20347 _ACEOF
20348 rm -f conftest.$ac_objext conftest$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>conftest.er1
20351 ac_status=$?
20352 grep -v '^ *+' conftest.er1 >conftest.err
20353 rm -f conftest.er1
20354 cat conftest.err >&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try='test -z "$ac_c_werror_flag"
20358 || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try='test -s conftest$ac_exeext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 eval "$as_ac_var=yes"
20371 else
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20375 eval "$as_ac_var=no"
20377 rm -f conftest.err conftest.$ac_objext \
20378 conftest$ac_exeext conftest.$ac_ext
20380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20382 if test `eval echo '${'$as_ac_var'}'` = yes; then
20383 cat >>confdefs.h <<_ACEOF
20384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20385 _ACEOF
20388 done
20398 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20399 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20400 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20401 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 else
20407 ac_ext=cc
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413 cat >conftest.$ac_ext <<_ACEOF
20414 /* confdefs.h. */
20415 _ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 #include <math.h>
20421 main ()
20423 atan2l(0, 0);
20425 return 0;
20427 _ACEOF
20428 rm -f conftest.$ac_objext
20429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20430 (eval $ac_compile) 2>conftest.er1
20431 ac_status=$?
20432 grep -v '^ *+' conftest.er1 >conftest.err
20433 rm -f conftest.er1
20434 cat conftest.err >&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } &&
20437 { ac_try='test -z "$ac_cxx_werror_flag"
20438 || test ! -s conftest.err'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; } &&
20444 { ac_try='test -s conftest.$ac_objext'
20445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446 (eval $ac_try) 2>&5
20447 ac_status=$?
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; }; then
20450 glibcxx_cv_func_atan2l_use=yes
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 glibcxx_cv_func_atan2l_use=no
20457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20458 ac_ext=c
20459 ac_cpp='$CPP $CPPFLAGS'
20460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20469 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20471 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20473 for ac_func in atan2l
20475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20476 echo "$as_me:$LINENO: checking for $ac_func" >&5
20477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20478 if eval "test \"\${$as_ac_var+set}\" = set"; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481 if test x$gcc_no_link = xyes; then
20482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20484 { (exit 1); exit 1; }; }
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20494 #define $ac_func innocuous_$ac_func
20496 /* System header to define __stub macros and hopefully few prototypes,
20497 which can conflict with char $ac_func (); below.
20498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20499 <limits.h> exists even on freestanding compilers. */
20501 #ifdef __STDC__
20502 # include <limits.h>
20503 #else
20504 # include <assert.h>
20505 #endif
20507 #undef $ac_func
20509 /* Override any gcc2 internal prototype to avoid an error. */
20510 #ifdef __cplusplus
20511 extern "C"
20513 #endif
20514 /* We use char because int might match the return type of a gcc2
20515 builtin and then its argument prototype would still apply. */
20516 char $ac_func ();
20517 /* The GNU C library defines this for functions which it implements
20518 to always fail with ENOSYS. Some functions are actually named
20519 something starting with __ and the normal name is an alias. */
20520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20521 choke me
20522 #else
20523 char (*f) () = $ac_func;
20524 #endif
20525 #ifdef __cplusplus
20527 #endif
20530 main ()
20532 return f != $ac_func;
20534 return 0;
20536 _ACEOF
20537 rm -f conftest.$ac_objext conftest$ac_exeext
20538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20539 (eval $ac_link) 2>conftest.er1
20540 ac_status=$?
20541 grep -v '^ *+' conftest.er1 >conftest.err
20542 rm -f conftest.er1
20543 cat conftest.err >&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); } &&
20546 { ac_try='test -z "$ac_c_werror_flag"
20547 || test ! -s conftest.err'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20550 ac_status=$?
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; } &&
20553 { ac_try='test -s conftest$ac_exeext'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20556 ac_status=$?
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then
20559 eval "$as_ac_var=yes"
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20564 eval "$as_ac_var=no"
20566 rm -f conftest.err conftest.$ac_objext \
20567 conftest$ac_exeext conftest.$ac_ext
20569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20571 if test `eval echo '${'$as_ac_var'}'` = yes; then
20572 cat >>confdefs.h <<_ACEOF
20573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20574 _ACEOF
20577 done
20579 else
20581 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20582 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20583 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20584 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20586 else
20590 ac_ext=cc
20591 ac_cpp='$CXXCPP $CPPFLAGS'
20592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20596 cat >conftest.$ac_ext <<_ACEOF
20597 /* confdefs.h. */
20598 _ACEOF
20599 cat confdefs.h >>conftest.$ac_ext
20600 cat >>conftest.$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20602 #include <math.h>
20604 main ()
20606 _atan2l(0, 0);
20608 return 0;
20610 _ACEOF
20611 rm -f conftest.$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613 (eval $ac_compile) 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } &&
20620 { ac_try='test -z "$ac_cxx_werror_flag"
20621 || test ! -s conftest.err'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; } &&
20627 { ac_try='test -s conftest.$ac_objext'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20630 ac_status=$?
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; }; then
20633 glibcxx_cv_func__atan2l_use=yes
20634 else
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20638 glibcxx_cv_func__atan2l_use=no
20640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20641 ac_ext=c
20642 ac_cpp='$CPP $CPPFLAGS'
20643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20652 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20654 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20656 for ac_func in _atan2l
20658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20659 echo "$as_me:$LINENO: checking for $ac_func" >&5
20660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20661 if eval "test \"\${$as_ac_var+set}\" = set"; then
20662 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 else
20664 if test x$gcc_no_link = xyes; then
20665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20667 { (exit 1); exit 1; }; }
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20677 #define $ac_func innocuous_$ac_func
20679 /* System header to define __stub macros and hopefully few prototypes,
20680 which can conflict with char $ac_func (); below.
20681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20682 <limits.h> exists even on freestanding compilers. */
20684 #ifdef __STDC__
20685 # include <limits.h>
20686 #else
20687 # include <assert.h>
20688 #endif
20690 #undef $ac_func
20692 /* Override any gcc2 internal prototype to avoid an error. */
20693 #ifdef __cplusplus
20694 extern "C"
20696 #endif
20697 /* We use char because int might match the return type of a gcc2
20698 builtin and then its argument prototype would still apply. */
20699 char $ac_func ();
20700 /* The GNU C library defines this for functions which it implements
20701 to always fail with ENOSYS. Some functions are actually named
20702 something starting with __ and the normal name is an alias. */
20703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20704 choke me
20705 #else
20706 char (*f) () = $ac_func;
20707 #endif
20708 #ifdef __cplusplus
20710 #endif
20713 main ()
20715 return f != $ac_func;
20717 return 0;
20719 _ACEOF
20720 rm -f conftest.$ac_objext conftest$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722 (eval $ac_link) 2>conftest.er1
20723 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } &&
20729 { ac_try='test -z "$ac_c_werror_flag"
20730 || test ! -s conftest.err'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; } &&
20736 { ac_try='test -s conftest$ac_exeext'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20739 ac_status=$?
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; }; then
20742 eval "$as_ac_var=yes"
20743 else
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20747 eval "$as_ac_var=no"
20749 rm -f conftest.err conftest.$ac_objext \
20750 conftest$ac_exeext conftest.$ac_ext
20752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20754 if test `eval echo '${'$as_ac_var'}'` = yes; then
20755 cat >>confdefs.h <<_ACEOF
20756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20757 _ACEOF
20760 done
20770 echo "$as_me:$LINENO: checking for expl declaration" >&5
20771 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20772 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20773 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20775 else
20779 ac_ext=cc
20780 ac_cpp='$CXXCPP $CPPFLAGS'
20781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h. */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 #include <math.h>
20792 #ifdef HAVE_IEEEFP_H
20793 #include <ieeefp.h>
20794 #endif
20797 main ()
20799 expl(0);
20801 return 0;
20803 _ACEOF
20804 rm -f conftest.$ac_objext
20805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20806 (eval $ac_compile) 2>conftest.er1
20807 ac_status=$?
20808 grep -v '^ *+' conftest.er1 >conftest.err
20809 rm -f conftest.er1
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try='test -z "$ac_cxx_werror_flag"
20814 || test ! -s conftest.err'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20817 ac_status=$?
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 glibcxx_cv_func_expl_use=yes
20827 else
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20831 glibcxx_cv_func_expl_use=no
20833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20834 ac_ext=c
20835 ac_cpp='$CPP $CPPFLAGS'
20836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20845 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20847 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20849 for ac_func in expl
20851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20852 echo "$as_me:$LINENO: checking for $ac_func" >&5
20853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20854 if eval "test \"\${$as_ac_var+set}\" = set"; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 else
20857 if test x$gcc_no_link = xyes; then
20858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20860 { (exit 1); exit 1; }; }
20862 cat >conftest.$ac_ext <<_ACEOF
20863 /* confdefs.h. */
20864 _ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20870 #define $ac_func innocuous_$ac_func
20872 /* System header to define __stub macros and hopefully few prototypes,
20873 which can conflict with char $ac_func (); below.
20874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20875 <limits.h> exists even on freestanding compilers. */
20877 #ifdef __STDC__
20878 # include <limits.h>
20879 #else
20880 # include <assert.h>
20881 #endif
20883 #undef $ac_func
20885 /* Override any gcc2 internal prototype to avoid an error. */
20886 #ifdef __cplusplus
20887 extern "C"
20889 #endif
20890 /* We use char because int might match the return type of a gcc2
20891 builtin and then its argument prototype would still apply. */
20892 char $ac_func ();
20893 /* The GNU C library defines this for functions which it implements
20894 to always fail with ENOSYS. Some functions are actually named
20895 something starting with __ and the normal name is an alias. */
20896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20897 choke me
20898 #else
20899 char (*f) () = $ac_func;
20900 #endif
20901 #ifdef __cplusplus
20903 #endif
20906 main ()
20908 return f != $ac_func;
20910 return 0;
20912 _ACEOF
20913 rm -f conftest.$ac_objext conftest$ac_exeext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20915 (eval $ac_link) 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try='test -z "$ac_c_werror_flag"
20923 || test ! -s conftest.err'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; } &&
20929 { ac_try='test -s conftest$ac_exeext'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20932 ac_status=$?
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; }; then
20935 eval "$as_ac_var=yes"
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 eval "$as_ac_var=no"
20942 rm -f conftest.err conftest.$ac_objext \
20943 conftest$ac_exeext conftest.$ac_ext
20945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20947 if test `eval echo '${'$as_ac_var'}'` = yes; then
20948 cat >>confdefs.h <<_ACEOF
20949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20950 _ACEOF
20953 done
20955 else
20957 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20958 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20959 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20960 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20962 else
20966 ac_ext=cc
20967 ac_cpp='$CXXCPP $CPPFLAGS'
20968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20972 cat >conftest.$ac_ext <<_ACEOF
20973 /* confdefs.h. */
20974 _ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #include <math.h>
20979 #ifdef HAVE_IEEEFP_H
20980 #include <ieeefp.h>
20981 #endif
20984 main ()
20986 _expl(0);
20988 return 0;
20990 _ACEOF
20991 rm -f conftest.$ac_objext
20992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20993 (eval $ac_compile) 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } &&
21000 { ac_try='test -z "$ac_cxx_werror_flag"
21001 || test ! -s conftest.err'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; } &&
21007 { ac_try='test -s conftest.$ac_objext'
21008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009 (eval $ac_try) 2>&5
21010 ac_status=$?
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); }; }; then
21013 glibcxx_cv_func__expl_use=yes
21014 else
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 glibcxx_cv_func__expl_use=no
21020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21021 ac_ext=c
21022 ac_cpp='$CPP $CPPFLAGS'
21023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21032 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21034 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21036 for ac_func in _expl
21038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21039 echo "$as_me:$LINENO: checking for $ac_func" >&5
21040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21041 if eval "test \"\${$as_ac_var+set}\" = set"; then
21042 echo $ECHO_N "(cached) $ECHO_C" >&6
21043 else
21044 if test x$gcc_no_link = xyes; then
21045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21047 { (exit 1); exit 1; }; }
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21057 #define $ac_func innocuous_$ac_func
21059 /* System header to define __stub macros and hopefully few prototypes,
21060 which can conflict with char $ac_func (); below.
21061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21062 <limits.h> exists even on freestanding compilers. */
21064 #ifdef __STDC__
21065 # include <limits.h>
21066 #else
21067 # include <assert.h>
21068 #endif
21070 #undef $ac_func
21072 /* Override any gcc2 internal prototype to avoid an error. */
21073 #ifdef __cplusplus
21074 extern "C"
21076 #endif
21077 /* We use char because int might match the return type of a gcc2
21078 builtin and then its argument prototype would still apply. */
21079 char $ac_func ();
21080 /* The GNU C library defines this for functions which it implements
21081 to always fail with ENOSYS. Some functions are actually named
21082 something starting with __ and the normal name is an alias. */
21083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21084 choke me
21085 #else
21086 char (*f) () = $ac_func;
21087 #endif
21088 #ifdef __cplusplus
21090 #endif
21093 main ()
21095 return f != $ac_func;
21097 return 0;
21099 _ACEOF
21100 rm -f conftest.$ac_objext conftest$ac_exeext
21101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21102 (eval $ac_link) 2>conftest.er1
21103 ac_status=$?
21104 grep -v '^ *+' conftest.er1 >conftest.err
21105 rm -f conftest.er1
21106 cat conftest.err >&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } &&
21109 { ac_try='test -z "$ac_c_werror_flag"
21110 || test ! -s conftest.err'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21113 ac_status=$?
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; } &&
21116 { ac_try='test -s conftest$ac_exeext'
21117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118 (eval $ac_try) 2>&5
21119 ac_status=$?
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; }; then
21122 eval "$as_ac_var=yes"
21123 else
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21127 eval "$as_ac_var=no"
21129 rm -f conftest.err conftest.$ac_objext \
21130 conftest$ac_exeext conftest.$ac_ext
21132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21134 if test `eval echo '${'$as_ac_var'}'` = yes; then
21135 cat >>confdefs.h <<_ACEOF
21136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21137 _ACEOF
21140 done
21150 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21151 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21152 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21153 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21154 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 else
21159 ac_ext=cc
21160 ac_cpp='$CXXCPP $CPPFLAGS'
21161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21165 cat >conftest.$ac_ext <<_ACEOF
21166 /* confdefs.h. */
21167 _ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21171 #include <math.h>
21172 #ifdef HAVE_IEEEFP_H
21173 #include <ieeefp.h>
21174 #endif
21177 main ()
21179 fabsl(0);
21181 return 0;
21183 _ACEOF
21184 rm -f conftest.$ac_objext
21185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21186 (eval $ac_compile) 2>conftest.er1
21187 ac_status=$?
21188 grep -v '^ *+' conftest.er1 >conftest.err
21189 rm -f conftest.er1
21190 cat conftest.err >&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } &&
21193 { ac_try='test -z "$ac_cxx_werror_flag"
21194 || test ! -s conftest.err'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; } &&
21200 { ac_try='test -s conftest.$ac_objext'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21203 ac_status=$?
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; }; then
21206 glibcxx_cv_func_fabsl_use=yes
21207 else
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21211 glibcxx_cv_func_fabsl_use=no
21213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21214 ac_ext=c
21215 ac_cpp='$CPP $CPPFLAGS'
21216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21225 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21227 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21229 for ac_func in fabsl
21231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21232 echo "$as_me:$LINENO: checking for $ac_func" >&5
21233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21234 if eval "test \"\${$as_ac_var+set}\" = set"; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237 if test x$gcc_no_link = xyes; then
21238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21240 { (exit 1); exit 1; }; }
21242 cat >conftest.$ac_ext <<_ACEOF
21243 /* confdefs.h. */
21244 _ACEOF
21245 cat confdefs.h >>conftest.$ac_ext
21246 cat >>conftest.$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21250 #define $ac_func innocuous_$ac_func
21252 /* System header to define __stub macros and hopefully few prototypes,
21253 which can conflict with char $ac_func (); below.
21254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21255 <limits.h> exists even on freestanding compilers. */
21257 #ifdef __STDC__
21258 # include <limits.h>
21259 #else
21260 # include <assert.h>
21261 #endif
21263 #undef $ac_func
21265 /* Override any gcc2 internal prototype to avoid an error. */
21266 #ifdef __cplusplus
21267 extern "C"
21269 #endif
21270 /* We use char because int might match the return type of a gcc2
21271 builtin and then its argument prototype would still apply. */
21272 char $ac_func ();
21273 /* The GNU C library defines this for functions which it implements
21274 to always fail with ENOSYS. Some functions are actually named
21275 something starting with __ and the normal name is an alias. */
21276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21277 choke me
21278 #else
21279 char (*f) () = $ac_func;
21280 #endif
21281 #ifdef __cplusplus
21283 #endif
21286 main ()
21288 return f != $ac_func;
21290 return 0;
21292 _ACEOF
21293 rm -f conftest.$ac_objext conftest$ac_exeext
21294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21295 (eval $ac_link) 2>conftest.er1
21296 ac_status=$?
21297 grep -v '^ *+' conftest.er1 >conftest.err
21298 rm -f conftest.er1
21299 cat conftest.err >&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); } &&
21302 { ac_try='test -z "$ac_c_werror_flag"
21303 || test ! -s conftest.err'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21306 ac_status=$?
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; } &&
21309 { ac_try='test -s conftest$ac_exeext'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21312 ac_status=$?
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; }; then
21315 eval "$as_ac_var=yes"
21316 else
21317 echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21320 eval "$as_ac_var=no"
21322 rm -f conftest.err conftest.$ac_objext \
21323 conftest$ac_exeext conftest.$ac_ext
21325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21327 if test `eval echo '${'$as_ac_var'}'` = yes; then
21328 cat >>confdefs.h <<_ACEOF
21329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21330 _ACEOF
21333 done
21335 else
21337 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21338 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21339 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21340 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21341 echo $ECHO_N "(cached) $ECHO_C" >&6
21342 else
21346 ac_ext=cc
21347 ac_cpp='$CXXCPP $CPPFLAGS'
21348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21352 cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h. */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 #include <math.h>
21359 #ifdef HAVE_IEEEFP_H
21360 #include <ieeefp.h>
21361 #endif
21364 main ()
21366 _fabsl(0);
21368 return 0;
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21373 (eval $ac_compile) 2>conftest.er1
21374 ac_status=$?
21375 grep -v '^ *+' conftest.er1 >conftest.err
21376 rm -f conftest.er1
21377 cat conftest.err >&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } &&
21380 { ac_try='test -z "$ac_cxx_werror_flag"
21381 || test ! -s conftest.err'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; } &&
21387 { ac_try='test -s conftest.$ac_objext'
21388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21389 (eval $ac_try) 2>&5
21390 ac_status=$?
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); }; }; then
21393 glibcxx_cv_func__fabsl_use=yes
21394 else
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.$ac_ext >&5
21398 glibcxx_cv_func__fabsl_use=no
21400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21401 ac_ext=c
21402 ac_cpp='$CPP $CPPFLAGS'
21403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21412 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21414 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21416 for ac_func in _fabsl
21418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21419 echo "$as_me:$LINENO: checking for $ac_func" >&5
21420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21421 if eval "test \"\${$as_ac_var+set}\" = set"; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21423 else
21424 if test x$gcc_no_link = xyes; then
21425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21427 { (exit 1); exit 1; }; }
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21437 #define $ac_func innocuous_$ac_func
21439 /* System header to define __stub macros and hopefully few prototypes,
21440 which can conflict with char $ac_func (); below.
21441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21442 <limits.h> exists even on freestanding compilers. */
21444 #ifdef __STDC__
21445 # include <limits.h>
21446 #else
21447 # include <assert.h>
21448 #endif
21450 #undef $ac_func
21452 /* Override any gcc2 internal prototype to avoid an error. */
21453 #ifdef __cplusplus
21454 extern "C"
21456 #endif
21457 /* We use char because int might match the return type of a gcc2
21458 builtin and then its argument prototype would still apply. */
21459 char $ac_func ();
21460 /* The GNU C library defines this for functions which it implements
21461 to always fail with ENOSYS. Some functions are actually named
21462 something starting with __ and the normal name is an alias. */
21463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21464 choke me
21465 #else
21466 char (*f) () = $ac_func;
21467 #endif
21468 #ifdef __cplusplus
21470 #endif
21473 main ()
21475 return f != $ac_func;
21477 return 0;
21479 _ACEOF
21480 rm -f conftest.$ac_objext conftest$ac_exeext
21481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21482 (eval $ac_link) 2>conftest.er1
21483 ac_status=$?
21484 grep -v '^ *+' conftest.er1 >conftest.err
21485 rm -f conftest.er1
21486 cat conftest.err >&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } &&
21489 { ac_try='test -z "$ac_c_werror_flag"
21490 || test ! -s conftest.err'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; } &&
21496 { ac_try='test -s conftest$ac_exeext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21499 ac_status=$?
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 eval "$as_ac_var=yes"
21503 else
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21507 eval "$as_ac_var=no"
21509 rm -f conftest.err conftest.$ac_objext \
21510 conftest$ac_exeext conftest.$ac_ext
21512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21514 if test `eval echo '${'$as_ac_var'}'` = yes; then
21515 cat >>confdefs.h <<_ACEOF
21516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21517 _ACEOF
21520 done
21530 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21531 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21532 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21533 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21534 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 else
21539 ac_ext=cc
21540 ac_cpp='$CXXCPP $CPPFLAGS'
21541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21545 cat >conftest.$ac_ext <<_ACEOF
21546 /* confdefs.h. */
21547 _ACEOF
21548 cat confdefs.h >>conftest.$ac_ext
21549 cat >>conftest.$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 #include <math.h>
21553 main ()
21555 fmodl(0, 0);
21557 return 0;
21559 _ACEOF
21560 rm -f conftest.$ac_objext
21561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21562 (eval $ac_compile) 2>conftest.er1
21563 ac_status=$?
21564 grep -v '^ *+' conftest.er1 >conftest.err
21565 rm -f conftest.er1
21566 cat conftest.err >&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } &&
21569 { ac_try='test -z "$ac_cxx_werror_flag"
21570 || test ! -s conftest.err'
21571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21572 (eval $ac_try) 2>&5
21573 ac_status=$?
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); }; } &&
21576 { ac_try='test -s conftest.$ac_objext'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21579 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; }; then
21582 glibcxx_cv_func_fmodl_use=yes
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21587 glibcxx_cv_func_fmodl_use=no
21589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21590 ac_ext=c
21591 ac_cpp='$CPP $CPPFLAGS'
21592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21601 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21603 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21605 for ac_func in fmodl
21607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21608 echo "$as_me:$LINENO: checking for $ac_func" >&5
21609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21610 if eval "test \"\${$as_ac_var+set}\" = set"; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21612 else
21613 if test x$gcc_no_link = xyes; then
21614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21616 { (exit 1); exit 1; }; }
21618 cat >conftest.$ac_ext <<_ACEOF
21619 /* confdefs.h. */
21620 _ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21626 #define $ac_func innocuous_$ac_func
21628 /* System header to define __stub macros and hopefully few prototypes,
21629 which can conflict with char $ac_func (); below.
21630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21631 <limits.h> exists even on freestanding compilers. */
21633 #ifdef __STDC__
21634 # include <limits.h>
21635 #else
21636 # include <assert.h>
21637 #endif
21639 #undef $ac_func
21641 /* Override any gcc2 internal prototype to avoid an error. */
21642 #ifdef __cplusplus
21643 extern "C"
21645 #endif
21646 /* We use char because int might match the return type of a gcc2
21647 builtin and then its argument prototype would still apply. */
21648 char $ac_func ();
21649 /* The GNU C library defines this for functions which it implements
21650 to always fail with ENOSYS. Some functions are actually named
21651 something starting with __ and the normal name is an alias. */
21652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21653 choke me
21654 #else
21655 char (*f) () = $ac_func;
21656 #endif
21657 #ifdef __cplusplus
21659 #endif
21662 main ()
21664 return f != $ac_func;
21666 return 0;
21668 _ACEOF
21669 rm -f conftest.$ac_objext conftest$ac_exeext
21670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21671 (eval $ac_link) 2>conftest.er1
21672 ac_status=$?
21673 grep -v '^ *+' conftest.er1 >conftest.err
21674 rm -f conftest.er1
21675 cat conftest.err >&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } &&
21678 { ac_try='test -z "$ac_c_werror_flag"
21679 || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21682 ac_status=$?
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try='test -s conftest$ac_exeext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21688 ac_status=$?
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 eval "$as_ac_var=yes"
21692 else
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.$ac_ext >&5
21696 eval "$as_ac_var=no"
21698 rm -f conftest.err conftest.$ac_objext \
21699 conftest$ac_exeext conftest.$ac_ext
21701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21703 if test `eval echo '${'$as_ac_var'}'` = yes; then
21704 cat >>confdefs.h <<_ACEOF
21705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21706 _ACEOF
21709 done
21711 else
21713 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21714 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21715 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21716 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21717 echo $ECHO_N "(cached) $ECHO_C" >&6
21718 else
21722 ac_ext=cc
21723 ac_cpp='$CXXCPP $CPPFLAGS'
21724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21728 cat >conftest.$ac_ext <<_ACEOF
21729 /* confdefs.h. */
21730 _ACEOF
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734 #include <math.h>
21736 main ()
21738 _fmodl(0, 0);
21740 return 0;
21742 _ACEOF
21743 rm -f conftest.$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>conftest.er1
21746 ac_status=$?
21747 grep -v '^ *+' conftest.er1 >conftest.err
21748 rm -f conftest.er1
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try='test -z "$ac_cxx_werror_flag"
21753 || test ! -s conftest.err'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21756 ac_status=$?
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; } &&
21759 { ac_try='test -s conftest.$ac_objext'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21762 ac_status=$?
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; }; then
21765 glibcxx_cv_func__fmodl_use=yes
21766 else
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21770 glibcxx_cv_func__fmodl_use=no
21772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21773 ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21784 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21786 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21788 for ac_func in _fmodl
21790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21791 echo "$as_me:$LINENO: checking for $ac_func" >&5
21792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21793 if eval "test \"\${$as_ac_var+set}\" = set"; then
21794 echo $ECHO_N "(cached) $ECHO_C" >&6
21795 else
21796 if test x$gcc_no_link = xyes; then
21797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21799 { (exit 1); exit 1; }; }
21801 cat >conftest.$ac_ext <<_ACEOF
21802 /* confdefs.h. */
21803 _ACEOF
21804 cat confdefs.h >>conftest.$ac_ext
21805 cat >>conftest.$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21809 #define $ac_func innocuous_$ac_func
21811 /* System header to define __stub macros and hopefully few prototypes,
21812 which can conflict with char $ac_func (); below.
21813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21814 <limits.h> exists even on freestanding compilers. */
21816 #ifdef __STDC__
21817 # include <limits.h>
21818 #else
21819 # include <assert.h>
21820 #endif
21822 #undef $ac_func
21824 /* Override any gcc2 internal prototype to avoid an error. */
21825 #ifdef __cplusplus
21826 extern "C"
21828 #endif
21829 /* We use char because int might match the return type of a gcc2
21830 builtin and then its argument prototype would still apply. */
21831 char $ac_func ();
21832 /* The GNU C library defines this for functions which it implements
21833 to always fail with ENOSYS. Some functions are actually named
21834 something starting with __ and the normal name is an alias. */
21835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21836 choke me
21837 #else
21838 char (*f) () = $ac_func;
21839 #endif
21840 #ifdef __cplusplus
21842 #endif
21845 main ()
21847 return f != $ac_func;
21849 return 0;
21851 _ACEOF
21852 rm -f conftest.$ac_objext conftest$ac_exeext
21853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21854 (eval $ac_link) 2>conftest.er1
21855 ac_status=$?
21856 grep -v '^ *+' conftest.er1 >conftest.err
21857 rm -f conftest.er1
21858 cat conftest.err >&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); } &&
21861 { ac_try='test -z "$ac_c_werror_flag"
21862 || test ! -s conftest.err'
21863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864 (eval $ac_try) 2>&5
21865 ac_status=$?
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; } &&
21868 { ac_try='test -s conftest$ac_exeext'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 eval "$as_ac_var=yes"
21875 else
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21879 eval "$as_ac_var=no"
21881 rm -f conftest.err conftest.$ac_objext \
21882 conftest$ac_exeext conftest.$ac_ext
21884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21886 if test `eval echo '${'$as_ac_var'}'` = yes; then
21887 cat >>confdefs.h <<_ACEOF
21888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21889 _ACEOF
21892 done
21902 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21903 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21904 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21905 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21906 echo $ECHO_N "(cached) $ECHO_C" >&6
21907 else
21911 ac_ext=cc
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 #include <math.h>
21925 main ()
21927 frexpl(0, 0);
21929 return 0;
21931 _ACEOF
21932 rm -f conftest.$ac_objext
21933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21934 (eval $ac_compile) 2>conftest.er1
21935 ac_status=$?
21936 grep -v '^ *+' conftest.er1 >conftest.err
21937 rm -f conftest.er1
21938 cat conftest.err >&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } &&
21941 { ac_try='test -z "$ac_cxx_werror_flag"
21942 || test ! -s conftest.err'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; } &&
21948 { ac_try='test -s conftest.$ac_objext'
21949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950 (eval $ac_try) 2>&5
21951 ac_status=$?
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; }; then
21954 glibcxx_cv_func_frexpl_use=yes
21955 else
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21959 glibcxx_cv_func_frexpl_use=no
21961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21962 ac_ext=c
21963 ac_cpp='$CPP $CPPFLAGS'
21964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21973 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21975 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21977 for ac_func in frexpl
21979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21980 echo "$as_me:$LINENO: checking for $ac_func" >&5
21981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21982 if eval "test \"\${$as_ac_var+set}\" = set"; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 else
21985 if test x$gcc_no_link = xyes; then
21986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21988 { (exit 1); exit 1; }; }
21990 cat >conftest.$ac_ext <<_ACEOF
21991 /* confdefs.h. */
21992 _ACEOF
21993 cat confdefs.h >>conftest.$ac_ext
21994 cat >>conftest.$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21998 #define $ac_func innocuous_$ac_func
22000 /* System header to define __stub macros and hopefully few prototypes,
22001 which can conflict with char $ac_func (); below.
22002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22003 <limits.h> exists even on freestanding compilers. */
22005 #ifdef __STDC__
22006 # include <limits.h>
22007 #else
22008 # include <assert.h>
22009 #endif
22011 #undef $ac_func
22013 /* Override any gcc2 internal prototype to avoid an error. */
22014 #ifdef __cplusplus
22015 extern "C"
22017 #endif
22018 /* We use char because int might match the return type of a gcc2
22019 builtin and then its argument prototype would still apply. */
22020 char $ac_func ();
22021 /* The GNU C library defines this for functions which it implements
22022 to always fail with ENOSYS. Some functions are actually named
22023 something starting with __ and the normal name is an alias. */
22024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22025 choke me
22026 #else
22027 char (*f) () = $ac_func;
22028 #endif
22029 #ifdef __cplusplus
22031 #endif
22034 main ()
22036 return f != $ac_func;
22038 return 0;
22040 _ACEOF
22041 rm -f conftest.$ac_objext conftest$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043 (eval $ac_link) 2>conftest.er1
22044 ac_status=$?
22045 grep -v '^ *+' conftest.er1 >conftest.err
22046 rm -f conftest.er1
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } &&
22050 { ac_try='test -z "$ac_c_werror_flag"
22051 || test ! -s conftest.err'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; } &&
22057 { ac_try='test -s conftest$ac_exeext'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22060 ac_status=$?
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; }; then
22063 eval "$as_ac_var=yes"
22064 else
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22068 eval "$as_ac_var=no"
22070 rm -f conftest.err conftest.$ac_objext \
22071 conftest$ac_exeext conftest.$ac_ext
22073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22075 if test `eval echo '${'$as_ac_var'}'` = yes; then
22076 cat >>confdefs.h <<_ACEOF
22077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22078 _ACEOF
22081 done
22083 else
22085 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22086 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22087 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22088 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 else
22094 ac_ext=cc
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22100 cat >conftest.$ac_ext <<_ACEOF
22101 /* confdefs.h. */
22102 _ACEOF
22103 cat confdefs.h >>conftest.$ac_ext
22104 cat >>conftest.$ac_ext <<_ACEOF
22105 /* end confdefs.h. */
22106 #include <math.h>
22108 main ()
22110 _frexpl(0, 0);
22112 return 0;
22114 _ACEOF
22115 rm -f conftest.$ac_objext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22117 (eval $ac_compile) 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -z "$ac_cxx_werror_flag"
22125 || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try='test -s conftest.$ac_objext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 glibcxx_cv_func__frexpl_use=yes
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22142 glibcxx_cv_func__frexpl_use=no
22144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22145 ac_ext=c
22146 ac_cpp='$CPP $CPPFLAGS'
22147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22156 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22158 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22160 for ac_func in _frexpl
22162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22163 echo "$as_me:$LINENO: checking for $ac_func" >&5
22164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22165 if eval "test \"\${$as_ac_var+set}\" = set"; then
22166 echo $ECHO_N "(cached) $ECHO_C" >&6
22167 else
22168 if test x$gcc_no_link = xyes; then
22169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22171 { (exit 1); exit 1; }; }
22173 cat >conftest.$ac_ext <<_ACEOF
22174 /* confdefs.h. */
22175 _ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22181 #define $ac_func innocuous_$ac_func
22183 /* System header to define __stub macros and hopefully few prototypes,
22184 which can conflict with char $ac_func (); below.
22185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22186 <limits.h> exists even on freestanding compilers. */
22188 #ifdef __STDC__
22189 # include <limits.h>
22190 #else
22191 # include <assert.h>
22192 #endif
22194 #undef $ac_func
22196 /* Override any gcc2 internal prototype to avoid an error. */
22197 #ifdef __cplusplus
22198 extern "C"
22200 #endif
22201 /* We use char because int might match the return type of a gcc2
22202 builtin and then its argument prototype would still apply. */
22203 char $ac_func ();
22204 /* The GNU C library defines this for functions which it implements
22205 to always fail with ENOSYS. Some functions are actually named
22206 something starting with __ and the normal name is an alias. */
22207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22208 choke me
22209 #else
22210 char (*f) () = $ac_func;
22211 #endif
22212 #ifdef __cplusplus
22214 #endif
22217 main ()
22219 return f != $ac_func;
22221 return 0;
22223 _ACEOF
22224 rm -f conftest.$ac_objext conftest$ac_exeext
22225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22226 (eval $ac_link) 2>conftest.er1
22227 ac_status=$?
22228 grep -v '^ *+' conftest.er1 >conftest.err
22229 rm -f conftest.er1
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } &&
22233 { ac_try='test -z "$ac_c_werror_flag"
22234 || test ! -s conftest.err'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; } &&
22240 { ac_try='test -s conftest$ac_exeext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 eval "$as_ac_var=yes"
22247 else
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22251 eval "$as_ac_var=no"
22253 rm -f conftest.err conftest.$ac_objext \
22254 conftest$ac_exeext conftest.$ac_ext
22256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22258 if test `eval echo '${'$as_ac_var'}'` = yes; then
22259 cat >>confdefs.h <<_ACEOF
22260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22261 _ACEOF
22264 done
22274 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22275 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22276 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22277 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22278 echo $ECHO_N "(cached) $ECHO_C" >&6
22279 else
22283 ac_ext=cc
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22289 cat >conftest.$ac_ext <<_ACEOF
22290 /* confdefs.h. */
22291 _ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 #include <math.h>
22297 main ()
22299 hypotl(0, 0);
22301 return 0;
22303 _ACEOF
22304 rm -f conftest.$ac_objext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22306 (eval $ac_compile) 2>conftest.er1
22307 ac_status=$?
22308 grep -v '^ *+' conftest.er1 >conftest.err
22309 rm -f conftest.er1
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try='test -z "$ac_cxx_werror_flag"
22314 || test ! -s conftest.err'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; } &&
22320 { ac_try='test -s conftest.$ac_objext'
22321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322 (eval $ac_try) 2>&5
22323 ac_status=$?
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); }; }; then
22326 glibcxx_cv_func_hypotl_use=yes
22327 else
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22331 glibcxx_cv_func_hypotl_use=no
22333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22334 ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22345 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22347 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22349 for ac_func in hypotl
22351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22352 echo "$as_me:$LINENO: checking for $ac_func" >&5
22353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22354 if eval "test \"\${$as_ac_var+set}\" = set"; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 else
22357 if test x$gcc_no_link = xyes; then
22358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22360 { (exit 1); exit 1; }; }
22362 cat >conftest.$ac_ext <<_ACEOF
22363 /* confdefs.h. */
22364 _ACEOF
22365 cat confdefs.h >>conftest.$ac_ext
22366 cat >>conftest.$ac_ext <<_ACEOF
22367 /* end confdefs.h. */
22368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22370 #define $ac_func innocuous_$ac_func
22372 /* System header to define __stub macros and hopefully few prototypes,
22373 which can conflict with char $ac_func (); below.
22374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22375 <limits.h> exists even on freestanding compilers. */
22377 #ifdef __STDC__
22378 # include <limits.h>
22379 #else
22380 # include <assert.h>
22381 #endif
22383 #undef $ac_func
22385 /* Override any gcc2 internal prototype to avoid an error. */
22386 #ifdef __cplusplus
22387 extern "C"
22389 #endif
22390 /* We use char because int might match the return type of a gcc2
22391 builtin and then its argument prototype would still apply. */
22392 char $ac_func ();
22393 /* The GNU C library defines this for functions which it implements
22394 to always fail with ENOSYS. Some functions are actually named
22395 something starting with __ and the normal name is an alias. */
22396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22397 choke me
22398 #else
22399 char (*f) () = $ac_func;
22400 #endif
22401 #ifdef __cplusplus
22403 #endif
22406 main ()
22408 return f != $ac_func;
22410 return 0;
22412 _ACEOF
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_c_werror_flag"
22423 || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22426 ac_status=$?
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try='test -s conftest$ac_exeext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 eval "$as_ac_var=yes"
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22440 eval "$as_ac_var=no"
22442 rm -f conftest.err conftest.$ac_objext \
22443 conftest$ac_exeext conftest.$ac_ext
22445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22447 if test `eval echo '${'$as_ac_var'}'` = yes; then
22448 cat >>confdefs.h <<_ACEOF
22449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22450 _ACEOF
22453 done
22455 else
22457 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22458 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22459 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22460 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22462 else
22466 ac_ext=cc
22467 ac_cpp='$CXXCPP $CPPFLAGS'
22468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22472 cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h. */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478 #include <math.h>
22480 main ()
22482 _hypotl(0, 0);
22484 return 0;
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22489 (eval $ac_compile) 2>conftest.er1
22490 ac_status=$?
22491 grep -v '^ *+' conftest.er1 >conftest.err
22492 rm -f conftest.er1
22493 cat conftest.err >&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } &&
22496 { ac_try='test -z "$ac_cxx_werror_flag"
22497 || test ! -s conftest.err'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22500 ac_status=$?
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; } &&
22503 { ac_try='test -s conftest.$ac_objext'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22506 ac_status=$?
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; }; then
22509 glibcxx_cv_func__hypotl_use=yes
22510 else
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22514 glibcxx_cv_func__hypotl_use=no
22516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22517 ac_ext=c
22518 ac_cpp='$CPP $CPPFLAGS'
22519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22528 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22530 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22532 for ac_func in _hypotl
22534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22535 echo "$as_me:$LINENO: checking for $ac_func" >&5
22536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22537 if eval "test \"\${$as_ac_var+set}\" = set"; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22539 else
22540 if test x$gcc_no_link = xyes; then
22541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543 { (exit 1); exit 1; }; }
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22553 #define $ac_func innocuous_$ac_func
22555 /* System header to define __stub macros and hopefully few prototypes,
22556 which can conflict with char $ac_func (); below.
22557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22558 <limits.h> exists even on freestanding compilers. */
22560 #ifdef __STDC__
22561 # include <limits.h>
22562 #else
22563 # include <assert.h>
22564 #endif
22566 #undef $ac_func
22568 /* Override any gcc2 internal prototype to avoid an error. */
22569 #ifdef __cplusplus
22570 extern "C"
22572 #endif
22573 /* We use char because int might match the return type of a gcc2
22574 builtin and then its argument prototype would still apply. */
22575 char $ac_func ();
22576 /* The GNU C library defines this for functions which it implements
22577 to always fail with ENOSYS. Some functions are actually named
22578 something starting with __ and the normal name is an alias. */
22579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22580 choke me
22581 #else
22582 char (*f) () = $ac_func;
22583 #endif
22584 #ifdef __cplusplus
22586 #endif
22589 main ()
22591 return f != $ac_func;
22593 return 0;
22595 _ACEOF
22596 rm -f conftest.$ac_objext conftest$ac_exeext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22598 (eval $ac_link) 2>conftest.er1
22599 ac_status=$?
22600 grep -v '^ *+' conftest.er1 >conftest.err
22601 rm -f conftest.er1
22602 cat conftest.err >&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } &&
22605 { ac_try='test -z "$ac_c_werror_flag"
22606 || test ! -s conftest.err'
22607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608 (eval $ac_try) 2>&5
22609 ac_status=$?
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; } &&
22612 { ac_try='test -s conftest$ac_exeext'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; }; then
22618 eval "$as_ac_var=yes"
22619 else
22620 echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.$ac_ext >&5
22623 eval "$as_ac_var=no"
22625 rm -f conftest.err conftest.$ac_objext \
22626 conftest$ac_exeext conftest.$ac_ext
22628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22630 if test `eval echo '${'$as_ac_var'}'` = yes; then
22631 cat >>confdefs.h <<_ACEOF
22632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22633 _ACEOF
22636 done
22646 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22647 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22648 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22649 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22650 echo $ECHO_N "(cached) $ECHO_C" >&6
22651 else
22655 ac_ext=cc
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661 cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 #include <math.h>
22669 main ()
22671 ldexpl(0, 0);
22673 return 0;
22675 _ACEOF
22676 rm -f conftest.$ac_objext
22677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22678 (eval $ac_compile) 2>conftest.er1
22679 ac_status=$?
22680 grep -v '^ *+' conftest.er1 >conftest.err
22681 rm -f conftest.er1
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try='test -z "$ac_cxx_werror_flag"
22686 || test ! -s conftest.err'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22689 ac_status=$?
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; } &&
22692 { ac_try='test -s conftest.$ac_objext'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22695 ac_status=$?
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 glibcxx_cv_func_ldexpl_use=yes
22699 else
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22703 glibcxx_cv_func_ldexpl_use=no
22705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22706 ac_ext=c
22707 ac_cpp='$CPP $CPPFLAGS'
22708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22717 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22719 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22721 for ac_func in ldexpl
22723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22724 echo "$as_me:$LINENO: checking for $ac_func" >&5
22725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22726 if eval "test \"\${$as_ac_var+set}\" = set"; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 else
22729 if test x$gcc_no_link = xyes; then
22730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22732 { (exit 1); exit 1; }; }
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h. */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22742 #define $ac_func innocuous_$ac_func
22744 /* System header to define __stub macros and hopefully few prototypes,
22745 which can conflict with char $ac_func (); below.
22746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22747 <limits.h> exists even on freestanding compilers. */
22749 #ifdef __STDC__
22750 # include <limits.h>
22751 #else
22752 # include <assert.h>
22753 #endif
22755 #undef $ac_func
22757 /* Override any gcc2 internal prototype to avoid an error. */
22758 #ifdef __cplusplus
22759 extern "C"
22761 #endif
22762 /* We use char because int might match the return type of a gcc2
22763 builtin and then its argument prototype would still apply. */
22764 char $ac_func ();
22765 /* The GNU C library defines this for functions which it implements
22766 to always fail with ENOSYS. Some functions are actually named
22767 something starting with __ and the normal name is an alias. */
22768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22769 choke me
22770 #else
22771 char (*f) () = $ac_func;
22772 #endif
22773 #ifdef __cplusplus
22775 #endif
22778 main ()
22780 return f != $ac_func;
22782 return 0;
22784 _ACEOF
22785 rm -f conftest.$ac_objext conftest$ac_exeext
22786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22787 (eval $ac_link) 2>conftest.er1
22788 ac_status=$?
22789 grep -v '^ *+' conftest.er1 >conftest.err
22790 rm -f conftest.er1
22791 cat conftest.err >&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } &&
22794 { ac_try='test -z "$ac_c_werror_flag"
22795 || test ! -s conftest.err'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try='test -s conftest$ac_exeext'
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; }; then
22807 eval "$as_ac_var=yes"
22808 else
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22812 eval "$as_ac_var=no"
22814 rm -f conftest.err conftest.$ac_objext \
22815 conftest$ac_exeext conftest.$ac_ext
22817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22819 if test `eval echo '${'$as_ac_var'}'` = yes; then
22820 cat >>confdefs.h <<_ACEOF
22821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22822 _ACEOF
22825 done
22827 else
22829 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22830 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22831 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22832 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 else
22838 ac_ext=cc
22839 ac_cpp='$CXXCPP $CPPFLAGS'
22840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22844 cat >conftest.$ac_ext <<_ACEOF
22845 /* confdefs.h. */
22846 _ACEOF
22847 cat confdefs.h >>conftest.$ac_ext
22848 cat >>conftest.$ac_ext <<_ACEOF
22849 /* end confdefs.h. */
22850 #include <math.h>
22852 main ()
22854 _ldexpl(0, 0);
22856 return 0;
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22861 (eval $ac_compile) 2>conftest.er1
22862 ac_status=$?
22863 grep -v '^ *+' conftest.er1 >conftest.err
22864 rm -f conftest.er1
22865 cat conftest.err >&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try='test -z "$ac_cxx_werror_flag"
22869 || test ! -s conftest.err'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22872 ac_status=$?
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; } &&
22875 { ac_try='test -s conftest.$ac_objext'
22876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877 (eval $ac_try) 2>&5
22878 ac_status=$?
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; }; then
22881 glibcxx_cv_func__ldexpl_use=yes
22882 else
22883 echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22886 glibcxx_cv_func__ldexpl_use=no
22888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22889 ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22900 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22902 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22904 for ac_func in _ldexpl
22906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22907 echo "$as_me:$LINENO: checking for $ac_func" >&5
22908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22909 if eval "test \"\${$as_ac_var+set}\" = set"; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912 if test x$gcc_no_link = xyes; then
22913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22915 { (exit 1); exit 1; }; }
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h. */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22925 #define $ac_func innocuous_$ac_func
22927 /* System header to define __stub macros and hopefully few prototypes,
22928 which can conflict with char $ac_func (); below.
22929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22930 <limits.h> exists even on freestanding compilers. */
22932 #ifdef __STDC__
22933 # include <limits.h>
22934 #else
22935 # include <assert.h>
22936 #endif
22938 #undef $ac_func
22940 /* Override any gcc2 internal prototype to avoid an error. */
22941 #ifdef __cplusplus
22942 extern "C"
22944 #endif
22945 /* We use char because int might match the return type of a gcc2
22946 builtin and then its argument prototype would still apply. */
22947 char $ac_func ();
22948 /* The GNU C library defines this for functions which it implements
22949 to always fail with ENOSYS. Some functions are actually named
22950 something starting with __ and the normal name is an alias. */
22951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22952 choke me
22953 #else
22954 char (*f) () = $ac_func;
22955 #endif
22956 #ifdef __cplusplus
22958 #endif
22961 main ()
22963 return f != $ac_func;
22965 return 0;
22967 _ACEOF
22968 rm -f conftest.$ac_objext conftest$ac_exeext
22969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22970 (eval $ac_link) 2>conftest.er1
22971 ac_status=$?
22972 grep -v '^ *+' conftest.er1 >conftest.err
22973 rm -f conftest.er1
22974 cat conftest.err >&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); } &&
22977 { ac_try='test -z "$ac_c_werror_flag"
22978 || test ! -s conftest.err'
22979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980 (eval $ac_try) 2>&5
22981 ac_status=$?
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; } &&
22984 { ac_try='test -s conftest$ac_exeext'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; }; then
22990 eval "$as_ac_var=yes"
22991 else
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.$ac_ext >&5
22995 eval "$as_ac_var=no"
22997 rm -f conftest.err conftest.$ac_objext \
22998 conftest$ac_exeext conftest.$ac_ext
23000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23002 if test `eval echo '${'$as_ac_var'}'` = yes; then
23003 cat >>confdefs.h <<_ACEOF
23004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23005 _ACEOF
23008 done
23018 echo "$as_me:$LINENO: checking for logl declaration" >&5
23019 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23020 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23021 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23027 ac_ext=cc
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033 cat >conftest.$ac_ext <<_ACEOF
23034 /* confdefs.h. */
23035 _ACEOF
23036 cat confdefs.h >>conftest.$ac_ext
23037 cat >>conftest.$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23039 #include <math.h>
23040 #ifdef HAVE_IEEEFP_H
23041 #include <ieeefp.h>
23042 #endif
23045 main ()
23047 logl(0);
23049 return 0;
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23054 (eval $ac_compile) 2>conftest.er1
23055 ac_status=$?
23056 grep -v '^ *+' conftest.er1 >conftest.err
23057 rm -f conftest.er1
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } &&
23061 { ac_try='test -z "$ac_cxx_werror_flag"
23062 || test ! -s conftest.err'
23063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064 (eval $ac_try) 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; } &&
23068 { ac_try='test -s conftest.$ac_objext'
23069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070 (eval $ac_try) 2>&5
23071 ac_status=$?
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); }; }; then
23074 glibcxx_cv_func_logl_use=yes
23075 else
23076 echo "$as_me: failed program was:" >&5
23077 sed 's/^/| /' conftest.$ac_ext >&5
23079 glibcxx_cv_func_logl_use=no
23081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23093 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23095 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23097 for ac_func in logl
23099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23100 echo "$as_me:$LINENO: checking for $ac_func" >&5
23101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23102 if eval "test \"\${$as_ac_var+set}\" = set"; then
23103 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 else
23105 if test x$gcc_no_link = xyes; then
23106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23108 { (exit 1); exit 1; }; }
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23118 #define $ac_func innocuous_$ac_func
23120 /* System header to define __stub macros and hopefully few prototypes,
23121 which can conflict with char $ac_func (); below.
23122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23123 <limits.h> exists even on freestanding compilers. */
23125 #ifdef __STDC__
23126 # include <limits.h>
23127 #else
23128 # include <assert.h>
23129 #endif
23131 #undef $ac_func
23133 /* Override any gcc2 internal prototype to avoid an error. */
23134 #ifdef __cplusplus
23135 extern "C"
23137 #endif
23138 /* We use char because int might match the return type of a gcc2
23139 builtin and then its argument prototype would still apply. */
23140 char $ac_func ();
23141 /* The GNU C library defines this for functions which it implements
23142 to always fail with ENOSYS. Some functions are actually named
23143 something starting with __ and the normal name is an alias. */
23144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23145 choke me
23146 #else
23147 char (*f) () = $ac_func;
23148 #endif
23149 #ifdef __cplusplus
23151 #endif
23154 main ()
23156 return f != $ac_func;
23158 return 0;
23160 _ACEOF
23161 rm -f conftest.$ac_objext conftest$ac_exeext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23163 (eval $ac_link) 2>conftest.er1
23164 ac_status=$?
23165 grep -v '^ *+' conftest.er1 >conftest.err
23166 rm -f conftest.er1
23167 cat conftest.err >&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } &&
23170 { ac_try='test -z "$ac_c_werror_flag"
23171 || test ! -s conftest.err'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23174 ac_status=$?
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; } &&
23177 { ac_try='test -s conftest$ac_exeext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 eval "$as_ac_var=yes"
23184 else
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23188 eval "$as_ac_var=no"
23190 rm -f conftest.err conftest.$ac_objext \
23191 conftest$ac_exeext conftest.$ac_ext
23193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23195 if test `eval echo '${'$as_ac_var'}'` = yes; then
23196 cat >>confdefs.h <<_ACEOF
23197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23198 _ACEOF
23201 done
23203 else
23205 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23206 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23207 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23208 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23210 else
23214 ac_ext=cc
23215 ac_cpp='$CXXCPP $CPPFLAGS'
23216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220 cat >conftest.$ac_ext <<_ACEOF
23221 /* confdefs.h. */
23222 _ACEOF
23223 cat confdefs.h >>conftest.$ac_ext
23224 cat >>conftest.$ac_ext <<_ACEOF
23225 /* end confdefs.h. */
23226 #include <math.h>
23227 #ifdef HAVE_IEEEFP_H
23228 #include <ieeefp.h>
23229 #endif
23232 main ()
23234 _logl(0);
23236 return 0;
23238 _ACEOF
23239 rm -f conftest.$ac_objext
23240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23241 (eval $ac_compile) 2>conftest.er1
23242 ac_status=$?
23243 grep -v '^ *+' conftest.er1 >conftest.err
23244 rm -f conftest.er1
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } &&
23248 { ac_try='test -z "$ac_cxx_werror_flag"
23249 || test ! -s conftest.err'
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); }; } &&
23255 { ac_try='test -s conftest.$ac_objext'
23256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257 (eval $ac_try) 2>&5
23258 ac_status=$?
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); }; }; then
23261 glibcxx_cv_func__logl_use=yes
23262 else
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 glibcxx_cv_func__logl_use=no
23268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23269 ac_ext=c
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23279 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23280 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23282 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23284 for ac_func in _logl
23286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23287 echo "$as_me:$LINENO: checking for $ac_func" >&5
23288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23289 if eval "test \"\${$as_ac_var+set}\" = set"; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 else
23292 if test x$gcc_no_link = xyes; then
23293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23295 { (exit 1); exit 1; }; }
23297 cat >conftest.$ac_ext <<_ACEOF
23298 /* confdefs.h. */
23299 _ACEOF
23300 cat confdefs.h >>conftest.$ac_ext
23301 cat >>conftest.$ac_ext <<_ACEOF
23302 /* end confdefs.h. */
23303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23305 #define $ac_func innocuous_$ac_func
23307 /* System header to define __stub macros and hopefully few prototypes,
23308 which can conflict with char $ac_func (); below.
23309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23310 <limits.h> exists even on freestanding compilers. */
23312 #ifdef __STDC__
23313 # include <limits.h>
23314 #else
23315 # include <assert.h>
23316 #endif
23318 #undef $ac_func
23320 /* Override any gcc2 internal prototype to avoid an error. */
23321 #ifdef __cplusplus
23322 extern "C"
23324 #endif
23325 /* We use char because int might match the return type of a gcc2
23326 builtin and then its argument prototype would still apply. */
23327 char $ac_func ();
23328 /* The GNU C library defines this for functions which it implements
23329 to always fail with ENOSYS. Some functions are actually named
23330 something starting with __ and the normal name is an alias. */
23331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23332 choke me
23333 #else
23334 char (*f) () = $ac_func;
23335 #endif
23336 #ifdef __cplusplus
23338 #endif
23341 main ()
23343 return f != $ac_func;
23345 return 0;
23347 _ACEOF
23348 rm -f conftest.$ac_objext conftest$ac_exeext
23349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350 (eval $ac_link) 2>conftest.er1
23351 ac_status=$?
23352 grep -v '^ *+' conftest.er1 >conftest.err
23353 rm -f conftest.er1
23354 cat conftest.err >&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } &&
23357 { ac_try='test -z "$ac_c_werror_flag"
23358 || test ! -s conftest.err'
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); }; } &&
23364 { ac_try='test -s conftest$ac_exeext'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23367 ac_status=$?
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; }; then
23370 eval "$as_ac_var=yes"
23371 else
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23375 eval "$as_ac_var=no"
23377 rm -f conftest.err conftest.$ac_objext \
23378 conftest$ac_exeext conftest.$ac_ext
23380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23382 if test `eval echo '${'$as_ac_var'}'` = yes; then
23383 cat >>confdefs.h <<_ACEOF
23384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23385 _ACEOF
23388 done
23398 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23399 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23400 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23401 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23407 ac_ext=cc
23408 ac_cpp='$CXXCPP $CPPFLAGS'
23409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 #include <math.h>
23420 #ifdef HAVE_IEEEFP_H
23421 #include <ieeefp.h>
23422 #endif
23425 main ()
23427 log10l(0);
23429 return 0;
23431 _ACEOF
23432 rm -f conftest.$ac_objext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23434 (eval $ac_compile) 2>conftest.er1
23435 ac_status=$?
23436 grep -v '^ *+' conftest.er1 >conftest.err
23437 rm -f conftest.er1
23438 cat conftest.err >&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try='test -z "$ac_cxx_werror_flag"
23442 || test ! -s conftest.err'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; } &&
23448 { ac_try='test -s conftest.$ac_objext'
23449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450 (eval $ac_try) 2>&5
23451 ac_status=$?
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); }; }; then
23454 glibcxx_cv_func_log10l_use=yes
23455 else
23456 echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.$ac_ext >&5
23459 glibcxx_cv_func_log10l_use=no
23461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23462 ac_ext=c
23463 ac_cpp='$CPP $CPPFLAGS'
23464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23473 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23475 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23477 for ac_func in log10l
23479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23480 echo "$as_me:$LINENO: checking for $ac_func" >&5
23481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23482 if eval "test \"\${$as_ac_var+set}\" = set"; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 else
23485 if test x$gcc_no_link = xyes; then
23486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23488 { (exit 1); exit 1; }; }
23490 cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h. */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h. */
23496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23498 #define $ac_func innocuous_$ac_func
23500 /* System header to define __stub macros and hopefully few prototypes,
23501 which can conflict with char $ac_func (); below.
23502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23503 <limits.h> exists even on freestanding compilers. */
23505 #ifdef __STDC__
23506 # include <limits.h>
23507 #else
23508 # include <assert.h>
23509 #endif
23511 #undef $ac_func
23513 /* Override any gcc2 internal prototype to avoid an error. */
23514 #ifdef __cplusplus
23515 extern "C"
23517 #endif
23518 /* We use char because int might match the return type of a gcc2
23519 builtin and then its argument prototype would still apply. */
23520 char $ac_func ();
23521 /* The GNU C library defines this for functions which it implements
23522 to always fail with ENOSYS. Some functions are actually named
23523 something starting with __ and the normal name is an alias. */
23524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23525 choke me
23526 #else
23527 char (*f) () = $ac_func;
23528 #endif
23529 #ifdef __cplusplus
23531 #endif
23534 main ()
23536 return f != $ac_func;
23538 return 0;
23540 _ACEOF
23541 rm -f conftest.$ac_objext conftest$ac_exeext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23543 (eval $ac_link) 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } &&
23550 { ac_try='test -z "$ac_c_werror_flag"
23551 || test ! -s conftest.err'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23554 ac_status=$?
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; } &&
23557 { ac_try='test -s conftest$ac_exeext'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23560 ac_status=$?
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; }; then
23563 eval "$as_ac_var=yes"
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23568 eval "$as_ac_var=no"
23570 rm -f conftest.err conftest.$ac_objext \
23571 conftest$ac_exeext conftest.$ac_ext
23573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23575 if test `eval echo '${'$as_ac_var'}'` = yes; then
23576 cat >>confdefs.h <<_ACEOF
23577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23578 _ACEOF
23581 done
23583 else
23585 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23586 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23587 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23588 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23589 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23594 ac_ext=cc
23595 ac_cpp='$CXXCPP $CPPFLAGS'
23596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23600 cat >conftest.$ac_ext <<_ACEOF
23601 /* confdefs.h. */
23602 _ACEOF
23603 cat confdefs.h >>conftest.$ac_ext
23604 cat >>conftest.$ac_ext <<_ACEOF
23605 /* end confdefs.h. */
23606 #include <math.h>
23607 #ifdef HAVE_IEEEFP_H
23608 #include <ieeefp.h>
23609 #endif
23612 main ()
23614 _log10l(0);
23616 return 0;
23618 _ACEOF
23619 rm -f conftest.$ac_objext
23620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23621 (eval $ac_compile) 2>conftest.er1
23622 ac_status=$?
23623 grep -v '^ *+' conftest.er1 >conftest.err
23624 rm -f conftest.er1
23625 cat conftest.err >&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } &&
23628 { ac_try='test -z "$ac_cxx_werror_flag"
23629 || test ! -s conftest.err'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try='test -s conftest.$ac_objext'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23638 ac_status=$?
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; }; then
23641 glibcxx_cv_func__log10l_use=yes
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23646 glibcxx_cv_func__log10l_use=no
23648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23649 ac_ext=c
23650 ac_cpp='$CPP $CPPFLAGS'
23651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23660 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23662 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23664 for ac_func in _log10l
23666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23667 echo "$as_me:$LINENO: checking for $ac_func" >&5
23668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23669 if eval "test \"\${$as_ac_var+set}\" = set"; then
23670 echo $ECHO_N "(cached) $ECHO_C" >&6
23671 else
23672 if test x$gcc_no_link = xyes; then
23673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23675 { (exit 1); exit 1; }; }
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23685 #define $ac_func innocuous_$ac_func
23687 /* System header to define __stub macros and hopefully few prototypes,
23688 which can conflict with char $ac_func (); below.
23689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23690 <limits.h> exists even on freestanding compilers. */
23692 #ifdef __STDC__
23693 # include <limits.h>
23694 #else
23695 # include <assert.h>
23696 #endif
23698 #undef $ac_func
23700 /* Override any gcc2 internal prototype to avoid an error. */
23701 #ifdef __cplusplus
23702 extern "C"
23704 #endif
23705 /* We use char because int might match the return type of a gcc2
23706 builtin and then its argument prototype would still apply. */
23707 char $ac_func ();
23708 /* The GNU C library defines this for functions which it implements
23709 to always fail with ENOSYS. Some functions are actually named
23710 something starting with __ and the normal name is an alias. */
23711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23712 choke me
23713 #else
23714 char (*f) () = $ac_func;
23715 #endif
23716 #ifdef __cplusplus
23718 #endif
23721 main ()
23723 return f != $ac_func;
23725 return 0;
23727 _ACEOF
23728 rm -f conftest.$ac_objext conftest$ac_exeext
23729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23730 (eval $ac_link) 2>conftest.er1
23731 ac_status=$?
23732 grep -v '^ *+' conftest.er1 >conftest.err
23733 rm -f conftest.er1
23734 cat conftest.err >&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); } &&
23737 { ac_try='test -z "$ac_c_werror_flag"
23738 || test ! -s conftest.err'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23741 ac_status=$?
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; } &&
23744 { ac_try='test -s conftest$ac_exeext'
23745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23746 (eval $ac_try) 2>&5
23747 ac_status=$?
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); }; }; then
23750 eval "$as_ac_var=yes"
23751 else
23752 echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23755 eval "$as_ac_var=no"
23757 rm -f conftest.err conftest.$ac_objext \
23758 conftest$ac_exeext conftest.$ac_ext
23760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23762 if test `eval echo '${'$as_ac_var'}'` = yes; then
23763 cat >>confdefs.h <<_ACEOF
23764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23765 _ACEOF
23768 done
23778 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23779 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23780 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23781 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23782 echo $ECHO_N "(cached) $ECHO_C" >&6
23783 else
23787 ac_ext=cc
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 cat >conftest.$ac_ext <<_ACEOF
23794 /* confdefs.h. */
23795 _ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799 #include <math.h>
23801 main ()
23803 modfl(0, 0);
23805 return 0;
23807 _ACEOF
23808 rm -f conftest.$ac_objext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23810 (eval $ac_compile) 2>conftest.er1
23811 ac_status=$?
23812 grep -v '^ *+' conftest.er1 >conftest.err
23813 rm -f conftest.er1
23814 cat conftest.err >&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); } &&
23817 { ac_try='test -z "$ac_cxx_werror_flag"
23818 || test ! -s conftest.err'
23819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820 (eval $ac_try) 2>&5
23821 ac_status=$?
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); }; } &&
23824 { ac_try='test -s conftest.$ac_objext'
23825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826 (eval $ac_try) 2>&5
23827 ac_status=$?
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); }; }; then
23830 glibcxx_cv_func_modfl_use=yes
23831 else
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23835 glibcxx_cv_func_modfl_use=no
23837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23838 ac_ext=c
23839 ac_cpp='$CPP $CPPFLAGS'
23840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23849 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23851 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23853 for ac_func in modfl
23855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23856 echo "$as_me:$LINENO: checking for $ac_func" >&5
23857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23858 if eval "test \"\${$as_ac_var+set}\" = set"; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861 if test x$gcc_no_link = xyes; then
23862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23864 { (exit 1); exit 1; }; }
23866 cat >conftest.$ac_ext <<_ACEOF
23867 /* confdefs.h. */
23868 _ACEOF
23869 cat confdefs.h >>conftest.$ac_ext
23870 cat >>conftest.$ac_ext <<_ACEOF
23871 /* end confdefs.h. */
23872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23874 #define $ac_func innocuous_$ac_func
23876 /* System header to define __stub macros and hopefully few prototypes,
23877 which can conflict with char $ac_func (); below.
23878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23879 <limits.h> exists even on freestanding compilers. */
23881 #ifdef __STDC__
23882 # include <limits.h>
23883 #else
23884 # include <assert.h>
23885 #endif
23887 #undef $ac_func
23889 /* Override any gcc2 internal prototype to avoid an error. */
23890 #ifdef __cplusplus
23891 extern "C"
23893 #endif
23894 /* We use char because int might match the return type of a gcc2
23895 builtin and then its argument prototype would still apply. */
23896 char $ac_func ();
23897 /* The GNU C library defines this for functions which it implements
23898 to always fail with ENOSYS. Some functions are actually named
23899 something starting with __ and the normal name is an alias. */
23900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23901 choke me
23902 #else
23903 char (*f) () = $ac_func;
23904 #endif
23905 #ifdef __cplusplus
23907 #endif
23910 main ()
23912 return f != $ac_func;
23914 return 0;
23916 _ACEOF
23917 rm -f conftest.$ac_objext conftest$ac_exeext
23918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23919 (eval $ac_link) 2>conftest.er1
23920 ac_status=$?
23921 grep -v '^ *+' conftest.er1 >conftest.err
23922 rm -f conftest.er1
23923 cat conftest.err >&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try='test -z "$ac_c_werror_flag"
23927 || test ! -s conftest.err'
23928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23929 (eval $ac_try) 2>&5
23930 ac_status=$?
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); }; } &&
23933 { ac_try='test -s conftest$ac_exeext'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23936 ac_status=$?
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; }; then
23939 eval "$as_ac_var=yes"
23940 else
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23944 eval "$as_ac_var=no"
23946 rm -f conftest.err conftest.$ac_objext \
23947 conftest$ac_exeext conftest.$ac_ext
23949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23951 if test `eval echo '${'$as_ac_var'}'` = yes; then
23952 cat >>confdefs.h <<_ACEOF
23953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23954 _ACEOF
23957 done
23959 else
23961 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23962 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23963 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23964 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23965 echo $ECHO_N "(cached) $ECHO_C" >&6
23966 else
23970 ac_ext=cc
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #include <math.h>
23984 main ()
23986 _modfl(0, 0);
23988 return 0;
23990 _ACEOF
23991 rm -f conftest.$ac_objext
23992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23993 (eval $ac_compile) 2>conftest.er1
23994 ac_status=$?
23995 grep -v '^ *+' conftest.er1 >conftest.err
23996 rm -f conftest.er1
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } &&
24000 { ac_try='test -z "$ac_cxx_werror_flag"
24001 || test ! -s conftest.err'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24004 ac_status=$?
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; } &&
24007 { ac_try='test -s conftest.$ac_objext'
24008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24009 (eval $ac_try) 2>&5
24010 ac_status=$?
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); }; }; then
24013 glibcxx_cv_func__modfl_use=yes
24014 else
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.$ac_ext >&5
24018 glibcxx_cv_func__modfl_use=no
24020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24021 ac_ext=c
24022 ac_cpp='$CPP $CPPFLAGS'
24023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24032 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24034 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24036 for ac_func in _modfl
24038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24039 echo "$as_me:$LINENO: checking for $ac_func" >&5
24040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24041 if eval "test \"\${$as_ac_var+set}\" = set"; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044 if test x$gcc_no_link = xyes; then
24045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24047 { (exit 1); exit 1; }; }
24049 cat >conftest.$ac_ext <<_ACEOF
24050 /* confdefs.h. */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24057 #define $ac_func innocuous_$ac_func
24059 /* System header to define __stub macros and hopefully few prototypes,
24060 which can conflict with char $ac_func (); below.
24061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24062 <limits.h> exists even on freestanding compilers. */
24064 #ifdef __STDC__
24065 # include <limits.h>
24066 #else
24067 # include <assert.h>
24068 #endif
24070 #undef $ac_func
24072 /* Override any gcc2 internal prototype to avoid an error. */
24073 #ifdef __cplusplus
24074 extern "C"
24076 #endif
24077 /* We use char because int might match the return type of a gcc2
24078 builtin and then its argument prototype would still apply. */
24079 char $ac_func ();
24080 /* The GNU C library defines this for functions which it implements
24081 to always fail with ENOSYS. Some functions are actually named
24082 something starting with __ and the normal name is an alias. */
24083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24084 choke me
24085 #else
24086 char (*f) () = $ac_func;
24087 #endif
24088 #ifdef __cplusplus
24090 #endif
24093 main ()
24095 return f != $ac_func;
24097 return 0;
24099 _ACEOF
24100 rm -f conftest.$ac_objext conftest$ac_exeext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24102 (eval $ac_link) 2>conftest.er1
24103 ac_status=$?
24104 grep -v '^ *+' conftest.er1 >conftest.err
24105 rm -f conftest.er1
24106 cat conftest.err >&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } &&
24109 { ac_try='test -z "$ac_c_werror_flag"
24110 || test ! -s conftest.err'
24111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24112 (eval $ac_try) 2>&5
24113 ac_status=$?
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); }; } &&
24116 { ac_try='test -s conftest$ac_exeext'
24117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118 (eval $ac_try) 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; }; then
24122 eval "$as_ac_var=yes"
24123 else
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24127 eval "$as_ac_var=no"
24129 rm -f conftest.err conftest.$ac_objext \
24130 conftest$ac_exeext conftest.$ac_ext
24132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24134 if test `eval echo '${'$as_ac_var'}'` = yes; then
24135 cat >>confdefs.h <<_ACEOF
24136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24137 _ACEOF
24140 done
24150 echo "$as_me:$LINENO: checking for powl declaration" >&5
24151 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24152 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24153 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24159 ac_ext=cc
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24165 cat >conftest.$ac_ext <<_ACEOF
24166 /* confdefs.h. */
24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 #include <math.h>
24173 main ()
24175 powl(0, 0);
24177 return 0;
24179 _ACEOF
24180 rm -f conftest.$ac_objext
24181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24182 (eval $ac_compile) 2>conftest.er1
24183 ac_status=$?
24184 grep -v '^ *+' conftest.er1 >conftest.err
24185 rm -f conftest.er1
24186 cat conftest.err >&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } &&
24189 { ac_try='test -z "$ac_cxx_werror_flag"
24190 || test ! -s conftest.err'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; } &&
24196 { ac_try='test -s conftest.$ac_objext'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24199 ac_status=$?
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; }; then
24202 glibcxx_cv_func_powl_use=yes
24203 else
24204 echo "$as_me: failed program was:" >&5
24205 sed 's/^/| /' conftest.$ac_ext >&5
24207 glibcxx_cv_func_powl_use=no
24209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24210 ac_ext=c
24211 ac_cpp='$CPP $CPPFLAGS'
24212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24221 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24223 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24225 for ac_func in powl
24227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24228 echo "$as_me:$LINENO: checking for $ac_func" >&5
24229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24230 if eval "test \"\${$as_ac_var+set}\" = set"; then
24231 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 else
24233 if test x$gcc_no_link = xyes; then
24234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24236 { (exit 1); exit 1; }; }
24238 cat >conftest.$ac_ext <<_ACEOF
24239 /* confdefs.h. */
24240 _ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24246 #define $ac_func innocuous_$ac_func
24248 /* System header to define __stub macros and hopefully few prototypes,
24249 which can conflict with char $ac_func (); below.
24250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24251 <limits.h> exists even on freestanding compilers. */
24253 #ifdef __STDC__
24254 # include <limits.h>
24255 #else
24256 # include <assert.h>
24257 #endif
24259 #undef $ac_func
24261 /* Override any gcc2 internal prototype to avoid an error. */
24262 #ifdef __cplusplus
24263 extern "C"
24265 #endif
24266 /* We use char because int might match the return type of a gcc2
24267 builtin and then its argument prototype would still apply. */
24268 char $ac_func ();
24269 /* The GNU C library defines this for functions which it implements
24270 to always fail with ENOSYS. Some functions are actually named
24271 something starting with __ and the normal name is an alias. */
24272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24273 choke me
24274 #else
24275 char (*f) () = $ac_func;
24276 #endif
24277 #ifdef __cplusplus
24279 #endif
24282 main ()
24284 return f != $ac_func;
24286 return 0;
24288 _ACEOF
24289 rm -f conftest.$ac_objext conftest$ac_exeext
24290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24291 (eval $ac_link) 2>conftest.er1
24292 ac_status=$?
24293 grep -v '^ *+' conftest.er1 >conftest.err
24294 rm -f conftest.er1
24295 cat conftest.err >&5
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); } &&
24298 { ac_try='test -z "$ac_c_werror_flag"
24299 || test ! -s conftest.err'
24300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24301 (eval $ac_try) 2>&5
24302 ac_status=$?
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); }; } &&
24305 { ac_try='test -s conftest$ac_exeext'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24308 ac_status=$?
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; }; then
24311 eval "$as_ac_var=yes"
24312 else
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24316 eval "$as_ac_var=no"
24318 rm -f conftest.err conftest.$ac_objext \
24319 conftest$ac_exeext conftest.$ac_ext
24321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24323 if test `eval echo '${'$as_ac_var'}'` = yes; then
24324 cat >>confdefs.h <<_ACEOF
24325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24326 _ACEOF
24329 done
24331 else
24333 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24334 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24335 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24336 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24337 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 else
24342 ac_ext=cc
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24348 cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h. */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24354 #include <math.h>
24356 main ()
24358 _powl(0, 0);
24360 return 0;
24362 _ACEOF
24363 rm -f conftest.$ac_objext
24364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24365 (eval $ac_compile) 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } &&
24372 { ac_try='test -z "$ac_cxx_werror_flag"
24373 || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try='test -s conftest.$ac_objext'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; }; then
24385 glibcxx_cv_func__powl_use=yes
24386 else
24387 echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.$ac_ext >&5
24390 glibcxx_cv_func__powl_use=no
24392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24393 ac_ext=c
24394 ac_cpp='$CPP $CPPFLAGS'
24395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24404 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24406 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24408 for ac_func in _powl
24410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24411 echo "$as_me:$LINENO: checking for $ac_func" >&5
24412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24413 if eval "test \"\${$as_ac_var+set}\" = set"; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 else
24416 if test x$gcc_no_link = xyes; then
24417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24419 { (exit 1); exit 1; }; }
24421 cat >conftest.$ac_ext <<_ACEOF
24422 /* confdefs.h. */
24423 _ACEOF
24424 cat confdefs.h >>conftest.$ac_ext
24425 cat >>conftest.$ac_ext <<_ACEOF
24426 /* end confdefs.h. */
24427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24429 #define $ac_func innocuous_$ac_func
24431 /* System header to define __stub macros and hopefully few prototypes,
24432 which can conflict with char $ac_func (); below.
24433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24434 <limits.h> exists even on freestanding compilers. */
24436 #ifdef __STDC__
24437 # include <limits.h>
24438 #else
24439 # include <assert.h>
24440 #endif
24442 #undef $ac_func
24444 /* Override any gcc2 internal prototype to avoid an error. */
24445 #ifdef __cplusplus
24446 extern "C"
24448 #endif
24449 /* We use char because int might match the return type of a gcc2
24450 builtin and then its argument prototype would still apply. */
24451 char $ac_func ();
24452 /* The GNU C library defines this for functions which it implements
24453 to always fail with ENOSYS. Some functions are actually named
24454 something starting with __ and the normal name is an alias. */
24455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24456 choke me
24457 #else
24458 char (*f) () = $ac_func;
24459 #endif
24460 #ifdef __cplusplus
24462 #endif
24465 main ()
24467 return f != $ac_func;
24469 return 0;
24471 _ACEOF
24472 rm -f conftest.$ac_objext conftest$ac_exeext
24473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24474 (eval $ac_link) 2>conftest.er1
24475 ac_status=$?
24476 grep -v '^ *+' conftest.er1 >conftest.err
24477 rm -f conftest.er1
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } &&
24481 { ac_try='test -z "$ac_c_werror_flag"
24482 || test ! -s conftest.err'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24485 ac_status=$?
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; } &&
24488 { ac_try='test -s conftest$ac_exeext'
24489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24490 (eval $ac_try) 2>&5
24491 ac_status=$?
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); }; }; then
24494 eval "$as_ac_var=yes"
24495 else
24496 echo "$as_me: failed program was:" >&5
24497 sed 's/^/| /' conftest.$ac_ext >&5
24499 eval "$as_ac_var=no"
24501 rm -f conftest.err conftest.$ac_objext \
24502 conftest$ac_exeext conftest.$ac_ext
24504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24506 if test `eval echo '${'$as_ac_var'}'` = yes; then
24507 cat >>confdefs.h <<_ACEOF
24508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24509 _ACEOF
24512 done
24522 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24523 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24524 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24525 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24526 echo $ECHO_N "(cached) $ECHO_C" >&6
24527 else
24531 ac_ext=cc
24532 ac_cpp='$CXXCPP $CPPFLAGS'
24533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24537 cat >conftest.$ac_ext <<_ACEOF
24538 /* confdefs.h. */
24539 _ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24543 #include <math.h>
24544 #ifdef HAVE_IEEEFP_H
24545 #include <ieeefp.h>
24546 #endif
24549 main ()
24551 sqrtl(0);
24553 return 0;
24555 _ACEOF
24556 rm -f conftest.$ac_objext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24558 (eval $ac_compile) 2>conftest.er1
24559 ac_status=$?
24560 grep -v '^ *+' conftest.er1 >conftest.err
24561 rm -f conftest.er1
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } &&
24565 { ac_try='test -z "$ac_cxx_werror_flag"
24566 || test ! -s conftest.err'
24567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24568 (eval $ac_try) 2>&5
24569 ac_status=$?
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); }; } &&
24572 { ac_try='test -s conftest.$ac_objext'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24575 ac_status=$?
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; }; then
24578 glibcxx_cv_func_sqrtl_use=yes
24579 else
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24583 glibcxx_cv_func_sqrtl_use=no
24585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24597 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24599 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24601 for ac_func in sqrtl
24603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24604 echo "$as_me:$LINENO: checking for $ac_func" >&5
24605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24606 if eval "test \"\${$as_ac_var+set}\" = set"; then
24607 echo $ECHO_N "(cached) $ECHO_C" >&6
24608 else
24609 if test x$gcc_no_link = xyes; then
24610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24612 { (exit 1); exit 1; }; }
24614 cat >conftest.$ac_ext <<_ACEOF
24615 /* confdefs.h. */
24616 _ACEOF
24617 cat confdefs.h >>conftest.$ac_ext
24618 cat >>conftest.$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24622 #define $ac_func innocuous_$ac_func
24624 /* System header to define __stub macros and hopefully few prototypes,
24625 which can conflict with char $ac_func (); below.
24626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24627 <limits.h> exists even on freestanding compilers. */
24629 #ifdef __STDC__
24630 # include <limits.h>
24631 #else
24632 # include <assert.h>
24633 #endif
24635 #undef $ac_func
24637 /* Override any gcc2 internal prototype to avoid an error. */
24638 #ifdef __cplusplus
24639 extern "C"
24641 #endif
24642 /* We use char because int might match the return type of a gcc2
24643 builtin and then its argument prototype would still apply. */
24644 char $ac_func ();
24645 /* The GNU C library defines this for functions which it implements
24646 to always fail with ENOSYS. Some functions are actually named
24647 something starting with __ and the normal name is an alias. */
24648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24649 choke me
24650 #else
24651 char (*f) () = $ac_func;
24652 #endif
24653 #ifdef __cplusplus
24655 #endif
24658 main ()
24660 return f != $ac_func;
24662 return 0;
24664 _ACEOF
24665 rm -f conftest.$ac_objext conftest$ac_exeext
24666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24667 (eval $ac_link) 2>conftest.er1
24668 ac_status=$?
24669 grep -v '^ *+' conftest.er1 >conftest.err
24670 rm -f conftest.er1
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } &&
24674 { ac_try='test -z "$ac_c_werror_flag"
24675 || test ! -s conftest.err'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24678 ac_status=$?
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; } &&
24681 { ac_try='test -s conftest$ac_exeext'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24684 ac_status=$?
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; }; then
24687 eval "$as_ac_var=yes"
24688 else
24689 echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24692 eval "$as_ac_var=no"
24694 rm -f conftest.err conftest.$ac_objext \
24695 conftest$ac_exeext conftest.$ac_ext
24697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24699 if test `eval echo '${'$as_ac_var'}'` = yes; then
24700 cat >>confdefs.h <<_ACEOF
24701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24702 _ACEOF
24705 done
24707 else
24709 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24710 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24711 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24712 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24713 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 else
24718 ac_ext=cc
24719 ac_cpp='$CXXCPP $CPPFLAGS'
24720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24724 cat >conftest.$ac_ext <<_ACEOF
24725 /* confdefs.h. */
24726 _ACEOF
24727 cat confdefs.h >>conftest.$ac_ext
24728 cat >>conftest.$ac_ext <<_ACEOF
24729 /* end confdefs.h. */
24730 #include <math.h>
24731 #ifdef HAVE_IEEEFP_H
24732 #include <ieeefp.h>
24733 #endif
24736 main ()
24738 _sqrtl(0);
24740 return 0;
24742 _ACEOF
24743 rm -f conftest.$ac_objext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24745 (eval $ac_compile) 2>conftest.er1
24746 ac_status=$?
24747 grep -v '^ *+' conftest.er1 >conftest.err
24748 rm -f conftest.er1
24749 cat conftest.err >&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } &&
24752 { ac_try='test -z "$ac_cxx_werror_flag"
24753 || test ! -s conftest.err'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24756 ac_status=$?
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; } &&
24759 { ac_try='test -s conftest.$ac_objext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24762 ac_status=$?
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 glibcxx_cv_func__sqrtl_use=yes
24766 else
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24770 glibcxx_cv_func__sqrtl_use=no
24772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24773 ac_ext=c
24774 ac_cpp='$CPP $CPPFLAGS'
24775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24784 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24786 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24788 for ac_func in _sqrtl
24790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24791 echo "$as_me:$LINENO: checking for $ac_func" >&5
24792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24793 if eval "test \"\${$as_ac_var+set}\" = set"; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 else
24796 if test x$gcc_no_link = xyes; then
24797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24799 { (exit 1); exit 1; }; }
24801 cat >conftest.$ac_ext <<_ACEOF
24802 /* confdefs.h. */
24803 _ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24809 #define $ac_func innocuous_$ac_func
24811 /* System header to define __stub macros and hopefully few prototypes,
24812 which can conflict with char $ac_func (); below.
24813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24814 <limits.h> exists even on freestanding compilers. */
24816 #ifdef __STDC__
24817 # include <limits.h>
24818 #else
24819 # include <assert.h>
24820 #endif
24822 #undef $ac_func
24824 /* Override any gcc2 internal prototype to avoid an error. */
24825 #ifdef __cplusplus
24826 extern "C"
24828 #endif
24829 /* We use char because int might match the return type of a gcc2
24830 builtin and then its argument prototype would still apply. */
24831 char $ac_func ();
24832 /* The GNU C library defines this for functions which it implements
24833 to always fail with ENOSYS. Some functions are actually named
24834 something starting with __ and the normal name is an alias. */
24835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24836 choke me
24837 #else
24838 char (*f) () = $ac_func;
24839 #endif
24840 #ifdef __cplusplus
24842 #endif
24845 main ()
24847 return f != $ac_func;
24849 return 0;
24851 _ACEOF
24852 rm -f conftest.$ac_objext conftest$ac_exeext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24854 (eval $ac_link) 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try='test -z "$ac_c_werror_flag"
24862 || test ! -s conftest.err'
24863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864 (eval $ac_try) 2>&5
24865 ac_status=$?
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); }; } &&
24868 { ac_try='test -s conftest$ac_exeext'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24871 ac_status=$?
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; }; then
24874 eval "$as_ac_var=yes"
24875 else
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.$ac_ext >&5
24879 eval "$as_ac_var=no"
24881 rm -f conftest.err conftest.$ac_objext \
24882 conftest$ac_exeext conftest.$ac_ext
24884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24886 if test `eval echo '${'$as_ac_var'}'` = yes; then
24887 cat >>confdefs.h <<_ACEOF
24888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24889 _ACEOF
24892 done
24902 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24903 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24904 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24905 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24906 echo $ECHO_N "(cached) $ECHO_C" >&6
24907 else
24911 ac_ext=cc
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24917 cat >conftest.$ac_ext <<_ACEOF
24918 /* confdefs.h. */
24919 _ACEOF
24920 cat confdefs.h >>conftest.$ac_ext
24921 cat >>conftest.$ac_ext <<_ACEOF
24922 /* end confdefs.h. */
24923 #include <math.h>
24925 main ()
24927 sincosl(0, 0, 0);
24929 return 0;
24931 _ACEOF
24932 rm -f conftest.$ac_objext
24933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24934 (eval $ac_compile) 2>conftest.er1
24935 ac_status=$?
24936 grep -v '^ *+' conftest.er1 >conftest.err
24937 rm -f conftest.er1
24938 cat conftest.err >&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } &&
24941 { ac_try='test -z "$ac_cxx_werror_flag"
24942 || test ! -s conftest.err'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24945 ac_status=$?
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; } &&
24948 { ac_try='test -s conftest.$ac_objext'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24951 ac_status=$?
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; }; then
24954 glibcxx_cv_func_sincosl_use=yes
24955 else
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.$ac_ext >&5
24959 glibcxx_cv_func_sincosl_use=no
24961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24962 ac_ext=c
24963 ac_cpp='$CPP $CPPFLAGS'
24964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24973 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24975 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24977 for ac_func in sincosl
24979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24980 echo "$as_me:$LINENO: checking for $ac_func" >&5
24981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24982 if eval "test \"\${$as_ac_var+set}\" = set"; then
24983 echo $ECHO_N "(cached) $ECHO_C" >&6
24984 else
24985 if test x$gcc_no_link = xyes; then
24986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24988 { (exit 1); exit 1; }; }
24990 cat >conftest.$ac_ext <<_ACEOF
24991 /* confdefs.h. */
24992 _ACEOF
24993 cat confdefs.h >>conftest.$ac_ext
24994 cat >>conftest.$ac_ext <<_ACEOF
24995 /* end confdefs.h. */
24996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24998 #define $ac_func innocuous_$ac_func
25000 /* System header to define __stub macros and hopefully few prototypes,
25001 which can conflict with char $ac_func (); below.
25002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25003 <limits.h> exists even on freestanding compilers. */
25005 #ifdef __STDC__
25006 # include <limits.h>
25007 #else
25008 # include <assert.h>
25009 #endif
25011 #undef $ac_func
25013 /* Override any gcc2 internal prototype to avoid an error. */
25014 #ifdef __cplusplus
25015 extern "C"
25017 #endif
25018 /* We use char because int might match the return type of a gcc2
25019 builtin and then its argument prototype would still apply. */
25020 char $ac_func ();
25021 /* The GNU C library defines this for functions which it implements
25022 to always fail with ENOSYS. Some functions are actually named
25023 something starting with __ and the normal name is an alias. */
25024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25025 choke me
25026 #else
25027 char (*f) () = $ac_func;
25028 #endif
25029 #ifdef __cplusplus
25031 #endif
25034 main ()
25036 return f != $ac_func;
25038 return 0;
25040 _ACEOF
25041 rm -f conftest.$ac_objext conftest$ac_exeext
25042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25043 (eval $ac_link) 2>conftest.er1
25044 ac_status=$?
25045 grep -v '^ *+' conftest.er1 >conftest.err
25046 rm -f conftest.er1
25047 cat conftest.err >&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } &&
25050 { ac_try='test -z "$ac_c_werror_flag"
25051 || test ! -s conftest.err'
25052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25053 (eval $ac_try) 2>&5
25054 ac_status=$?
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 (exit $ac_status); }; } &&
25057 { ac_try='test -s conftest$ac_exeext'
25058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059 (eval $ac_try) 2>&5
25060 ac_status=$?
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; }; then
25063 eval "$as_ac_var=yes"
25064 else
25065 echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.$ac_ext >&5
25068 eval "$as_ac_var=no"
25070 rm -f conftest.err conftest.$ac_objext \
25071 conftest$ac_exeext conftest.$ac_ext
25073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25075 if test `eval echo '${'$as_ac_var'}'` = yes; then
25076 cat >>confdefs.h <<_ACEOF
25077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25078 _ACEOF
25081 done
25083 else
25085 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25086 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25087 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25088 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25089 echo $ECHO_N "(cached) $ECHO_C" >&6
25090 else
25094 ac_ext=cc
25095 ac_cpp='$CXXCPP $CPPFLAGS'
25096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25100 cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h. */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106 #include <math.h>
25108 main ()
25110 _sincosl(0, 0, 0);
25112 return 0;
25114 _ACEOF
25115 rm -f conftest.$ac_objext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25117 (eval $ac_compile) 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } &&
25124 { ac_try='test -z "$ac_cxx_werror_flag"
25125 || test ! -s conftest.err'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25128 ac_status=$?
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; } &&
25131 { ac_try='test -s conftest.$ac_objext'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25134 ac_status=$?
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; }; then
25137 glibcxx_cv_func__sincosl_use=yes
25138 else
25139 echo "$as_me: failed program was:" >&5
25140 sed 's/^/| /' conftest.$ac_ext >&5
25142 glibcxx_cv_func__sincosl_use=no
25144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25145 ac_ext=c
25146 ac_cpp='$CPP $CPPFLAGS'
25147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25156 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25158 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25160 for ac_func in _sincosl
25162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25163 echo "$as_me:$LINENO: checking for $ac_func" >&5
25164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25165 if eval "test \"\${$as_ac_var+set}\" = set"; then
25166 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 else
25168 if test x$gcc_no_link = xyes; then
25169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25171 { (exit 1); exit 1; }; }
25173 cat >conftest.$ac_ext <<_ACEOF
25174 /* confdefs.h. */
25175 _ACEOF
25176 cat confdefs.h >>conftest.$ac_ext
25177 cat >>conftest.$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25181 #define $ac_func innocuous_$ac_func
25183 /* System header to define __stub macros and hopefully few prototypes,
25184 which can conflict with char $ac_func (); below.
25185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25186 <limits.h> exists even on freestanding compilers. */
25188 #ifdef __STDC__
25189 # include <limits.h>
25190 #else
25191 # include <assert.h>
25192 #endif
25194 #undef $ac_func
25196 /* Override any gcc2 internal prototype to avoid an error. */
25197 #ifdef __cplusplus
25198 extern "C"
25200 #endif
25201 /* We use char because int might match the return type of a gcc2
25202 builtin and then its argument prototype would still apply. */
25203 char $ac_func ();
25204 /* The GNU C library defines this for functions which it implements
25205 to always fail with ENOSYS. Some functions are actually named
25206 something starting with __ and the normal name is an alias. */
25207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25208 choke me
25209 #else
25210 char (*f) () = $ac_func;
25211 #endif
25212 #ifdef __cplusplus
25214 #endif
25217 main ()
25219 return f != $ac_func;
25221 return 0;
25223 _ACEOF
25224 rm -f conftest.$ac_objext conftest$ac_exeext
25225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25226 (eval $ac_link) 2>conftest.er1
25227 ac_status=$?
25228 grep -v '^ *+' conftest.er1 >conftest.err
25229 rm -f conftest.er1
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } &&
25233 { ac_try='test -z "$ac_c_werror_flag"
25234 || test ! -s conftest.err'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; } &&
25240 { ac_try='test -s conftest$ac_exeext'
25241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25242 (eval $ac_try) 2>&5
25243 ac_status=$?
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246 eval "$as_ac_var=yes"
25247 else
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.$ac_ext >&5
25251 eval "$as_ac_var=no"
25253 rm -f conftest.err conftest.$ac_objext \
25254 conftest$ac_exeext conftest.$ac_ext
25256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25258 if test `eval echo '${'$as_ac_var'}'` = yes; then
25259 cat >>confdefs.h <<_ACEOF
25260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25261 _ACEOF
25264 done
25274 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25275 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25276 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25277 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 else
25283 ac_ext=cc
25284 ac_cpp='$CXXCPP $CPPFLAGS'
25285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25289 cat >conftest.$ac_ext <<_ACEOF
25290 /* confdefs.h. */
25291 _ACEOF
25292 cat confdefs.h >>conftest.$ac_ext
25293 cat >>conftest.$ac_ext <<_ACEOF
25294 /* end confdefs.h. */
25295 #include <math.h>
25296 #ifdef HAVE_IEEEFP_H
25297 #include <ieeefp.h>
25298 #endif
25301 main ()
25303 finitel(0);
25305 return 0;
25307 _ACEOF
25308 rm -f conftest.$ac_objext
25309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25310 (eval $ac_compile) 2>conftest.er1
25311 ac_status=$?
25312 grep -v '^ *+' conftest.er1 >conftest.err
25313 rm -f conftest.er1
25314 cat conftest.err >&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } &&
25317 { ac_try='test -z "$ac_cxx_werror_flag"
25318 || test ! -s conftest.err'
25319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25320 (eval $ac_try) 2>&5
25321 ac_status=$?
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); }; } &&
25324 { ac_try='test -s conftest.$ac_objext'
25325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25326 (eval $ac_try) 2>&5
25327 ac_status=$?
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); }; }; then
25330 glibcxx_cv_func_finitel_use=yes
25331 else
25332 echo "$as_me: failed program was:" >&5
25333 sed 's/^/| /' conftest.$ac_ext >&5
25335 glibcxx_cv_func_finitel_use=no
25337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25349 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25351 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25353 for ac_func in finitel
25355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25356 echo "$as_me:$LINENO: checking for $ac_func" >&5
25357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25358 if eval "test \"\${$as_ac_var+set}\" = set"; then
25359 echo $ECHO_N "(cached) $ECHO_C" >&6
25360 else
25361 if test x$gcc_no_link = xyes; then
25362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25364 { (exit 1); exit 1; }; }
25366 cat >conftest.$ac_ext <<_ACEOF
25367 /* confdefs.h. */
25368 _ACEOF
25369 cat confdefs.h >>conftest.$ac_ext
25370 cat >>conftest.$ac_ext <<_ACEOF
25371 /* end confdefs.h. */
25372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25374 #define $ac_func innocuous_$ac_func
25376 /* System header to define __stub macros and hopefully few prototypes,
25377 which can conflict with char $ac_func (); below.
25378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25379 <limits.h> exists even on freestanding compilers. */
25381 #ifdef __STDC__
25382 # include <limits.h>
25383 #else
25384 # include <assert.h>
25385 #endif
25387 #undef $ac_func
25389 /* Override any gcc2 internal prototype to avoid an error. */
25390 #ifdef __cplusplus
25391 extern "C"
25393 #endif
25394 /* We use char because int might match the return type of a gcc2
25395 builtin and then its argument prototype would still apply. */
25396 char $ac_func ();
25397 /* The GNU C library defines this for functions which it implements
25398 to always fail with ENOSYS. Some functions are actually named
25399 something starting with __ and the normal name is an alias. */
25400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25401 choke me
25402 #else
25403 char (*f) () = $ac_func;
25404 #endif
25405 #ifdef __cplusplus
25407 #endif
25410 main ()
25412 return f != $ac_func;
25414 return 0;
25416 _ACEOF
25417 rm -f conftest.$ac_objext conftest$ac_exeext
25418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25419 (eval $ac_link) 2>conftest.er1
25420 ac_status=$?
25421 grep -v '^ *+' conftest.er1 >conftest.err
25422 rm -f conftest.er1
25423 cat conftest.err >&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } &&
25426 { ac_try='test -z "$ac_c_werror_flag"
25427 || test ! -s conftest.err'
25428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429 (eval $ac_try) 2>&5
25430 ac_status=$?
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); }; } &&
25433 { ac_try='test -s conftest$ac_exeext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25436 ac_status=$?
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25439 eval "$as_ac_var=yes"
25440 else
25441 echo "$as_me: failed program was:" >&5
25442 sed 's/^/| /' conftest.$ac_ext >&5
25444 eval "$as_ac_var=no"
25446 rm -f conftest.err conftest.$ac_objext \
25447 conftest$ac_exeext conftest.$ac_ext
25449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25451 if test `eval echo '${'$as_ac_var'}'` = yes; then
25452 cat >>confdefs.h <<_ACEOF
25453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25454 _ACEOF
25457 done
25459 else
25461 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25462 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25463 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25464 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25465 echo $ECHO_N "(cached) $ECHO_C" >&6
25466 else
25470 ac_ext=cc
25471 ac_cpp='$CXXCPP $CPPFLAGS'
25472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25476 cat >conftest.$ac_ext <<_ACEOF
25477 /* confdefs.h. */
25478 _ACEOF
25479 cat confdefs.h >>conftest.$ac_ext
25480 cat >>conftest.$ac_ext <<_ACEOF
25481 /* end confdefs.h. */
25482 #include <math.h>
25483 #ifdef HAVE_IEEEFP_H
25484 #include <ieeefp.h>
25485 #endif
25488 main ()
25490 _finitel(0);
25492 return 0;
25494 _ACEOF
25495 rm -f conftest.$ac_objext
25496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25497 (eval $ac_compile) 2>conftest.er1
25498 ac_status=$?
25499 grep -v '^ *+' conftest.er1 >conftest.err
25500 rm -f conftest.er1
25501 cat conftest.err >&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } &&
25504 { ac_try='test -z "$ac_cxx_werror_flag"
25505 || test ! -s conftest.err'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25508 ac_status=$?
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; } &&
25511 { ac_try='test -s conftest.$ac_objext'
25512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513 (eval $ac_try) 2>&5
25514 ac_status=$?
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); }; }; then
25517 glibcxx_cv_func__finitel_use=yes
25518 else
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25522 glibcxx_cv_func__finitel_use=no
25524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25525 ac_ext=c
25526 ac_cpp='$CPP $CPPFLAGS'
25527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25536 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25538 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25540 for ac_func in _finitel
25542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25543 echo "$as_me:$LINENO: checking for $ac_func" >&5
25544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25545 if eval "test \"\${$as_ac_var+set}\" = set"; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 else
25548 if test x$gcc_no_link = xyes; then
25549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25551 { (exit 1); exit 1; }; }
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h. */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25561 #define $ac_func innocuous_$ac_func
25563 /* System header to define __stub macros and hopefully few prototypes,
25564 which can conflict with char $ac_func (); below.
25565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25566 <limits.h> exists even on freestanding compilers. */
25568 #ifdef __STDC__
25569 # include <limits.h>
25570 #else
25571 # include <assert.h>
25572 #endif
25574 #undef $ac_func
25576 /* Override any gcc2 internal prototype to avoid an error. */
25577 #ifdef __cplusplus
25578 extern "C"
25580 #endif
25581 /* We use char because int might match the return type of a gcc2
25582 builtin and then its argument prototype would still apply. */
25583 char $ac_func ();
25584 /* The GNU C library defines this for functions which it implements
25585 to always fail with ENOSYS. Some functions are actually named
25586 something starting with __ and the normal name is an alias. */
25587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25588 choke me
25589 #else
25590 char (*f) () = $ac_func;
25591 #endif
25592 #ifdef __cplusplus
25594 #endif
25597 main ()
25599 return f != $ac_func;
25601 return 0;
25603 _ACEOF
25604 rm -f conftest.$ac_objext conftest$ac_exeext
25605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25606 (eval $ac_link) 2>conftest.er1
25607 ac_status=$?
25608 grep -v '^ *+' conftest.er1 >conftest.err
25609 rm -f conftest.er1
25610 cat conftest.err >&5
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); } &&
25613 { ac_try='test -z "$ac_c_werror_flag"
25614 || test ! -s conftest.err'
25615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616 (eval $ac_try) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); }; } &&
25620 { ac_try='test -s conftest$ac_exeext'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; }; then
25626 eval "$as_ac_var=yes"
25627 else
25628 echo "$as_me: failed program was:" >&5
25629 sed 's/^/| /' conftest.$ac_ext >&5
25631 eval "$as_ac_var=no"
25633 rm -f conftest.err conftest.$ac_objext \
25634 conftest$ac_exeext conftest.$ac_ext
25636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25638 if test `eval echo '${'$as_ac_var'}'` = yes; then
25639 cat >>confdefs.h <<_ACEOF
25640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25641 _ACEOF
25644 done
25653 LIBS="$ac_save_LIBS"
25654 CXXFLAGS="$ac_save_CXXFLAGS"
25658 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25659 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25660 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25661 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25662 echo $ECHO_N "(cached) $ECHO_C" >&6
25663 else
25667 ac_ext=cc
25668 ac_cpp='$CXXCPP $CPPFLAGS'
25669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25673 cat >conftest.$ac_ext <<_ACEOF
25674 /* confdefs.h. */
25675 _ACEOF
25676 cat confdefs.h >>conftest.$ac_ext
25677 cat >>conftest.$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25679 #include <math.h>
25681 main ()
25683 __builtin_abs(0);
25685 return 0;
25687 _ACEOF
25688 rm -f conftest.$ac_objext
25689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25690 (eval $ac_compile) 2>conftest.er1
25691 ac_status=$?
25692 grep -v '^ *+' conftest.er1 >conftest.err
25693 rm -f conftest.er1
25694 cat conftest.err >&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } &&
25697 { ac_try='test -z "$ac_cxx_werror_flag"
25698 || test ! -s conftest.err'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; } &&
25704 { ac_try='test -s conftest.$ac_objext'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25707 ac_status=$?
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; }; then
25710 glibcxx_cv_func___builtin_abs_use=yes
25711 else
25712 echo "$as_me: failed program was:" >&5
25713 sed 's/^/| /' conftest.$ac_ext >&5
25715 glibcxx_cv_func___builtin_abs_use=no
25717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25728 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25729 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25730 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25731 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25732 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25733 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25734 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25738 if test x$gcc_no_link = xyes; then
25739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25741 { (exit 1); exit 1; }; }
25743 cat >conftest.$ac_ext <<_ACEOF
25744 /* confdefs.h. */
25745 _ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749 #include <math.h>
25751 main ()
25753 __builtin_abs(0);
25755 return 0;
25757 _ACEOF
25758 rm -f conftest.$ac_objext conftest$ac_exeext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25760 (eval $ac_link) 2>conftest.er1
25761 ac_status=$?
25762 grep -v '^ *+' conftest.er1 >conftest.err
25763 rm -f conftest.er1
25764 cat conftest.err >&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); } &&
25767 { ac_try='test -z "$ac_c_werror_flag"
25768 || test ! -s conftest.err'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25771 ac_status=$?
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; } &&
25774 { ac_try='test -s conftest$ac_exeext'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25777 ac_status=$?
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25780 glibcxx_cv_func___builtin_abs_link=yes
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25785 glibcxx_cv_func___builtin_abs_link=no
25787 rm -f conftest.err conftest.$ac_objext \
25788 conftest$ac_exeext conftest.$ac_ext
25793 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25794 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25796 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25798 cat >>confdefs.h <<\_ACEOF
25799 #define HAVE___BUILTIN_ABS 1
25800 _ACEOF
25807 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25808 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25809 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25810 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25816 ac_ext=cc
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822 cat >conftest.$ac_ext <<_ACEOF
25823 /* confdefs.h. */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25828 #include <math.h>
25830 main ()
25832 __builtin_fabsf(0);
25834 return 0;
25836 _ACEOF
25837 rm -f conftest.$ac_objext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25839 (eval $ac_compile) 2>conftest.er1
25840 ac_status=$?
25841 grep -v '^ *+' conftest.er1 >conftest.err
25842 rm -f conftest.er1
25843 cat conftest.err >&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try='test -z "$ac_cxx_werror_flag"
25847 || test ! -s conftest.err'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25850 ac_status=$?
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; } &&
25853 { ac_try='test -s conftest.$ac_objext'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; }; then
25859 glibcxx_cv_func___builtin_fabsf_use=yes
25860 else
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.$ac_ext >&5
25864 glibcxx_cv_func___builtin_fabsf_use=no
25866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25867 ac_ext=c
25868 ac_cpp='$CPP $CPPFLAGS'
25869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25878 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25879 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25880 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25881 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25882 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25883 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25884 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 else
25887 if test x$gcc_no_link = xyes; then
25888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25890 { (exit 1); exit 1; }; }
25892 cat >conftest.$ac_ext <<_ACEOF
25893 /* confdefs.h. */
25894 _ACEOF
25895 cat confdefs.h >>conftest.$ac_ext
25896 cat >>conftest.$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25898 #include <math.h>
25900 main ()
25902 __builtin_fabsf(0);
25904 return 0;
25906 _ACEOF
25907 rm -f conftest.$ac_objext conftest$ac_exeext
25908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25909 (eval $ac_link) 2>conftest.er1
25910 ac_status=$?
25911 grep -v '^ *+' conftest.er1 >conftest.err
25912 rm -f conftest.er1
25913 cat conftest.err >&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); } &&
25916 { ac_try='test -z "$ac_c_werror_flag"
25917 || test ! -s conftest.err'
25918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919 (eval $ac_try) 2>&5
25920 ac_status=$?
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); }; } &&
25923 { ac_try='test -s conftest$ac_exeext'
25924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925 (eval $ac_try) 2>&5
25926 ac_status=$?
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); }; }; then
25929 glibcxx_cv_func___builtin_fabsf_link=yes
25930 else
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.$ac_ext >&5
25934 glibcxx_cv_func___builtin_fabsf_link=no
25936 rm -f conftest.err conftest.$ac_objext \
25937 conftest$ac_exeext conftest.$ac_ext
25942 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25943 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25945 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25947 cat >>confdefs.h <<\_ACEOF
25948 #define HAVE___BUILTIN_FABSF 1
25949 _ACEOF
25956 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25957 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25958 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25959 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25965 ac_ext=cc
25966 ac_cpp='$CXXCPP $CPPFLAGS'
25967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25971 cat >conftest.$ac_ext <<_ACEOF
25972 /* confdefs.h. */
25973 _ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977 #include <math.h>
25979 main ()
25981 __builtin_fabs(0);
25983 return 0;
25985 _ACEOF
25986 rm -f conftest.$ac_objext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25988 (eval $ac_compile) 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try='test -z "$ac_cxx_werror_flag"
25996 || test ! -s conftest.err'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; } &&
26002 { ac_try='test -s conftest.$ac_objext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 glibcxx_cv_func___builtin_fabs_use=yes
26009 else
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.$ac_ext >&5
26013 glibcxx_cv_func___builtin_fabs_use=no
26015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26016 ac_ext=c
26017 ac_cpp='$CPP $CPPFLAGS'
26018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26027 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26028 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26029 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26030 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26031 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26032 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26033 echo $ECHO_N "(cached) $ECHO_C" >&6
26034 else
26036 if test x$gcc_no_link = xyes; then
26037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26039 { (exit 1); exit 1; }; }
26041 cat >conftest.$ac_ext <<_ACEOF
26042 /* confdefs.h. */
26043 _ACEOF
26044 cat confdefs.h >>conftest.$ac_ext
26045 cat >>conftest.$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26047 #include <math.h>
26049 main ()
26051 __builtin_fabs(0);
26053 return 0;
26055 _ACEOF
26056 rm -f conftest.$ac_objext conftest$ac_exeext
26057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26058 (eval $ac_link) 2>conftest.er1
26059 ac_status=$?
26060 grep -v '^ *+' conftest.er1 >conftest.err
26061 rm -f conftest.er1
26062 cat conftest.err >&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } &&
26065 { ac_try='test -z "$ac_c_werror_flag"
26066 || test ! -s conftest.err'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26069 ac_status=$?
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; } &&
26072 { ac_try='test -s conftest$ac_exeext'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26075 ac_status=$?
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; }; then
26078 glibcxx_cv_func___builtin_fabs_link=yes
26079 else
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26083 glibcxx_cv_func___builtin_fabs_link=no
26085 rm -f conftest.err conftest.$ac_objext \
26086 conftest$ac_exeext conftest.$ac_ext
26091 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26092 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26094 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26096 cat >>confdefs.h <<\_ACEOF
26097 #define HAVE___BUILTIN_FABS 1
26098 _ACEOF
26105 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26106 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26107 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26108 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26114 ac_ext=cc
26115 ac_cpp='$CXXCPP $CPPFLAGS'
26116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26120 cat >conftest.$ac_ext <<_ACEOF
26121 /* confdefs.h. */
26122 _ACEOF
26123 cat confdefs.h >>conftest.$ac_ext
26124 cat >>conftest.$ac_ext <<_ACEOF
26125 /* end confdefs.h. */
26126 #include <math.h>
26128 main ()
26130 __builtin_fabsl(0);
26132 return 0;
26134 _ACEOF
26135 rm -f conftest.$ac_objext
26136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26137 (eval $ac_compile) 2>conftest.er1
26138 ac_status=$?
26139 grep -v '^ *+' conftest.er1 >conftest.err
26140 rm -f conftest.er1
26141 cat conftest.err >&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); } &&
26144 { ac_try='test -z "$ac_cxx_werror_flag"
26145 || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26148 ac_status=$?
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try='test -s conftest.$ac_objext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26154 ac_status=$?
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26157 glibcxx_cv_func___builtin_fabsl_use=yes
26158 else
26159 echo "$as_me: failed program was:" >&5
26160 sed 's/^/| /' conftest.$ac_ext >&5
26162 glibcxx_cv_func___builtin_fabsl_use=no
26164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26165 ac_ext=c
26166 ac_cpp='$CPP $CPPFLAGS'
26167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26175 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26176 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26177 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26178 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26179 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26180 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26181 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26182 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 else
26185 if test x$gcc_no_link = xyes; then
26186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26188 { (exit 1); exit 1; }; }
26190 cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h. */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196 #include <math.h>
26198 main ()
26200 __builtin_fabsl(0);
26202 return 0;
26204 _ACEOF
26205 rm -f conftest.$ac_objext conftest$ac_exeext
26206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26207 (eval $ac_link) 2>conftest.er1
26208 ac_status=$?
26209 grep -v '^ *+' conftest.er1 >conftest.err
26210 rm -f conftest.er1
26211 cat conftest.err >&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } &&
26214 { ac_try='test -z "$ac_c_werror_flag"
26215 || test ! -s conftest.err'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; } &&
26221 { ac_try='test -s conftest$ac_exeext'
26222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223 (eval $ac_try) 2>&5
26224 ac_status=$?
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); }; }; then
26227 glibcxx_cv_func___builtin_fabsl_link=yes
26228 else
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26232 glibcxx_cv_func___builtin_fabsl_link=no
26234 rm -f conftest.err conftest.$ac_objext \
26235 conftest$ac_exeext conftest.$ac_ext
26240 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26241 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26243 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define HAVE___BUILTIN_FABSL 1
26247 _ACEOF
26254 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26255 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26256 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26257 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26258 echo $ECHO_N "(cached) $ECHO_C" >&6
26259 else
26263 ac_ext=cc
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275 #include <math.h>
26277 main ()
26279 __builtin_labs(0);
26281 return 0;
26283 _ACEOF
26284 rm -f conftest.$ac_objext
26285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26286 (eval $ac_compile) 2>conftest.er1
26287 ac_status=$?
26288 grep -v '^ *+' conftest.er1 >conftest.err
26289 rm -f conftest.er1
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } &&
26293 { ac_try='test -z "$ac_cxx_werror_flag"
26294 || test ! -s conftest.err'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; } &&
26300 { ac_try='test -s conftest.$ac_objext'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; }; then
26306 glibcxx_cv_func___builtin_labs_use=yes
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26311 glibcxx_cv_func___builtin_labs_use=no
26313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26314 ac_ext=c
26315 ac_cpp='$CPP $CPPFLAGS'
26316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26325 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26326 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26327 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26328 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26329 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26330 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26332 else
26334 if test x$gcc_no_link = xyes; then
26335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26337 { (exit 1); exit 1; }; }
26339 cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h. */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h. */
26345 #include <math.h>
26347 main ()
26349 __builtin_labs(0);
26351 return 0;
26353 _ACEOF
26354 rm -f conftest.$ac_objext conftest$ac_exeext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26356 (eval $ac_link) 2>conftest.er1
26357 ac_status=$?
26358 grep -v '^ *+' conftest.er1 >conftest.err
26359 rm -f conftest.er1
26360 cat conftest.err >&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); } &&
26363 { ac_try='test -z "$ac_c_werror_flag"
26364 || test ! -s conftest.err'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26367 ac_status=$?
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; } &&
26370 { ac_try='test -s conftest$ac_exeext'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26373 ac_status=$?
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; }; then
26376 glibcxx_cv_func___builtin_labs_link=yes
26377 else
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26381 glibcxx_cv_func___builtin_labs_link=no
26383 rm -f conftest.err conftest.$ac_objext \
26384 conftest$ac_exeext conftest.$ac_ext
26389 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26390 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26392 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26394 cat >>confdefs.h <<\_ACEOF
26395 #define HAVE___BUILTIN_LABS 1
26396 _ACEOF
26404 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26405 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26406 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26407 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 else
26413 ac_ext=cc
26414 ac_cpp='$CXXCPP $CPPFLAGS'
26415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425 #include <math.h>
26427 main ()
26429 __builtin_sqrtf(0);
26431 return 0;
26433 _ACEOF
26434 rm -f conftest.$ac_objext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26436 (eval $ac_compile) 2>conftest.er1
26437 ac_status=$?
26438 grep -v '^ *+' conftest.er1 >conftest.err
26439 rm -f conftest.er1
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try='test -z "$ac_cxx_werror_flag"
26444 || test ! -s conftest.err'
26445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446 (eval $ac_try) 2>&5
26447 ac_status=$?
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); }; } &&
26450 { ac_try='test -s conftest.$ac_objext'
26451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26452 (eval $ac_try) 2>&5
26453 ac_status=$?
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); }; }; then
26456 glibcxx_cv_func___builtin_sqrtf_use=yes
26457 else
26458 echo "$as_me: failed program was:" >&5
26459 sed 's/^/| /' conftest.$ac_ext >&5
26461 glibcxx_cv_func___builtin_sqrtf_use=no
26463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26464 ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26476 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26477 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26478 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26479 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26480 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 else
26484 if test x$gcc_no_link = xyes; then
26485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26487 { (exit 1); exit 1; }; }
26489 cat >conftest.$ac_ext <<_ACEOF
26490 /* confdefs.h. */
26491 _ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495 #include <math.h>
26497 main ()
26499 __builtin_sqrtf(0);
26501 return 0;
26503 _ACEOF
26504 rm -f conftest.$ac_objext conftest$ac_exeext
26505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26506 (eval $ac_link) 2>conftest.er1
26507 ac_status=$?
26508 grep -v '^ *+' conftest.er1 >conftest.err
26509 rm -f conftest.er1
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } &&
26513 { ac_try='test -z "$ac_c_werror_flag"
26514 || test ! -s conftest.err'
26515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516 (eval $ac_try) 2>&5
26517 ac_status=$?
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); }; } &&
26520 { ac_try='test -s conftest$ac_exeext'
26521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522 (eval $ac_try) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); }; }; then
26526 glibcxx_cv_func___builtin_sqrtf_link=yes
26527 else
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26531 glibcxx_cv_func___builtin_sqrtf_link=no
26533 rm -f conftest.err conftest.$ac_objext \
26534 conftest$ac_exeext conftest.$ac_ext
26539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26540 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26542 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26544 cat >>confdefs.h <<\_ACEOF
26545 #define HAVE___BUILTIN_SQRTF 1
26546 _ACEOF
26553 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26554 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26555 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26556 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 else
26562 ac_ext=cc
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568 cat >conftest.$ac_ext <<_ACEOF
26569 /* confdefs.h. */
26570 _ACEOF
26571 cat confdefs.h >>conftest.$ac_ext
26572 cat >>conftest.$ac_ext <<_ACEOF
26573 /* end confdefs.h. */
26574 #include <math.h>
26576 main ()
26578 __builtin_sqrt(0);
26580 return 0;
26582 _ACEOF
26583 rm -f conftest.$ac_objext
26584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26585 (eval $ac_compile) 2>conftest.er1
26586 ac_status=$?
26587 grep -v '^ *+' conftest.er1 >conftest.err
26588 rm -f conftest.er1
26589 cat conftest.err >&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } &&
26592 { ac_try='test -z "$ac_cxx_werror_flag"
26593 || test ! -s conftest.err'
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; } &&
26599 { ac_try='test -s conftest.$ac_objext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 glibcxx_cv_func___builtin_sqrt_use=yes
26606 else
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26610 glibcxx_cv_func___builtin_sqrt_use=no
26612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26613 ac_ext=c
26614 ac_cpp='$CPP $CPPFLAGS'
26615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26623 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26625 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26626 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26627 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26628 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26629 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 else
26633 if test x$gcc_no_link = xyes; then
26634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26636 { (exit 1); exit 1; }; }
26638 cat >conftest.$ac_ext <<_ACEOF
26639 /* confdefs.h. */
26640 _ACEOF
26641 cat confdefs.h >>conftest.$ac_ext
26642 cat >>conftest.$ac_ext <<_ACEOF
26643 /* end confdefs.h. */
26644 #include <math.h>
26646 main ()
26648 __builtin_sqrt(0);
26650 return 0;
26652 _ACEOF
26653 rm -f conftest.$ac_objext conftest$ac_exeext
26654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26655 (eval $ac_link) 2>conftest.er1
26656 ac_status=$?
26657 grep -v '^ *+' conftest.er1 >conftest.err
26658 rm -f conftest.er1
26659 cat conftest.err >&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); } &&
26662 { ac_try='test -z "$ac_c_werror_flag"
26663 || test ! -s conftest.err'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26666 ac_status=$?
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; } &&
26669 { ac_try='test -s conftest$ac_exeext'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26672 ac_status=$?
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; }; then
26675 glibcxx_cv_func___builtin_sqrt_link=yes
26676 else
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26680 glibcxx_cv_func___builtin_sqrt_link=no
26682 rm -f conftest.err conftest.$ac_objext \
26683 conftest$ac_exeext conftest.$ac_ext
26688 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26691 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26693 cat >>confdefs.h <<\_ACEOF
26694 #define HAVE___BUILTIN_SQRT 1
26695 _ACEOF
26702 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26703 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26704 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26705 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26706 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 else
26711 ac_ext=cc
26712 ac_cpp='$CXXCPP $CPPFLAGS'
26713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26717 cat >conftest.$ac_ext <<_ACEOF
26718 /* confdefs.h. */
26719 _ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26723 #include <math.h>
26725 main ()
26727 __builtin_sqrtl(0);
26729 return 0;
26731 _ACEOF
26732 rm -f conftest.$ac_objext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26734 (eval $ac_compile) 2>conftest.er1
26735 ac_status=$?
26736 grep -v '^ *+' conftest.er1 >conftest.err
26737 rm -f conftest.er1
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } &&
26741 { ac_try='test -z "$ac_cxx_werror_flag"
26742 || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 glibcxx_cv_func___builtin_sqrtl_use=yes
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26759 glibcxx_cv_func___builtin_sqrtl_use=no
26761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26762 ac_ext=c
26763 ac_cpp='$CPP $CPPFLAGS'
26764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26772 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26773 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26774 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26775 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26776 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26777 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26778 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26779 echo $ECHO_N "(cached) $ECHO_C" >&6
26780 else
26782 if test x$gcc_no_link = xyes; then
26783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26785 { (exit 1); exit 1; }; }
26787 cat >conftest.$ac_ext <<_ACEOF
26788 /* confdefs.h. */
26789 _ACEOF
26790 cat confdefs.h >>conftest.$ac_ext
26791 cat >>conftest.$ac_ext <<_ACEOF
26792 /* end confdefs.h. */
26793 #include <math.h>
26795 main ()
26797 __builtin_sqrtl(0);
26799 return 0;
26801 _ACEOF
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804 (eval $ac_link) 2>conftest.er1
26805 ac_status=$?
26806 grep -v '^ *+' conftest.er1 >conftest.err
26807 rm -f conftest.er1
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_c_werror_flag"
26812 || test ! -s conftest.err'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 glibcxx_cv_func___builtin_sqrtl_link=yes
26825 else
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26829 glibcxx_cv_func___builtin_sqrtl_link=no
26831 rm -f conftest.err conftest.$ac_objext \
26832 conftest$ac_exeext conftest.$ac_ext
26837 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26838 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26840 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26842 cat >>confdefs.h <<\_ACEOF
26843 #define HAVE___BUILTIN_SQRTL 1
26844 _ACEOF
26852 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26853 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26854 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26855 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 else
26861 ac_ext=cc
26862 ac_cpp='$CXXCPP $CPPFLAGS'
26863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26867 cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26873 #include <math.h>
26875 main ()
26877 __builtin_sinf(0);
26879 return 0;
26881 _ACEOF
26882 rm -f conftest.$ac_objext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26884 (eval $ac_compile) 2>conftest.er1
26885 ac_status=$?
26886 grep -v '^ *+' conftest.er1 >conftest.err
26887 rm -f conftest.er1
26888 cat conftest.err >&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try='test -z "$ac_cxx_werror_flag"
26892 || test ! -s conftest.err'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26895 ac_status=$?
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; } &&
26898 { ac_try='test -s conftest.$ac_objext'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26901 ac_status=$?
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); }; }; then
26904 glibcxx_cv_func___builtin_sinf_use=yes
26905 else
26906 echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.$ac_ext >&5
26909 glibcxx_cv_func___builtin_sinf_use=no
26911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26912 ac_ext=c
26913 ac_cpp='$CPP $CPPFLAGS'
26914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26923 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26924 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26925 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26926 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26927 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26928 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26929 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 else
26932 if test x$gcc_no_link = xyes; then
26933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26935 { (exit 1); exit 1; }; }
26937 cat >conftest.$ac_ext <<_ACEOF
26938 /* confdefs.h. */
26939 _ACEOF
26940 cat confdefs.h >>conftest.$ac_ext
26941 cat >>conftest.$ac_ext <<_ACEOF
26942 /* end confdefs.h. */
26943 #include <math.h>
26945 main ()
26947 __builtin_sinf(0);
26949 return 0;
26951 _ACEOF
26952 rm -f conftest.$ac_objext conftest$ac_exeext
26953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26954 (eval $ac_link) 2>conftest.er1
26955 ac_status=$?
26956 grep -v '^ *+' conftest.er1 >conftest.err
26957 rm -f conftest.er1
26958 cat conftest.err >&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } &&
26961 { ac_try='test -z "$ac_c_werror_flag"
26962 || test ! -s conftest.err'
26963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26964 (eval $ac_try) 2>&5
26965 ac_status=$?
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); }; } &&
26968 { ac_try='test -s conftest$ac_exeext'
26969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26970 (eval $ac_try) 2>&5
26971 ac_status=$?
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); }; }; then
26974 glibcxx_cv_func___builtin_sinf_link=yes
26975 else
26976 echo "$as_me: failed program was:" >&5
26977 sed 's/^/| /' conftest.$ac_ext >&5
26979 glibcxx_cv_func___builtin_sinf_link=no
26981 rm -f conftest.err conftest.$ac_objext \
26982 conftest$ac_exeext conftest.$ac_ext
26987 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26988 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26990 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26992 cat >>confdefs.h <<\_ACEOF
26993 #define HAVE___BUILTIN_SINF 1
26994 _ACEOF
27001 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27002 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27003 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27004 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27005 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 else
27010 ac_ext=cc
27011 ac_cpp='$CXXCPP $CPPFLAGS'
27012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27016 cat >conftest.$ac_ext <<_ACEOF
27017 /* confdefs.h. */
27018 _ACEOF
27019 cat confdefs.h >>conftest.$ac_ext
27020 cat >>conftest.$ac_ext <<_ACEOF
27021 /* end confdefs.h. */
27022 #include <math.h>
27024 main ()
27026 __builtin_sin(0);
27028 return 0;
27030 _ACEOF
27031 rm -f conftest.$ac_objext
27032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27033 (eval $ac_compile) 2>conftest.er1
27034 ac_status=$?
27035 grep -v '^ *+' conftest.er1 >conftest.err
27036 rm -f conftest.er1
27037 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } &&
27040 { ac_try='test -z "$ac_cxx_werror_flag"
27041 || test ! -s conftest.err'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27044 ac_status=$?
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; } &&
27047 { ac_try='test -s conftest.$ac_objext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27050 ac_status=$?
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 glibcxx_cv_func___builtin_sin_use=yes
27054 else
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.$ac_ext >&5
27058 glibcxx_cv_func___builtin_sin_use=no
27060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27061 ac_ext=c
27062 ac_cpp='$CPP $CPPFLAGS'
27063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27072 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27073 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27074 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27075 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27076 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27077 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27078 echo $ECHO_N "(cached) $ECHO_C" >&6
27079 else
27081 if test x$gcc_no_link = xyes; then
27082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27084 { (exit 1); exit 1; }; }
27086 cat >conftest.$ac_ext <<_ACEOF
27087 /* confdefs.h. */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <math.h>
27094 main ()
27096 __builtin_sin(0);
27098 return 0;
27100 _ACEOF
27101 rm -f conftest.$ac_objext conftest$ac_exeext
27102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27103 (eval $ac_link) 2>conftest.er1
27104 ac_status=$?
27105 grep -v '^ *+' conftest.er1 >conftest.err
27106 rm -f conftest.er1
27107 cat conftest.err >&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } &&
27110 { ac_try='test -z "$ac_c_werror_flag"
27111 || test ! -s conftest.err'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27114 ac_status=$?
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; } &&
27117 { ac_try='test -s conftest$ac_exeext'
27118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27119 (eval $ac_try) 2>&5
27120 ac_status=$?
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); }; }; then
27123 glibcxx_cv_func___builtin_sin_link=yes
27124 else
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27128 glibcxx_cv_func___builtin_sin_link=no
27130 rm -f conftest.err conftest.$ac_objext \
27131 conftest$ac_exeext conftest.$ac_ext
27136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27137 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27139 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27141 cat >>confdefs.h <<\_ACEOF
27142 #define HAVE___BUILTIN_SIN 1
27143 _ACEOF
27150 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27151 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27152 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27153 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 else
27159 ac_ext=cc
27160 ac_cpp='$CXXCPP $CPPFLAGS'
27161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27165 cat >conftest.$ac_ext <<_ACEOF
27166 /* confdefs.h. */
27167 _ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27171 #include <math.h>
27173 main ()
27175 __builtin_sinl(0);
27177 return 0;
27179 _ACEOF
27180 rm -f conftest.$ac_objext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27182 (eval $ac_compile) 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } &&
27189 { ac_try='test -z "$ac_cxx_werror_flag"
27190 || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try='test -s conftest.$ac_objext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 glibcxx_cv_func___builtin_sinl_use=yes
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27207 glibcxx_cv_func___builtin_sinl_use=no
27209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27210 ac_ext=c
27211 ac_cpp='$CPP $CPPFLAGS'
27212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27220 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27221 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27222 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27223 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27224 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27225 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27226 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 else
27230 if test x$gcc_no_link = xyes; then
27231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27233 { (exit 1); exit 1; }; }
27235 cat >conftest.$ac_ext <<_ACEOF
27236 /* confdefs.h. */
27237 _ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27241 #include <math.h>
27243 main ()
27245 __builtin_sinl(0);
27247 return 0;
27249 _ACEOF
27250 rm -f conftest.$ac_objext conftest$ac_exeext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27252 (eval $ac_link) 2>conftest.er1
27253 ac_status=$?
27254 grep -v '^ *+' conftest.er1 >conftest.err
27255 rm -f conftest.er1
27256 cat conftest.err >&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } &&
27259 { ac_try='test -z "$ac_c_werror_flag"
27260 || test ! -s conftest.err'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27263 ac_status=$?
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; } &&
27266 { ac_try='test -s conftest$ac_exeext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272 glibcxx_cv_func___builtin_sinl_link=yes
27273 else
27274 echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.$ac_ext >&5
27277 glibcxx_cv_func___builtin_sinl_link=no
27279 rm -f conftest.err conftest.$ac_objext \
27280 conftest$ac_exeext conftest.$ac_ext
27285 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27286 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27288 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27290 cat >>confdefs.h <<\_ACEOF
27291 #define HAVE___BUILTIN_SINL 1
27292 _ACEOF
27300 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27301 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27302 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27303 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27304 echo $ECHO_N "(cached) $ECHO_C" >&6
27305 else
27309 ac_ext=cc
27310 ac_cpp='$CXXCPP $CPPFLAGS'
27311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27315 cat >conftest.$ac_ext <<_ACEOF
27316 /* confdefs.h. */
27317 _ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27321 #include <math.h>
27323 main ()
27325 __builtin_cosf(0);
27327 return 0;
27329 _ACEOF
27330 rm -f conftest.$ac_objext
27331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27332 (eval $ac_compile) 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } &&
27339 { ac_try='test -z "$ac_cxx_werror_flag"
27340 || test ! -s conftest.err'
27341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27342 (eval $ac_try) 2>&5
27343 ac_status=$?
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); }; } &&
27346 { ac_try='test -s conftest.$ac_objext'
27347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348 (eval $ac_try) 2>&5
27349 ac_status=$?
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); }; }; then
27352 glibcxx_cv_func___builtin_cosf_use=yes
27353 else
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27357 glibcxx_cv_func___builtin_cosf_use=no
27359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27360 ac_ext=c
27361 ac_cpp='$CPP $CPPFLAGS'
27362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27372 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27373 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27374 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27375 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27376 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27378 else
27380 if test x$gcc_no_link = xyes; then
27381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27383 { (exit 1); exit 1; }; }
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391 #include <math.h>
27393 main ()
27395 __builtin_cosf(0);
27397 return 0;
27399 _ACEOF
27400 rm -f conftest.$ac_objext conftest$ac_exeext
27401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27402 (eval $ac_link) 2>conftest.er1
27403 ac_status=$?
27404 grep -v '^ *+' conftest.er1 >conftest.err
27405 rm -f conftest.er1
27406 cat conftest.err >&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } &&
27409 { ac_try='test -z "$ac_c_werror_flag"
27410 || test ! -s conftest.err'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27413 ac_status=$?
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; } &&
27416 { ac_try='test -s conftest$ac_exeext'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27419 ac_status=$?
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; }; then
27422 glibcxx_cv_func___builtin_cosf_link=yes
27423 else
27424 echo "$as_me: failed program was:" >&5
27425 sed 's/^/| /' conftest.$ac_ext >&5
27427 glibcxx_cv_func___builtin_cosf_link=no
27429 rm -f conftest.err conftest.$ac_objext \
27430 conftest$ac_exeext conftest.$ac_ext
27435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27436 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27438 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27440 cat >>confdefs.h <<\_ACEOF
27441 #define HAVE___BUILTIN_COSF 1
27442 _ACEOF
27449 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27450 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27451 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27452 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 else
27458 ac_ext=cc
27459 ac_cpp='$CXXCPP $CPPFLAGS'
27460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27464 cat >conftest.$ac_ext <<_ACEOF
27465 /* confdefs.h. */
27466 _ACEOF
27467 cat confdefs.h >>conftest.$ac_ext
27468 cat >>conftest.$ac_ext <<_ACEOF
27469 /* end confdefs.h. */
27470 #include <math.h>
27472 main ()
27474 __builtin_cos(0);
27476 return 0;
27478 _ACEOF
27479 rm -f conftest.$ac_objext
27480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27481 (eval $ac_compile) 2>conftest.er1
27482 ac_status=$?
27483 grep -v '^ *+' conftest.er1 >conftest.err
27484 rm -f conftest.er1
27485 cat conftest.err >&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); } &&
27488 { ac_try='test -z "$ac_cxx_werror_flag"
27489 || test ! -s conftest.err'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27492 ac_status=$?
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; } &&
27495 { ac_try='test -s conftest.$ac_objext'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27498 ac_status=$?
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; }; then
27501 glibcxx_cv_func___builtin_cos_use=yes
27502 else
27503 echo "$as_me: failed program was:" >&5
27504 sed 's/^/| /' conftest.$ac_ext >&5
27506 glibcxx_cv_func___builtin_cos_use=no
27508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27509 ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27520 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27521 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27522 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27523 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27524 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27525 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27527 else
27529 if test x$gcc_no_link = xyes; then
27530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27532 { (exit 1); exit 1; }; }
27534 cat >conftest.$ac_ext <<_ACEOF
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540 #include <math.h>
27542 main ()
27544 __builtin_cos(0);
27546 return 0;
27548 _ACEOF
27549 rm -f conftest.$ac_objext conftest$ac_exeext
27550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27551 (eval $ac_link) 2>conftest.er1
27552 ac_status=$?
27553 grep -v '^ *+' conftest.er1 >conftest.err
27554 rm -f conftest.er1
27555 cat conftest.err >&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); } &&
27558 { ac_try='test -z "$ac_c_werror_flag"
27559 || test ! -s conftest.err'
27560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27561 (eval $ac_try) 2>&5
27562 ac_status=$?
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); }; } &&
27565 { ac_try='test -s conftest$ac_exeext'
27566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27567 (eval $ac_try) 2>&5
27568 ac_status=$?
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); }; }; then
27571 glibcxx_cv_func___builtin_cos_link=yes
27572 else
27573 echo "$as_me: failed program was:" >&5
27574 sed 's/^/| /' conftest.$ac_ext >&5
27576 glibcxx_cv_func___builtin_cos_link=no
27578 rm -f conftest.err conftest.$ac_objext \
27579 conftest$ac_exeext conftest.$ac_ext
27584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27585 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27587 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE___BUILTIN_COS 1
27591 _ACEOF
27598 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27599 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27600 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27601 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 else
27607 ac_ext=cc
27608 ac_cpp='$CXXCPP $CPPFLAGS'
27609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27613 cat >conftest.$ac_ext <<_ACEOF
27614 /* confdefs.h. */
27615 _ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27619 #include <math.h>
27621 main ()
27623 __builtin_cosl(0);
27625 return 0;
27627 _ACEOF
27628 rm -f conftest.$ac_objext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27630 (eval $ac_compile) 2>conftest.er1
27631 ac_status=$?
27632 grep -v '^ *+' conftest.er1 >conftest.err
27633 rm -f conftest.er1
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } &&
27637 { ac_try='test -z "$ac_cxx_werror_flag"
27638 || test ! -s conftest.err'
27639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27640 (eval $ac_try) 2>&5
27641 ac_status=$?
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); }; } &&
27644 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
27650 glibcxx_cv_func___builtin_cosl_use=yes
27651 else
27652 echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.$ac_ext >&5
27655 glibcxx_cv_func___builtin_cosl_use=no
27657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27658 ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27668 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27669 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27670 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27671 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27672 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27673 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27674 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27675 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 else
27678 if test x$gcc_no_link = xyes; then
27679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27681 { (exit 1); exit 1; }; }
27683 cat >conftest.$ac_ext <<_ACEOF
27684 /* confdefs.h. */
27685 _ACEOF
27686 cat confdefs.h >>conftest.$ac_ext
27687 cat >>conftest.$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27689 #include <math.h>
27691 main ()
27693 __builtin_cosl(0);
27695 return 0;
27697 _ACEOF
27698 rm -f conftest.$ac_objext conftest$ac_exeext
27699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27700 (eval $ac_link) 2>conftest.er1
27701 ac_status=$?
27702 grep -v '^ *+' conftest.er1 >conftest.err
27703 rm -f conftest.er1
27704 cat conftest.err >&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } &&
27707 { ac_try='test -z "$ac_c_werror_flag"
27708 || test ! -s conftest.err'
27709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27710 (eval $ac_try) 2>&5
27711 ac_status=$?
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); }; } &&
27714 { ac_try='test -s conftest$ac_exeext'
27715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27716 (eval $ac_try) 2>&5
27717 ac_status=$?
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); }; }; then
27720 glibcxx_cv_func___builtin_cosl_link=yes
27721 else
27722 echo "$as_me: failed program was:" >&5
27723 sed 's/^/| /' conftest.$ac_ext >&5
27725 glibcxx_cv_func___builtin_cosl_link=no
27727 rm -f conftest.err conftest.$ac_objext \
27728 conftest$ac_exeext conftest.$ac_ext
27733 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27734 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27736 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27738 cat >>confdefs.h <<\_ACEOF
27739 #define HAVE___BUILTIN_COSL 1
27740 _ACEOF
27749 echo "$as_me:$LINENO: checking for main in -lm" >&5
27750 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27751 if test "${ac_cv_lib_m_main+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754 ac_check_lib_save_LIBS=$LIBS
27755 LIBS="-lm $LIBS"
27756 if test x$gcc_no_link = xyes; then
27757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27759 { (exit 1); exit 1; }; }
27761 cat >conftest.$ac_ext <<_ACEOF
27762 /* confdefs.h. */
27763 _ACEOF
27764 cat confdefs.h >>conftest.$ac_ext
27765 cat >>conftest.$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27770 main ()
27772 main ();
27774 return 0;
27776 _ACEOF
27777 rm -f conftest.$ac_objext conftest$ac_exeext
27778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27779 (eval $ac_link) 2>conftest.er1
27780 ac_status=$?
27781 grep -v '^ *+' conftest.er1 >conftest.err
27782 rm -f conftest.er1
27783 cat conftest.err >&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } &&
27786 { ac_try='test -z "$ac_c_werror_flag"
27787 || test ! -s conftest.err'
27788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27789 (eval $ac_try) 2>&5
27790 ac_status=$?
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); }; } &&
27793 { ac_try='test -s conftest$ac_exeext'
27794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27795 (eval $ac_try) 2>&5
27796 ac_status=$?
27797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798 (exit $ac_status); }; }; then
27799 ac_cv_lib_m_main=yes
27800 else
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27804 ac_cv_lib_m_main=no
27806 rm -f conftest.err conftest.$ac_objext \
27807 conftest$ac_exeext conftest.$ac_ext
27808 LIBS=$ac_check_lib_save_LIBS
27810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27811 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27812 if test $ac_cv_lib_m_main = yes; then
27813 cat >>confdefs.h <<_ACEOF
27814 #define HAVE_LIBM 1
27815 _ACEOF
27817 LIBS="-lm $LIBS"
27822 for ac_func in copysignf
27824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27825 echo "$as_me:$LINENO: checking for $ac_func" >&5
27826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27827 if eval "test \"\${$as_ac_var+set}\" = set"; then
27828 echo $ECHO_N "(cached) $ECHO_C" >&6
27829 else
27830 if test x$gcc_no_link = xyes; then
27831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27833 { (exit 1); exit 1; }; }
27835 cat >conftest.$ac_ext <<_ACEOF
27836 /* confdefs.h. */
27837 _ACEOF
27838 cat confdefs.h >>conftest.$ac_ext
27839 cat >>conftest.$ac_ext <<_ACEOF
27840 /* end confdefs.h. */
27841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27843 #define $ac_func innocuous_$ac_func
27845 /* System header to define __stub macros and hopefully few prototypes,
27846 which can conflict with char $ac_func (); below.
27847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27848 <limits.h> exists even on freestanding compilers. */
27850 #ifdef __STDC__
27851 # include <limits.h>
27852 #else
27853 # include <assert.h>
27854 #endif
27856 #undef $ac_func
27858 /* Override any gcc2 internal prototype to avoid an error. */
27859 #ifdef __cplusplus
27860 extern "C"
27862 #endif
27863 /* We use char because int might match the return type of a gcc2
27864 builtin and then its argument prototype would still apply. */
27865 char $ac_func ();
27866 /* The GNU C library defines this for functions which it implements
27867 to always fail with ENOSYS. Some functions are actually named
27868 something starting with __ and the normal name is an alias. */
27869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27870 choke me
27871 #else
27872 char (*f) () = $ac_func;
27873 #endif
27874 #ifdef __cplusplus
27876 #endif
27879 main ()
27881 return f != $ac_func;
27883 return 0;
27885 _ACEOF
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888 (eval $ac_link) 2>conftest.er1
27889 ac_status=$?
27890 grep -v '^ *+' conftest.er1 >conftest.err
27891 rm -f conftest.er1
27892 cat conftest.err >&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); } &&
27895 { ac_try='test -z "$ac_c_werror_flag"
27896 || test ! -s conftest.err'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; } &&
27902 { ac_try='test -s conftest$ac_exeext'
27903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904 (eval $ac_try) 2>&5
27905 ac_status=$?
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); }; }; then
27908 eval "$as_ac_var=yes"
27909 else
27910 echo "$as_me: failed program was:" >&5
27911 sed 's/^/| /' conftest.$ac_ext >&5
27913 eval "$as_ac_var=no"
27915 rm -f conftest.err conftest.$ac_objext \
27916 conftest$ac_exeext conftest.$ac_ext
27918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27920 if test `eval echo '${'$as_ac_var'}'` = yes; then
27921 cat >>confdefs.h <<_ACEOF
27922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27923 _ACEOF
27925 else
27926 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27928 done
27932 for ac_func in __signbit
27934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27935 echo "$as_me:$LINENO: checking for $ac_func" >&5
27936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27937 if eval "test \"\${$as_ac_var+set}\" = set"; then
27938 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 else
27940 if test x$gcc_no_link = xyes; then
27941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27943 { (exit 1); exit 1; }; }
27945 cat >conftest.$ac_ext <<_ACEOF
27946 /* confdefs.h. */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27953 #define $ac_func innocuous_$ac_func
27955 /* System header to define __stub macros and hopefully few prototypes,
27956 which can conflict with char $ac_func (); below.
27957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27958 <limits.h> exists even on freestanding compilers. */
27960 #ifdef __STDC__
27961 # include <limits.h>
27962 #else
27963 # include <assert.h>
27964 #endif
27966 #undef $ac_func
27968 /* Override any gcc2 internal prototype to avoid an error. */
27969 #ifdef __cplusplus
27970 extern "C"
27972 #endif
27973 /* We use char because int might match the return type of a gcc2
27974 builtin and then its argument prototype would still apply. */
27975 char $ac_func ();
27976 /* The GNU C library defines this for functions which it implements
27977 to always fail with ENOSYS. Some functions are actually named
27978 something starting with __ and the normal name is an alias. */
27979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27980 choke me
27981 #else
27982 char (*f) () = $ac_func;
27983 #endif
27984 #ifdef __cplusplus
27986 #endif
27989 main ()
27991 return f != $ac_func;
27993 return 0;
27995 _ACEOF
27996 rm -f conftest.$ac_objext conftest$ac_exeext
27997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27998 (eval $ac_link) 2>conftest.er1
27999 ac_status=$?
28000 grep -v '^ *+' conftest.er1 >conftest.err
28001 rm -f conftest.er1
28002 cat conftest.err >&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); } &&
28005 { ac_try='test -z "$ac_c_werror_flag"
28006 || test ! -s conftest.err'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; } &&
28012 { ac_try='test -s conftest$ac_exeext'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; }; then
28018 eval "$as_ac_var=yes"
28019 else
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28023 eval "$as_ac_var=no"
28025 rm -f conftest.err conftest.$ac_objext \
28026 conftest$ac_exeext conftest.$ac_ext
28028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28030 if test `eval echo '${'$as_ac_var'}'` = yes; then
28031 cat >>confdefs.h <<_ACEOF
28032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28033 _ACEOF
28035 else
28036 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28038 done
28042 for ac_func in __signbitf
28044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28045 echo "$as_me:$LINENO: checking for $ac_func" >&5
28046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28047 if eval "test \"\${$as_ac_var+set}\" = set"; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28049 else
28050 if test x$gcc_no_link = xyes; then
28051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28053 { (exit 1); exit 1; }; }
28055 cat >conftest.$ac_ext <<_ACEOF
28056 /* confdefs.h. */
28057 _ACEOF
28058 cat confdefs.h >>conftest.$ac_ext
28059 cat >>conftest.$ac_ext <<_ACEOF
28060 /* end confdefs.h. */
28061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28063 #define $ac_func innocuous_$ac_func
28065 /* System header to define __stub macros and hopefully few prototypes,
28066 which can conflict with char $ac_func (); below.
28067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28068 <limits.h> exists even on freestanding compilers. */
28070 #ifdef __STDC__
28071 # include <limits.h>
28072 #else
28073 # include <assert.h>
28074 #endif
28076 #undef $ac_func
28078 /* Override any gcc2 internal prototype to avoid an error. */
28079 #ifdef __cplusplus
28080 extern "C"
28082 #endif
28083 /* We use char because int might match the return type of a gcc2
28084 builtin and then its argument prototype would still apply. */
28085 char $ac_func ();
28086 /* The GNU C library defines this for functions which it implements
28087 to always fail with ENOSYS. Some functions are actually named
28088 something starting with __ and the normal name is an alias. */
28089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28090 choke me
28091 #else
28092 char (*f) () = $ac_func;
28093 #endif
28094 #ifdef __cplusplus
28096 #endif
28099 main ()
28101 return f != $ac_func;
28103 return 0;
28105 _ACEOF
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28108 (eval $ac_link) 2>conftest.er1
28109 ac_status=$?
28110 grep -v '^ *+' conftest.er1 >conftest.err
28111 rm -f conftest.er1
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } &&
28115 { ac_try='test -z "$ac_c_werror_flag"
28116 || test ! -s conftest.err'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28119 ac_status=$?
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; } &&
28122 { ac_try='test -s conftest$ac_exeext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28125 ac_status=$?
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28128 eval "$as_ac_var=yes"
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28133 eval "$as_ac_var=no"
28135 rm -f conftest.err conftest.$ac_objext \
28136 conftest$ac_exeext conftest.$ac_ext
28138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28140 if test `eval echo '${'$as_ac_var'}'` = yes; then
28141 cat >>confdefs.h <<_ACEOF
28142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28143 _ACEOF
28145 else
28146 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28148 done
28151 if test x$ac_cv_func_copysignl = x"yes"; then
28153 for ac_func in __signbitl
28155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156 echo "$as_me:$LINENO: checking for $ac_func" >&5
28157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158 if eval "test \"\${$as_ac_var+set}\" = set"; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28160 else
28161 if test x$gcc_no_link = xyes; then
28162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28164 { (exit 1); exit 1; }; }
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h. */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28174 #define $ac_func innocuous_$ac_func
28176 /* System header to define __stub macros and hopefully few prototypes,
28177 which can conflict with char $ac_func (); below.
28178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28179 <limits.h> exists even on freestanding compilers. */
28181 #ifdef __STDC__
28182 # include <limits.h>
28183 #else
28184 # include <assert.h>
28185 #endif
28187 #undef $ac_func
28189 /* Override any gcc2 internal prototype to avoid an error. */
28190 #ifdef __cplusplus
28191 extern "C"
28193 #endif
28194 /* We use char because int might match the return type of a gcc2
28195 builtin and then its argument prototype would still apply. */
28196 char $ac_func ();
28197 /* The GNU C library defines this for functions which it implements
28198 to always fail with ENOSYS. Some functions are actually named
28199 something starting with __ and the normal name is an alias. */
28200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28201 choke me
28202 #else
28203 char (*f) () = $ac_func;
28204 #endif
28205 #ifdef __cplusplus
28207 #endif
28210 main ()
28212 return f != $ac_func;
28214 return 0;
28216 _ACEOF
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28219 (eval $ac_link) 2>conftest.er1
28220 ac_status=$?
28221 grep -v '^ *+' conftest.er1 >conftest.err
28222 rm -f conftest.er1
28223 cat conftest.err >&5
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); } &&
28226 { ac_try='test -z "$ac_c_werror_flag"
28227 || test ! -s conftest.err'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28230 ac_status=$?
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; } &&
28233 { ac_try='test -s conftest$ac_exeext'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28236 ac_status=$?
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; }; then
28239 eval "$as_ac_var=yes"
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28244 eval "$as_ac_var=no"
28246 rm -f conftest.err conftest.$ac_objext \
28247 conftest$ac_exeext conftest.$ac_ext
28249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28251 if test `eval echo '${'$as_ac_var'}'` = yes; then
28252 cat >>confdefs.h <<_ACEOF
28253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28254 _ACEOF
28256 else
28257 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28259 done
28263 # Used in libmath/Makefile.am.
28264 if test -n "$LIBMATHOBJS"; then
28265 need_libmath=yes
28271 enable_iconv=no
28272 # Only continue checking if the ISO C99 headers exist and support is on.
28273 if test x"$enable_wchar_t" = xyes; then
28275 # Use iconv for wchar_t to char conversions. As such, check for
28276 # X/Open Portability Guide, version 2 features (XPG2).
28277 if test "${ac_cv_header_iconv_h+set}" = set; then
28278 echo "$as_me:$LINENO: checking for iconv.h" >&5
28279 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28280 if test "${ac_cv_header_iconv_h+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28284 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28285 else
28286 # Is the header compilable?
28287 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28288 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28289 cat >conftest.$ac_ext <<_ACEOF
28290 /* confdefs.h. */
28291 _ACEOF
28292 cat confdefs.h >>conftest.$ac_ext
28293 cat >>conftest.$ac_ext <<_ACEOF
28294 /* end confdefs.h. */
28295 $ac_includes_default
28296 #include <iconv.h>
28297 _ACEOF
28298 rm -f conftest.$ac_objext
28299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28300 (eval $ac_compile) 2>conftest.er1
28301 ac_status=$?
28302 grep -v '^ *+' conftest.er1 >conftest.err
28303 rm -f conftest.er1
28304 cat conftest.err >&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); } &&
28307 { ac_try='test -z "$ac_c_werror_flag"
28308 || test ! -s conftest.err'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; } &&
28314 { ac_try='test -s conftest.$ac_objext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 ac_header_compiler=yes
28321 else
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28325 ac_header_compiler=no
28327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28329 echo "${ECHO_T}$ac_header_compiler" >&6
28331 # Is the header present?
28332 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28333 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28334 cat >conftest.$ac_ext <<_ACEOF
28335 /* confdefs.h. */
28336 _ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28340 #include <iconv.h>
28341 _ACEOF
28342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28344 ac_status=$?
28345 grep -v '^ *+' conftest.er1 >conftest.err
28346 rm -f conftest.er1
28347 cat conftest.err >&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } >/dev/null; then
28350 if test -s conftest.err; then
28351 ac_cpp_err=$ac_c_preproc_warn_flag
28352 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28353 else
28354 ac_cpp_err=
28356 else
28357 ac_cpp_err=yes
28359 if test -z "$ac_cpp_err"; then
28360 ac_header_preproc=yes
28361 else
28362 echo "$as_me: failed program was:" >&5
28363 sed 's/^/| /' conftest.$ac_ext >&5
28365 ac_header_preproc=no
28367 rm -f conftest.err conftest.$ac_ext
28368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28369 echo "${ECHO_T}$ac_header_preproc" >&6
28371 # So? What about this header?
28372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28373 yes:no: )
28374 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28375 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28376 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28377 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28378 ac_header_preproc=yes
28380 no:yes:* )
28381 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28382 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28383 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28384 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28385 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28386 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28387 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28388 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28389 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28390 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28391 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28392 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28394 cat <<\_ASBOX
28395 ## ----------------------------------------- ##
28396 ## Report this to the package-unused lists. ##
28397 ## ----------------------------------------- ##
28398 _ASBOX
28400 sed "s/^/$as_me: WARNING: /" >&2
28402 esac
28403 echo "$as_me:$LINENO: checking for iconv.h" >&5
28404 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28405 if test "${ac_cv_header_iconv_h+set}" = set; then
28406 echo $ECHO_N "(cached) $ECHO_C" >&6
28407 else
28408 ac_cv_header_iconv_h=$ac_header_preproc
28410 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28411 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28414 if test $ac_cv_header_iconv_h = yes; then
28415 ac_has_iconv_h=yes
28416 else
28417 ac_has_iconv_h=no
28421 if test "${ac_cv_header_langinfo_h+set}" = set; then
28422 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28423 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28424 if test "${ac_cv_header_langinfo_h+set}" = set; then
28425 echo $ECHO_N "(cached) $ECHO_C" >&6
28427 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28428 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28429 else
28430 # Is the header compilable?
28431 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28432 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28433 cat >conftest.$ac_ext <<_ACEOF
28434 /* confdefs.h. */
28435 _ACEOF
28436 cat confdefs.h >>conftest.$ac_ext
28437 cat >>conftest.$ac_ext <<_ACEOF
28438 /* end confdefs.h. */
28439 $ac_includes_default
28440 #include <langinfo.h>
28441 _ACEOF
28442 rm -f conftest.$ac_objext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28444 (eval $ac_compile) 2>conftest.er1
28445 ac_status=$?
28446 grep -v '^ *+' conftest.er1 >conftest.err
28447 rm -f conftest.er1
28448 cat conftest.err >&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } &&
28451 { ac_try='test -z "$ac_c_werror_flag"
28452 || test ! -s conftest.err'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28455 ac_status=$?
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; } &&
28458 { ac_try='test -s conftest.$ac_objext'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28461 ac_status=$?
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; }; then
28464 ac_header_compiler=yes
28465 else
28466 echo "$as_me: failed program was:" >&5
28467 sed 's/^/| /' conftest.$ac_ext >&5
28469 ac_header_compiler=no
28471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28473 echo "${ECHO_T}$ac_header_compiler" >&6
28475 # Is the header present?
28476 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28477 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28478 cat >conftest.$ac_ext <<_ACEOF
28479 /* confdefs.h. */
28480 _ACEOF
28481 cat confdefs.h >>conftest.$ac_ext
28482 cat >>conftest.$ac_ext <<_ACEOF
28483 /* end confdefs.h. */
28484 #include <langinfo.h>
28485 _ACEOF
28486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28488 ac_status=$?
28489 grep -v '^ *+' conftest.er1 >conftest.err
28490 rm -f conftest.er1
28491 cat conftest.err >&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); } >/dev/null; then
28494 if test -s conftest.err; then
28495 ac_cpp_err=$ac_c_preproc_warn_flag
28496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28497 else
28498 ac_cpp_err=
28500 else
28501 ac_cpp_err=yes
28503 if test -z "$ac_cpp_err"; then
28504 ac_header_preproc=yes
28505 else
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28509 ac_header_preproc=no
28511 rm -f conftest.err conftest.$ac_ext
28512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28513 echo "${ECHO_T}$ac_header_preproc" >&6
28515 # So? What about this header?
28516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28517 yes:no: )
28518 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28519 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28520 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28521 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28522 ac_header_preproc=yes
28524 no:yes:* )
28525 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28526 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28527 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28528 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28529 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28530 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28531 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28532 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28533 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28534 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28535 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28536 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28538 cat <<\_ASBOX
28539 ## ----------------------------------------- ##
28540 ## Report this to the package-unused lists. ##
28541 ## ----------------------------------------- ##
28542 _ASBOX
28544 sed "s/^/$as_me: WARNING: /" >&2
28546 esac
28547 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28548 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28549 if test "${ac_cv_header_langinfo_h+set}" = set; then
28550 echo $ECHO_N "(cached) $ECHO_C" >&6
28551 else
28552 ac_cv_header_langinfo_h=$ac_header_preproc
28554 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28555 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28558 if test $ac_cv_header_langinfo_h = yes; then
28559 ac_has_langinfo_h=yes
28560 else
28561 ac_has_langinfo_h=no
28566 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28567 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28568 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28569 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 else
28572 ac_check_lib_save_LIBS=$LIBS
28573 LIBS="-liconv $LIBS"
28574 if test x$gcc_no_link = xyes; then
28575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28577 { (exit 1); exit 1; }; }
28579 cat >conftest.$ac_ext <<_ACEOF
28580 /* confdefs.h. */
28581 _ACEOF
28582 cat confdefs.h >>conftest.$ac_ext
28583 cat >>conftest.$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28586 /* Override any gcc2 internal prototype to avoid an error. */
28587 #ifdef __cplusplus
28588 extern "C"
28589 #endif
28590 /* We use char because int might match the return type of a gcc2
28591 builtin and then its argument prototype would still apply. */
28592 char iconv ();
28594 main ()
28596 iconv ();
28598 return 0;
28600 _ACEOF
28601 rm -f conftest.$ac_objext conftest$ac_exeext
28602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28603 (eval $ac_link) 2>conftest.er1
28604 ac_status=$?
28605 grep -v '^ *+' conftest.er1 >conftest.err
28606 rm -f conftest.er1
28607 cat conftest.err >&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } &&
28610 { ac_try='test -z "$ac_c_werror_flag"
28611 || test ! -s conftest.err'
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); }; } &&
28617 { ac_try='test -s conftest$ac_exeext'
28618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28619 (eval $ac_try) 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; }; then
28623 ac_cv_lib_iconv_iconv=yes
28624 else
28625 echo "$as_me: failed program was:" >&5
28626 sed 's/^/| /' conftest.$ac_ext >&5
28628 ac_cv_lib_iconv_iconv=no
28630 rm -f conftest.err conftest.$ac_objext \
28631 conftest$ac_exeext conftest.$ac_ext
28632 LIBS=$ac_check_lib_save_LIBS
28634 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28635 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28636 if test $ac_cv_lib_iconv_iconv = yes; then
28637 LIBICONV="-liconv"
28640 ac_save_LIBS="$LIBS"
28641 LIBS="$LIBS $LIBICONV"
28648 for ac_func in iconv_open iconv_close iconv nl_langinfo
28650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28651 echo "$as_me:$LINENO: checking for $ac_func" >&5
28652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28653 if eval "test \"\${$as_ac_var+set}\" = set"; then
28654 echo $ECHO_N "(cached) $ECHO_C" >&6
28655 else
28656 if test x$gcc_no_link = xyes; then
28657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28659 { (exit 1); exit 1; }; }
28661 cat >conftest.$ac_ext <<_ACEOF
28662 /* confdefs.h. */
28663 _ACEOF
28664 cat confdefs.h >>conftest.$ac_ext
28665 cat >>conftest.$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28669 #define $ac_func innocuous_$ac_func
28671 /* System header to define __stub macros and hopefully few prototypes,
28672 which can conflict with char $ac_func (); below.
28673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28674 <limits.h> exists even on freestanding compilers. */
28676 #ifdef __STDC__
28677 # include <limits.h>
28678 #else
28679 # include <assert.h>
28680 #endif
28682 #undef $ac_func
28684 /* Override any gcc2 internal prototype to avoid an error. */
28685 #ifdef __cplusplus
28686 extern "C"
28688 #endif
28689 /* We use char because int might match the return type of a gcc2
28690 builtin and then its argument prototype would still apply. */
28691 char $ac_func ();
28692 /* The GNU C library defines this for functions which it implements
28693 to always fail with ENOSYS. Some functions are actually named
28694 something starting with __ and the normal name is an alias. */
28695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28696 choke me
28697 #else
28698 char (*f) () = $ac_func;
28699 #endif
28700 #ifdef __cplusplus
28702 #endif
28705 main ()
28707 return f != $ac_func;
28709 return 0;
28711 _ACEOF
28712 rm -f conftest.$ac_objext conftest$ac_exeext
28713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28714 (eval $ac_link) 2>conftest.er1
28715 ac_status=$?
28716 grep -v '^ *+' conftest.er1 >conftest.err
28717 rm -f conftest.er1
28718 cat conftest.err >&5
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); } &&
28721 { ac_try='test -z "$ac_c_werror_flag"
28722 || test ! -s conftest.err'
28723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28724 (eval $ac_try) 2>&5
28725 ac_status=$?
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); }; } &&
28728 { ac_try='test -s conftest$ac_exeext'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28731 ac_status=$?
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; }; then
28734 eval "$as_ac_var=yes"
28735 else
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28739 eval "$as_ac_var=no"
28741 rm -f conftest.err conftest.$ac_objext \
28742 conftest$ac_exeext conftest.$ac_ext
28744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28746 if test `eval echo '${'$as_ac_var'}'` = yes; then
28747 cat >>confdefs.h <<_ACEOF
28748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28749 _ACEOF
28750 ac_XPG2funcs=yes
28751 else
28752 ac_XPG2funcs=no
28754 done
28757 LIBS="$ac_save_LIBS"
28759 if test x"$ac_has_iconv_h" = xyes &&
28760 test x"$ac_has_langinfo_h" = xyes &&
28761 test x"$ac_XPG2funcs" = xyes;
28762 then
28764 cat >>confdefs.h <<\_ACEOF
28765 #define _GLIBCXX_USE_ICONV 1
28766 _ACEOF
28768 enable_iconv=yes
28771 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28772 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28773 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28774 echo "${ECHO_T}$enable_iconv" >&6
28777 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28778 ac_save_CXXFLAGS="$CXXFLAGS"
28779 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28782 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28783 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28784 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28785 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28786 echo $ECHO_N "(cached) $ECHO_C" >&6
28787 else
28791 ac_ext=cc
28792 ac_cpp='$CXXCPP $CPPFLAGS'
28793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28797 cat >conftest.$ac_ext <<_ACEOF
28798 /* confdefs.h. */
28799 _ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28803 #include <stdlib.h>
28805 main ()
28807 strtold(0, 0);
28809 return 0;
28811 _ACEOF
28812 rm -f conftest.$ac_objext
28813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28814 (eval $ac_compile) 2>conftest.er1
28815 ac_status=$?
28816 grep -v '^ *+' conftest.er1 >conftest.err
28817 rm -f conftest.er1
28818 cat conftest.err >&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); } &&
28821 { ac_try='test -z "$ac_cxx_werror_flag"
28822 || test ! -s conftest.err'
28823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824 (eval $ac_try) 2>&5
28825 ac_status=$?
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); }; } &&
28828 { ac_try='test -s conftest.$ac_objext'
28829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28830 (eval $ac_try) 2>&5
28831 ac_status=$?
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28834 glibcxx_cv_func_strtold_use=yes
28835 else
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.$ac_ext >&5
28839 glibcxx_cv_func_strtold_use=no
28841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28842 ac_ext=c
28843 ac_cpp='$CPP $CPPFLAGS'
28844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28853 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28854 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28856 for ac_func in strtold
28858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28859 echo "$as_me:$LINENO: checking for $ac_func" >&5
28860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28861 if eval "test \"\${$as_ac_var+set}\" = set"; then
28862 echo $ECHO_N "(cached) $ECHO_C" >&6
28863 else
28864 if test x$gcc_no_link = xyes; then
28865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28867 { (exit 1); exit 1; }; }
28869 cat >conftest.$ac_ext <<_ACEOF
28870 /* confdefs.h. */
28871 _ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28877 #define $ac_func innocuous_$ac_func
28879 /* System header to define __stub macros and hopefully few prototypes,
28880 which can conflict with char $ac_func (); below.
28881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28882 <limits.h> exists even on freestanding compilers. */
28884 #ifdef __STDC__
28885 # include <limits.h>
28886 #else
28887 # include <assert.h>
28888 #endif
28890 #undef $ac_func
28892 /* Override any gcc2 internal prototype to avoid an error. */
28893 #ifdef __cplusplus
28894 extern "C"
28896 #endif
28897 /* We use char because int might match the return type of a gcc2
28898 builtin and then its argument prototype would still apply. */
28899 char $ac_func ();
28900 /* The GNU C library defines this for functions which it implements
28901 to always fail with ENOSYS. Some functions are actually named
28902 something starting with __ and the normal name is an alias. */
28903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28904 choke me
28905 #else
28906 char (*f) () = $ac_func;
28907 #endif
28908 #ifdef __cplusplus
28910 #endif
28913 main ()
28915 return f != $ac_func;
28917 return 0;
28919 _ACEOF
28920 rm -f conftest.$ac_objext conftest$ac_exeext
28921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28922 (eval $ac_link) 2>conftest.er1
28923 ac_status=$?
28924 grep -v '^ *+' conftest.er1 >conftest.err
28925 rm -f conftest.er1
28926 cat conftest.err >&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); } &&
28929 { ac_try='test -z "$ac_c_werror_flag"
28930 || test ! -s conftest.err'
28931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28932 (eval $ac_try) 2>&5
28933 ac_status=$?
28934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935 (exit $ac_status); }; } &&
28936 { ac_try='test -s conftest$ac_exeext'
28937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28938 (eval $ac_try) 2>&5
28939 ac_status=$?
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); }; }; then
28942 eval "$as_ac_var=yes"
28943 else
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28947 eval "$as_ac_var=no"
28949 rm -f conftest.err conftest.$ac_objext \
28950 conftest$ac_exeext conftest.$ac_ext
28952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28954 if test `eval echo '${'$as_ac_var'}'` = yes; then
28955 cat >>confdefs.h <<_ACEOF
28956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28957 _ACEOF
28960 done
28968 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28969 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28970 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28971 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973 else
28977 ac_ext=cc
28978 ac_cpp='$CXXCPP $CPPFLAGS'
28979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989 #include <stdlib.h>
28991 main ()
28993 strtof(0, 0);
28995 return 0;
28997 _ACEOF
28998 rm -f conftest.$ac_objext
28999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29000 (eval $ac_compile) 2>conftest.er1
29001 ac_status=$?
29002 grep -v '^ *+' conftest.er1 >conftest.err
29003 rm -f conftest.er1
29004 cat conftest.err >&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); } &&
29007 { ac_try='test -z "$ac_cxx_werror_flag"
29008 || test ! -s conftest.err'
29009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010 (eval $ac_try) 2>&5
29011 ac_status=$?
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; } &&
29014 { ac_try='test -s conftest.$ac_objext'
29015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016 (eval $ac_try) 2>&5
29017 ac_status=$?
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 glibcxx_cv_func_strtof_use=yes
29021 else
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29025 glibcxx_cv_func_strtof_use=no
29027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29028 ac_ext=c
29029 ac_cpp='$CPP $CPPFLAGS'
29030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29039 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29040 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29042 for ac_func in strtof
29044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29045 echo "$as_me:$LINENO: checking for $ac_func" >&5
29046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29047 if eval "test \"\${$as_ac_var+set}\" = set"; then
29048 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 else
29050 if test x$gcc_no_link = xyes; then
29051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29053 { (exit 1); exit 1; }; }
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29063 #define $ac_func innocuous_$ac_func
29065 /* System header to define __stub macros and hopefully few prototypes,
29066 which can conflict with char $ac_func (); below.
29067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29068 <limits.h> exists even on freestanding compilers. */
29070 #ifdef __STDC__
29071 # include <limits.h>
29072 #else
29073 # include <assert.h>
29074 #endif
29076 #undef $ac_func
29078 /* Override any gcc2 internal prototype to avoid an error. */
29079 #ifdef __cplusplus
29080 extern "C"
29082 #endif
29083 /* We use char because int might match the return type of a gcc2
29084 builtin and then its argument prototype would still apply. */
29085 char $ac_func ();
29086 /* The GNU C library defines this for functions which it implements
29087 to always fail with ENOSYS. Some functions are actually named
29088 something starting with __ and the normal name is an alias. */
29089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29090 choke me
29091 #else
29092 char (*f) () = $ac_func;
29093 #endif
29094 #ifdef __cplusplus
29096 #endif
29099 main ()
29101 return f != $ac_func;
29103 return 0;
29105 _ACEOF
29106 rm -f conftest.$ac_objext conftest$ac_exeext
29107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29108 (eval $ac_link) 2>conftest.er1
29109 ac_status=$?
29110 grep -v '^ *+' conftest.er1 >conftest.err
29111 rm -f conftest.er1
29112 cat conftest.err >&5
29113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114 (exit $ac_status); } &&
29115 { ac_try='test -z "$ac_c_werror_flag"
29116 || test ! -s conftest.err'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29119 ac_status=$?
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; } &&
29122 { ac_try='test -s conftest$ac_exeext'
29123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29124 (eval $ac_try) 2>&5
29125 ac_status=$?
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); }; }; then
29128 eval "$as_ac_var=yes"
29129 else
29130 echo "$as_me: failed program was:" >&5
29131 sed 's/^/| /' conftest.$ac_ext >&5
29133 eval "$as_ac_var=no"
29135 rm -f conftest.err conftest.$ac_objext \
29136 conftest$ac_exeext conftest.$ac_ext
29138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29140 if test `eval echo '${'$as_ac_var'}'` = yes; then
29141 cat >>confdefs.h <<_ACEOF
29142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29143 _ACEOF
29146 done
29154 CXXFLAGS="$ac_save_CXXFLAGS"
29157 # For showmanyc_helper().
29160 for ac_header in sys/ioctl.h sys/filio.h
29162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29164 echo "$as_me:$LINENO: checking for $ac_header" >&5
29165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29167 echo $ECHO_N "(cached) $ECHO_C" >&6
29169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29171 else
29172 # Is the header compilable?
29173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29175 cat >conftest.$ac_ext <<_ACEOF
29176 /* confdefs.h. */
29177 _ACEOF
29178 cat confdefs.h >>conftest.$ac_ext
29179 cat >>conftest.$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29181 $ac_includes_default
29182 #include <$ac_header>
29183 _ACEOF
29184 rm -f conftest.$ac_objext
29185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29186 (eval $ac_compile) 2>conftest.er1
29187 ac_status=$?
29188 grep -v '^ *+' conftest.er1 >conftest.err
29189 rm -f conftest.er1
29190 cat conftest.err >&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); } &&
29193 { ac_try='test -z "$ac_c_werror_flag"
29194 || test ! -s conftest.err'
29195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196 (eval $ac_try) 2>&5
29197 ac_status=$?
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; } &&
29200 { ac_try='test -s conftest.$ac_objext'
29201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 (eval $ac_try) 2>&5
29203 ac_status=$?
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29206 ac_header_compiler=yes
29207 else
29208 echo "$as_me: failed program was:" >&5
29209 sed 's/^/| /' conftest.$ac_ext >&5
29211 ac_header_compiler=no
29213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29215 echo "${ECHO_T}$ac_header_compiler" >&6
29217 # Is the header present?
29218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29220 cat >conftest.$ac_ext <<_ACEOF
29221 /* confdefs.h. */
29222 _ACEOF
29223 cat confdefs.h >>conftest.$ac_ext
29224 cat >>conftest.$ac_ext <<_ACEOF
29225 /* end confdefs.h. */
29226 #include <$ac_header>
29227 _ACEOF
29228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29230 ac_status=$?
29231 grep -v '^ *+' conftest.er1 >conftest.err
29232 rm -f conftest.er1
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } >/dev/null; then
29236 if test -s conftest.err; then
29237 ac_cpp_err=$ac_c_preproc_warn_flag
29238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29239 else
29240 ac_cpp_err=
29242 else
29243 ac_cpp_err=yes
29245 if test -z "$ac_cpp_err"; then
29246 ac_header_preproc=yes
29247 else
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29251 ac_header_preproc=no
29253 rm -f conftest.err conftest.$ac_ext
29254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29255 echo "${ECHO_T}$ac_header_preproc" >&6
29257 # So? What about this header?
29258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29259 yes:no: )
29260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29264 ac_header_preproc=yes
29266 no:yes:* )
29267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29280 cat <<\_ASBOX
29281 ## ----------------------------------------- ##
29282 ## Report this to the package-unused lists. ##
29283 ## ----------------------------------------- ##
29284 _ASBOX
29286 sed "s/^/$as_me: WARNING: /" >&2
29288 esac
29289 echo "$as_me:$LINENO: checking for $ac_header" >&5
29290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29292 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 else
29294 eval "$as_ac_Header=\$ac_header_preproc"
29296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29301 cat >>confdefs.h <<_ACEOF
29302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29303 _ACEOF
29307 done
29310 if test "${glibcxx_cv_POLL+set}" = set; then
29311 echo $ECHO_N "(cached) $ECHO_C" >&6
29312 else
29314 if test x$gcc_no_link = xyes; then
29315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29317 { (exit 1); exit 1; }; }
29319 cat >conftest.$ac_ext <<_ACEOF
29320 /* confdefs.h. */
29321 _ACEOF
29322 cat confdefs.h >>conftest.$ac_ext
29323 cat >>conftest.$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29325 #include <poll.h>
29327 main ()
29329 struct pollfd pfd[1];
29330 pfd[0].events = POLLIN;
29331 poll(pfd, 1, 0);
29333 return 0;
29335 _ACEOF
29336 rm -f conftest.$ac_objext conftest$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>conftest.er1
29339 ac_status=$?
29340 grep -v '^ *+' conftest.er1 >conftest.err
29341 rm -f conftest.er1
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } &&
29345 { ac_try='test -z "$ac_c_werror_flag"
29346 || test ! -s conftest.err'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29349 ac_status=$?
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; } &&
29352 { ac_try='test -s conftest$ac_exeext'
29353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29354 (eval $ac_try) 2>&5
29355 ac_status=$?
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); }; }; then
29358 glibcxx_cv_POLL=yes
29359 else
29360 echo "$as_me: failed program was:" >&5
29361 sed 's/^/| /' conftest.$ac_ext >&5
29363 glibcxx_cv_POLL=no
29365 rm -f conftest.err conftest.$ac_objext \
29366 conftest$ac_exeext conftest.$ac_ext
29370 if test $glibcxx_cv_POLL = yes; then
29372 cat >>confdefs.h <<\_ACEOF
29373 #define HAVE_POLL 1
29374 _ACEOF
29379 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29380 echo $ECHO_N "(cached) $ECHO_C" >&6
29381 else
29383 if test x$gcc_no_link = xyes; then
29384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29386 { (exit 1); exit 1; }; }
29388 cat >conftest.$ac_ext <<_ACEOF
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <sys/stat.h>
29396 main ()
29398 struct stat buffer;
29399 fstat(0, &buffer);
29400 S_ISREG(buffer.st_mode);
29402 return 0;
29404 _ACEOF
29405 rm -f conftest.$ac_objext conftest$ac_exeext
29406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29407 (eval $ac_link) 2>conftest.er1
29408 ac_status=$?
29409 grep -v '^ *+' conftest.er1 >conftest.err
29410 rm -f conftest.er1
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } &&
29414 { ac_try='test -z "$ac_c_werror_flag"
29415 || test ! -s conftest.err'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; } &&
29421 { ac_try='test -s conftest$ac_exeext'
29422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29423 (eval $ac_try) 2>&5
29424 ac_status=$?
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); }; }; then
29427 glibcxx_cv_S_ISREG=yes
29428 else
29429 echo "$as_me: failed program was:" >&5
29430 sed 's/^/| /' conftest.$ac_ext >&5
29432 glibcxx_cv_S_ISREG=no
29434 rm -f conftest.err conftest.$ac_objext \
29435 conftest$ac_exeext conftest.$ac_ext
29439 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 else
29443 if test x$gcc_no_link = xyes; then
29444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29446 { (exit 1); exit 1; }; }
29448 cat >conftest.$ac_ext <<_ACEOF
29449 /* confdefs.h. */
29450 _ACEOF
29451 cat confdefs.h >>conftest.$ac_ext
29452 cat >>conftest.$ac_ext <<_ACEOF
29453 /* end confdefs.h. */
29454 #include <sys/stat.h>
29456 main ()
29458 struct stat buffer;
29459 fstat(0, &buffer);
29460 S_IFREG & buffer.st_mode;
29462 return 0;
29464 _ACEOF
29465 rm -f conftest.$ac_objext conftest$ac_exeext
29466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29467 (eval $ac_link) 2>conftest.er1
29468 ac_status=$?
29469 grep -v '^ *+' conftest.er1 >conftest.err
29470 rm -f conftest.er1
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } &&
29474 { ac_try='test -z "$ac_c_werror_flag"
29475 || test ! -s conftest.err'
29476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29477 (eval $ac_try) 2>&5
29478 ac_status=$?
29479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480 (exit $ac_status); }; } &&
29481 { ac_try='test -s conftest$ac_exeext'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29484 ac_status=$?
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; }; then
29487 glibcxx_cv_S_IFREG=yes
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29492 glibcxx_cv_S_IFREG=no
29494 rm -f conftest.err conftest.$ac_objext \
29495 conftest$ac_exeext conftest.$ac_ext
29499 if test $glibcxx_cv_S_ISREG = yes; then
29501 cat >>confdefs.h <<\_ACEOF
29502 #define HAVE_S_ISREG 1
29503 _ACEOF
29505 elif test $glibcxx_cv_S_IFREG = yes; then
29507 cat >>confdefs.h <<\_ACEOF
29508 #define HAVE_S_IFREG 1
29509 _ACEOF
29514 # For xsputn_2().
29516 for ac_header in sys/uio.h
29518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29520 echo "$as_me:$LINENO: checking for $ac_header" >&5
29521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29527 else
29528 # Is the header compilable?
29529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29537 $ac_includes_default
29538 #include <$ac_header>
29539 _ACEOF
29540 rm -f conftest.$ac_objext
29541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29542 (eval $ac_compile) 2>conftest.er1
29543 ac_status=$?
29544 grep -v '^ *+' conftest.er1 >conftest.err
29545 rm -f conftest.er1
29546 cat conftest.err >&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } &&
29549 { ac_try='test -z "$ac_c_werror_flag"
29550 || test ! -s conftest.err'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29553 ac_status=$?
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; } &&
29556 { ac_try='test -s conftest.$ac_objext'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29559 ac_status=$?
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 ac_header_compiler=yes
29563 else
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29567 ac_header_compiler=no
29569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29571 echo "${ECHO_T}$ac_header_compiler" >&6
29573 # Is the header present?
29574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 #include <$ac_header>
29583 _ACEOF
29584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29586 ac_status=$?
29587 grep -v '^ *+' conftest.er1 >conftest.err
29588 rm -f conftest.er1
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } >/dev/null; then
29592 if test -s conftest.err; then
29593 ac_cpp_err=$ac_c_preproc_warn_flag
29594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29595 else
29596 ac_cpp_err=
29598 else
29599 ac_cpp_err=yes
29601 if test -z "$ac_cpp_err"; then
29602 ac_header_preproc=yes
29603 else
29604 echo "$as_me: failed program was:" >&5
29605 sed 's/^/| /' conftest.$ac_ext >&5
29607 ac_header_preproc=no
29609 rm -f conftest.err conftest.$ac_ext
29610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29611 echo "${ECHO_T}$ac_header_preproc" >&6
29613 # So? What about this header?
29614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29615 yes:no: )
29616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29620 ac_header_preproc=yes
29622 no:yes:* )
29623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29636 cat <<\_ASBOX
29637 ## ----------------------------------------- ##
29638 ## Report this to the package-unused lists. ##
29639 ## ----------------------------------------- ##
29640 _ASBOX
29642 sed "s/^/$as_me: WARNING: /" >&2
29644 esac
29645 echo "$as_me:$LINENO: checking for $ac_header" >&5
29646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29648 echo $ECHO_N "(cached) $ECHO_C" >&6
29649 else
29650 eval "$as_ac_Header=\$ac_header_preproc"
29652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29657 cat >>confdefs.h <<_ACEOF
29658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29659 _ACEOF
29663 done
29666 if test "${glibcxx_cv_WRITEV+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29670 if test x$gcc_no_link = xyes; then
29671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29673 { (exit 1); exit 1; }; }
29675 cat >conftest.$ac_ext <<_ACEOF
29676 /* confdefs.h. */
29677 _ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681 #include <sys/uio.h>
29683 main ()
29685 struct iovec iov[2];
29686 writev(0, iov, 0);
29688 return 0;
29690 _ACEOF
29691 rm -f conftest.$ac_objext conftest$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>conftest.er1
29694 ac_status=$?
29695 grep -v '^ *+' conftest.er1 >conftest.err
29696 rm -f conftest.er1
29697 cat conftest.err >&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try='test -z "$ac_c_werror_flag"
29701 || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29704 ac_status=$?
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try='test -s conftest$ac_exeext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 glibcxx_cv_WRITEV=yes
29714 else
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29718 glibcxx_cv_WRITEV=no
29720 rm -f conftest.err conftest.$ac_objext \
29721 conftest$ac_exeext conftest.$ac_ext
29725 if test $glibcxx_cv_WRITEV = yes; then
29727 cat >>confdefs.h <<\_ACEOF
29728 #define HAVE_WRITEV 1
29729 _ACEOF
29734 # For the __streamoff_base_type typedef.
29736 if test "${glibcxx_cv_INT64_T+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 else
29740 cat >conftest.$ac_ext <<_ACEOF
29741 /* confdefs.h. */
29742 _ACEOF
29743 cat confdefs.h >>conftest.$ac_ext
29744 cat >>conftest.$ac_ext <<_ACEOF
29745 /* end confdefs.h. */
29746 #include <stdint.h>
29748 main ()
29750 int64_t var;
29752 return 0;
29754 _ACEOF
29755 rm -f conftest.$ac_objext
29756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29757 (eval $ac_compile) 2>conftest.er1
29758 ac_status=$?
29759 grep -v '^ *+' conftest.er1 >conftest.err
29760 rm -f conftest.er1
29761 cat conftest.err >&5
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); } &&
29764 { ac_try='test -z "$ac_c_werror_flag"
29765 || test ! -s conftest.err'
29766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29767 (eval $ac_try) 2>&5
29768 ac_status=$?
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); }; } &&
29771 { ac_try='test -s conftest.$ac_objext'
29772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29773 (eval $ac_try) 2>&5
29774 ac_status=$?
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); }; }; then
29777 glibcxx_cv_INT64_T=yes
29778 else
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.$ac_ext >&5
29782 glibcxx_cv_INT64_T=no
29784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29788 if test $glibcxx_cv_INT64_T = yes; then
29790 cat >>confdefs.h <<\_ACEOF
29791 #define HAVE_INT64_T 1
29792 _ACEOF
29797 # For LFS support.
29801 ac_ext=cc
29802 ac_cpp='$CXXCPP $CPPFLAGS'
29803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29807 ac_save_CXXFLAGS="$CXXFLAGS"
29808 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29809 if test "${glibcxx_cv_LFS+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 else
29813 if test x$gcc_no_link = xyes; then
29814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29816 { (exit 1); exit 1; }; }
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 #include <unistd.h>
29825 #include <stdio.h>
29826 #include <sys/stat.h>
29829 main ()
29831 FILE* fp;
29832 fopen64("t", "w");
29833 fseeko64(fp, 0, SEEK_CUR);
29834 ftello64(fp);
29835 lseek64(1, 0, SEEK_CUR);
29836 struct stat64 buf;
29837 fstat64(1, &buf);
29839 return 0;
29841 _ACEOF
29842 rm -f conftest.$ac_objext conftest$ac_exeext
29843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29844 (eval $ac_link) 2>conftest.er1
29845 ac_status=$?
29846 grep -v '^ *+' conftest.er1 >conftest.err
29847 rm -f conftest.er1
29848 cat conftest.err >&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); } &&
29851 { ac_try='test -z "$ac_cxx_werror_flag"
29852 || test ! -s conftest.err'
29853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29854 (eval $ac_try) 2>&5
29855 ac_status=$?
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); }; } &&
29858 { ac_try='test -s conftest$ac_exeext'
29859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860 (eval $ac_try) 2>&5
29861 ac_status=$?
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); }; }; then
29864 glibcxx_cv_LFS=yes
29865 else
29866 echo "$as_me: failed program was:" >&5
29867 sed 's/^/| /' conftest.$ac_ext >&5
29869 glibcxx_cv_LFS=no
29871 rm -f conftest.err conftest.$ac_objext \
29872 conftest$ac_exeext conftest.$ac_ext
29876 if test $glibcxx_cv_LFS = yes; then
29878 cat >>confdefs.h <<\_ACEOF
29879 #define _GLIBCXX_USE_LFS 1
29880 _ACEOF
29883 CXXFLAGS="$ac_save_CXXFLAGS"
29884 ac_ext=c
29885 ac_cpp='$CPP $CPPFLAGS'
29886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29893 if test "${ac_cv_header_locale_h+set}" = set; then
29894 echo "$as_me:$LINENO: checking for locale.h" >&5
29895 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29896 if test "${ac_cv_header_locale_h+set}" = set; then
29897 echo $ECHO_N "(cached) $ECHO_C" >&6
29899 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29900 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29901 else
29902 # Is the header compilable?
29903 echo "$as_me:$LINENO: checking locale.h usability" >&5
29904 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29905 cat >conftest.$ac_ext <<_ACEOF
29906 /* confdefs.h. */
29907 _ACEOF
29908 cat confdefs.h >>conftest.$ac_ext
29909 cat >>conftest.$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29911 $ac_includes_default
29912 #include <locale.h>
29913 _ACEOF
29914 rm -f conftest.$ac_objext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29916 (eval $ac_compile) 2>conftest.er1
29917 ac_status=$?
29918 grep -v '^ *+' conftest.er1 >conftest.err
29919 rm -f conftest.er1
29920 cat conftest.err >&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try='test -z "$ac_c_werror_flag"
29924 || test ! -s conftest.err'
29925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926 (eval $ac_try) 2>&5
29927 ac_status=$?
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); }; } &&
29930 { ac_try='test -s conftest.$ac_objext'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; }; then
29936 ac_header_compiler=yes
29937 else
29938 echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.$ac_ext >&5
29941 ac_header_compiler=no
29943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29945 echo "${ECHO_T}$ac_header_compiler" >&6
29947 # Is the header present?
29948 echo "$as_me:$LINENO: checking locale.h presence" >&5
29949 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h. */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 #include <locale.h>
29957 _ACEOF
29958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29960 ac_status=$?
29961 grep -v '^ *+' conftest.er1 >conftest.err
29962 rm -f conftest.er1
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } >/dev/null; then
29966 if test -s conftest.err; then
29967 ac_cpp_err=$ac_c_preproc_warn_flag
29968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29969 else
29970 ac_cpp_err=
29972 else
29973 ac_cpp_err=yes
29975 if test -z "$ac_cpp_err"; then
29976 ac_header_preproc=yes
29977 else
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29981 ac_header_preproc=no
29983 rm -f conftest.err conftest.$ac_ext
29984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29985 echo "${ECHO_T}$ac_header_preproc" >&6
29987 # So? What about this header?
29988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29989 yes:no: )
29990 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29991 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29992 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29993 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29994 ac_header_preproc=yes
29996 no:yes:* )
29997 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29998 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29999 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30000 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30001 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30002 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30003 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30004 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30005 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30006 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30007 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30008 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30010 cat <<\_ASBOX
30011 ## ----------------------------------------- ##
30012 ## Report this to the package-unused lists. ##
30013 ## ----------------------------------------- ##
30014 _ASBOX
30016 sed "s/^/$as_me: WARNING: /" >&2
30018 esac
30019 echo "$as_me:$LINENO: checking for locale.h" >&5
30020 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30021 if test "${ac_cv_header_locale_h+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 else
30024 ac_cv_header_locale_h=$ac_header_preproc
30026 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30027 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30030 if test $ac_cv_header_locale_h = yes; then
30032 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30033 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30034 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30035 echo $ECHO_N "(cached) $ECHO_C" >&6
30036 else
30037 if test x$gcc_no_link = xyes; then
30038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30040 { (exit 1); exit 1; }; }
30042 cat >conftest.$ac_ext <<_ACEOF
30043 /* confdefs.h. */
30044 _ACEOF
30045 cat confdefs.h >>conftest.$ac_ext
30046 cat >>conftest.$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 #include <locale.h>
30050 main ()
30052 return LC_MESSAGES
30054 return 0;
30056 _ACEOF
30057 rm -f conftest.$ac_objext conftest$ac_exeext
30058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30059 (eval $ac_link) 2>conftest.er1
30060 ac_status=$?
30061 grep -v '^ *+' conftest.er1 >conftest.err
30062 rm -f conftest.er1
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } &&
30066 { ac_try='test -z "$ac_c_werror_flag"
30067 || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30070 ac_status=$?
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try='test -s conftest$ac_exeext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30076 ac_status=$?
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 ac_cv_val_LC_MESSAGES=yes
30080 else
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.$ac_ext >&5
30084 ac_cv_val_LC_MESSAGES=no
30086 rm -f conftest.err conftest.$ac_objext \
30087 conftest$ac_exeext conftest.$ac_ext
30089 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30090 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30091 if test $ac_cv_val_LC_MESSAGES = yes; then
30093 cat >>confdefs.h <<\_ACEOF
30094 #define HAVE_LC_MESSAGES 1
30095 _ACEOF
30104 cat >conftest.$ac_ext <<_ACEOF
30105 /* confdefs.h. */
30106 _ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30110 #include <setjmp.h>
30112 main ()
30114 sigjmp_buf env;
30115 while (! sigsetjmp (env, 1))
30116 siglongjmp (env, 1);
30119 return 0;
30121 _ACEOF
30122 rm -f conftest.$ac_objext
30123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30124 (eval $ac_compile) 2>conftest.er1
30125 ac_status=$?
30126 grep -v '^ *+' conftest.er1 >conftest.err
30127 rm -f conftest.er1
30128 cat conftest.err >&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } &&
30131 { ac_try='test -z "$ac_c_werror_flag"
30132 || test ! -s conftest.err'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; } &&
30138 { ac_try='test -s conftest.$ac_objext'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30141 ac_status=$?
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; }; then
30145 cat >>confdefs.h <<\_ACEOF
30146 #define HAVE_SIGSETJMP 1
30147 _ACEOF
30149 else
30150 echo "$as_me: failed program was:" >&5
30151 sed 's/^/| /' conftest.$ac_ext >&5
30154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30156 if test x$gcc_no_link = xyes; then
30157 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30158 ac_cv_func_mmap_fixed_mapped=no
30161 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30164 for ac_header in stdlib.h unistd.h
30166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30168 echo "$as_me:$LINENO: checking for $ac_header" >&5
30169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30171 echo $ECHO_N "(cached) $ECHO_C" >&6
30173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30175 else
30176 # Is the header compilable?
30177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30179 cat >conftest.$ac_ext <<_ACEOF
30180 /* confdefs.h. */
30181 _ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30185 $ac_includes_default
30186 #include <$ac_header>
30187 _ACEOF
30188 rm -f conftest.$ac_objext
30189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30190 (eval $ac_compile) 2>conftest.er1
30191 ac_status=$?
30192 grep -v '^ *+' conftest.er1 >conftest.err
30193 rm -f conftest.er1
30194 cat conftest.err >&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try='test -z "$ac_c_werror_flag"
30198 || test ! -s conftest.err'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30201 ac_status=$?
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try='test -s conftest.$ac_objext'
30205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30206 (eval $ac_try) 2>&5
30207 ac_status=$?
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); }; }; then
30210 ac_header_compiler=yes
30211 else
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30215 ac_header_compiler=no
30217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30219 echo "${ECHO_T}$ac_header_compiler" >&6
30221 # Is the header present?
30222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30224 cat >conftest.$ac_ext <<_ACEOF
30225 /* confdefs.h. */
30226 _ACEOF
30227 cat confdefs.h >>conftest.$ac_ext
30228 cat >>conftest.$ac_ext <<_ACEOF
30229 /* end confdefs.h. */
30230 #include <$ac_header>
30231 _ACEOF
30232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30234 ac_status=$?
30235 grep -v '^ *+' conftest.er1 >conftest.err
30236 rm -f conftest.er1
30237 cat conftest.err >&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); } >/dev/null; then
30240 if test -s conftest.err; then
30241 ac_cpp_err=$ac_c_preproc_warn_flag
30242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30243 else
30244 ac_cpp_err=
30246 else
30247 ac_cpp_err=yes
30249 if test -z "$ac_cpp_err"; then
30250 ac_header_preproc=yes
30251 else
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30255 ac_header_preproc=no
30257 rm -f conftest.err conftest.$ac_ext
30258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30259 echo "${ECHO_T}$ac_header_preproc" >&6
30261 # So? What about this header?
30262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30263 yes:no: )
30264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30268 ac_header_preproc=yes
30270 no:yes:* )
30271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30284 cat <<\_ASBOX
30285 ## ----------------------------------------- ##
30286 ## Report this to the package-unused lists. ##
30287 ## ----------------------------------------- ##
30288 _ASBOX
30290 sed "s/^/$as_me: WARNING: /" >&2
30292 esac
30293 echo "$as_me:$LINENO: checking for $ac_header" >&5
30294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30297 else
30298 eval "$as_ac_Header=\$ac_header_preproc"
30300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30305 cat >>confdefs.h <<_ACEOF
30306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30307 _ACEOF
30311 done
30314 for ac_func in getpagesize
30316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30317 echo "$as_me:$LINENO: checking for $ac_func" >&5
30318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30319 if eval "test \"\${$as_ac_var+set}\" = set"; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30321 else
30322 if test x$gcc_no_link = xyes; then
30323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30325 { (exit 1); exit 1; }; }
30327 cat >conftest.$ac_ext <<_ACEOF
30328 /* confdefs.h. */
30329 _ACEOF
30330 cat confdefs.h >>conftest.$ac_ext
30331 cat >>conftest.$ac_ext <<_ACEOF
30332 /* end confdefs.h. */
30333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30335 #define $ac_func innocuous_$ac_func
30337 /* System header to define __stub macros and hopefully few prototypes,
30338 which can conflict with char $ac_func (); below.
30339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30340 <limits.h> exists even on freestanding compilers. */
30342 #ifdef __STDC__
30343 # include <limits.h>
30344 #else
30345 # include <assert.h>
30346 #endif
30348 #undef $ac_func
30350 /* Override any gcc2 internal prototype to avoid an error. */
30351 #ifdef __cplusplus
30352 extern "C"
30354 #endif
30355 /* We use char because int might match the return type of a gcc2
30356 builtin and then its argument prototype would still apply. */
30357 char $ac_func ();
30358 /* The GNU C library defines this for functions which it implements
30359 to always fail with ENOSYS. Some functions are actually named
30360 something starting with __ and the normal name is an alias. */
30361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30362 choke me
30363 #else
30364 char (*f) () = $ac_func;
30365 #endif
30366 #ifdef __cplusplus
30368 #endif
30371 main ()
30373 return f != $ac_func;
30375 return 0;
30377 _ACEOF
30378 rm -f conftest.$ac_objext conftest$ac_exeext
30379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30380 (eval $ac_link) 2>conftest.er1
30381 ac_status=$?
30382 grep -v '^ *+' conftest.er1 >conftest.err
30383 rm -f conftest.er1
30384 cat conftest.err >&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); } &&
30387 { ac_try='test -z "$ac_c_werror_flag"
30388 || test ! -s conftest.err'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30391 ac_status=$?
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; } &&
30394 { ac_try='test -s conftest$ac_exeext'
30395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396 (eval $ac_try) 2>&5
30397 ac_status=$?
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; }; then
30400 eval "$as_ac_var=yes"
30401 else
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.$ac_ext >&5
30405 eval "$as_ac_var=no"
30407 rm -f conftest.err conftest.$ac_objext \
30408 conftest$ac_exeext conftest.$ac_ext
30410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30412 if test `eval echo '${'$as_ac_var'}'` = yes; then
30413 cat >>confdefs.h <<_ACEOF
30414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30415 _ACEOF
30418 done
30420 echo "$as_me:$LINENO: checking for working mmap" >&5
30421 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30422 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30423 echo $ECHO_N "(cached) $ECHO_C" >&6
30424 else
30425 if test "$cross_compiling" = yes; then
30426 ac_cv_func_mmap_fixed_mapped=no
30427 else
30428 cat >conftest.$ac_ext <<_ACEOF
30429 /* confdefs.h. */
30430 _ACEOF
30431 cat confdefs.h >>conftest.$ac_ext
30432 cat >>conftest.$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30434 $ac_includes_default
30435 /* malloc might have been renamed as rpl_malloc. */
30436 #undef malloc
30438 /* Thanks to Mike Haertel and Jim Avera for this test.
30439 Here is a matrix of mmap possibilities:
30440 mmap private not fixed
30441 mmap private fixed at somewhere currently unmapped
30442 mmap private fixed at somewhere already mapped
30443 mmap shared not fixed
30444 mmap shared fixed at somewhere currently unmapped
30445 mmap shared fixed at somewhere already mapped
30446 For private mappings, we should verify that changes cannot be read()
30447 back from the file, nor mmap's back from the file at a different
30448 address. (There have been systems where private was not correctly
30449 implemented like the infamous i386 svr4.0, and systems where the
30450 VM page cache was not coherent with the file system buffer cache
30451 like early versions of FreeBSD and possibly contemporary NetBSD.)
30452 For shared mappings, we should conversely verify that changes get
30453 propagated back to all the places they're supposed to be.
30455 Grep wants private fixed already mapped.
30456 The main things grep needs to know about mmap are:
30457 * does it exist and is it safe to write into the mmap'd area
30458 * how to use it (BSD variants) */
30460 #include <fcntl.h>
30461 #include <sys/mman.h>
30463 #if !STDC_HEADERS && !HAVE_STDLIB_H
30464 char *malloc ();
30465 #endif
30467 /* This mess was copied from the GNU getpagesize.h. */
30468 #if !HAVE_GETPAGESIZE
30469 /* Assume that all systems that can run configure have sys/param.h. */
30470 # if !HAVE_SYS_PARAM_H
30471 # define HAVE_SYS_PARAM_H 1
30472 # endif
30474 # ifdef _SC_PAGESIZE
30475 # define getpagesize() sysconf(_SC_PAGESIZE)
30476 # else /* no _SC_PAGESIZE */
30477 # if HAVE_SYS_PARAM_H
30478 # include <sys/param.h>
30479 # ifdef EXEC_PAGESIZE
30480 # define getpagesize() EXEC_PAGESIZE
30481 # else /* no EXEC_PAGESIZE */
30482 # ifdef NBPG
30483 # define getpagesize() NBPG * CLSIZE
30484 # ifndef CLSIZE
30485 # define CLSIZE 1
30486 # endif /* no CLSIZE */
30487 # else /* no NBPG */
30488 # ifdef NBPC
30489 # define getpagesize() NBPC
30490 # else /* no NBPC */
30491 # ifdef PAGESIZE
30492 # define getpagesize() PAGESIZE
30493 # endif /* PAGESIZE */
30494 # endif /* no NBPC */
30495 # endif /* no NBPG */
30496 # endif /* no EXEC_PAGESIZE */
30497 # else /* no HAVE_SYS_PARAM_H */
30498 # define getpagesize() 8192 /* punt totally */
30499 # endif /* no HAVE_SYS_PARAM_H */
30500 # endif /* no _SC_PAGESIZE */
30502 #endif /* no HAVE_GETPAGESIZE */
30505 main ()
30507 char *data, *data2, *data3;
30508 int i, pagesize;
30509 int fd;
30511 pagesize = getpagesize ();
30513 /* First, make a file with some known garbage in it. */
30514 data = (char *) malloc (pagesize);
30515 if (!data)
30516 exit (1);
30517 for (i = 0; i < pagesize; ++i)
30518 *(data + i) = rand ();
30519 umask (0);
30520 fd = creat ("conftest.mmap", 0600);
30521 if (fd < 0)
30522 exit (1);
30523 if (write (fd, data, pagesize) != pagesize)
30524 exit (1);
30525 close (fd);
30527 /* Next, try to mmap the file at a fixed address which already has
30528 something else allocated at it. If we can, also make sure that
30529 we see the same garbage. */
30530 fd = open ("conftest.mmap", O_RDWR);
30531 if (fd < 0)
30532 exit (1);
30533 data2 = (char *) malloc (2 * pagesize);
30534 if (!data2)
30535 exit (1);
30536 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30537 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30538 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30539 exit (1);
30540 for (i = 0; i < pagesize; ++i)
30541 if (*(data + i) != *(data2 + i))
30542 exit (1);
30544 /* Finally, make sure that changes to the mapped area do not
30545 percolate back to the file as seen by read(). (This is a bug on
30546 some variants of i386 svr4.0.) */
30547 for (i = 0; i < pagesize; ++i)
30548 *(data2 + i) = *(data2 + i) + 1;
30549 data3 = (char *) malloc (pagesize);
30550 if (!data3)
30551 exit (1);
30552 if (read (fd, data3, pagesize) != pagesize)
30553 exit (1);
30554 for (i = 0; i < pagesize; ++i)
30555 if (*(data + i) != *(data3 + i))
30556 exit (1);
30557 close (fd);
30558 exit (0);
30560 _ACEOF
30561 rm -f conftest$ac_exeext
30562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30563 (eval $ac_link) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30569 ac_status=$?
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 ac_cv_func_mmap_fixed_mapped=yes
30573 else
30574 echo "$as_me: program exited with status $ac_status" >&5
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.$ac_ext >&5
30578 ( exit $ac_status )
30579 ac_cv_func_mmap_fixed_mapped=no
30581 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30584 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30585 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30586 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30588 cat >>confdefs.h <<\_ACEOF
30589 #define HAVE_MMAP 1
30590 _ACEOF
30593 rm -f conftest.mmap
30597 else
30599 # This lets us hard-code the functionality we know we'll have in the cross
30600 # target environment. "Let" is a sugar-coated word placed on an especially
30601 # dull and tedious hack, actually.
30603 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30604 # that involve linking, can't be used:
30605 # "cannot open sim-crt0.o"
30606 # "cannot open crt0.o"
30607 # etc. All this is because there currently exists no unified, consistent
30608 # way for top level CC information to be passed down to target directories:
30609 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30610 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30611 # crosses can be removed.
30613 # If Canadian cross, then don't pick up tools from the build directory.
30614 # Used only in GLIBCXX_EXPORT_INCLUDES.
30615 if test -n "$with_cross_host" &&
30616 test x"$build_alias" != x"$with_cross_host" &&
30617 test x"$build" != x"$target";
30618 then
30619 CANADIAN=yes
30620 else
30621 CANADIAN=no
30624 # Construct crosses by hand, eliminating bits that need ld...
30625 # GLIBCXX_CHECK_COMPILER_FEATURES
30626 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30627 # GLIBCXX_CHECK_MATH_SUPPORT
30629 # First, test for "known" system libraries. We may be using newlib even
30630 # on a hosted environment.
30631 if test "x${with_newlib}" = "xyes"; then
30632 os_include_dir="os/newlib"
30633 cat >>confdefs.h <<\_ACEOF
30634 #define HAVE_HYPOT 1
30635 _ACEOF
30638 # GLIBCXX_CHECK_STDLIB_SUPPORT
30639 cat >>confdefs.h <<\_ACEOF
30640 #define HAVE_STRTOF 1
30641 _ACEOF
30643 # AC_FUNC_MMAP
30644 cat >>confdefs.h <<\_ACEOF
30645 #define HAVE_MMAP 1
30646 _ACEOF
30649 cat >>confdefs.h <<\_ACEOF
30650 #define HAVE_ACOSF 1
30651 _ACEOF
30653 cat >>confdefs.h <<\_ACEOF
30654 #define HAVE_ASINF 1
30655 _ACEOF
30657 cat >>confdefs.h <<\_ACEOF
30658 #define HAVE_ATAN2F 1
30659 _ACEOF
30661 cat >>confdefs.h <<\_ACEOF
30662 #define HAVE_ATANF 1
30663 _ACEOF
30665 cat >>confdefs.h <<\_ACEOF
30666 #define HAVE_CEILF 1
30667 _ACEOF
30669 cat >>confdefs.h <<\_ACEOF
30670 #define HAVE_COPYSIGN 1
30671 _ACEOF
30673 cat >>confdefs.h <<\_ACEOF
30674 #define HAVE_COPYSIGNF 1
30675 _ACEOF
30677 cat >>confdefs.h <<\_ACEOF
30678 #define HAVE_COSF 1
30679 _ACEOF
30681 cat >>confdefs.h <<\_ACEOF
30682 #define HAVE_COSHF 1
30683 _ACEOF
30685 cat >>confdefs.h <<\_ACEOF
30686 #define HAVE_EXPF 1
30687 _ACEOF
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_FABSF 1
30691 _ACEOF
30693 cat >>confdefs.h <<\_ACEOF
30694 #define HAVE_FLOORF 1
30695 _ACEOF
30697 cat >>confdefs.h <<\_ACEOF
30698 #define HAVE_FMODF 1
30699 _ACEOF
30701 cat >>confdefs.h <<\_ACEOF
30702 #define HAVE_FREXPF 1
30703 _ACEOF
30705 cat >>confdefs.h <<\_ACEOF
30706 #define HAVE_LDEXPF 1
30707 _ACEOF
30709 cat >>confdefs.h <<\_ACEOF
30710 #define HAVE_LOG10F 1
30711 _ACEOF
30713 cat >>confdefs.h <<\_ACEOF
30714 #define HAVE_LOGF 1
30715 _ACEOF
30717 cat >>confdefs.h <<\_ACEOF
30718 #define HAVE_MODFF 1
30719 _ACEOF
30721 cat >>confdefs.h <<\_ACEOF
30722 #define HAVE_POWF 1
30723 _ACEOF
30725 cat >>confdefs.h <<\_ACEOF
30726 #define HAVE_SINF 1
30727 _ACEOF
30729 cat >>confdefs.h <<\_ACEOF
30730 #define HAVE_SINHF 1
30731 _ACEOF
30733 cat >>confdefs.h <<\_ACEOF
30734 #define HAVE_SQRTF 1
30735 _ACEOF
30737 cat >>confdefs.h <<\_ACEOF
30738 #define HAVE_TANF 1
30739 _ACEOF
30741 cat >>confdefs.h <<\_ACEOF
30742 #define HAVE_TANHF 1
30743 _ACEOF
30746 cat >>confdefs.h <<\_ACEOF
30747 #define HAVE_S_ISREG 1
30748 _ACEOF
30750 cat >>confdefs.h <<\_ACEOF
30751 #define HAVE_S_IFREG 1
30752 _ACEOF
30754 else
30756 # Base decisions on target environment.
30757 case "${host}" in
30758 arm*-*-symbianelf*)
30759 # This is a freestanding configuration; there is nothing to do here.
30762 *-darwin*)
30763 # Darwin versions vary, but the linker should work in a cross environment,
30764 # so we just check for all the features here.
30765 # Check for available headers.
30779 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30780 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30781 sys/types.h
30783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30785 echo "$as_me:$LINENO: checking for $ac_header" >&5
30786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30792 else
30793 # Is the header compilable?
30794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30796 cat >conftest.$ac_ext <<_ACEOF
30797 /* confdefs.h. */
30798 _ACEOF
30799 cat confdefs.h >>conftest.$ac_ext
30800 cat >>conftest.$ac_ext <<_ACEOF
30801 /* end confdefs.h. */
30802 $ac_includes_default
30803 #include <$ac_header>
30804 _ACEOF
30805 rm -f conftest.$ac_objext
30806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30807 (eval $ac_compile) 2>conftest.er1
30808 ac_status=$?
30809 grep -v '^ *+' conftest.er1 >conftest.err
30810 rm -f conftest.er1
30811 cat conftest.err >&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); } &&
30814 { ac_try='test -z "$ac_c_werror_flag"
30815 || test ! -s conftest.err'
30816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30817 (eval $ac_try) 2>&5
30818 ac_status=$?
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); }; } &&
30821 { ac_try='test -s conftest.$ac_objext'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30827 ac_header_compiler=yes
30828 else
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.$ac_ext >&5
30832 ac_header_compiler=no
30834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30836 echo "${ECHO_T}$ac_header_compiler" >&6
30838 # Is the header present?
30839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30841 cat >conftest.$ac_ext <<_ACEOF
30842 /* confdefs.h. */
30843 _ACEOF
30844 cat confdefs.h >>conftest.$ac_ext
30845 cat >>conftest.$ac_ext <<_ACEOF
30846 /* end confdefs.h. */
30847 #include <$ac_header>
30848 _ACEOF
30849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30851 ac_status=$?
30852 grep -v '^ *+' conftest.er1 >conftest.err
30853 rm -f conftest.er1
30854 cat conftest.err >&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); } >/dev/null; then
30857 if test -s conftest.err; then
30858 ac_cpp_err=$ac_c_preproc_warn_flag
30859 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30860 else
30861 ac_cpp_err=
30863 else
30864 ac_cpp_err=yes
30866 if test -z "$ac_cpp_err"; then
30867 ac_header_preproc=yes
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30872 ac_header_preproc=no
30874 rm -f conftest.err conftest.$ac_ext
30875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30876 echo "${ECHO_T}$ac_header_preproc" >&6
30878 # So? What about this header?
30879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30880 yes:no: )
30881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30885 ac_header_preproc=yes
30887 no:yes:* )
30888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30901 cat <<\_ASBOX
30902 ## ----------------------------------------- ##
30903 ## Report this to the package-unused lists. ##
30904 ## ----------------------------------------- ##
30905 _ASBOX
30907 sed "s/^/$as_me: WARNING: /" >&2
30909 esac
30910 echo "$as_me:$LINENO: checking for $ac_header" >&5
30911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30913 echo $ECHO_N "(cached) $ECHO_C" >&6
30914 else
30915 eval "$as_ac_Header=\$ac_header_preproc"
30917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30922 cat >>confdefs.h <<_ACEOF
30923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30924 _ACEOF
30928 done
30932 # All these tests are for C++; save the language and the compiler flags.
30933 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30934 # found in GLIBCXX_CONFIGURE.
30937 ac_ext=cc
30938 ac_cpp='$CXXCPP $CPPFLAGS'
30939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30943 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30944 ac_save_CXXFLAGS="$CXXFLAGS"
30946 # Check for maintainer-mode bits.
30947 if test x"$USE_MAINTAINER_MODE" = xno; then
30948 WERROR=''
30949 else
30950 WERROR='-Werror'
30953 # Check for -ffunction-sections -fdata-sections
30954 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30955 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30956 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30957 cat >conftest.$ac_ext <<_ACEOF
30958 /* confdefs.h. */
30959 _ACEOF
30960 cat confdefs.h >>conftest.$ac_ext
30961 cat >>conftest.$ac_ext <<_ACEOF
30962 /* end confdefs.h. */
30965 main ()
30967 int foo;
30969 return 0;
30971 _ACEOF
30972 rm -f conftest.$ac_objext
30973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30974 (eval $ac_compile) 2>conftest.er1
30975 ac_status=$?
30976 grep -v '^ *+' conftest.er1 >conftest.err
30977 rm -f conftest.er1
30978 cat conftest.err >&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); } &&
30981 { ac_try='test -z "$ac_cxx_werror_flag"
30982 || test ! -s conftest.err'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; } &&
30988 { ac_try='test -s conftest.$ac_objext'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30991 ac_status=$?
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994 ac_fdsections=yes
30995 else
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.$ac_ext >&5
30999 ac_fdsections=no
31001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31002 if test "$ac_test_CXXFLAGS" = set; then
31003 CXXFLAGS="$ac_save_CXXFLAGS"
31004 else
31005 # this is the suspicious part
31006 CXXFLAGS=''
31008 if test x"$ac_fdsections" = x"yes"; then
31009 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31011 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31012 echo "${ECHO_T}$ac_fdsections" >&6
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31023 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31025 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31026 ac_save_CXXFLAGS="$CXXFLAGS"
31027 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31029 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31030 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31031 if test "${ac_cv_lib_m_sin+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31033 else
31034 ac_check_lib_save_LIBS=$LIBS
31035 LIBS="-lm $LIBS"
31036 if test x$gcc_no_link = xyes; then
31037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31039 { (exit 1); exit 1; }; }
31041 cat >conftest.$ac_ext <<_ACEOF
31042 /* confdefs.h. */
31043 _ACEOF
31044 cat confdefs.h >>conftest.$ac_ext
31045 cat >>conftest.$ac_ext <<_ACEOF
31046 /* end confdefs.h. */
31048 /* Override any gcc2 internal prototype to avoid an error. */
31049 #ifdef __cplusplus
31050 extern "C"
31051 #endif
31052 /* We use char because int might match the return type of a gcc2
31053 builtin and then its argument prototype would still apply. */
31054 char sin ();
31056 main ()
31058 sin ();
31060 return 0;
31062 _ACEOF
31063 rm -f conftest.$ac_objext conftest$ac_exeext
31064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31065 (eval $ac_link) 2>conftest.er1
31066 ac_status=$?
31067 grep -v '^ *+' conftest.er1 >conftest.err
31068 rm -f conftest.er1
31069 cat conftest.err >&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); } &&
31072 { ac_try='test -z "$ac_c_werror_flag"
31073 || test ! -s conftest.err'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31076 ac_status=$?
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; } &&
31079 { ac_try='test -s conftest$ac_exeext'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31082 ac_status=$?
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; }; then
31085 ac_cv_lib_m_sin=yes
31086 else
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31090 ac_cv_lib_m_sin=no
31092 rm -f conftest.err conftest.$ac_objext \
31093 conftest$ac_exeext conftest.$ac_ext
31094 LIBS=$ac_check_lib_save_LIBS
31096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31097 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31098 if test $ac_cv_lib_m_sin = yes; then
31099 libm="-lm"
31102 ac_save_LIBS="$LIBS"
31103 LIBS="$LIBS $libm"
31107 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31108 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31109 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31110 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31111 echo $ECHO_N "(cached) $ECHO_C" >&6
31112 else
31116 ac_ext=cc
31117 ac_cpp='$CXXCPP $CPPFLAGS'
31118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31122 cat >conftest.$ac_ext <<_ACEOF
31123 /* confdefs.h. */
31124 _ACEOF
31125 cat confdefs.h >>conftest.$ac_ext
31126 cat >>conftest.$ac_ext <<_ACEOF
31127 /* end confdefs.h. */
31128 #include <math.h>
31129 #ifdef HAVE_IEEEFP_H
31130 #include <ieeefp.h>
31131 #endif
31134 main ()
31136 isinf(0);
31138 return 0;
31140 _ACEOF
31141 rm -f conftest.$ac_objext
31142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31143 (eval $ac_compile) 2>conftest.er1
31144 ac_status=$?
31145 grep -v '^ *+' conftest.er1 >conftest.err
31146 rm -f conftest.er1
31147 cat conftest.err >&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); } &&
31150 { ac_try='test -z "$ac_cxx_werror_flag"
31151 || test ! -s conftest.err'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; } &&
31157 { ac_try='test -s conftest.$ac_objext'
31158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31159 (eval $ac_try) 2>&5
31160 ac_status=$?
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; }; then
31163 glibcxx_cv_func_isinf_use=yes
31164 else
31165 echo "$as_me: failed program was:" >&5
31166 sed 's/^/| /' conftest.$ac_ext >&5
31168 glibcxx_cv_func_isinf_use=no
31170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31171 ac_ext=c
31172 ac_cpp='$CPP $CPPFLAGS'
31173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31182 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31184 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31186 for ac_func in isinf
31188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31189 echo "$as_me:$LINENO: checking for $ac_func" >&5
31190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31191 if eval "test \"\${$as_ac_var+set}\" = set"; then
31192 echo $ECHO_N "(cached) $ECHO_C" >&6
31193 else
31194 if test x$gcc_no_link = xyes; then
31195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31197 { (exit 1); exit 1; }; }
31199 cat >conftest.$ac_ext <<_ACEOF
31200 /* confdefs.h. */
31201 _ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31207 #define $ac_func innocuous_$ac_func
31209 /* System header to define __stub macros and hopefully few prototypes,
31210 which can conflict with char $ac_func (); below.
31211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31212 <limits.h> exists even on freestanding compilers. */
31214 #ifdef __STDC__
31215 # include <limits.h>
31216 #else
31217 # include <assert.h>
31218 #endif
31220 #undef $ac_func
31222 /* Override any gcc2 internal prototype to avoid an error. */
31223 #ifdef __cplusplus
31224 extern "C"
31226 #endif
31227 /* We use char because int might match the return type of a gcc2
31228 builtin and then its argument prototype would still apply. */
31229 char $ac_func ();
31230 /* The GNU C library defines this for functions which it implements
31231 to always fail with ENOSYS. Some functions are actually named
31232 something starting with __ and the normal name is an alias. */
31233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31234 choke me
31235 #else
31236 char (*f) () = $ac_func;
31237 #endif
31238 #ifdef __cplusplus
31240 #endif
31243 main ()
31245 return f != $ac_func;
31247 return 0;
31249 _ACEOF
31250 rm -f conftest.$ac_objext conftest$ac_exeext
31251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31252 (eval $ac_link) 2>conftest.er1
31253 ac_status=$?
31254 grep -v '^ *+' conftest.er1 >conftest.err
31255 rm -f conftest.er1
31256 cat conftest.err >&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); } &&
31259 { ac_try='test -z "$ac_c_werror_flag"
31260 || test ! -s conftest.err'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31263 ac_status=$?
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; } &&
31266 { ac_try='test -s conftest$ac_exeext'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31269 ac_status=$?
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; }; then
31272 eval "$as_ac_var=yes"
31273 else
31274 echo "$as_me: failed program was:" >&5
31275 sed 's/^/| /' conftest.$ac_ext >&5
31277 eval "$as_ac_var=no"
31279 rm -f conftest.err conftest.$ac_objext \
31280 conftest$ac_exeext conftest.$ac_ext
31282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31284 if test `eval echo '${'$as_ac_var'}'` = yes; then
31285 cat >>confdefs.h <<_ACEOF
31286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31287 _ACEOF
31290 done
31292 else
31294 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31295 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31296 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31297 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31298 echo $ECHO_N "(cached) $ECHO_C" >&6
31299 else
31303 ac_ext=cc
31304 ac_cpp='$CXXCPP $CPPFLAGS'
31305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31309 cat >conftest.$ac_ext <<_ACEOF
31310 /* confdefs.h. */
31311 _ACEOF
31312 cat confdefs.h >>conftest.$ac_ext
31313 cat >>conftest.$ac_ext <<_ACEOF
31314 /* end confdefs.h. */
31315 #include <math.h>
31316 #ifdef HAVE_IEEEFP_H
31317 #include <ieeefp.h>
31318 #endif
31321 main ()
31323 _isinf(0);
31325 return 0;
31327 _ACEOF
31328 rm -f conftest.$ac_objext
31329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31330 (eval $ac_compile) 2>conftest.er1
31331 ac_status=$?
31332 grep -v '^ *+' conftest.er1 >conftest.err
31333 rm -f conftest.er1
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try='test -z "$ac_cxx_werror_flag"
31338 || test ! -s conftest.err'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31341 ac_status=$?
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; } &&
31344 { ac_try='test -s conftest.$ac_objext'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; }; then
31350 glibcxx_cv_func__isinf_use=yes
31351 else
31352 echo "$as_me: failed program was:" >&5
31353 sed 's/^/| /' conftest.$ac_ext >&5
31355 glibcxx_cv_func__isinf_use=no
31357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31358 ac_ext=c
31359 ac_cpp='$CPP $CPPFLAGS'
31360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31369 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31371 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31373 for ac_func in _isinf
31375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31376 echo "$as_me:$LINENO: checking for $ac_func" >&5
31377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31378 if eval "test \"\${$as_ac_var+set}\" = set"; then
31379 echo $ECHO_N "(cached) $ECHO_C" >&6
31380 else
31381 if test x$gcc_no_link = xyes; then
31382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31384 { (exit 1); exit 1; }; }
31386 cat >conftest.$ac_ext <<_ACEOF
31387 /* confdefs.h. */
31388 _ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31394 #define $ac_func innocuous_$ac_func
31396 /* System header to define __stub macros and hopefully few prototypes,
31397 which can conflict with char $ac_func (); below.
31398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31399 <limits.h> exists even on freestanding compilers. */
31401 #ifdef __STDC__
31402 # include <limits.h>
31403 #else
31404 # include <assert.h>
31405 #endif
31407 #undef $ac_func
31409 /* Override any gcc2 internal prototype to avoid an error. */
31410 #ifdef __cplusplus
31411 extern "C"
31413 #endif
31414 /* We use char because int might match the return type of a gcc2
31415 builtin and then its argument prototype would still apply. */
31416 char $ac_func ();
31417 /* The GNU C library defines this for functions which it implements
31418 to always fail with ENOSYS. Some functions are actually named
31419 something starting with __ and the normal name is an alias. */
31420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31421 choke me
31422 #else
31423 char (*f) () = $ac_func;
31424 #endif
31425 #ifdef __cplusplus
31427 #endif
31430 main ()
31432 return f != $ac_func;
31434 return 0;
31436 _ACEOF
31437 rm -f conftest.$ac_objext conftest$ac_exeext
31438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31439 (eval $ac_link) 2>conftest.er1
31440 ac_status=$?
31441 grep -v '^ *+' conftest.er1 >conftest.err
31442 rm -f conftest.er1
31443 cat conftest.err >&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); } &&
31446 { ac_try='test -z "$ac_c_werror_flag"
31447 || test ! -s conftest.err'
31448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31449 (eval $ac_try) 2>&5
31450 ac_status=$?
31451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452 (exit $ac_status); }; } &&
31453 { ac_try='test -s conftest$ac_exeext'
31454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31455 (eval $ac_try) 2>&5
31456 ac_status=$?
31457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31458 (exit $ac_status); }; }; then
31459 eval "$as_ac_var=yes"
31460 else
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31464 eval "$as_ac_var=no"
31466 rm -f conftest.err conftest.$ac_objext \
31467 conftest$ac_exeext conftest.$ac_ext
31469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31471 if test `eval echo '${'$as_ac_var'}'` = yes; then
31472 cat >>confdefs.h <<_ACEOF
31473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31474 _ACEOF
31477 done
31487 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31488 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31489 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31490 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31492 else
31496 ac_ext=cc
31497 ac_cpp='$CXXCPP $CPPFLAGS'
31498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31502 cat >conftest.$ac_ext <<_ACEOF
31503 /* confdefs.h. */
31504 _ACEOF
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508 #include <math.h>
31509 #ifdef HAVE_IEEEFP_H
31510 #include <ieeefp.h>
31511 #endif
31514 main ()
31516 isnan(0);
31518 return 0;
31520 _ACEOF
31521 rm -f conftest.$ac_objext
31522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31523 (eval $ac_compile) 2>conftest.er1
31524 ac_status=$?
31525 grep -v '^ *+' conftest.er1 >conftest.err
31526 rm -f conftest.er1
31527 cat conftest.err >&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); } &&
31530 { ac_try='test -z "$ac_cxx_werror_flag"
31531 || test ! -s conftest.err'
31532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31533 (eval $ac_try) 2>&5
31534 ac_status=$?
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); }; } &&
31537 { ac_try='test -s conftest.$ac_objext'
31538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31539 (eval $ac_try) 2>&5
31540 ac_status=$?
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); }; }; then
31543 glibcxx_cv_func_isnan_use=yes
31544 else
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.$ac_ext >&5
31548 glibcxx_cv_func_isnan_use=no
31550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31551 ac_ext=c
31552 ac_cpp='$CPP $CPPFLAGS'
31553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31562 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31564 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31566 for ac_func in isnan
31568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 else
31574 if test x$gcc_no_link = xyes; then
31575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31577 { (exit 1); exit 1; }; }
31579 cat >conftest.$ac_ext <<_ACEOF
31580 /* confdefs.h. */
31581 _ACEOF
31582 cat confdefs.h >>conftest.$ac_ext
31583 cat >>conftest.$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31587 #define $ac_func innocuous_$ac_func
31589 /* System header to define __stub macros and hopefully few prototypes,
31590 which can conflict with char $ac_func (); below.
31591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31592 <limits.h> exists even on freestanding compilers. */
31594 #ifdef __STDC__
31595 # include <limits.h>
31596 #else
31597 # include <assert.h>
31598 #endif
31600 #undef $ac_func
31602 /* Override any gcc2 internal prototype to avoid an error. */
31603 #ifdef __cplusplus
31604 extern "C"
31606 #endif
31607 /* We use char because int might match the return type of a gcc2
31608 builtin and then its argument prototype would still apply. */
31609 char $ac_func ();
31610 /* The GNU C library defines this for functions which it implements
31611 to always fail with ENOSYS. Some functions are actually named
31612 something starting with __ and the normal name is an alias. */
31613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31614 choke me
31615 #else
31616 char (*f) () = $ac_func;
31617 #endif
31618 #ifdef __cplusplus
31620 #endif
31623 main ()
31625 return f != $ac_func;
31627 return 0;
31629 _ACEOF
31630 rm -f conftest.$ac_objext conftest$ac_exeext
31631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31632 (eval $ac_link) 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } &&
31639 { ac_try='test -z "$ac_c_werror_flag"
31640 || test ! -s conftest.err'
31641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31642 (eval $ac_try) 2>&5
31643 ac_status=$?
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); }; } &&
31646 { ac_try='test -s conftest$ac_exeext'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31649 ac_status=$?
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; }; then
31652 eval "$as_ac_var=yes"
31653 else
31654 echo "$as_me: failed program was:" >&5
31655 sed 's/^/| /' conftest.$ac_ext >&5
31657 eval "$as_ac_var=no"
31659 rm -f conftest.err conftest.$ac_objext \
31660 conftest$ac_exeext conftest.$ac_ext
31662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31664 if test `eval echo '${'$as_ac_var'}'` = yes; then
31665 cat >>confdefs.h <<_ACEOF
31666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31667 _ACEOF
31670 done
31672 else
31674 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31675 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31676 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31677 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31678 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 else
31683 ac_ext=cc
31684 ac_cpp='$CXXCPP $CPPFLAGS'
31685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31689 cat >conftest.$ac_ext <<_ACEOF
31690 /* confdefs.h. */
31691 _ACEOF
31692 cat confdefs.h >>conftest.$ac_ext
31693 cat >>conftest.$ac_ext <<_ACEOF
31694 /* end confdefs.h. */
31695 #include <math.h>
31696 #ifdef HAVE_IEEEFP_H
31697 #include <ieeefp.h>
31698 #endif
31701 main ()
31703 _isnan(0);
31705 return 0;
31707 _ACEOF
31708 rm -f conftest.$ac_objext
31709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31710 (eval $ac_compile) 2>conftest.er1
31711 ac_status=$?
31712 grep -v '^ *+' conftest.er1 >conftest.err
31713 rm -f conftest.er1
31714 cat conftest.err >&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } &&
31717 { ac_try='test -z "$ac_cxx_werror_flag"
31718 || test ! -s conftest.err'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31721 ac_status=$?
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; } &&
31724 { ac_try='test -s conftest.$ac_objext'
31725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 (eval $ac_try) 2>&5
31727 ac_status=$?
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; }; then
31730 glibcxx_cv_func__isnan_use=yes
31731 else
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31735 glibcxx_cv_func__isnan_use=no
31737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31738 ac_ext=c
31739 ac_cpp='$CPP $CPPFLAGS'
31740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31749 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31751 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31753 for ac_func in _isnan
31755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31756 echo "$as_me:$LINENO: checking for $ac_func" >&5
31757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31758 if eval "test \"\${$as_ac_var+set}\" = set"; then
31759 echo $ECHO_N "(cached) $ECHO_C" >&6
31760 else
31761 if test x$gcc_no_link = xyes; then
31762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31764 { (exit 1); exit 1; }; }
31766 cat >conftest.$ac_ext <<_ACEOF
31767 /* confdefs.h. */
31768 _ACEOF
31769 cat confdefs.h >>conftest.$ac_ext
31770 cat >>conftest.$ac_ext <<_ACEOF
31771 /* end confdefs.h. */
31772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31774 #define $ac_func innocuous_$ac_func
31776 /* System header to define __stub macros and hopefully few prototypes,
31777 which can conflict with char $ac_func (); below.
31778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31779 <limits.h> exists even on freestanding compilers. */
31781 #ifdef __STDC__
31782 # include <limits.h>
31783 #else
31784 # include <assert.h>
31785 #endif
31787 #undef $ac_func
31789 /* Override any gcc2 internal prototype to avoid an error. */
31790 #ifdef __cplusplus
31791 extern "C"
31793 #endif
31794 /* We use char because int might match the return type of a gcc2
31795 builtin and then its argument prototype would still apply. */
31796 char $ac_func ();
31797 /* The GNU C library defines this for functions which it implements
31798 to always fail with ENOSYS. Some functions are actually named
31799 something starting with __ and the normal name is an alias. */
31800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31801 choke me
31802 #else
31803 char (*f) () = $ac_func;
31804 #endif
31805 #ifdef __cplusplus
31807 #endif
31810 main ()
31812 return f != $ac_func;
31814 return 0;
31816 _ACEOF
31817 rm -f conftest.$ac_objext conftest$ac_exeext
31818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31819 (eval $ac_link) 2>conftest.er1
31820 ac_status=$?
31821 grep -v '^ *+' conftest.er1 >conftest.err
31822 rm -f conftest.er1
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } &&
31826 { ac_try='test -z "$ac_c_werror_flag"
31827 || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31830 ac_status=$?
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try='test -s conftest$ac_exeext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839 eval "$as_ac_var=yes"
31840 else
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.$ac_ext >&5
31844 eval "$as_ac_var=no"
31846 rm -f conftest.err conftest.$ac_objext \
31847 conftest$ac_exeext conftest.$ac_ext
31849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31851 if test `eval echo '${'$as_ac_var'}'` = yes; then
31852 cat >>confdefs.h <<_ACEOF
31853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31854 _ACEOF
31857 done
31867 echo "$as_me:$LINENO: checking for finite declaration" >&5
31868 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31869 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31870 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31871 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 else
31876 ac_ext=cc
31877 ac_cpp='$CXXCPP $CPPFLAGS'
31878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31882 cat >conftest.$ac_ext <<_ACEOF
31883 /* confdefs.h. */
31884 _ACEOF
31885 cat confdefs.h >>conftest.$ac_ext
31886 cat >>conftest.$ac_ext <<_ACEOF
31887 /* end confdefs.h. */
31888 #include <math.h>
31889 #ifdef HAVE_IEEEFP_H
31890 #include <ieeefp.h>
31891 #endif
31894 main ()
31896 finite(0);
31898 return 0;
31900 _ACEOF
31901 rm -f conftest.$ac_objext
31902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31903 (eval $ac_compile) 2>conftest.er1
31904 ac_status=$?
31905 grep -v '^ *+' conftest.er1 >conftest.err
31906 rm -f conftest.er1
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } &&
31910 { ac_try='test -z "$ac_cxx_werror_flag"
31911 || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31914 ac_status=$?
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try='test -s conftest.$ac_objext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31920 ac_status=$?
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 glibcxx_cv_func_finite_use=yes
31924 else
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.$ac_ext >&5
31928 glibcxx_cv_func_finite_use=no
31930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31931 ac_ext=c
31932 ac_cpp='$CPP $CPPFLAGS'
31933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31942 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31944 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31946 for ac_func in finite
31948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31949 echo "$as_me:$LINENO: checking for $ac_func" >&5
31950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31951 if eval "test \"\${$as_ac_var+set}\" = set"; then
31952 echo $ECHO_N "(cached) $ECHO_C" >&6
31953 else
31954 if test x$gcc_no_link = xyes; then
31955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31957 { (exit 1); exit 1; }; }
31959 cat >conftest.$ac_ext <<_ACEOF
31960 /* confdefs.h. */
31961 _ACEOF
31962 cat confdefs.h >>conftest.$ac_ext
31963 cat >>conftest.$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31967 #define $ac_func innocuous_$ac_func
31969 /* System header to define __stub macros and hopefully few prototypes,
31970 which can conflict with char $ac_func (); below.
31971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31972 <limits.h> exists even on freestanding compilers. */
31974 #ifdef __STDC__
31975 # include <limits.h>
31976 #else
31977 # include <assert.h>
31978 #endif
31980 #undef $ac_func
31982 /* Override any gcc2 internal prototype to avoid an error. */
31983 #ifdef __cplusplus
31984 extern "C"
31986 #endif
31987 /* We use char because int might match the return type of a gcc2
31988 builtin and then its argument prototype would still apply. */
31989 char $ac_func ();
31990 /* The GNU C library defines this for functions which it implements
31991 to always fail with ENOSYS. Some functions are actually named
31992 something starting with __ and the normal name is an alias. */
31993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31994 choke me
31995 #else
31996 char (*f) () = $ac_func;
31997 #endif
31998 #ifdef __cplusplus
32000 #endif
32003 main ()
32005 return f != $ac_func;
32007 return 0;
32009 _ACEOF
32010 rm -f conftest.$ac_objext conftest$ac_exeext
32011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32012 (eval $ac_link) 2>conftest.er1
32013 ac_status=$?
32014 grep -v '^ *+' conftest.er1 >conftest.err
32015 rm -f conftest.er1
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } &&
32019 { ac_try='test -z "$ac_c_werror_flag"
32020 || test ! -s conftest.err'
32021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 (eval $ac_try) 2>&5
32023 ac_status=$?
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); }; } &&
32026 { ac_try='test -s conftest$ac_exeext'
32027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028 (eval $ac_try) 2>&5
32029 ac_status=$?
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; }; then
32032 eval "$as_ac_var=yes"
32033 else
32034 echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.$ac_ext >&5
32037 eval "$as_ac_var=no"
32039 rm -f conftest.err conftest.$ac_objext \
32040 conftest$ac_exeext conftest.$ac_ext
32042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32044 if test `eval echo '${'$as_ac_var'}'` = yes; then
32045 cat >>confdefs.h <<_ACEOF
32046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32047 _ACEOF
32050 done
32052 else
32054 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32055 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32056 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32057 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32059 else
32063 ac_ext=cc
32064 ac_cpp='$CXXCPP $CPPFLAGS'
32065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32069 cat >conftest.$ac_ext <<_ACEOF
32070 /* confdefs.h. */
32071 _ACEOF
32072 cat confdefs.h >>conftest.$ac_ext
32073 cat >>conftest.$ac_ext <<_ACEOF
32074 /* end confdefs.h. */
32075 #include <math.h>
32076 #ifdef HAVE_IEEEFP_H
32077 #include <ieeefp.h>
32078 #endif
32081 main ()
32083 _finite(0);
32085 return 0;
32087 _ACEOF
32088 rm -f conftest.$ac_objext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32090 (eval $ac_compile) 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try='test -z "$ac_cxx_werror_flag"
32098 || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try='test -s conftest.$ac_objext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110 glibcxx_cv_func__finite_use=yes
32111 else
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.$ac_ext >&5
32115 glibcxx_cv_func__finite_use=no
32117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32118 ac_ext=c
32119 ac_cpp='$CPP $CPPFLAGS'
32120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32129 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32131 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32133 for ac_func in _finite
32135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32136 echo "$as_me:$LINENO: checking for $ac_func" >&5
32137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32138 if eval "test \"\${$as_ac_var+set}\" = set"; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32140 else
32141 if test x$gcc_no_link = xyes; then
32142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32144 { (exit 1); exit 1; }; }
32146 cat >conftest.$ac_ext <<_ACEOF
32147 /* confdefs.h. */
32148 _ACEOF
32149 cat confdefs.h >>conftest.$ac_ext
32150 cat >>conftest.$ac_ext <<_ACEOF
32151 /* end confdefs.h. */
32152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32154 #define $ac_func innocuous_$ac_func
32156 /* System header to define __stub macros and hopefully few prototypes,
32157 which can conflict with char $ac_func (); below.
32158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32159 <limits.h> exists even on freestanding compilers. */
32161 #ifdef __STDC__
32162 # include <limits.h>
32163 #else
32164 # include <assert.h>
32165 #endif
32167 #undef $ac_func
32169 /* Override any gcc2 internal prototype to avoid an error. */
32170 #ifdef __cplusplus
32171 extern "C"
32173 #endif
32174 /* We use char because int might match the return type of a gcc2
32175 builtin and then its argument prototype would still apply. */
32176 char $ac_func ();
32177 /* The GNU C library defines this for functions which it implements
32178 to always fail with ENOSYS. Some functions are actually named
32179 something starting with __ and the normal name is an alias. */
32180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32181 choke me
32182 #else
32183 char (*f) () = $ac_func;
32184 #endif
32185 #ifdef __cplusplus
32187 #endif
32190 main ()
32192 return f != $ac_func;
32194 return 0;
32196 _ACEOF
32197 rm -f conftest.$ac_objext conftest$ac_exeext
32198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32199 (eval $ac_link) 2>conftest.er1
32200 ac_status=$?
32201 grep -v '^ *+' conftest.er1 >conftest.err
32202 rm -f conftest.er1
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } &&
32206 { ac_try='test -z "$ac_c_werror_flag"
32207 || test ! -s conftest.err'
32208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32209 (eval $ac_try) 2>&5
32210 ac_status=$?
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 (exit $ac_status); }; } &&
32213 { ac_try='test -s conftest$ac_exeext'
32214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215 (eval $ac_try) 2>&5
32216 ac_status=$?
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; }; then
32219 eval "$as_ac_var=yes"
32220 else
32221 echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.$ac_ext >&5
32224 eval "$as_ac_var=no"
32226 rm -f conftest.err conftest.$ac_objext \
32227 conftest$ac_exeext conftest.$ac_ext
32229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32231 if test `eval echo '${'$as_ac_var'}'` = yes; then
32232 cat >>confdefs.h <<_ACEOF
32233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32234 _ACEOF
32237 done
32247 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32248 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32249 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32250 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32256 ac_ext=cc
32257 ac_cpp='$CXXCPP $CPPFLAGS'
32258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268 #include <math.h>
32270 main ()
32272 copysign(0, 0);
32274 return 0;
32276 _ACEOF
32277 rm -f conftest.$ac_objext
32278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32279 (eval $ac_compile) 2>conftest.er1
32280 ac_status=$?
32281 grep -v '^ *+' conftest.er1 >conftest.err
32282 rm -f conftest.er1
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } &&
32286 { ac_try='test -z "$ac_cxx_werror_flag"
32287 || test ! -s conftest.err'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32290 ac_status=$?
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; } &&
32293 { ac_try='test -s conftest.$ac_objext'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32296 ac_status=$?
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; }; then
32299 glibcxx_cv_func_copysign_use=yes
32300 else
32301 echo "$as_me: failed program was:" >&5
32302 sed 's/^/| /' conftest.$ac_ext >&5
32304 glibcxx_cv_func_copysign_use=no
32306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32307 ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32318 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32320 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32322 for ac_func in copysign
32324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32325 echo "$as_me:$LINENO: checking for $ac_func" >&5
32326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32327 if eval "test \"\${$as_ac_var+set}\" = set"; then
32328 echo $ECHO_N "(cached) $ECHO_C" >&6
32329 else
32330 if test x$gcc_no_link = xyes; then
32331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32333 { (exit 1); exit 1; }; }
32335 cat >conftest.$ac_ext <<_ACEOF
32336 /* confdefs.h. */
32337 _ACEOF
32338 cat confdefs.h >>conftest.$ac_ext
32339 cat >>conftest.$ac_ext <<_ACEOF
32340 /* end confdefs.h. */
32341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32343 #define $ac_func innocuous_$ac_func
32345 /* System header to define __stub macros and hopefully few prototypes,
32346 which can conflict with char $ac_func (); below.
32347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32348 <limits.h> exists even on freestanding compilers. */
32350 #ifdef __STDC__
32351 # include <limits.h>
32352 #else
32353 # include <assert.h>
32354 #endif
32356 #undef $ac_func
32358 /* Override any gcc2 internal prototype to avoid an error. */
32359 #ifdef __cplusplus
32360 extern "C"
32362 #endif
32363 /* We use char because int might match the return type of a gcc2
32364 builtin and then its argument prototype would still apply. */
32365 char $ac_func ();
32366 /* The GNU C library defines this for functions which it implements
32367 to always fail with ENOSYS. Some functions are actually named
32368 something starting with __ and the normal name is an alias. */
32369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32370 choke me
32371 #else
32372 char (*f) () = $ac_func;
32373 #endif
32374 #ifdef __cplusplus
32376 #endif
32379 main ()
32381 return f != $ac_func;
32383 return 0;
32385 _ACEOF
32386 rm -f conftest.$ac_objext conftest$ac_exeext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32388 (eval $ac_link) 2>conftest.er1
32389 ac_status=$?
32390 grep -v '^ *+' conftest.er1 >conftest.err
32391 rm -f conftest.er1
32392 cat conftest.err >&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try='test -z "$ac_c_werror_flag"
32396 || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32399 ac_status=$?
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try='test -s conftest$ac_exeext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32405 ac_status=$?
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 eval "$as_ac_var=yes"
32409 else
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32413 eval "$as_ac_var=no"
32415 rm -f conftest.err conftest.$ac_objext \
32416 conftest$ac_exeext conftest.$ac_ext
32418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32420 if test `eval echo '${'$as_ac_var'}'` = yes; then
32421 cat >>confdefs.h <<_ACEOF
32422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32423 _ACEOF
32426 done
32428 else
32430 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32431 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32432 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32433 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 else
32439 ac_ext=cc
32440 ac_cpp='$CXXCPP $CPPFLAGS'
32441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32445 cat >conftest.$ac_ext <<_ACEOF
32446 /* confdefs.h. */
32447 _ACEOF
32448 cat confdefs.h >>conftest.$ac_ext
32449 cat >>conftest.$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32451 #include <math.h>
32453 main ()
32455 _copysign(0, 0);
32457 return 0;
32459 _ACEOF
32460 rm -f conftest.$ac_objext
32461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32462 (eval $ac_compile) 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } &&
32469 { ac_try='test -z "$ac_cxx_werror_flag"
32470 || test ! -s conftest.err'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try='test -s conftest.$ac_objext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 glibcxx_cv_func__copysign_use=yes
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32487 glibcxx_cv_func__copysign_use=no
32489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32490 ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32501 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32503 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32505 for ac_func in _copysign
32507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32508 echo "$as_me:$LINENO: checking for $ac_func" >&5
32509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32510 if eval "test \"\${$as_ac_var+set}\" = set"; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 else
32513 if test x$gcc_no_link = xyes; then
32514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32516 { (exit 1); exit 1; }; }
32518 cat >conftest.$ac_ext <<_ACEOF
32519 /* confdefs.h. */
32520 _ACEOF
32521 cat confdefs.h >>conftest.$ac_ext
32522 cat >>conftest.$ac_ext <<_ACEOF
32523 /* end confdefs.h. */
32524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32526 #define $ac_func innocuous_$ac_func
32528 /* System header to define __stub macros and hopefully few prototypes,
32529 which can conflict with char $ac_func (); below.
32530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32531 <limits.h> exists even on freestanding compilers. */
32533 #ifdef __STDC__
32534 # include <limits.h>
32535 #else
32536 # include <assert.h>
32537 #endif
32539 #undef $ac_func
32541 /* Override any gcc2 internal prototype to avoid an error. */
32542 #ifdef __cplusplus
32543 extern "C"
32545 #endif
32546 /* We use char because int might match the return type of a gcc2
32547 builtin and then its argument prototype would still apply. */
32548 char $ac_func ();
32549 /* The GNU C library defines this for functions which it implements
32550 to always fail with ENOSYS. Some functions are actually named
32551 something starting with __ and the normal name is an alias. */
32552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32553 choke me
32554 #else
32555 char (*f) () = $ac_func;
32556 #endif
32557 #ifdef __cplusplus
32559 #endif
32562 main ()
32564 return f != $ac_func;
32566 return 0;
32568 _ACEOF
32569 rm -f conftest.$ac_objext conftest$ac_exeext
32570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32571 (eval $ac_link) 2>conftest.er1
32572 ac_status=$?
32573 grep -v '^ *+' conftest.er1 >conftest.err
32574 rm -f conftest.er1
32575 cat conftest.err >&5
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); } &&
32578 { ac_try='test -z "$ac_c_werror_flag"
32579 || test ! -s conftest.err'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; } &&
32585 { ac_try='test -s conftest$ac_exeext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32588 ac_status=$?
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 eval "$as_ac_var=yes"
32592 else
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.$ac_ext >&5
32596 eval "$as_ac_var=no"
32598 rm -f conftest.err conftest.$ac_objext \
32599 conftest$ac_exeext conftest.$ac_ext
32601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32603 if test `eval echo '${'$as_ac_var'}'` = yes; then
32604 cat >>confdefs.h <<_ACEOF
32605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32606 _ACEOF
32609 done
32619 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32620 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32621 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32622 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32628 ac_ext=cc
32629 ac_cpp='$CXXCPP $CPPFLAGS'
32630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32634 cat >conftest.$ac_ext <<_ACEOF
32635 /* confdefs.h. */
32636 _ACEOF
32637 cat confdefs.h >>conftest.$ac_ext
32638 cat >>conftest.$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32640 #include <math.h>
32642 main ()
32644 sincos(0, 0, 0);
32646 return 0;
32648 _ACEOF
32649 rm -f conftest.$ac_objext
32650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32651 (eval $ac_compile) 2>conftest.er1
32652 ac_status=$?
32653 grep -v '^ *+' conftest.er1 >conftest.err
32654 rm -f conftest.er1
32655 cat conftest.err >&5
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); } &&
32658 { ac_try='test -z "$ac_cxx_werror_flag"
32659 || test ! -s conftest.err'
32660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32661 (eval $ac_try) 2>&5
32662 ac_status=$?
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); }; } &&
32665 { ac_try='test -s conftest.$ac_objext'
32666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32667 (eval $ac_try) 2>&5
32668 ac_status=$?
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); }; }; then
32671 glibcxx_cv_func_sincos_use=yes
32672 else
32673 echo "$as_me: failed program was:" >&5
32674 sed 's/^/| /' conftest.$ac_ext >&5
32676 glibcxx_cv_func_sincos_use=no
32678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32679 ac_ext=c
32680 ac_cpp='$CPP $CPPFLAGS'
32681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32690 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32692 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32694 for ac_func in sincos
32696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32697 echo "$as_me:$LINENO: checking for $ac_func" >&5
32698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32699 if eval "test \"\${$as_ac_var+set}\" = set"; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32701 else
32702 if test x$gcc_no_link = xyes; then
32703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32705 { (exit 1); exit 1; }; }
32707 cat >conftest.$ac_ext <<_ACEOF
32708 /* confdefs.h. */
32709 _ACEOF
32710 cat confdefs.h >>conftest.$ac_ext
32711 cat >>conftest.$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32715 #define $ac_func innocuous_$ac_func
32717 /* System header to define __stub macros and hopefully few prototypes,
32718 which can conflict with char $ac_func (); below.
32719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32720 <limits.h> exists even on freestanding compilers. */
32722 #ifdef __STDC__
32723 # include <limits.h>
32724 #else
32725 # include <assert.h>
32726 #endif
32728 #undef $ac_func
32730 /* Override any gcc2 internal prototype to avoid an error. */
32731 #ifdef __cplusplus
32732 extern "C"
32734 #endif
32735 /* We use char because int might match the return type of a gcc2
32736 builtin and then its argument prototype would still apply. */
32737 char $ac_func ();
32738 /* The GNU C library defines this for functions which it implements
32739 to always fail with ENOSYS. Some functions are actually named
32740 something starting with __ and the normal name is an alias. */
32741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32742 choke me
32743 #else
32744 char (*f) () = $ac_func;
32745 #endif
32746 #ifdef __cplusplus
32748 #endif
32751 main ()
32753 return f != $ac_func;
32755 return 0;
32757 _ACEOF
32758 rm -f conftest.$ac_objext conftest$ac_exeext
32759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32760 (eval $ac_link) 2>conftest.er1
32761 ac_status=$?
32762 grep -v '^ *+' conftest.er1 >conftest.err
32763 rm -f conftest.er1
32764 cat conftest.err >&5
32765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32766 (exit $ac_status); } &&
32767 { ac_try='test -z "$ac_c_werror_flag"
32768 || test ! -s conftest.err'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; } &&
32774 { ac_try='test -s conftest$ac_exeext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32777 ac_status=$?
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 eval "$as_ac_var=yes"
32781 else
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.$ac_ext >&5
32785 eval "$as_ac_var=no"
32787 rm -f conftest.err conftest.$ac_objext \
32788 conftest$ac_exeext conftest.$ac_ext
32790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32792 if test `eval echo '${'$as_ac_var'}'` = yes; then
32793 cat >>confdefs.h <<_ACEOF
32794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32795 _ACEOF
32798 done
32800 else
32802 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32803 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32804 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32805 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32806 echo $ECHO_N "(cached) $ECHO_C" >&6
32807 else
32811 ac_ext=cc
32812 ac_cpp='$CXXCPP $CPPFLAGS'
32813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32817 cat >conftest.$ac_ext <<_ACEOF
32818 /* confdefs.h. */
32819 _ACEOF
32820 cat confdefs.h >>conftest.$ac_ext
32821 cat >>conftest.$ac_ext <<_ACEOF
32822 /* end confdefs.h. */
32823 #include <math.h>
32825 main ()
32827 _sincos(0, 0, 0);
32829 return 0;
32831 _ACEOF
32832 rm -f conftest.$ac_objext
32833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32834 (eval $ac_compile) 2>conftest.er1
32835 ac_status=$?
32836 grep -v '^ *+' conftest.er1 >conftest.err
32837 rm -f conftest.er1
32838 cat conftest.err >&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } &&
32841 { ac_try='test -z "$ac_cxx_werror_flag"
32842 || test ! -s conftest.err'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32845 ac_status=$?
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; } &&
32848 { ac_try='test -s conftest.$ac_objext'
32849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32850 (eval $ac_try) 2>&5
32851 ac_status=$?
32852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32853 (exit $ac_status); }; }; then
32854 glibcxx_cv_func__sincos_use=yes
32855 else
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32859 glibcxx_cv_func__sincos_use=no
32861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32862 ac_ext=c
32863 ac_cpp='$CPP $CPPFLAGS'
32864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32873 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32875 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32877 for ac_func in _sincos
32879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32880 echo "$as_me:$LINENO: checking for $ac_func" >&5
32881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32882 if eval "test \"\${$as_ac_var+set}\" = set"; then
32883 echo $ECHO_N "(cached) $ECHO_C" >&6
32884 else
32885 if test x$gcc_no_link = xyes; then
32886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32888 { (exit 1); exit 1; }; }
32890 cat >conftest.$ac_ext <<_ACEOF
32891 /* confdefs.h. */
32892 _ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32898 #define $ac_func innocuous_$ac_func
32900 /* System header to define __stub macros and hopefully few prototypes,
32901 which can conflict with char $ac_func (); below.
32902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32903 <limits.h> exists even on freestanding compilers. */
32905 #ifdef __STDC__
32906 # include <limits.h>
32907 #else
32908 # include <assert.h>
32909 #endif
32911 #undef $ac_func
32913 /* Override any gcc2 internal prototype to avoid an error. */
32914 #ifdef __cplusplus
32915 extern "C"
32917 #endif
32918 /* We use char because int might match the return type of a gcc2
32919 builtin and then its argument prototype would still apply. */
32920 char $ac_func ();
32921 /* The GNU C library defines this for functions which it implements
32922 to always fail with ENOSYS. Some functions are actually named
32923 something starting with __ and the normal name is an alias. */
32924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32925 choke me
32926 #else
32927 char (*f) () = $ac_func;
32928 #endif
32929 #ifdef __cplusplus
32931 #endif
32934 main ()
32936 return f != $ac_func;
32938 return 0;
32940 _ACEOF
32941 rm -f conftest.$ac_objext conftest$ac_exeext
32942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32943 (eval $ac_link) 2>conftest.er1
32944 ac_status=$?
32945 grep -v '^ *+' conftest.er1 >conftest.err
32946 rm -f conftest.er1
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } &&
32950 { ac_try='test -z "$ac_c_werror_flag"
32951 || test ! -s conftest.err'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32954 ac_status=$?
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } &&
32957 { ac_try='test -s conftest$ac_exeext'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32960 ac_status=$?
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; }; then
32963 eval "$as_ac_var=yes"
32964 else
32965 echo "$as_me: failed program was:" >&5
32966 sed 's/^/| /' conftest.$ac_ext >&5
32968 eval "$as_ac_var=no"
32970 rm -f conftest.err conftest.$ac_objext \
32971 conftest$ac_exeext conftest.$ac_ext
32973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32975 if test `eval echo '${'$as_ac_var'}'` = yes; then
32976 cat >>confdefs.h <<_ACEOF
32977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32978 _ACEOF
32981 done
32991 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32992 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32993 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32994 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32995 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 else
33000 ac_ext=cc
33001 ac_cpp='$CXXCPP $CPPFLAGS'
33002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33006 cat >conftest.$ac_ext <<_ACEOF
33007 /* confdefs.h. */
33008 _ACEOF
33009 cat confdefs.h >>conftest.$ac_ext
33010 cat >>conftest.$ac_ext <<_ACEOF
33011 /* end confdefs.h. */
33012 #include <math.h>
33013 #ifdef HAVE_IEEEFP_H
33014 #include <ieeefp.h>
33015 #endif
33018 main ()
33020 fpclass(0);
33022 return 0;
33024 _ACEOF
33025 rm -f conftest.$ac_objext
33026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33027 (eval $ac_compile) 2>conftest.er1
33028 ac_status=$?
33029 grep -v '^ *+' conftest.er1 >conftest.err
33030 rm -f conftest.er1
33031 cat conftest.err >&5
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); } &&
33034 { ac_try='test -z "$ac_cxx_werror_flag"
33035 || test ! -s conftest.err'
33036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33037 (eval $ac_try) 2>&5
33038 ac_status=$?
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); }; } &&
33041 { ac_try='test -s conftest.$ac_objext'
33042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33043 (eval $ac_try) 2>&5
33044 ac_status=$?
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; }; then
33047 glibcxx_cv_func_fpclass_use=yes
33048 else
33049 echo "$as_me: failed program was:" >&5
33050 sed 's/^/| /' conftest.$ac_ext >&5
33052 glibcxx_cv_func_fpclass_use=no
33054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33055 ac_ext=c
33056 ac_cpp='$CPP $CPPFLAGS'
33057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33066 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33068 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33070 for ac_func in fpclass
33072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33073 echo "$as_me:$LINENO: checking for $ac_func" >&5
33074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33075 if eval "test \"\${$as_ac_var+set}\" = set"; then
33076 echo $ECHO_N "(cached) $ECHO_C" >&6
33077 else
33078 if test x$gcc_no_link = xyes; then
33079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33081 { (exit 1); exit 1; }; }
33083 cat >conftest.$ac_ext <<_ACEOF
33084 /* confdefs.h. */
33085 _ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33091 #define $ac_func innocuous_$ac_func
33093 /* System header to define __stub macros and hopefully few prototypes,
33094 which can conflict with char $ac_func (); below.
33095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33096 <limits.h> exists even on freestanding compilers. */
33098 #ifdef __STDC__
33099 # include <limits.h>
33100 #else
33101 # include <assert.h>
33102 #endif
33104 #undef $ac_func
33106 /* Override any gcc2 internal prototype to avoid an error. */
33107 #ifdef __cplusplus
33108 extern "C"
33110 #endif
33111 /* We use char because int might match the return type of a gcc2
33112 builtin and then its argument prototype would still apply. */
33113 char $ac_func ();
33114 /* The GNU C library defines this for functions which it implements
33115 to always fail with ENOSYS. Some functions are actually named
33116 something starting with __ and the normal name is an alias. */
33117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33118 choke me
33119 #else
33120 char (*f) () = $ac_func;
33121 #endif
33122 #ifdef __cplusplus
33124 #endif
33127 main ()
33129 return f != $ac_func;
33131 return 0;
33133 _ACEOF
33134 rm -f conftest.$ac_objext conftest$ac_exeext
33135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33136 (eval $ac_link) 2>conftest.er1
33137 ac_status=$?
33138 grep -v '^ *+' conftest.er1 >conftest.err
33139 rm -f conftest.er1
33140 cat conftest.err >&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } &&
33143 { ac_try='test -z "$ac_c_werror_flag"
33144 || test ! -s conftest.err'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33147 ac_status=$?
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; } &&
33150 { ac_try='test -s conftest$ac_exeext'
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33153 ac_status=$?
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; }; then
33156 eval "$as_ac_var=yes"
33157 else
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33161 eval "$as_ac_var=no"
33163 rm -f conftest.err conftest.$ac_objext \
33164 conftest$ac_exeext conftest.$ac_ext
33166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33168 if test `eval echo '${'$as_ac_var'}'` = yes; then
33169 cat >>confdefs.h <<_ACEOF
33170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33171 _ACEOF
33174 done
33176 else
33178 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33179 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33180 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33181 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33183 else
33187 ac_ext=cc
33188 ac_cpp='$CXXCPP $CPPFLAGS'
33189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33193 cat >conftest.$ac_ext <<_ACEOF
33194 /* confdefs.h. */
33195 _ACEOF
33196 cat confdefs.h >>conftest.$ac_ext
33197 cat >>conftest.$ac_ext <<_ACEOF
33198 /* end confdefs.h. */
33199 #include <math.h>
33200 #ifdef HAVE_IEEEFP_H
33201 #include <ieeefp.h>
33202 #endif
33205 main ()
33207 _fpclass(0);
33209 return 0;
33211 _ACEOF
33212 rm -f conftest.$ac_objext
33213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33214 (eval $ac_compile) 2>conftest.er1
33215 ac_status=$?
33216 grep -v '^ *+' conftest.er1 >conftest.err
33217 rm -f conftest.er1
33218 cat conftest.err >&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); } &&
33221 { ac_try='test -z "$ac_cxx_werror_flag"
33222 || test ! -s conftest.err'
33223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33224 (eval $ac_try) 2>&5
33225 ac_status=$?
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); }; } &&
33228 { ac_try='test -s conftest.$ac_objext'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; }; then
33234 glibcxx_cv_func__fpclass_use=yes
33235 else
33236 echo "$as_me: failed program was:" >&5
33237 sed 's/^/| /' conftest.$ac_ext >&5
33239 glibcxx_cv_func__fpclass_use=no
33241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33242 ac_ext=c
33243 ac_cpp='$CPP $CPPFLAGS'
33244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33253 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33255 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33257 for ac_func in _fpclass
33259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33260 echo "$as_me:$LINENO: checking for $ac_func" >&5
33261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33262 if eval "test \"\${$as_ac_var+set}\" = set"; then
33263 echo $ECHO_N "(cached) $ECHO_C" >&6
33264 else
33265 if test x$gcc_no_link = xyes; then
33266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33268 { (exit 1); exit 1; }; }
33270 cat >conftest.$ac_ext <<_ACEOF
33271 /* confdefs.h. */
33272 _ACEOF
33273 cat confdefs.h >>conftest.$ac_ext
33274 cat >>conftest.$ac_ext <<_ACEOF
33275 /* end confdefs.h. */
33276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33278 #define $ac_func innocuous_$ac_func
33280 /* System header to define __stub macros and hopefully few prototypes,
33281 which can conflict with char $ac_func (); below.
33282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33283 <limits.h> exists even on freestanding compilers. */
33285 #ifdef __STDC__
33286 # include <limits.h>
33287 #else
33288 # include <assert.h>
33289 #endif
33291 #undef $ac_func
33293 /* Override any gcc2 internal prototype to avoid an error. */
33294 #ifdef __cplusplus
33295 extern "C"
33297 #endif
33298 /* We use char because int might match the return type of a gcc2
33299 builtin and then its argument prototype would still apply. */
33300 char $ac_func ();
33301 /* The GNU C library defines this for functions which it implements
33302 to always fail with ENOSYS. Some functions are actually named
33303 something starting with __ and the normal name is an alias. */
33304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33305 choke me
33306 #else
33307 char (*f) () = $ac_func;
33308 #endif
33309 #ifdef __cplusplus
33311 #endif
33314 main ()
33316 return f != $ac_func;
33318 return 0;
33320 _ACEOF
33321 rm -f conftest.$ac_objext conftest$ac_exeext
33322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33323 (eval $ac_link) 2>conftest.er1
33324 ac_status=$?
33325 grep -v '^ *+' conftest.er1 >conftest.err
33326 rm -f conftest.er1
33327 cat conftest.err >&5
33328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 (exit $ac_status); } &&
33330 { ac_try='test -z "$ac_c_werror_flag"
33331 || test ! -s conftest.err'
33332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33333 (eval $ac_try) 2>&5
33334 ac_status=$?
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); }; } &&
33337 { ac_try='test -s conftest$ac_exeext'
33338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339 (eval $ac_try) 2>&5
33340 ac_status=$?
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; }; then
33343 eval "$as_ac_var=yes"
33344 else
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33348 eval "$as_ac_var=no"
33350 rm -f conftest.err conftest.$ac_objext \
33351 conftest$ac_exeext conftest.$ac_ext
33353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33355 if test `eval echo '${'$as_ac_var'}'` = yes; then
33356 cat >>confdefs.h <<_ACEOF
33357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33358 _ACEOF
33361 done
33371 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33372 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33373 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33374 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 else
33380 ac_ext=cc
33381 ac_cpp='$CXXCPP $CPPFLAGS'
33382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33386 cat >conftest.$ac_ext <<_ACEOF
33387 /* confdefs.h. */
33388 _ACEOF
33389 cat confdefs.h >>conftest.$ac_ext
33390 cat >>conftest.$ac_ext <<_ACEOF
33391 /* end confdefs.h. */
33392 #include <math.h>
33393 #ifdef HAVE_IEEEFP_H
33394 #include <ieeefp.h>
33395 #endif
33398 main ()
33400 qfpclass(0);
33402 return 0;
33404 _ACEOF
33405 rm -f conftest.$ac_objext
33406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33407 (eval $ac_compile) 2>conftest.er1
33408 ac_status=$?
33409 grep -v '^ *+' conftest.er1 >conftest.err
33410 rm -f conftest.er1
33411 cat conftest.err >&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); } &&
33414 { ac_try='test -z "$ac_cxx_werror_flag"
33415 || test ! -s conftest.err'
33416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33417 (eval $ac_try) 2>&5
33418 ac_status=$?
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); }; } &&
33421 { ac_try='test -s conftest.$ac_objext'
33422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33423 (eval $ac_try) 2>&5
33424 ac_status=$?
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); }; }; then
33427 glibcxx_cv_func_qfpclass_use=yes
33428 else
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33432 glibcxx_cv_func_qfpclass_use=no
33434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33435 ac_ext=c
33436 ac_cpp='$CPP $CPPFLAGS'
33437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33446 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33448 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33450 for ac_func in qfpclass
33452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33453 echo "$as_me:$LINENO: checking for $ac_func" >&5
33454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33455 if eval "test \"\${$as_ac_var+set}\" = set"; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458 if test x$gcc_no_link = xyes; then
33459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33461 { (exit 1); exit 1; }; }
33463 cat >conftest.$ac_ext <<_ACEOF
33464 /* confdefs.h. */
33465 _ACEOF
33466 cat confdefs.h >>conftest.$ac_ext
33467 cat >>conftest.$ac_ext <<_ACEOF
33468 /* end confdefs.h. */
33469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33471 #define $ac_func innocuous_$ac_func
33473 /* System header to define __stub macros and hopefully few prototypes,
33474 which can conflict with char $ac_func (); below.
33475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33476 <limits.h> exists even on freestanding compilers. */
33478 #ifdef __STDC__
33479 # include <limits.h>
33480 #else
33481 # include <assert.h>
33482 #endif
33484 #undef $ac_func
33486 /* Override any gcc2 internal prototype to avoid an error. */
33487 #ifdef __cplusplus
33488 extern "C"
33490 #endif
33491 /* We use char because int might match the return type of a gcc2
33492 builtin and then its argument prototype would still apply. */
33493 char $ac_func ();
33494 /* The GNU C library defines this for functions which it implements
33495 to always fail with ENOSYS. Some functions are actually named
33496 something starting with __ and the normal name is an alias. */
33497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33498 choke me
33499 #else
33500 char (*f) () = $ac_func;
33501 #endif
33502 #ifdef __cplusplus
33504 #endif
33507 main ()
33509 return f != $ac_func;
33511 return 0;
33513 _ACEOF
33514 rm -f conftest.$ac_objext conftest$ac_exeext
33515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33516 (eval $ac_link) 2>conftest.er1
33517 ac_status=$?
33518 grep -v '^ *+' conftest.er1 >conftest.err
33519 rm -f conftest.er1
33520 cat conftest.err >&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); } &&
33523 { ac_try='test -z "$ac_c_werror_flag"
33524 || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33527 ac_status=$?
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try='test -s conftest$ac_exeext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 eval "$as_ac_var=yes"
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33541 eval "$as_ac_var=no"
33543 rm -f conftest.err conftest.$ac_objext \
33544 conftest$ac_exeext conftest.$ac_ext
33546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33548 if test `eval echo '${'$as_ac_var'}'` = yes; then
33549 cat >>confdefs.h <<_ACEOF
33550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33551 _ACEOF
33554 done
33556 else
33558 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33559 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33560 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33561 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33563 else
33567 ac_ext=cc
33568 ac_cpp='$CXXCPP $CPPFLAGS'
33569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33573 cat >conftest.$ac_ext <<_ACEOF
33574 /* confdefs.h. */
33575 _ACEOF
33576 cat confdefs.h >>conftest.$ac_ext
33577 cat >>conftest.$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33579 #include <math.h>
33580 #ifdef HAVE_IEEEFP_H
33581 #include <ieeefp.h>
33582 #endif
33585 main ()
33587 _qfpclass(0);
33589 return 0;
33591 _ACEOF
33592 rm -f conftest.$ac_objext
33593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33594 (eval $ac_compile) 2>conftest.er1
33595 ac_status=$?
33596 grep -v '^ *+' conftest.er1 >conftest.err
33597 rm -f conftest.er1
33598 cat conftest.err >&5
33599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33600 (exit $ac_status); } &&
33601 { ac_try='test -z "$ac_cxx_werror_flag"
33602 || test ! -s conftest.err'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33605 ac_status=$?
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; } &&
33608 { ac_try='test -s conftest.$ac_objext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 glibcxx_cv_func__qfpclass_use=yes
33615 else
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.$ac_ext >&5
33619 glibcxx_cv_func__qfpclass_use=no
33621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33622 ac_ext=c
33623 ac_cpp='$CPP $CPPFLAGS'
33624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33633 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33635 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33637 for ac_func in _qfpclass
33639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33640 echo "$as_me:$LINENO: checking for $ac_func" >&5
33641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33642 if eval "test \"\${$as_ac_var+set}\" = set"; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33644 else
33645 if test x$gcc_no_link = xyes; then
33646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33648 { (exit 1); exit 1; }; }
33650 cat >conftest.$ac_ext <<_ACEOF
33651 /* confdefs.h. */
33652 _ACEOF
33653 cat confdefs.h >>conftest.$ac_ext
33654 cat >>conftest.$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33658 #define $ac_func innocuous_$ac_func
33660 /* System header to define __stub macros and hopefully few prototypes,
33661 which can conflict with char $ac_func (); below.
33662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33663 <limits.h> exists even on freestanding compilers. */
33665 #ifdef __STDC__
33666 # include <limits.h>
33667 #else
33668 # include <assert.h>
33669 #endif
33671 #undef $ac_func
33673 /* Override any gcc2 internal prototype to avoid an error. */
33674 #ifdef __cplusplus
33675 extern "C"
33677 #endif
33678 /* We use char because int might match the return type of a gcc2
33679 builtin and then its argument prototype would still apply. */
33680 char $ac_func ();
33681 /* The GNU C library defines this for functions which it implements
33682 to always fail with ENOSYS. Some functions are actually named
33683 something starting with __ and the normal name is an alias. */
33684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33685 choke me
33686 #else
33687 char (*f) () = $ac_func;
33688 #endif
33689 #ifdef __cplusplus
33691 #endif
33694 main ()
33696 return f != $ac_func;
33698 return 0;
33700 _ACEOF
33701 rm -f conftest.$ac_objext conftest$ac_exeext
33702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33703 (eval $ac_link) 2>conftest.er1
33704 ac_status=$?
33705 grep -v '^ *+' conftest.er1 >conftest.err
33706 rm -f conftest.er1
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } &&
33710 { ac_try='test -z "$ac_c_werror_flag"
33711 || test ! -s conftest.err'
33712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33713 (eval $ac_try) 2>&5
33714 ac_status=$?
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); }; } &&
33717 { ac_try='test -s conftest$ac_exeext'
33718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33719 (eval $ac_try) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); }; }; then
33723 eval "$as_ac_var=yes"
33724 else
33725 echo "$as_me: failed program was:" >&5
33726 sed 's/^/| /' conftest.$ac_ext >&5
33728 eval "$as_ac_var=no"
33730 rm -f conftest.err conftest.$ac_objext \
33731 conftest$ac_exeext conftest.$ac_ext
33733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33735 if test `eval echo '${'$as_ac_var'}'` = yes; then
33736 cat >>confdefs.h <<_ACEOF
33737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33738 _ACEOF
33741 done
33751 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33752 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33753 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33754 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33755 echo $ECHO_N "(cached) $ECHO_C" >&6
33756 else
33760 ac_ext=cc
33761 ac_cpp='$CXXCPP $CPPFLAGS'
33762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33766 cat >conftest.$ac_ext <<_ACEOF
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 #include <math.h>
33774 main ()
33776 hypot(0, 0);
33778 return 0;
33780 _ACEOF
33781 rm -f conftest.$ac_objext
33782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33783 (eval $ac_compile) 2>conftest.er1
33784 ac_status=$?
33785 grep -v '^ *+' conftest.er1 >conftest.err
33786 rm -f conftest.er1
33787 cat conftest.err >&5
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); } &&
33790 { ac_try='test -z "$ac_cxx_werror_flag"
33791 || test ! -s conftest.err'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33794 ac_status=$?
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; } &&
33797 { ac_try='test -s conftest.$ac_objext'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 glibcxx_cv_func_hypot_use=yes
33804 else
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33808 glibcxx_cv_func_hypot_use=no
33810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33811 ac_ext=c
33812 ac_cpp='$CPP $CPPFLAGS'
33813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33822 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33824 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33826 for ac_func in hypot
33828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33829 echo "$as_me:$LINENO: checking for $ac_func" >&5
33830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33831 if eval "test \"\${$as_ac_var+set}\" = set"; then
33832 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 else
33834 if test x$gcc_no_link = xyes; then
33835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33837 { (exit 1); exit 1; }; }
33839 cat >conftest.$ac_ext <<_ACEOF
33840 /* confdefs.h. */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33847 #define $ac_func innocuous_$ac_func
33849 /* System header to define __stub macros and hopefully few prototypes,
33850 which can conflict with char $ac_func (); below.
33851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33852 <limits.h> exists even on freestanding compilers. */
33854 #ifdef __STDC__
33855 # include <limits.h>
33856 #else
33857 # include <assert.h>
33858 #endif
33860 #undef $ac_func
33862 /* Override any gcc2 internal prototype to avoid an error. */
33863 #ifdef __cplusplus
33864 extern "C"
33866 #endif
33867 /* We use char because int might match the return type of a gcc2
33868 builtin and then its argument prototype would still apply. */
33869 char $ac_func ();
33870 /* The GNU C library defines this for functions which it implements
33871 to always fail with ENOSYS. Some functions are actually named
33872 something starting with __ and the normal name is an alias. */
33873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33874 choke me
33875 #else
33876 char (*f) () = $ac_func;
33877 #endif
33878 #ifdef __cplusplus
33880 #endif
33883 main ()
33885 return f != $ac_func;
33887 return 0;
33889 _ACEOF
33890 rm -f conftest.$ac_objext conftest$ac_exeext
33891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33892 (eval $ac_link) 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } &&
33899 { ac_try='test -z "$ac_c_werror_flag"
33900 || test ! -s conftest.err'
33901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33902 (eval $ac_try) 2>&5
33903 ac_status=$?
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); }; } &&
33906 { ac_try='test -s conftest$ac_exeext'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33909 ac_status=$?
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; }; then
33912 eval "$as_ac_var=yes"
33913 else
33914 echo "$as_me: failed program was:" >&5
33915 sed 's/^/| /' conftest.$ac_ext >&5
33917 eval "$as_ac_var=no"
33919 rm -f conftest.err conftest.$ac_objext \
33920 conftest$ac_exeext conftest.$ac_ext
33922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33924 if test `eval echo '${'$as_ac_var'}'` = yes; then
33925 cat >>confdefs.h <<_ACEOF
33926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33927 _ACEOF
33930 done
33932 else
33934 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33935 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33936 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33937 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33938 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 else
33943 ac_ext=cc
33944 ac_cpp='$CXXCPP $CPPFLAGS'
33945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33949 cat >conftest.$ac_ext <<_ACEOF
33950 /* confdefs.h. */
33951 _ACEOF
33952 cat confdefs.h >>conftest.$ac_ext
33953 cat >>conftest.$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33955 #include <math.h>
33957 main ()
33959 _hypot(0, 0);
33961 return 0;
33963 _ACEOF
33964 rm -f conftest.$ac_objext
33965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33966 (eval $ac_compile) 2>conftest.er1
33967 ac_status=$?
33968 grep -v '^ *+' conftest.er1 >conftest.err
33969 rm -f conftest.er1
33970 cat conftest.err >&5
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); } &&
33973 { ac_try='test -z "$ac_cxx_werror_flag"
33974 || test ! -s conftest.err'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33977 ac_status=$?
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; } &&
33980 { ac_try='test -s conftest.$ac_objext'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; }; then
33986 glibcxx_cv_func__hypot_use=yes
33987 else
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.$ac_ext >&5
33991 glibcxx_cv_func__hypot_use=no
33993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33994 ac_ext=c
33995 ac_cpp='$CPP $CPPFLAGS'
33996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34005 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34007 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34009 for ac_func in _hypot
34011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34012 echo "$as_me:$LINENO: checking for $ac_func" >&5
34013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34014 if eval "test \"\${$as_ac_var+set}\" = set"; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34017 if test x$gcc_no_link = xyes; then
34018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34020 { (exit 1); exit 1; }; }
34022 cat >conftest.$ac_ext <<_ACEOF
34023 /* confdefs.h. */
34024 _ACEOF
34025 cat confdefs.h >>conftest.$ac_ext
34026 cat >>conftest.$ac_ext <<_ACEOF
34027 /* end confdefs.h. */
34028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34030 #define $ac_func innocuous_$ac_func
34032 /* System header to define __stub macros and hopefully few prototypes,
34033 which can conflict with char $ac_func (); below.
34034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34035 <limits.h> exists even on freestanding compilers. */
34037 #ifdef __STDC__
34038 # include <limits.h>
34039 #else
34040 # include <assert.h>
34041 #endif
34043 #undef $ac_func
34045 /* Override any gcc2 internal prototype to avoid an error. */
34046 #ifdef __cplusplus
34047 extern "C"
34049 #endif
34050 /* We use char because int might match the return type of a gcc2
34051 builtin and then its argument prototype would still apply. */
34052 char $ac_func ();
34053 /* The GNU C library defines this for functions which it implements
34054 to always fail with ENOSYS. Some functions are actually named
34055 something starting with __ and the normal name is an alias. */
34056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34057 choke me
34058 #else
34059 char (*f) () = $ac_func;
34060 #endif
34061 #ifdef __cplusplus
34063 #endif
34066 main ()
34068 return f != $ac_func;
34070 return 0;
34072 _ACEOF
34073 rm -f conftest.$ac_objext conftest$ac_exeext
34074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34075 (eval $ac_link) 2>conftest.er1
34076 ac_status=$?
34077 grep -v '^ *+' conftest.er1 >conftest.err
34078 rm -f conftest.er1
34079 cat conftest.err >&5
34080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34081 (exit $ac_status); } &&
34082 { ac_try='test -z "$ac_c_werror_flag"
34083 || test ! -s conftest.err'
34084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34085 (eval $ac_try) 2>&5
34086 ac_status=$?
34087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34088 (exit $ac_status); }; } &&
34089 { ac_try='test -s conftest$ac_exeext'
34090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34091 (eval $ac_try) 2>&5
34092 ac_status=$?
34093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34094 (exit $ac_status); }; }; then
34095 eval "$as_ac_var=yes"
34096 else
34097 echo "$as_me: failed program was:" >&5
34098 sed 's/^/| /' conftest.$ac_ext >&5
34100 eval "$as_ac_var=no"
34102 rm -f conftest.err conftest.$ac_objext \
34103 conftest$ac_exeext conftest.$ac_ext
34105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34107 if test `eval echo '${'$as_ac_var'}'` = yes; then
34108 cat >>confdefs.h <<_ACEOF
34109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34110 _ACEOF
34113 done
34123 echo "$as_me:$LINENO: checking for float trig functions" >&5
34124 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34125 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 else
34131 ac_ext=cc
34132 ac_cpp='$CXXCPP $CPPFLAGS'
34133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137 cat >conftest.$ac_ext <<_ACEOF
34138 /* confdefs.h. */
34139 _ACEOF
34140 cat confdefs.h >>conftest.$ac_ext
34141 cat >>conftest.$ac_ext <<_ACEOF
34142 /* end confdefs.h. */
34143 #include <math.h>
34145 main ()
34147 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34149 return 0;
34151 _ACEOF
34152 rm -f conftest.$ac_objext
34153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34154 (eval $ac_compile) 2>conftest.er1
34155 ac_status=$?
34156 grep -v '^ *+' conftest.er1 >conftest.err
34157 rm -f conftest.er1
34158 cat conftest.err >&5
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); } &&
34161 { ac_try='test -z "$ac_cxx_werror_flag"
34162 || test ! -s conftest.err'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34165 ac_status=$?
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; } &&
34168 { ac_try='test -s conftest.$ac_objext'
34169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34170 (eval $ac_try) 2>&5
34171 ac_status=$?
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); }; }; then
34174 glibcxx_cv_func_float_trig_use=yes
34175 else
34176 echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.$ac_ext >&5
34179 glibcxx_cv_func_float_trig_use=no
34181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34182 ac_ext=c
34183 ac_cpp='$CPP $CPPFLAGS'
34184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34191 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34192 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34202 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34205 echo "$as_me:$LINENO: checking for $ac_func" >&5
34206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34207 if eval "test \"\${$as_ac_var+set}\" = set"; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210 if test x$gcc_no_link = xyes; then
34211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34213 { (exit 1); exit 1; }; }
34215 cat >conftest.$ac_ext <<_ACEOF
34216 /* confdefs.h. */
34217 _ACEOF
34218 cat confdefs.h >>conftest.$ac_ext
34219 cat >>conftest.$ac_ext <<_ACEOF
34220 /* end confdefs.h. */
34221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34223 #define $ac_func innocuous_$ac_func
34225 /* System header to define __stub macros and hopefully few prototypes,
34226 which can conflict with char $ac_func (); below.
34227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34228 <limits.h> exists even on freestanding compilers. */
34230 #ifdef __STDC__
34231 # include <limits.h>
34232 #else
34233 # include <assert.h>
34234 #endif
34236 #undef $ac_func
34238 /* Override any gcc2 internal prototype to avoid an error. */
34239 #ifdef __cplusplus
34240 extern "C"
34242 #endif
34243 /* We use char because int might match the return type of a gcc2
34244 builtin and then its argument prototype would still apply. */
34245 char $ac_func ();
34246 /* The GNU C library defines this for functions which it implements
34247 to always fail with ENOSYS. Some functions are actually named
34248 something starting with __ and the normal name is an alias. */
34249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34250 choke me
34251 #else
34252 char (*f) () = $ac_func;
34253 #endif
34254 #ifdef __cplusplus
34256 #endif
34259 main ()
34261 return f != $ac_func;
34263 return 0;
34265 _ACEOF
34266 rm -f conftest.$ac_objext conftest$ac_exeext
34267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34268 (eval $ac_link) 2>conftest.er1
34269 ac_status=$?
34270 grep -v '^ *+' conftest.er1 >conftest.err
34271 rm -f conftest.er1
34272 cat conftest.err >&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } &&
34275 { ac_try='test -z "$ac_c_werror_flag"
34276 || test ! -s conftest.err'
34277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34278 (eval $ac_try) 2>&5
34279 ac_status=$?
34280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34281 (exit $ac_status); }; } &&
34282 { ac_try='test -s conftest$ac_exeext'
34283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34284 (eval $ac_try) 2>&5
34285 ac_status=$?
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); }; }; then
34288 eval "$as_ac_var=yes"
34289 else
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34293 eval "$as_ac_var=no"
34295 rm -f conftest.err conftest.$ac_objext \
34296 conftest$ac_exeext conftest.$ac_ext
34298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34300 if test `eval echo '${'$as_ac_var'}'` = yes; then
34301 cat >>confdefs.h <<_ACEOF
34302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34303 _ACEOF
34306 done
34308 else
34309 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34310 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34311 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34317 ac_ext=cc
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323 cat >conftest.$ac_ext <<_ACEOF
34324 /* confdefs.h. */
34325 _ACEOF
34326 cat confdefs.h >>conftest.$ac_ext
34327 cat >>conftest.$ac_ext <<_ACEOF
34328 /* end confdefs.h. */
34329 #include <math.h>
34331 main ()
34333 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34335 return 0;
34337 _ACEOF
34338 rm -f conftest.$ac_objext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34340 (eval $ac_compile) 2>conftest.er1
34341 ac_status=$?
34342 grep -v '^ *+' conftest.er1 >conftest.err
34343 rm -f conftest.er1
34344 cat conftest.err >&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try='test -z "$ac_cxx_werror_flag"
34348 || test ! -s conftest.err'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34351 ac_status=$?
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; } &&
34354 { ac_try='test -s conftest.$ac_objext'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34357 ac_status=$?
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; }; then
34360 glibcxx_cv_func__float_trig_use=yes
34361 else
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34365 glibcxx_cv_func__float_trig_use=no
34367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34368 ac_ext=c
34369 ac_cpp='$CPP $CPPFLAGS'
34370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34377 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34378 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34388 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34391 echo "$as_me:$LINENO: checking for $ac_func" >&5
34392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34393 if eval "test \"\${$as_ac_var+set}\" = set"; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34396 if test x$gcc_no_link = xyes; then
34397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34399 { (exit 1); exit 1; }; }
34401 cat >conftest.$ac_ext <<_ACEOF
34402 /* confdefs.h. */
34403 _ACEOF
34404 cat confdefs.h >>conftest.$ac_ext
34405 cat >>conftest.$ac_ext <<_ACEOF
34406 /* end confdefs.h. */
34407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34409 #define $ac_func innocuous_$ac_func
34411 /* System header to define __stub macros and hopefully few prototypes,
34412 which can conflict with char $ac_func (); below.
34413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34414 <limits.h> exists even on freestanding compilers. */
34416 #ifdef __STDC__
34417 # include <limits.h>
34418 #else
34419 # include <assert.h>
34420 #endif
34422 #undef $ac_func
34424 /* Override any gcc2 internal prototype to avoid an error. */
34425 #ifdef __cplusplus
34426 extern "C"
34428 #endif
34429 /* We use char because int might match the return type of a gcc2
34430 builtin and then its argument prototype would still apply. */
34431 char $ac_func ();
34432 /* The GNU C library defines this for functions which it implements
34433 to always fail with ENOSYS. Some functions are actually named
34434 something starting with __ and the normal name is an alias. */
34435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34436 choke me
34437 #else
34438 char (*f) () = $ac_func;
34439 #endif
34440 #ifdef __cplusplus
34442 #endif
34445 main ()
34447 return f != $ac_func;
34449 return 0;
34451 _ACEOF
34452 rm -f conftest.$ac_objext conftest$ac_exeext
34453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34454 (eval $ac_link) 2>conftest.er1
34455 ac_status=$?
34456 grep -v '^ *+' conftest.er1 >conftest.err
34457 rm -f conftest.er1
34458 cat conftest.err >&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); } &&
34461 { ac_try='test -z "$ac_c_werror_flag"
34462 || test ! -s conftest.err'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34465 ac_status=$?
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; } &&
34468 { ac_try='test -s conftest$ac_exeext'
34469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34470 (eval $ac_try) 2>&5
34471 ac_status=$?
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); }; }; then
34474 eval "$as_ac_var=yes"
34475 else
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34479 eval "$as_ac_var=no"
34481 rm -f conftest.err conftest.$ac_objext \
34482 conftest$ac_exeext conftest.$ac_ext
34484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34486 if test `eval echo '${'$as_ac_var'}'` = yes; then
34487 cat >>confdefs.h <<_ACEOF
34488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34489 _ACEOF
34492 done
34510 echo "$as_me:$LINENO: checking for float round functions" >&5
34511 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34512 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34513 echo $ECHO_N "(cached) $ECHO_C" >&6
34514 else
34518 ac_ext=cc
34519 ac_cpp='$CXXCPP $CPPFLAGS'
34520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34524 cat >conftest.$ac_ext <<_ACEOF
34525 /* confdefs.h. */
34526 _ACEOF
34527 cat confdefs.h >>conftest.$ac_ext
34528 cat >>conftest.$ac_ext <<_ACEOF
34529 /* end confdefs.h. */
34530 #include <math.h>
34532 main ()
34534 ceilf (0); floorf (0);
34536 return 0;
34538 _ACEOF
34539 rm -f conftest.$ac_objext
34540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34541 (eval $ac_compile) 2>conftest.er1
34542 ac_status=$?
34543 grep -v '^ *+' conftest.er1 >conftest.err
34544 rm -f conftest.er1
34545 cat conftest.err >&5
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); } &&
34548 { ac_try='test -z "$ac_cxx_werror_flag"
34549 || test ! -s conftest.err'
34550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551 (eval $ac_try) 2>&5
34552 ac_status=$?
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; } &&
34555 { ac_try='test -s conftest.$ac_objext'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34558 ac_status=$?
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; }; then
34561 glibcxx_cv_func_float_round_use=yes
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34566 glibcxx_cv_func_float_round_use=no
34568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34569 ac_ext=c
34570 ac_cpp='$CPP $CPPFLAGS'
34571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34578 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34579 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34582 for ac_func in ceilf floorf
34584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34585 echo "$as_me:$LINENO: checking for $ac_func" >&5
34586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34587 if eval "test \"\${$as_ac_var+set}\" = set"; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590 if test x$gcc_no_link = xyes; then
34591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34593 { (exit 1); exit 1; }; }
34595 cat >conftest.$ac_ext <<_ACEOF
34596 /* confdefs.h. */
34597 _ACEOF
34598 cat confdefs.h >>conftest.$ac_ext
34599 cat >>conftest.$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34603 #define $ac_func innocuous_$ac_func
34605 /* System header to define __stub macros and hopefully few prototypes,
34606 which can conflict with char $ac_func (); below.
34607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34608 <limits.h> exists even on freestanding compilers. */
34610 #ifdef __STDC__
34611 # include <limits.h>
34612 #else
34613 # include <assert.h>
34614 #endif
34616 #undef $ac_func
34618 /* Override any gcc2 internal prototype to avoid an error. */
34619 #ifdef __cplusplus
34620 extern "C"
34622 #endif
34623 /* We use char because int might match the return type of a gcc2
34624 builtin and then its argument prototype would still apply. */
34625 char $ac_func ();
34626 /* The GNU C library defines this for functions which it implements
34627 to always fail with ENOSYS. Some functions are actually named
34628 something starting with __ and the normal name is an alias. */
34629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34630 choke me
34631 #else
34632 char (*f) () = $ac_func;
34633 #endif
34634 #ifdef __cplusplus
34636 #endif
34639 main ()
34641 return f != $ac_func;
34643 return 0;
34645 _ACEOF
34646 rm -f conftest.$ac_objext conftest$ac_exeext
34647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34648 (eval $ac_link) 2>conftest.er1
34649 ac_status=$?
34650 grep -v '^ *+' conftest.er1 >conftest.err
34651 rm -f conftest.er1
34652 cat conftest.err >&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } &&
34655 { ac_try='test -z "$ac_c_werror_flag"
34656 || test ! -s conftest.err'
34657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34658 (eval $ac_try) 2>&5
34659 ac_status=$?
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); }; } &&
34662 { ac_try='test -s conftest$ac_exeext'
34663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34664 (eval $ac_try) 2>&5
34665 ac_status=$?
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); }; }; then
34668 eval "$as_ac_var=yes"
34669 else
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.$ac_ext >&5
34673 eval "$as_ac_var=no"
34675 rm -f conftest.err conftest.$ac_objext \
34676 conftest$ac_exeext conftest.$ac_ext
34678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34680 if test `eval echo '${'$as_ac_var'}'` = yes; then
34681 cat >>confdefs.h <<_ACEOF
34682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34683 _ACEOF
34686 done
34688 else
34689 echo "$as_me:$LINENO: checking for _float round functions" >&5
34690 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34691 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34692 echo $ECHO_N "(cached) $ECHO_C" >&6
34693 else
34697 ac_ext=cc
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703 cat >conftest.$ac_ext <<_ACEOF
34704 /* confdefs.h. */
34705 _ACEOF
34706 cat confdefs.h >>conftest.$ac_ext
34707 cat >>conftest.$ac_ext <<_ACEOF
34708 /* end confdefs.h. */
34709 #include <math.h>
34711 main ()
34713 _ceilf (0); _floorf (0);
34715 return 0;
34717 _ACEOF
34718 rm -f conftest.$ac_objext
34719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34720 (eval $ac_compile) 2>conftest.er1
34721 ac_status=$?
34722 grep -v '^ *+' conftest.er1 >conftest.err
34723 rm -f conftest.er1
34724 cat conftest.err >&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); } &&
34727 { ac_try='test -z "$ac_cxx_werror_flag"
34728 || test ! -s conftest.err'
34729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34730 (eval $ac_try) 2>&5
34731 ac_status=$?
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); }; } &&
34734 { ac_try='test -s conftest.$ac_objext'
34735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34736 (eval $ac_try) 2>&5
34737 ac_status=$?
34738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34739 (exit $ac_status); }; }; then
34740 glibcxx_cv_func__float_round_use=yes
34741 else
34742 echo "$as_me: failed program was:" >&5
34743 sed 's/^/| /' conftest.$ac_ext >&5
34745 glibcxx_cv_func__float_round_use=no
34747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34748 ac_ext=c
34749 ac_cpp='$CPP $CPPFLAGS'
34750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34757 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34758 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34761 for ac_func in _ceilf _floorf
34763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34764 echo "$as_me:$LINENO: checking for $ac_func" >&5
34765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34766 if eval "test \"\${$as_ac_var+set}\" = set"; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 else
34769 if test x$gcc_no_link = xyes; then
34770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34772 { (exit 1); exit 1; }; }
34774 cat >conftest.$ac_ext <<_ACEOF
34775 /* confdefs.h. */
34776 _ACEOF
34777 cat confdefs.h >>conftest.$ac_ext
34778 cat >>conftest.$ac_ext <<_ACEOF
34779 /* end confdefs.h. */
34780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34782 #define $ac_func innocuous_$ac_func
34784 /* System header to define __stub macros and hopefully few prototypes,
34785 which can conflict with char $ac_func (); below.
34786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34787 <limits.h> exists even on freestanding compilers. */
34789 #ifdef __STDC__
34790 # include <limits.h>
34791 #else
34792 # include <assert.h>
34793 #endif
34795 #undef $ac_func
34797 /* Override any gcc2 internal prototype to avoid an error. */
34798 #ifdef __cplusplus
34799 extern "C"
34801 #endif
34802 /* We use char because int might match the return type of a gcc2
34803 builtin and then its argument prototype would still apply. */
34804 char $ac_func ();
34805 /* The GNU C library defines this for functions which it implements
34806 to always fail with ENOSYS. Some functions are actually named
34807 something starting with __ and the normal name is an alias. */
34808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34809 choke me
34810 #else
34811 char (*f) () = $ac_func;
34812 #endif
34813 #ifdef __cplusplus
34815 #endif
34818 main ()
34820 return f != $ac_func;
34822 return 0;
34824 _ACEOF
34825 rm -f conftest.$ac_objext conftest$ac_exeext
34826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34827 (eval $ac_link) 2>conftest.er1
34828 ac_status=$?
34829 grep -v '^ *+' conftest.er1 >conftest.err
34830 rm -f conftest.er1
34831 cat conftest.err >&5
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); } &&
34834 { ac_try='test -z "$ac_c_werror_flag"
34835 || test ! -s conftest.err'
34836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34837 (eval $ac_try) 2>&5
34838 ac_status=$?
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); }; } &&
34841 { ac_try='test -s conftest$ac_exeext'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34844 ac_status=$?
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; }; then
34847 eval "$as_ac_var=yes"
34848 else
34849 echo "$as_me: failed program was:" >&5
34850 sed 's/^/| /' conftest.$ac_ext >&5
34852 eval "$as_ac_var=no"
34854 rm -f conftest.err conftest.$ac_objext \
34855 conftest$ac_exeext conftest.$ac_ext
34857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34859 if test `eval echo '${'$as_ac_var'}'` = yes; then
34860 cat >>confdefs.h <<_ACEOF
34861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34862 _ACEOF
34865 done
34877 echo "$as_me:$LINENO: checking for expf declaration" >&5
34878 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34879 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34880 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 else
34886 ac_ext=cc
34887 ac_cpp='$CXXCPP $CPPFLAGS'
34888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34892 cat >conftest.$ac_ext <<_ACEOF
34893 /* confdefs.h. */
34894 _ACEOF
34895 cat confdefs.h >>conftest.$ac_ext
34896 cat >>conftest.$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34898 #include <math.h>
34899 #ifdef HAVE_IEEEFP_H
34900 #include <ieeefp.h>
34901 #endif
34904 main ()
34906 expf(0);
34908 return 0;
34910 _ACEOF
34911 rm -f conftest.$ac_objext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34913 (eval $ac_compile) 2>conftest.er1
34914 ac_status=$?
34915 grep -v '^ *+' conftest.er1 >conftest.err
34916 rm -f conftest.er1
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try='test -z "$ac_cxx_werror_flag"
34921 || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 glibcxx_cv_func_expf_use=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34938 glibcxx_cv_func_expf_use=no
34940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34941 ac_ext=c
34942 ac_cpp='$CPP $CPPFLAGS'
34943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34952 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34954 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34956 for ac_func in expf
34958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34959 echo "$as_me:$LINENO: checking for $ac_func" >&5
34960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34961 if eval "test \"\${$as_ac_var+set}\" = set"; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34964 if test x$gcc_no_link = xyes; then
34965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34967 { (exit 1); exit 1; }; }
34969 cat >conftest.$ac_ext <<_ACEOF
34970 /* confdefs.h. */
34971 _ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34977 #define $ac_func innocuous_$ac_func
34979 /* System header to define __stub macros and hopefully few prototypes,
34980 which can conflict with char $ac_func (); below.
34981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34982 <limits.h> exists even on freestanding compilers. */
34984 #ifdef __STDC__
34985 # include <limits.h>
34986 #else
34987 # include <assert.h>
34988 #endif
34990 #undef $ac_func
34992 /* Override any gcc2 internal prototype to avoid an error. */
34993 #ifdef __cplusplus
34994 extern "C"
34996 #endif
34997 /* We use char because int might match the return type of a gcc2
34998 builtin and then its argument prototype would still apply. */
34999 char $ac_func ();
35000 /* The GNU C library defines this for functions which it implements
35001 to always fail with ENOSYS. Some functions are actually named
35002 something starting with __ and the normal name is an alias. */
35003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35004 choke me
35005 #else
35006 char (*f) () = $ac_func;
35007 #endif
35008 #ifdef __cplusplus
35010 #endif
35013 main ()
35015 return f != $ac_func;
35017 return 0;
35019 _ACEOF
35020 rm -f conftest.$ac_objext conftest$ac_exeext
35021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35022 (eval $ac_link) 2>conftest.er1
35023 ac_status=$?
35024 grep -v '^ *+' conftest.er1 >conftest.err
35025 rm -f conftest.er1
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } &&
35029 { ac_try='test -z "$ac_c_werror_flag"
35030 || test ! -s conftest.err'
35031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35032 (eval $ac_try) 2>&5
35033 ac_status=$?
35034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35035 (exit $ac_status); }; } &&
35036 { ac_try='test -s conftest$ac_exeext'
35037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35038 (eval $ac_try) 2>&5
35039 ac_status=$?
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); }; }; then
35042 eval "$as_ac_var=yes"
35043 else
35044 echo "$as_me: failed program was:" >&5
35045 sed 's/^/| /' conftest.$ac_ext >&5
35047 eval "$as_ac_var=no"
35049 rm -f conftest.err conftest.$ac_objext \
35050 conftest$ac_exeext conftest.$ac_ext
35052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35054 if test `eval echo '${'$as_ac_var'}'` = yes; then
35055 cat >>confdefs.h <<_ACEOF
35056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35057 _ACEOF
35060 done
35062 else
35064 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35065 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35066 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35067 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 else
35073 ac_ext=cc
35074 ac_cpp='$CXXCPP $CPPFLAGS'
35075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35079 cat >conftest.$ac_ext <<_ACEOF
35080 /* confdefs.h. */
35081 _ACEOF
35082 cat confdefs.h >>conftest.$ac_ext
35083 cat >>conftest.$ac_ext <<_ACEOF
35084 /* end confdefs.h. */
35085 #include <math.h>
35086 #ifdef HAVE_IEEEFP_H
35087 #include <ieeefp.h>
35088 #endif
35091 main ()
35093 _expf(0);
35095 return 0;
35097 _ACEOF
35098 rm -f conftest.$ac_objext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35100 (eval $ac_compile) 2>conftest.er1
35101 ac_status=$?
35102 grep -v '^ *+' conftest.er1 >conftest.err
35103 rm -f conftest.er1
35104 cat conftest.err >&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } &&
35107 { ac_try='test -z "$ac_cxx_werror_flag"
35108 || test ! -s conftest.err'
35109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35110 (eval $ac_try) 2>&5
35111 ac_status=$?
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); }; } &&
35114 { ac_try='test -s conftest.$ac_objext'
35115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116 (eval $ac_try) 2>&5
35117 ac_status=$?
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); }; }; then
35120 glibcxx_cv_func__expf_use=yes
35121 else
35122 echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35125 glibcxx_cv_func__expf_use=no
35127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35128 ac_ext=c
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35139 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35141 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35143 for ac_func in _expf
35145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35146 echo "$as_me:$LINENO: checking for $ac_func" >&5
35147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35148 if eval "test \"\${$as_ac_var+set}\" = set"; then
35149 echo $ECHO_N "(cached) $ECHO_C" >&6
35150 else
35151 if test x$gcc_no_link = xyes; then
35152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35154 { (exit 1); exit 1; }; }
35156 cat >conftest.$ac_ext <<_ACEOF
35157 /* confdefs.h. */
35158 _ACEOF
35159 cat confdefs.h >>conftest.$ac_ext
35160 cat >>conftest.$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35164 #define $ac_func innocuous_$ac_func
35166 /* System header to define __stub macros and hopefully few prototypes,
35167 which can conflict with char $ac_func (); below.
35168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35169 <limits.h> exists even on freestanding compilers. */
35171 #ifdef __STDC__
35172 # include <limits.h>
35173 #else
35174 # include <assert.h>
35175 #endif
35177 #undef $ac_func
35179 /* Override any gcc2 internal prototype to avoid an error. */
35180 #ifdef __cplusplus
35181 extern "C"
35183 #endif
35184 /* We use char because int might match the return type of a gcc2
35185 builtin and then its argument prototype would still apply. */
35186 char $ac_func ();
35187 /* The GNU C library defines this for functions which it implements
35188 to always fail with ENOSYS. Some functions are actually named
35189 something starting with __ and the normal name is an alias. */
35190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35191 choke me
35192 #else
35193 char (*f) () = $ac_func;
35194 #endif
35195 #ifdef __cplusplus
35197 #endif
35200 main ()
35202 return f != $ac_func;
35204 return 0;
35206 _ACEOF
35207 rm -f conftest.$ac_objext conftest$ac_exeext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35209 (eval $ac_link) 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try='test -z "$ac_c_werror_flag"
35217 || test ! -s conftest.err'
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35220 ac_status=$?
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; } &&
35223 { ac_try='test -s conftest$ac_exeext'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35226 ac_status=$?
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; }; then
35229 eval "$as_ac_var=yes"
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35234 eval "$as_ac_var=no"
35236 rm -f conftest.err conftest.$ac_objext \
35237 conftest$ac_exeext conftest.$ac_ext
35239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35241 if test `eval echo '${'$as_ac_var'}'` = yes; then
35242 cat >>confdefs.h <<_ACEOF
35243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 _ACEOF
35247 done
35257 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35258 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35259 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35260 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 else
35266 ac_ext=cc
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272 cat >conftest.$ac_ext <<_ACEOF
35273 /* confdefs.h. */
35274 _ACEOF
35275 cat confdefs.h >>conftest.$ac_ext
35276 cat >>conftest.$ac_ext <<_ACEOF
35277 /* end confdefs.h. */
35278 #include <math.h>
35279 #ifdef HAVE_IEEEFP_H
35280 #include <ieeefp.h>
35281 #endif
35284 main ()
35286 isnanf(0);
35288 return 0;
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35293 (eval $ac_compile) 2>conftest.er1
35294 ac_status=$?
35295 grep -v '^ *+' conftest.er1 >conftest.err
35296 rm -f conftest.er1
35297 cat conftest.err >&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } &&
35300 { ac_try='test -z "$ac_cxx_werror_flag"
35301 || test ! -s conftest.err'
35302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35303 (eval $ac_try) 2>&5
35304 ac_status=$?
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); }; } &&
35307 { ac_try='test -s conftest.$ac_objext'
35308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35309 (eval $ac_try) 2>&5
35310 ac_status=$?
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); }; }; then
35313 glibcxx_cv_func_isnanf_use=yes
35314 else
35315 echo "$as_me: failed program was:" >&5
35316 sed 's/^/| /' conftest.$ac_ext >&5
35318 glibcxx_cv_func_isnanf_use=no
35320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35321 ac_ext=c
35322 ac_cpp='$CPP $CPPFLAGS'
35323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35332 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35334 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35336 for ac_func in isnanf
35338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35339 echo "$as_me:$LINENO: checking for $ac_func" >&5
35340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35341 if eval "test \"\${$as_ac_var+set}\" = set"; then
35342 echo $ECHO_N "(cached) $ECHO_C" >&6
35343 else
35344 if test x$gcc_no_link = xyes; then
35345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35347 { (exit 1); exit 1; }; }
35349 cat >conftest.$ac_ext <<_ACEOF
35350 /* confdefs.h. */
35351 _ACEOF
35352 cat confdefs.h >>conftest.$ac_ext
35353 cat >>conftest.$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35357 #define $ac_func innocuous_$ac_func
35359 /* System header to define __stub macros and hopefully few prototypes,
35360 which can conflict with char $ac_func (); below.
35361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35362 <limits.h> exists even on freestanding compilers. */
35364 #ifdef __STDC__
35365 # include <limits.h>
35366 #else
35367 # include <assert.h>
35368 #endif
35370 #undef $ac_func
35372 /* Override any gcc2 internal prototype to avoid an error. */
35373 #ifdef __cplusplus
35374 extern "C"
35376 #endif
35377 /* We use char because int might match the return type of a gcc2
35378 builtin and then its argument prototype would still apply. */
35379 char $ac_func ();
35380 /* The GNU C library defines this for functions which it implements
35381 to always fail with ENOSYS. Some functions are actually named
35382 something starting with __ and the normal name is an alias. */
35383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35384 choke me
35385 #else
35386 char (*f) () = $ac_func;
35387 #endif
35388 #ifdef __cplusplus
35390 #endif
35393 main ()
35395 return f != $ac_func;
35397 return 0;
35399 _ACEOF
35400 rm -f conftest.$ac_objext conftest$ac_exeext
35401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35402 (eval $ac_link) 2>conftest.er1
35403 ac_status=$?
35404 grep -v '^ *+' conftest.er1 >conftest.err
35405 rm -f conftest.er1
35406 cat conftest.err >&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); } &&
35409 { ac_try='test -z "$ac_c_werror_flag"
35410 || test ! -s conftest.err'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35413 ac_status=$?
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; } &&
35416 { ac_try='test -s conftest$ac_exeext'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35419 ac_status=$?
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; }; then
35422 eval "$as_ac_var=yes"
35423 else
35424 echo "$as_me: failed program was:" >&5
35425 sed 's/^/| /' conftest.$ac_ext >&5
35427 eval "$as_ac_var=no"
35429 rm -f conftest.err conftest.$ac_objext \
35430 conftest$ac_exeext conftest.$ac_ext
35432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35434 if test `eval echo '${'$as_ac_var'}'` = yes; then
35435 cat >>confdefs.h <<_ACEOF
35436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35437 _ACEOF
35440 done
35442 else
35444 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35445 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35446 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35447 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35453 ac_ext=cc
35454 ac_cpp='$CXXCPP $CPPFLAGS'
35455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35459 cat >conftest.$ac_ext <<_ACEOF
35460 /* confdefs.h. */
35461 _ACEOF
35462 cat confdefs.h >>conftest.$ac_ext
35463 cat >>conftest.$ac_ext <<_ACEOF
35464 /* end confdefs.h. */
35465 #include <math.h>
35466 #ifdef HAVE_IEEEFP_H
35467 #include <ieeefp.h>
35468 #endif
35471 main ()
35473 _isnanf(0);
35475 return 0;
35477 _ACEOF
35478 rm -f conftest.$ac_objext
35479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35480 (eval $ac_compile) 2>conftest.er1
35481 ac_status=$?
35482 grep -v '^ *+' conftest.er1 >conftest.err
35483 rm -f conftest.er1
35484 cat conftest.err >&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } &&
35487 { ac_try='test -z "$ac_cxx_werror_flag"
35488 || test ! -s conftest.err'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35491 ac_status=$?
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; } &&
35494 { ac_try='test -s conftest.$ac_objext'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; }; then
35500 glibcxx_cv_func__isnanf_use=yes
35501 else
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.$ac_ext >&5
35505 glibcxx_cv_func__isnanf_use=no
35507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35519 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35521 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35523 for ac_func in _isnanf
35525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35526 echo "$as_me:$LINENO: checking for $ac_func" >&5
35527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35528 if eval "test \"\${$as_ac_var+set}\" = set"; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 else
35531 if test x$gcc_no_link = xyes; then
35532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35534 { (exit 1); exit 1; }; }
35536 cat >conftest.$ac_ext <<_ACEOF
35537 /* confdefs.h. */
35538 _ACEOF
35539 cat confdefs.h >>conftest.$ac_ext
35540 cat >>conftest.$ac_ext <<_ACEOF
35541 /* end confdefs.h. */
35542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35544 #define $ac_func innocuous_$ac_func
35546 /* System header to define __stub macros and hopefully few prototypes,
35547 which can conflict with char $ac_func (); below.
35548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35549 <limits.h> exists even on freestanding compilers. */
35551 #ifdef __STDC__
35552 # include <limits.h>
35553 #else
35554 # include <assert.h>
35555 #endif
35557 #undef $ac_func
35559 /* Override any gcc2 internal prototype to avoid an error. */
35560 #ifdef __cplusplus
35561 extern "C"
35563 #endif
35564 /* We use char because int might match the return type of a gcc2
35565 builtin and then its argument prototype would still apply. */
35566 char $ac_func ();
35567 /* The GNU C library defines this for functions which it implements
35568 to always fail with ENOSYS. Some functions are actually named
35569 something starting with __ and the normal name is an alias. */
35570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35571 choke me
35572 #else
35573 char (*f) () = $ac_func;
35574 #endif
35575 #ifdef __cplusplus
35577 #endif
35580 main ()
35582 return f != $ac_func;
35584 return 0;
35586 _ACEOF
35587 rm -f conftest.$ac_objext conftest$ac_exeext
35588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35589 (eval $ac_link) 2>conftest.er1
35590 ac_status=$?
35591 grep -v '^ *+' conftest.er1 >conftest.err
35592 rm -f conftest.er1
35593 cat conftest.err >&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); } &&
35596 { ac_try='test -z "$ac_c_werror_flag"
35597 || test ! -s conftest.err'
35598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35599 (eval $ac_try) 2>&5
35600 ac_status=$?
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); }; } &&
35603 { ac_try='test -s conftest$ac_exeext'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35606 ac_status=$?
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; }; then
35609 eval "$as_ac_var=yes"
35610 else
35611 echo "$as_me: failed program was:" >&5
35612 sed 's/^/| /' conftest.$ac_ext >&5
35614 eval "$as_ac_var=no"
35616 rm -f conftest.err conftest.$ac_objext \
35617 conftest$ac_exeext conftest.$ac_ext
35619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35621 if test `eval echo '${'$as_ac_var'}'` = yes; then
35622 cat >>confdefs.h <<_ACEOF
35623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35624 _ACEOF
35627 done
35637 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35638 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35639 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35640 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35641 echo $ECHO_N "(cached) $ECHO_C" >&6
35642 else
35646 ac_ext=cc
35647 ac_cpp='$CXXCPP $CPPFLAGS'
35648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35652 cat >conftest.$ac_ext <<_ACEOF
35653 /* confdefs.h. */
35654 _ACEOF
35655 cat confdefs.h >>conftest.$ac_ext
35656 cat >>conftest.$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35658 #include <math.h>
35659 #ifdef HAVE_IEEEFP_H
35660 #include <ieeefp.h>
35661 #endif
35664 main ()
35666 isinff(0);
35668 return 0;
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35673 (eval $ac_compile) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_cxx_werror_flag"
35681 || test ! -s conftest.err'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35684 ac_status=$?
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; } &&
35687 { ac_try='test -s conftest.$ac_objext'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35690 ac_status=$?
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; }; then
35693 glibcxx_cv_func_isinff_use=yes
35694 else
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35698 glibcxx_cv_func_isinff_use=no
35700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35712 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35714 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35716 for ac_func in isinff
35718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35719 echo "$as_me:$LINENO: checking for $ac_func" >&5
35720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35721 if eval "test \"\${$as_ac_var+set}\" = set"; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 else
35724 if test x$gcc_no_link = xyes; then
35725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35727 { (exit 1); exit 1; }; }
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35737 #define $ac_func innocuous_$ac_func
35739 /* System header to define __stub macros and hopefully few prototypes,
35740 which can conflict with char $ac_func (); below.
35741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35742 <limits.h> exists even on freestanding compilers. */
35744 #ifdef __STDC__
35745 # include <limits.h>
35746 #else
35747 # include <assert.h>
35748 #endif
35750 #undef $ac_func
35752 /* Override any gcc2 internal prototype to avoid an error. */
35753 #ifdef __cplusplus
35754 extern "C"
35756 #endif
35757 /* We use char because int might match the return type of a gcc2
35758 builtin and then its argument prototype would still apply. */
35759 char $ac_func ();
35760 /* The GNU C library defines this for functions which it implements
35761 to always fail with ENOSYS. Some functions are actually named
35762 something starting with __ and the normal name is an alias. */
35763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35764 choke me
35765 #else
35766 char (*f) () = $ac_func;
35767 #endif
35768 #ifdef __cplusplus
35770 #endif
35773 main ()
35775 return f != $ac_func;
35777 return 0;
35779 _ACEOF
35780 rm -f conftest.$ac_objext conftest$ac_exeext
35781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35782 (eval $ac_link) 2>conftest.er1
35783 ac_status=$?
35784 grep -v '^ *+' conftest.er1 >conftest.err
35785 rm -f conftest.er1
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } &&
35789 { ac_try='test -z "$ac_c_werror_flag"
35790 || test ! -s conftest.err'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35793 ac_status=$?
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; } &&
35796 { ac_try='test -s conftest$ac_exeext'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; }; then
35802 eval "$as_ac_var=yes"
35803 else
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35807 eval "$as_ac_var=no"
35809 rm -f conftest.err conftest.$ac_objext \
35810 conftest$ac_exeext conftest.$ac_ext
35812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35814 if test `eval echo '${'$as_ac_var'}'` = yes; then
35815 cat >>confdefs.h <<_ACEOF
35816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35817 _ACEOF
35820 done
35822 else
35824 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35825 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35826 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35827 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35833 ac_ext=cc
35834 ac_cpp='$CXXCPP $CPPFLAGS'
35835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35839 cat >conftest.$ac_ext <<_ACEOF
35840 /* confdefs.h. */
35841 _ACEOF
35842 cat confdefs.h >>conftest.$ac_ext
35843 cat >>conftest.$ac_ext <<_ACEOF
35844 /* end confdefs.h. */
35845 #include <math.h>
35846 #ifdef HAVE_IEEEFP_H
35847 #include <ieeefp.h>
35848 #endif
35851 main ()
35853 _isinff(0);
35855 return 0;
35857 _ACEOF
35858 rm -f conftest.$ac_objext
35859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35860 (eval $ac_compile) 2>conftest.er1
35861 ac_status=$?
35862 grep -v '^ *+' conftest.er1 >conftest.err
35863 rm -f conftest.er1
35864 cat conftest.err >&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); } &&
35867 { ac_try='test -z "$ac_cxx_werror_flag"
35868 || test ! -s conftest.err'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35871 ac_status=$?
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; } &&
35874 { ac_try='test -s conftest.$ac_objext'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35877 ac_status=$?
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; }; then
35880 glibcxx_cv_func__isinff_use=yes
35881 else
35882 echo "$as_me: failed program was:" >&5
35883 sed 's/^/| /' conftest.$ac_ext >&5
35885 glibcxx_cv_func__isinff_use=no
35887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35888 ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35899 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35901 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35903 for ac_func in _isinff
35905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35906 echo "$as_me:$LINENO: checking for $ac_func" >&5
35907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35908 if eval "test \"\${$as_ac_var+set}\" = set"; then
35909 echo $ECHO_N "(cached) $ECHO_C" >&6
35910 else
35911 if test x$gcc_no_link = xyes; then
35912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35914 { (exit 1); exit 1; }; }
35916 cat >conftest.$ac_ext <<_ACEOF
35917 /* confdefs.h. */
35918 _ACEOF
35919 cat confdefs.h >>conftest.$ac_ext
35920 cat >>conftest.$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35924 #define $ac_func innocuous_$ac_func
35926 /* System header to define __stub macros and hopefully few prototypes,
35927 which can conflict with char $ac_func (); below.
35928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35929 <limits.h> exists even on freestanding compilers. */
35931 #ifdef __STDC__
35932 # include <limits.h>
35933 #else
35934 # include <assert.h>
35935 #endif
35937 #undef $ac_func
35939 /* Override any gcc2 internal prototype to avoid an error. */
35940 #ifdef __cplusplus
35941 extern "C"
35943 #endif
35944 /* We use char because int might match the return type of a gcc2
35945 builtin and then its argument prototype would still apply. */
35946 char $ac_func ();
35947 /* The GNU C library defines this for functions which it implements
35948 to always fail with ENOSYS. Some functions are actually named
35949 something starting with __ and the normal name is an alias. */
35950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35951 choke me
35952 #else
35953 char (*f) () = $ac_func;
35954 #endif
35955 #ifdef __cplusplus
35957 #endif
35960 main ()
35962 return f != $ac_func;
35964 return 0;
35966 _ACEOF
35967 rm -f conftest.$ac_objext conftest$ac_exeext
35968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35969 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
35990 else
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35994 eval "$as_ac_var=no"
35996 rm -f conftest.err conftest.$ac_objext \
35997 conftest$ac_exeext conftest.$ac_ext
35999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36001 if test `eval echo '${'$as_ac_var'}'` = yes; then
36002 cat >>confdefs.h <<_ACEOF
36003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36004 _ACEOF
36007 done
36017 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36018 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36019 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36020 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 else
36026 ac_ext=cc
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 #include <math.h>
36040 main ()
36042 atan2f(0, 0);
36044 return 0;
36046 _ACEOF
36047 rm -f conftest.$ac_objext
36048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36049 (eval $ac_compile) 2>conftest.er1
36050 ac_status=$?
36051 grep -v '^ *+' conftest.er1 >conftest.err
36052 rm -f conftest.er1
36053 cat conftest.err >&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } &&
36056 { ac_try='test -z "$ac_cxx_werror_flag"
36057 || test ! -s conftest.err'
36058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36059 (eval $ac_try) 2>&5
36060 ac_status=$?
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); }; } &&
36063 { ac_try='test -s conftest.$ac_objext'
36064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36065 (eval $ac_try) 2>&5
36066 ac_status=$?
36067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068 (exit $ac_status); }; }; then
36069 glibcxx_cv_func_atan2f_use=yes
36070 else
36071 echo "$as_me: failed program was:" >&5
36072 sed 's/^/| /' conftest.$ac_ext >&5
36074 glibcxx_cv_func_atan2f_use=no
36076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36077 ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36088 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36090 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36092 for ac_func in atan2f
36094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36095 echo "$as_me:$LINENO: checking for $ac_func" >&5
36096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36097 if eval "test \"\${$as_ac_var+set}\" = set"; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36100 if test x$gcc_no_link = xyes; then
36101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36103 { (exit 1); exit 1; }; }
36105 cat >conftest.$ac_ext <<_ACEOF
36106 /* confdefs.h. */
36107 _ACEOF
36108 cat confdefs.h >>conftest.$ac_ext
36109 cat >>conftest.$ac_ext <<_ACEOF
36110 /* end confdefs.h. */
36111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36113 #define $ac_func innocuous_$ac_func
36115 /* System header to define __stub macros and hopefully few prototypes,
36116 which can conflict with char $ac_func (); below.
36117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36118 <limits.h> exists even on freestanding compilers. */
36120 #ifdef __STDC__
36121 # include <limits.h>
36122 #else
36123 # include <assert.h>
36124 #endif
36126 #undef $ac_func
36128 /* Override any gcc2 internal prototype to avoid an error. */
36129 #ifdef __cplusplus
36130 extern "C"
36132 #endif
36133 /* We use char because int might match the return type of a gcc2
36134 builtin and then its argument prototype would still apply. */
36135 char $ac_func ();
36136 /* The GNU C library defines this for functions which it implements
36137 to always fail with ENOSYS. Some functions are actually named
36138 something starting with __ and the normal name is an alias. */
36139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36140 choke me
36141 #else
36142 char (*f) () = $ac_func;
36143 #endif
36144 #ifdef __cplusplus
36146 #endif
36149 main ()
36151 return f != $ac_func;
36153 return 0;
36155 _ACEOF
36156 rm -f conftest.$ac_objext conftest$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try='test -z "$ac_c_werror_flag"
36166 || test ! -s conftest.err'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36169 ac_status=$?
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; } &&
36172 { ac_try='test -s conftest$ac_exeext'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36175 ac_status=$?
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; }; then
36178 eval "$as_ac_var=yes"
36179 else
36180 echo "$as_me: failed program was:" >&5
36181 sed 's/^/| /' conftest.$ac_ext >&5
36183 eval "$as_ac_var=no"
36185 rm -f conftest.err conftest.$ac_objext \
36186 conftest$ac_exeext conftest.$ac_ext
36188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36190 if test `eval echo '${'$as_ac_var'}'` = yes; then
36191 cat >>confdefs.h <<_ACEOF
36192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36193 _ACEOF
36196 done
36198 else
36200 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36201 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36202 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36203 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36204 echo $ECHO_N "(cached) $ECHO_C" >&6
36205 else
36209 ac_ext=cc
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36215 cat >conftest.$ac_ext <<_ACEOF
36216 /* confdefs.h. */
36217 _ACEOF
36218 cat confdefs.h >>conftest.$ac_ext
36219 cat >>conftest.$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36221 #include <math.h>
36223 main ()
36225 _atan2f(0, 0);
36227 return 0;
36229 _ACEOF
36230 rm -f conftest.$ac_objext
36231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36232 (eval $ac_compile) 2>conftest.er1
36233 ac_status=$?
36234 grep -v '^ *+' conftest.er1 >conftest.err
36235 rm -f conftest.er1
36236 cat conftest.err >&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); } &&
36239 { ac_try='test -z "$ac_cxx_werror_flag"
36240 || test ! -s conftest.err'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36243 ac_status=$?
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } &&
36246 { ac_try='test -s conftest.$ac_objext'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36249 ac_status=$?
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; }; then
36252 glibcxx_cv_func__atan2f_use=yes
36253 else
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.$ac_ext >&5
36257 glibcxx_cv_func__atan2f_use=no
36259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36271 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36273 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36275 for ac_func in _atan2f
36277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36278 echo "$as_me:$LINENO: checking for $ac_func" >&5
36279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36280 if eval "test \"\${$as_ac_var+set}\" = set"; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283 if test x$gcc_no_link = xyes; then
36284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36286 { (exit 1); exit 1; }; }
36288 cat >conftest.$ac_ext <<_ACEOF
36289 /* confdefs.h. */
36290 _ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36296 #define $ac_func innocuous_$ac_func
36298 /* System header to define __stub macros and hopefully few prototypes,
36299 which can conflict with char $ac_func (); below.
36300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36301 <limits.h> exists even on freestanding compilers. */
36303 #ifdef __STDC__
36304 # include <limits.h>
36305 #else
36306 # include <assert.h>
36307 #endif
36309 #undef $ac_func
36311 /* Override any gcc2 internal prototype to avoid an error. */
36312 #ifdef __cplusplus
36313 extern "C"
36315 #endif
36316 /* We use char because int might match the return type of a gcc2
36317 builtin and then its argument prototype would still apply. */
36318 char $ac_func ();
36319 /* The GNU C library defines this for functions which it implements
36320 to always fail with ENOSYS. Some functions are actually named
36321 something starting with __ and the normal name is an alias. */
36322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36323 choke me
36324 #else
36325 char (*f) () = $ac_func;
36326 #endif
36327 #ifdef __cplusplus
36329 #endif
36332 main ()
36334 return f != $ac_func;
36336 return 0;
36338 _ACEOF
36339 rm -f conftest.$ac_objext conftest$ac_exeext
36340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36341 (eval $ac_link) 2>conftest.er1
36342 ac_status=$?
36343 grep -v '^ *+' conftest.er1 >conftest.err
36344 rm -f conftest.er1
36345 cat conftest.err >&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } &&
36348 { ac_try='test -z "$ac_c_werror_flag"
36349 || test ! -s conftest.err'
36350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 (eval $ac_try) 2>&5
36352 ac_status=$?
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; } &&
36355 { ac_try='test -s conftest$ac_exeext'
36356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36357 (eval $ac_try) 2>&5
36358 ac_status=$?
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); }; }; then
36361 eval "$as_ac_var=yes"
36362 else
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36366 eval "$as_ac_var=no"
36368 rm -f conftest.err conftest.$ac_objext \
36369 conftest$ac_exeext conftest.$ac_ext
36371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36373 if test `eval echo '${'$as_ac_var'}'` = yes; then
36374 cat >>confdefs.h <<_ACEOF
36375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36376 _ACEOF
36379 done
36389 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36390 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36391 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36392 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36393 echo $ECHO_N "(cached) $ECHO_C" >&6
36394 else
36398 ac_ext=cc
36399 ac_cpp='$CXXCPP $CPPFLAGS'
36400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36404 cat >conftest.$ac_ext <<_ACEOF
36405 /* confdefs.h. */
36406 _ACEOF
36407 cat confdefs.h >>conftest.$ac_ext
36408 cat >>conftest.$ac_ext <<_ACEOF
36409 /* end confdefs.h. */
36410 #include <math.h>
36411 #ifdef HAVE_IEEEFP_H
36412 #include <ieeefp.h>
36413 #endif
36416 main ()
36418 fabsf(0);
36420 return 0;
36422 _ACEOF
36423 rm -f conftest.$ac_objext
36424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36425 (eval $ac_compile) 2>conftest.er1
36426 ac_status=$?
36427 grep -v '^ *+' conftest.er1 >conftest.err
36428 rm -f conftest.er1
36429 cat conftest.err >&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } &&
36432 { ac_try='test -z "$ac_cxx_werror_flag"
36433 || test ! -s conftest.err'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36436 ac_status=$?
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; } &&
36439 { ac_try='test -s conftest.$ac_objext'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36442 ac_status=$?
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; }; then
36445 glibcxx_cv_func_fabsf_use=yes
36446 else
36447 echo "$as_me: failed program was:" >&5
36448 sed 's/^/| /' conftest.$ac_ext >&5
36450 glibcxx_cv_func_fabsf_use=no
36452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36453 ac_ext=c
36454 ac_cpp='$CPP $CPPFLAGS'
36455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36464 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36466 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36468 for ac_func in fabsf
36470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36471 echo "$as_me:$LINENO: checking for $ac_func" >&5
36472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36473 if eval "test \"\${$as_ac_var+set}\" = set"; then
36474 echo $ECHO_N "(cached) $ECHO_C" >&6
36475 else
36476 if test x$gcc_no_link = xyes; then
36477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36479 { (exit 1); exit 1; }; }
36481 cat >conftest.$ac_ext <<_ACEOF
36482 /* confdefs.h. */
36483 _ACEOF
36484 cat confdefs.h >>conftest.$ac_ext
36485 cat >>conftest.$ac_ext <<_ACEOF
36486 /* end confdefs.h. */
36487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36489 #define $ac_func innocuous_$ac_func
36491 /* System header to define __stub macros and hopefully few prototypes,
36492 which can conflict with char $ac_func (); below.
36493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36494 <limits.h> exists even on freestanding compilers. */
36496 #ifdef __STDC__
36497 # include <limits.h>
36498 #else
36499 # include <assert.h>
36500 #endif
36502 #undef $ac_func
36504 /* Override any gcc2 internal prototype to avoid an error. */
36505 #ifdef __cplusplus
36506 extern "C"
36508 #endif
36509 /* We use char because int might match the return type of a gcc2
36510 builtin and then its argument prototype would still apply. */
36511 char $ac_func ();
36512 /* The GNU C library defines this for functions which it implements
36513 to always fail with ENOSYS. Some functions are actually named
36514 something starting with __ and the normal name is an alias. */
36515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36516 choke me
36517 #else
36518 char (*f) () = $ac_func;
36519 #endif
36520 #ifdef __cplusplus
36522 #endif
36525 main ()
36527 return f != $ac_func;
36529 return 0;
36531 _ACEOF
36532 rm -f conftest.$ac_objext conftest$ac_exeext
36533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36534 (eval $ac_link) 2>conftest.er1
36535 ac_status=$?
36536 grep -v '^ *+' conftest.er1 >conftest.err
36537 rm -f conftest.er1
36538 cat conftest.err >&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); } &&
36541 { ac_try='test -z "$ac_c_werror_flag"
36542 || test ! -s conftest.err'
36543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36544 (eval $ac_try) 2>&5
36545 ac_status=$?
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); }; } &&
36548 { ac_try='test -s conftest$ac_exeext'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36551 ac_status=$?
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; }; then
36554 eval "$as_ac_var=yes"
36555 else
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36559 eval "$as_ac_var=no"
36561 rm -f conftest.err conftest.$ac_objext \
36562 conftest$ac_exeext conftest.$ac_ext
36564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h <<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36569 _ACEOF
36572 done
36574 else
36576 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36577 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36578 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36579 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 else
36585 ac_ext=cc
36586 ac_cpp='$CXXCPP $CPPFLAGS'
36587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36591 cat >conftest.$ac_ext <<_ACEOF
36592 /* confdefs.h. */
36593 _ACEOF
36594 cat confdefs.h >>conftest.$ac_ext
36595 cat >>conftest.$ac_ext <<_ACEOF
36596 /* end confdefs.h. */
36597 #include <math.h>
36598 #ifdef HAVE_IEEEFP_H
36599 #include <ieeefp.h>
36600 #endif
36603 main ()
36605 _fabsf(0);
36607 return 0;
36609 _ACEOF
36610 rm -f conftest.$ac_objext
36611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36612 (eval $ac_compile) 2>conftest.er1
36613 ac_status=$?
36614 grep -v '^ *+' conftest.er1 >conftest.err
36615 rm -f conftest.er1
36616 cat conftest.err >&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); } &&
36619 { ac_try='test -z "$ac_cxx_werror_flag"
36620 || test ! -s conftest.err'
36621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36622 (eval $ac_try) 2>&5
36623 ac_status=$?
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; } &&
36626 { ac_try='test -s conftest.$ac_objext'
36627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36628 (eval $ac_try) 2>&5
36629 ac_status=$?
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); }; }; then
36632 glibcxx_cv_func__fabsf_use=yes
36633 else
36634 echo "$as_me: failed program was:" >&5
36635 sed 's/^/| /' conftest.$ac_ext >&5
36637 glibcxx_cv_func__fabsf_use=no
36639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36640 ac_ext=c
36641 ac_cpp='$CPP $CPPFLAGS'
36642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36651 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36653 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36655 for ac_func in _fabsf
36657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36658 echo "$as_me:$LINENO: checking for $ac_func" >&5
36659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36660 if eval "test \"\${$as_ac_var+set}\" = set"; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 else
36663 if test x$gcc_no_link = xyes; then
36664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36666 { (exit 1); exit 1; }; }
36668 cat >conftest.$ac_ext <<_ACEOF
36669 /* confdefs.h. */
36670 _ACEOF
36671 cat confdefs.h >>conftest.$ac_ext
36672 cat >>conftest.$ac_ext <<_ACEOF
36673 /* end confdefs.h. */
36674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36676 #define $ac_func innocuous_$ac_func
36678 /* System header to define __stub macros and hopefully few prototypes,
36679 which can conflict with char $ac_func (); below.
36680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36681 <limits.h> exists even on freestanding compilers. */
36683 #ifdef __STDC__
36684 # include <limits.h>
36685 #else
36686 # include <assert.h>
36687 #endif
36689 #undef $ac_func
36691 /* Override any gcc2 internal prototype to avoid an error. */
36692 #ifdef __cplusplus
36693 extern "C"
36695 #endif
36696 /* We use char because int might match the return type of a gcc2
36697 builtin and then its argument prototype would still apply. */
36698 char $ac_func ();
36699 /* The GNU C library defines this for functions which it implements
36700 to always fail with ENOSYS. Some functions are actually named
36701 something starting with __ and the normal name is an alias. */
36702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36703 choke me
36704 #else
36705 char (*f) () = $ac_func;
36706 #endif
36707 #ifdef __cplusplus
36709 #endif
36712 main ()
36714 return f != $ac_func;
36716 return 0;
36718 _ACEOF
36719 rm -f conftest.$ac_objext conftest$ac_exeext
36720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36721 (eval $ac_link) 2>conftest.er1
36722 ac_status=$?
36723 grep -v '^ *+' conftest.er1 >conftest.err
36724 rm -f conftest.er1
36725 cat conftest.err >&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); } &&
36728 { ac_try='test -z "$ac_c_werror_flag"
36729 || test ! -s conftest.err'
36730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36731 (eval $ac_try) 2>&5
36732 ac_status=$?
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); }; } &&
36735 { ac_try='test -s conftest$ac_exeext'
36736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36737 (eval $ac_try) 2>&5
36738 ac_status=$?
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; }; then
36741 eval "$as_ac_var=yes"
36742 else
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.$ac_ext >&5
36746 eval "$as_ac_var=no"
36748 rm -f conftest.err conftest.$ac_objext \
36749 conftest$ac_exeext conftest.$ac_ext
36751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36753 if test `eval echo '${'$as_ac_var'}'` = yes; then
36754 cat >>confdefs.h <<_ACEOF
36755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36756 _ACEOF
36759 done
36769 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36770 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36771 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36772 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36773 echo $ECHO_N "(cached) $ECHO_C" >&6
36774 else
36778 ac_ext=cc
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36784 cat >conftest.$ac_ext <<_ACEOF
36785 /* confdefs.h. */
36786 _ACEOF
36787 cat confdefs.h >>conftest.$ac_ext
36788 cat >>conftest.$ac_ext <<_ACEOF
36789 /* end confdefs.h. */
36790 #include <math.h>
36792 main ()
36794 fmodf(0, 0);
36796 return 0;
36798 _ACEOF
36799 rm -f conftest.$ac_objext
36800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36801 (eval $ac_compile) 2>conftest.er1
36802 ac_status=$?
36803 grep -v '^ *+' conftest.er1 >conftest.err
36804 rm -f conftest.er1
36805 cat conftest.err >&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); } &&
36808 { ac_try='test -z "$ac_cxx_werror_flag"
36809 || test ! -s conftest.err'
36810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36811 (eval $ac_try) 2>&5
36812 ac_status=$?
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); }; } &&
36815 { ac_try='test -s conftest.$ac_objext'
36816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36817 (eval $ac_try) 2>&5
36818 ac_status=$?
36819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820 (exit $ac_status); }; }; then
36821 glibcxx_cv_func_fmodf_use=yes
36822 else
36823 echo "$as_me: failed program was:" >&5
36824 sed 's/^/| /' conftest.$ac_ext >&5
36826 glibcxx_cv_func_fmodf_use=no
36828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36829 ac_ext=c
36830 ac_cpp='$CPP $CPPFLAGS'
36831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36840 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36842 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36844 for ac_func in fmodf
36846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36847 echo "$as_me:$LINENO: checking for $ac_func" >&5
36848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36849 if eval "test \"\${$as_ac_var+set}\" = set"; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36851 else
36852 if test x$gcc_no_link = xyes; then
36853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36855 { (exit 1); exit 1; }; }
36857 cat >conftest.$ac_ext <<_ACEOF
36858 /* confdefs.h. */
36859 _ACEOF
36860 cat confdefs.h >>conftest.$ac_ext
36861 cat >>conftest.$ac_ext <<_ACEOF
36862 /* end confdefs.h. */
36863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36865 #define $ac_func innocuous_$ac_func
36867 /* System header to define __stub macros and hopefully few prototypes,
36868 which can conflict with char $ac_func (); below.
36869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36870 <limits.h> exists even on freestanding compilers. */
36872 #ifdef __STDC__
36873 # include <limits.h>
36874 #else
36875 # include <assert.h>
36876 #endif
36878 #undef $ac_func
36880 /* Override any gcc2 internal prototype to avoid an error. */
36881 #ifdef __cplusplus
36882 extern "C"
36884 #endif
36885 /* We use char because int might match the return type of a gcc2
36886 builtin and then its argument prototype would still apply. */
36887 char $ac_func ();
36888 /* The GNU C library defines this for functions which it implements
36889 to always fail with ENOSYS. Some functions are actually named
36890 something starting with __ and the normal name is an alias. */
36891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36892 choke me
36893 #else
36894 char (*f) () = $ac_func;
36895 #endif
36896 #ifdef __cplusplus
36898 #endif
36901 main ()
36903 return f != $ac_func;
36905 return 0;
36907 _ACEOF
36908 rm -f conftest.$ac_objext conftest$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_c_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36921 ac_status=$?
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36927 ac_status=$?
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 eval "$as_ac_var=yes"
36931 else
36932 echo "$as_me: failed program was:" >&5
36933 sed 's/^/| /' conftest.$ac_ext >&5
36935 eval "$as_ac_var=no"
36937 rm -f conftest.err conftest.$ac_objext \
36938 conftest$ac_exeext conftest.$ac_ext
36940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36942 if test `eval echo '${'$as_ac_var'}'` = yes; then
36943 cat >>confdefs.h <<_ACEOF
36944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36945 _ACEOF
36948 done
36950 else
36952 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36953 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36954 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36955 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36956 echo $ECHO_N "(cached) $ECHO_C" >&6
36957 else
36961 ac_ext=cc
36962 ac_cpp='$CXXCPP $CPPFLAGS'
36963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36967 cat >conftest.$ac_ext <<_ACEOF
36968 /* confdefs.h. */
36969 _ACEOF
36970 cat confdefs.h >>conftest.$ac_ext
36971 cat >>conftest.$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36973 #include <math.h>
36975 main ()
36977 _fmodf(0, 0);
36979 return 0;
36981 _ACEOF
36982 rm -f conftest.$ac_objext
36983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36984 (eval $ac_compile) 2>conftest.er1
36985 ac_status=$?
36986 grep -v '^ *+' conftest.er1 >conftest.err
36987 rm -f conftest.er1
36988 cat conftest.err >&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); } &&
36991 { ac_try='test -z "$ac_cxx_werror_flag"
36992 || test ! -s conftest.err'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; } &&
36998 { ac_try='test -s conftest.$ac_objext'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 glibcxx_cv_func__fmodf_use=yes
37005 else
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37009 glibcxx_cv_func__fmodf_use=no
37011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37012 ac_ext=c
37013 ac_cpp='$CPP $CPPFLAGS'
37014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37023 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37025 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37027 for ac_func in _fmodf
37029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37030 echo "$as_me:$LINENO: checking for $ac_func" >&5
37031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37032 if eval "test \"\${$as_ac_var+set}\" = set"; then
37033 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 else
37035 if test x$gcc_no_link = xyes; then
37036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37038 { (exit 1); exit 1; }; }
37040 cat >conftest.$ac_ext <<_ACEOF
37041 /* confdefs.h. */
37042 _ACEOF
37043 cat confdefs.h >>conftest.$ac_ext
37044 cat >>conftest.$ac_ext <<_ACEOF
37045 /* end confdefs.h. */
37046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37048 #define $ac_func innocuous_$ac_func
37050 /* System header to define __stub macros and hopefully few prototypes,
37051 which can conflict with char $ac_func (); below.
37052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37053 <limits.h> exists even on freestanding compilers. */
37055 #ifdef __STDC__
37056 # include <limits.h>
37057 #else
37058 # include <assert.h>
37059 #endif
37061 #undef $ac_func
37063 /* Override any gcc2 internal prototype to avoid an error. */
37064 #ifdef __cplusplus
37065 extern "C"
37067 #endif
37068 /* We use char because int might match the return type of a gcc2
37069 builtin and then its argument prototype would still apply. */
37070 char $ac_func ();
37071 /* The GNU C library defines this for functions which it implements
37072 to always fail with ENOSYS. Some functions are actually named
37073 something starting with __ and the normal name is an alias. */
37074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37075 choke me
37076 #else
37077 char (*f) () = $ac_func;
37078 #endif
37079 #ifdef __cplusplus
37081 #endif
37084 main ()
37086 return f != $ac_func;
37088 return 0;
37090 _ACEOF
37091 rm -f conftest.$ac_objext conftest$ac_exeext
37092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37093 (eval $ac_link) 2>conftest.er1
37094 ac_status=$?
37095 grep -v '^ *+' conftest.er1 >conftest.err
37096 rm -f conftest.er1
37097 cat conftest.err >&5
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); } &&
37100 { ac_try='test -z "$ac_c_werror_flag"
37101 || test ! -s conftest.err'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37104 ac_status=$?
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; } &&
37107 { ac_try='test -s conftest$ac_exeext'
37108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37109 (eval $ac_try) 2>&5
37110 ac_status=$?
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); }; }; then
37113 eval "$as_ac_var=yes"
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37118 eval "$as_ac_var=no"
37120 rm -f conftest.err conftest.$ac_objext \
37121 conftest$ac_exeext conftest.$ac_ext
37123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37125 if test `eval echo '${'$as_ac_var'}'` = yes; then
37126 cat >>confdefs.h <<_ACEOF
37127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37128 _ACEOF
37131 done
37141 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37142 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37143 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37144 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37145 echo $ECHO_N "(cached) $ECHO_C" >&6
37146 else
37150 ac_ext=cc
37151 ac_cpp='$CXXCPP $CPPFLAGS'
37152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156 cat >conftest.$ac_ext <<_ACEOF
37157 /* confdefs.h. */
37158 _ACEOF
37159 cat confdefs.h >>conftest.$ac_ext
37160 cat >>conftest.$ac_ext <<_ACEOF
37161 /* end confdefs.h. */
37162 #include <math.h>
37164 main ()
37166 frexpf(0, 0);
37168 return 0;
37170 _ACEOF
37171 rm -f conftest.$ac_objext
37172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37173 (eval $ac_compile) 2>conftest.er1
37174 ac_status=$?
37175 grep -v '^ *+' conftest.er1 >conftest.err
37176 rm -f conftest.er1
37177 cat conftest.err >&5
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); } &&
37180 { ac_try='test -z "$ac_cxx_werror_flag"
37181 || test ! -s conftest.err'
37182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183 (eval $ac_try) 2>&5
37184 ac_status=$?
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); }; } &&
37187 { ac_try='test -s conftest.$ac_objext'
37188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37189 (eval $ac_try) 2>&5
37190 ac_status=$?
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); }; }; then
37193 glibcxx_cv_func_frexpf_use=yes
37194 else
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.$ac_ext >&5
37198 glibcxx_cv_func_frexpf_use=no
37200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37201 ac_ext=c
37202 ac_cpp='$CPP $CPPFLAGS'
37203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37212 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37214 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37216 for ac_func in frexpf
37218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37219 echo "$as_me:$LINENO: checking for $ac_func" >&5
37220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37221 if eval "test \"\${$as_ac_var+set}\" = set"; then
37222 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 else
37224 if test x$gcc_no_link = xyes; then
37225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37227 { (exit 1); exit 1; }; }
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37244 #ifdef __STDC__
37245 # include <limits.h>
37246 #else
37247 # include <assert.h>
37248 #endif
37250 #undef $ac_func
37252 /* Override any gcc2 internal prototype to avoid an error. */
37253 #ifdef __cplusplus
37254 extern "C"
37256 #endif
37257 /* We use char because int might match the return type of a gcc2
37258 builtin and then its argument prototype would still apply. */
37259 char $ac_func ();
37260 /* The GNU C library defines this for functions which it implements
37261 to always fail with ENOSYS. Some functions are actually named
37262 something starting with __ and the normal name is an alias. */
37263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37264 choke me
37265 #else
37266 char (*f) () = $ac_func;
37267 #endif
37268 #ifdef __cplusplus
37270 #endif
37273 main ()
37275 return f != $ac_func;
37277 return 0;
37279 _ACEOF
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37282 (eval $ac_link) 2>conftest.er1
37283 ac_status=$?
37284 grep -v '^ *+' conftest.er1 >conftest.err
37285 rm -f conftest.er1
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } &&
37289 { ac_try='test -z "$ac_c_werror_flag"
37290 || test ! -s conftest.err'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37293 ac_status=$?
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try='test -s conftest$ac_exeext'
37297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37298 (eval $ac_try) 2>&5
37299 ac_status=$?
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); }; }; then
37302 eval "$as_ac_var=yes"
37303 else
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.$ac_ext >&5
37307 eval "$as_ac_var=no"
37309 rm -f conftest.err conftest.$ac_objext \
37310 conftest$ac_exeext conftest.$ac_ext
37312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37314 if test `eval echo '${'$as_ac_var'}'` = yes; then
37315 cat >>confdefs.h <<_ACEOF
37316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37317 _ACEOF
37320 done
37322 else
37324 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37325 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37326 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37327 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37328 echo $ECHO_N "(cached) $ECHO_C" >&6
37329 else
37333 ac_ext=cc
37334 ac_cpp='$CXXCPP $CPPFLAGS'
37335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37339 cat >conftest.$ac_ext <<_ACEOF
37340 /* confdefs.h. */
37341 _ACEOF
37342 cat confdefs.h >>conftest.$ac_ext
37343 cat >>conftest.$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 #include <math.h>
37347 main ()
37349 _frexpf(0, 0);
37351 return 0;
37353 _ACEOF
37354 rm -f conftest.$ac_objext
37355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37356 (eval $ac_compile) 2>conftest.er1
37357 ac_status=$?
37358 grep -v '^ *+' conftest.er1 >conftest.err
37359 rm -f conftest.er1
37360 cat conftest.err >&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); } &&
37363 { ac_try='test -z "$ac_cxx_werror_flag"
37364 || test ! -s conftest.err'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; } &&
37370 { ac_try='test -s conftest.$ac_objext'
37371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37372 (eval $ac_try) 2>&5
37373 ac_status=$?
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; }; then
37376 glibcxx_cv_func__frexpf_use=yes
37377 else
37378 echo "$as_me: failed program was:" >&5
37379 sed 's/^/| /' conftest.$ac_ext >&5
37381 glibcxx_cv_func__frexpf_use=no
37383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37384 ac_ext=c
37385 ac_cpp='$CPP $CPPFLAGS'
37386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37395 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37397 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37399 for ac_func in _frexpf
37401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37402 echo "$as_me:$LINENO: checking for $ac_func" >&5
37403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37404 if eval "test \"\${$as_ac_var+set}\" = set"; then
37405 echo $ECHO_N "(cached) $ECHO_C" >&6
37406 else
37407 if test x$gcc_no_link = xyes; then
37408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37410 { (exit 1); exit 1; }; }
37412 cat >conftest.$ac_ext <<_ACEOF
37413 /* confdefs.h. */
37414 _ACEOF
37415 cat confdefs.h >>conftest.$ac_ext
37416 cat >>conftest.$ac_ext <<_ACEOF
37417 /* end confdefs.h. */
37418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37420 #define $ac_func innocuous_$ac_func
37422 /* System header to define __stub macros and hopefully few prototypes,
37423 which can conflict with char $ac_func (); below.
37424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37425 <limits.h> exists even on freestanding compilers. */
37427 #ifdef __STDC__
37428 # include <limits.h>
37429 #else
37430 # include <assert.h>
37431 #endif
37433 #undef $ac_func
37435 /* Override any gcc2 internal prototype to avoid an error. */
37436 #ifdef __cplusplus
37437 extern "C"
37439 #endif
37440 /* We use char because int might match the return type of a gcc2
37441 builtin and then its argument prototype would still apply. */
37442 char $ac_func ();
37443 /* The GNU C library defines this for functions which it implements
37444 to always fail with ENOSYS. Some functions are actually named
37445 something starting with __ and the normal name is an alias. */
37446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37447 choke me
37448 #else
37449 char (*f) () = $ac_func;
37450 #endif
37451 #ifdef __cplusplus
37453 #endif
37456 main ()
37458 return f != $ac_func;
37460 return 0;
37462 _ACEOF
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37465 (eval $ac_link) 2>conftest.er1
37466 ac_status=$?
37467 grep -v '^ *+' conftest.er1 >conftest.err
37468 rm -f conftest.er1
37469 cat conftest.err >&5
37470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 (exit $ac_status); } &&
37472 { ac_try='test -z "$ac_c_werror_flag"
37473 || test ! -s conftest.err'
37474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37475 (eval $ac_try) 2>&5
37476 ac_status=$?
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); }; } &&
37479 { ac_try='test -s conftest$ac_exeext'
37480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 (eval $ac_try) 2>&5
37482 ac_status=$?
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; }; then
37485 eval "$as_ac_var=yes"
37486 else
37487 echo "$as_me: failed program was:" >&5
37488 sed 's/^/| /' conftest.$ac_ext >&5
37490 eval "$as_ac_var=no"
37492 rm -f conftest.err conftest.$ac_objext \
37493 conftest$ac_exeext conftest.$ac_ext
37495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37497 if test `eval echo '${'$as_ac_var'}'` = yes; then
37498 cat >>confdefs.h <<_ACEOF
37499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37500 _ACEOF
37503 done
37513 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37514 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37515 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37516 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37517 echo $ECHO_N "(cached) $ECHO_C" >&6
37518 else
37522 ac_ext=cc
37523 ac_cpp='$CXXCPP $CPPFLAGS'
37524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37528 cat >conftest.$ac_ext <<_ACEOF
37529 /* confdefs.h. */
37530 _ACEOF
37531 cat confdefs.h >>conftest.$ac_ext
37532 cat >>conftest.$ac_ext <<_ACEOF
37533 /* end confdefs.h. */
37534 #include <math.h>
37536 main ()
37538 hypotf(0, 0);
37540 return 0;
37542 _ACEOF
37543 rm -f conftest.$ac_objext
37544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37545 (eval $ac_compile) 2>conftest.er1
37546 ac_status=$?
37547 grep -v '^ *+' conftest.er1 >conftest.err
37548 rm -f conftest.er1
37549 cat conftest.err >&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } &&
37552 { ac_try='test -z "$ac_cxx_werror_flag"
37553 || test ! -s conftest.err'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; } &&
37559 { ac_try='test -s conftest.$ac_objext'
37560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37561 (eval $ac_try) 2>&5
37562 ac_status=$?
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); }; }; then
37565 glibcxx_cv_func_hypotf_use=yes
37566 else
37567 echo "$as_me: failed program was:" >&5
37568 sed 's/^/| /' conftest.$ac_ext >&5
37570 glibcxx_cv_func_hypotf_use=no
37572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37573 ac_ext=c
37574 ac_cpp='$CPP $CPPFLAGS'
37575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37584 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37586 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37588 for ac_func in hypotf
37590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37591 echo "$as_me:$LINENO: checking for $ac_func" >&5
37592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37593 if eval "test \"\${$as_ac_var+set}\" = set"; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37595 else
37596 if test x$gcc_no_link = xyes; then
37597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37599 { (exit 1); exit 1; }; }
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37616 #ifdef __STDC__
37617 # include <limits.h>
37618 #else
37619 # include <assert.h>
37620 #endif
37622 #undef $ac_func
37624 /* Override any gcc2 internal prototype to avoid an error. */
37625 #ifdef __cplusplus
37626 extern "C"
37628 #endif
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37631 char $ac_func ();
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37636 choke me
37637 #else
37638 char (*f) () = $ac_func;
37639 #endif
37640 #ifdef __cplusplus
37642 #endif
37645 main ()
37647 return f != $ac_func;
37649 return 0;
37651 _ACEOF
37652 rm -f conftest.$ac_objext conftest$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try='test -z "$ac_c_werror_flag"
37662 || test ! -s conftest.err'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37665 ac_status=$?
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; } &&
37668 { ac_try='test -s conftest$ac_exeext'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37671 ac_status=$?
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; }; then
37674 eval "$as_ac_var=yes"
37675 else
37676 echo "$as_me: failed program was:" >&5
37677 sed 's/^/| /' conftest.$ac_ext >&5
37679 eval "$as_ac_var=no"
37681 rm -f conftest.err conftest.$ac_objext \
37682 conftest$ac_exeext conftest.$ac_ext
37684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37686 if test `eval echo '${'$as_ac_var'}'` = yes; then
37687 cat >>confdefs.h <<_ACEOF
37688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37689 _ACEOF
37692 done
37694 else
37696 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37697 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37698 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37699 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37701 else
37705 ac_ext=cc
37706 ac_cpp='$CXXCPP $CPPFLAGS'
37707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 #include <math.h>
37719 main ()
37721 _hypotf(0, 0);
37723 return 0;
37725 _ACEOF
37726 rm -f conftest.$ac_objext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37728 (eval $ac_compile) 2>conftest.er1
37729 ac_status=$?
37730 grep -v '^ *+' conftest.er1 >conftest.err
37731 rm -f conftest.er1
37732 cat conftest.err >&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try='test -z "$ac_cxx_werror_flag"
37736 || test ! -s conftest.err'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; } &&
37742 { ac_try='test -s conftest.$ac_objext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37745 ac_status=$?
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 glibcxx_cv_func__hypotf_use=yes
37749 else
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.$ac_ext >&5
37753 glibcxx_cv_func__hypotf_use=no
37755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37756 ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37767 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37769 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37771 for ac_func in _hypotf
37773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37774 echo "$as_me:$LINENO: checking for $ac_func" >&5
37775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37776 if eval "test \"\${$as_ac_var+set}\" = set"; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37778 else
37779 if test x$gcc_no_link = xyes; then
37780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37782 { (exit 1); exit 1; }; }
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37792 #define $ac_func innocuous_$ac_func
37794 /* System header to define __stub macros and hopefully few prototypes,
37795 which can conflict with char $ac_func (); below.
37796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37797 <limits.h> exists even on freestanding compilers. */
37799 #ifdef __STDC__
37800 # include <limits.h>
37801 #else
37802 # include <assert.h>
37803 #endif
37805 #undef $ac_func
37807 /* Override any gcc2 internal prototype to avoid an error. */
37808 #ifdef __cplusplus
37809 extern "C"
37811 #endif
37812 /* We use char because int might match the return type of a gcc2
37813 builtin and then its argument prototype would still apply. */
37814 char $ac_func ();
37815 /* The GNU C library defines this for functions which it implements
37816 to always fail with ENOSYS. Some functions are actually named
37817 something starting with __ and the normal name is an alias. */
37818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37819 choke me
37820 #else
37821 char (*f) () = $ac_func;
37822 #endif
37823 #ifdef __cplusplus
37825 #endif
37828 main ()
37830 return f != $ac_func;
37832 return 0;
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37838 ac_status=$?
37839 grep -v '^ *+' conftest.er1 >conftest.err
37840 rm -f conftest.er1
37841 cat conftest.err >&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try='test -z "$ac_c_werror_flag"
37845 || test ! -s conftest.err'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37848 ac_status=$?
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; } &&
37851 { ac_try='test -s conftest$ac_exeext'
37852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37853 (eval $ac_try) 2>&5
37854 ac_status=$?
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); }; }; then
37857 eval "$as_ac_var=yes"
37858 else
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.$ac_ext >&5
37862 eval "$as_ac_var=no"
37864 rm -f conftest.err conftest.$ac_objext \
37865 conftest$ac_exeext conftest.$ac_ext
37867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37869 if test `eval echo '${'$as_ac_var'}'` = yes; then
37870 cat >>confdefs.h <<_ACEOF
37871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37872 _ACEOF
37875 done
37885 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37886 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37887 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37888 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37889 echo $ECHO_N "(cached) $ECHO_C" >&6
37890 else
37894 ac_ext=cc
37895 ac_cpp='$CXXCPP $CPPFLAGS'
37896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900 cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h. */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906 #include <math.h>
37908 main ()
37910 ldexpf(0, 0);
37912 return 0;
37914 _ACEOF
37915 rm -f conftest.$ac_objext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37917 (eval $ac_compile) 2>conftest.er1
37918 ac_status=$?
37919 grep -v '^ *+' conftest.er1 >conftest.err
37920 rm -f conftest.er1
37921 cat conftest.err >&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try='test -z "$ac_cxx_werror_flag"
37925 || test ! -s conftest.err'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; } &&
37931 { ac_try='test -s conftest.$ac_objext'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37934 ac_status=$?
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 glibcxx_cv_func_ldexpf_use=yes
37938 else
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.$ac_ext >&5
37942 glibcxx_cv_func_ldexpf_use=no
37944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37945 ac_ext=c
37946 ac_cpp='$CPP $CPPFLAGS'
37947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37956 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37958 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37960 for ac_func in ldexpf
37962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37963 echo "$as_me:$LINENO: checking for $ac_func" >&5
37964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37965 if eval "test \"\${$as_ac_var+set}\" = set"; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37967 else
37968 if test x$gcc_no_link = xyes; then
37969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37971 { (exit 1); exit 1; }; }
37973 cat >conftest.$ac_ext <<_ACEOF
37974 /* confdefs.h. */
37975 _ACEOF
37976 cat confdefs.h >>conftest.$ac_ext
37977 cat >>conftest.$ac_ext <<_ACEOF
37978 /* end confdefs.h. */
37979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37981 #define $ac_func innocuous_$ac_func
37983 /* System header to define __stub macros and hopefully few prototypes,
37984 which can conflict with char $ac_func (); below.
37985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37986 <limits.h> exists even on freestanding compilers. */
37988 #ifdef __STDC__
37989 # include <limits.h>
37990 #else
37991 # include <assert.h>
37992 #endif
37994 #undef $ac_func
37996 /* Override any gcc2 internal prototype to avoid an error. */
37997 #ifdef __cplusplus
37998 extern "C"
38000 #endif
38001 /* We use char because int might match the return type of a gcc2
38002 builtin and then its argument prototype would still apply. */
38003 char $ac_func ();
38004 /* The GNU C library defines this for functions which it implements
38005 to always fail with ENOSYS. Some functions are actually named
38006 something starting with __ and the normal name is an alias. */
38007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38008 choke me
38009 #else
38010 char (*f) () = $ac_func;
38011 #endif
38012 #ifdef __cplusplus
38014 #endif
38017 main ()
38019 return f != $ac_func;
38021 return 0;
38023 _ACEOF
38024 rm -f conftest.$ac_objext conftest$ac_exeext
38025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38026 (eval $ac_link) 2>conftest.er1
38027 ac_status=$?
38028 grep -v '^ *+' conftest.er1 >conftest.err
38029 rm -f conftest.er1
38030 cat conftest.err >&5
38031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38032 (exit $ac_status); } &&
38033 { ac_try='test -z "$ac_c_werror_flag"
38034 || test ! -s conftest.err'
38035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38036 (eval $ac_try) 2>&5
38037 ac_status=$?
38038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38039 (exit $ac_status); }; } &&
38040 { ac_try='test -s conftest$ac_exeext'
38041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38042 (eval $ac_try) 2>&5
38043 ac_status=$?
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); }; }; then
38046 eval "$as_ac_var=yes"
38047 else
38048 echo "$as_me: failed program was:" >&5
38049 sed 's/^/| /' conftest.$ac_ext >&5
38051 eval "$as_ac_var=no"
38053 rm -f conftest.err conftest.$ac_objext \
38054 conftest$ac_exeext conftest.$ac_ext
38056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38058 if test `eval echo '${'$as_ac_var'}'` = yes; then
38059 cat >>confdefs.h <<_ACEOF
38060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38061 _ACEOF
38064 done
38066 else
38068 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38069 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38070 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38071 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38072 echo $ECHO_N "(cached) $ECHO_C" >&6
38073 else
38077 ac_ext=cc
38078 ac_cpp='$CXXCPP $CPPFLAGS'
38079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38083 cat >conftest.$ac_ext <<_ACEOF
38084 /* confdefs.h. */
38085 _ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 #include <math.h>
38091 main ()
38093 _ldexpf(0, 0);
38095 return 0;
38097 _ACEOF
38098 rm -f conftest.$ac_objext
38099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38100 (eval $ac_compile) 2>conftest.er1
38101 ac_status=$?
38102 grep -v '^ *+' conftest.er1 >conftest.err
38103 rm -f conftest.er1
38104 cat conftest.err >&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } &&
38107 { ac_try='test -z "$ac_cxx_werror_flag"
38108 || test ! -s conftest.err'
38109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38110 (eval $ac_try) 2>&5
38111 ac_status=$?
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); }; } &&
38114 { ac_try='test -s conftest.$ac_objext'
38115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38116 (eval $ac_try) 2>&5
38117 ac_status=$?
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); }; }; then
38120 glibcxx_cv_func__ldexpf_use=yes
38121 else
38122 echo "$as_me: failed program was:" >&5
38123 sed 's/^/| /' conftest.$ac_ext >&5
38125 glibcxx_cv_func__ldexpf_use=no
38127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38128 ac_ext=c
38129 ac_cpp='$CPP $CPPFLAGS'
38130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38139 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38141 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38143 for ac_func in _ldexpf
38145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38146 echo "$as_me:$LINENO: checking for $ac_func" >&5
38147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38148 if eval "test \"\${$as_ac_var+set}\" = set"; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 else
38151 if test x$gcc_no_link = xyes; then
38152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38154 { (exit 1); exit 1; }; }
38156 cat >conftest.$ac_ext <<_ACEOF
38157 /* confdefs.h. */
38158 _ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38164 #define $ac_func innocuous_$ac_func
38166 /* System header to define __stub macros and hopefully few prototypes,
38167 which can conflict with char $ac_func (); below.
38168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38169 <limits.h> exists even on freestanding compilers. */
38171 #ifdef __STDC__
38172 # include <limits.h>
38173 #else
38174 # include <assert.h>
38175 #endif
38177 #undef $ac_func
38179 /* Override any gcc2 internal prototype to avoid an error. */
38180 #ifdef __cplusplus
38181 extern "C"
38183 #endif
38184 /* We use char because int might match the return type of a gcc2
38185 builtin and then its argument prototype would still apply. */
38186 char $ac_func ();
38187 /* The GNU C library defines this for functions which it implements
38188 to always fail with ENOSYS. Some functions are actually named
38189 something starting with __ and the normal name is an alias. */
38190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38191 choke me
38192 #else
38193 char (*f) () = $ac_func;
38194 #endif
38195 #ifdef __cplusplus
38197 #endif
38200 main ()
38202 return f != $ac_func;
38204 return 0;
38206 _ACEOF
38207 rm -f conftest.$ac_objext conftest$ac_exeext
38208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38209 (eval $ac_link) 2>conftest.er1
38210 ac_status=$?
38211 grep -v '^ *+' conftest.er1 >conftest.err
38212 rm -f conftest.er1
38213 cat conftest.err >&5
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); } &&
38216 { ac_try='test -z "$ac_c_werror_flag"
38217 || test ! -s conftest.err'
38218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38219 (eval $ac_try) 2>&5
38220 ac_status=$?
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); }; } &&
38223 { ac_try='test -s conftest$ac_exeext'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38226 ac_status=$?
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; }; then
38229 eval "$as_ac_var=yes"
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38234 eval "$as_ac_var=no"
38236 rm -f conftest.err conftest.$ac_objext \
38237 conftest$ac_exeext conftest.$ac_ext
38239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38241 if test `eval echo '${'$as_ac_var'}'` = yes; then
38242 cat >>confdefs.h <<_ACEOF
38243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38244 _ACEOF
38247 done
38257 echo "$as_me:$LINENO: checking for logf declaration" >&5
38258 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38259 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38260 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38261 echo $ECHO_N "(cached) $ECHO_C" >&6
38262 else
38266 ac_ext=cc
38267 ac_cpp='$CXXCPP $CPPFLAGS'
38268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38272 cat >conftest.$ac_ext <<_ACEOF
38273 /* confdefs.h. */
38274 _ACEOF
38275 cat confdefs.h >>conftest.$ac_ext
38276 cat >>conftest.$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38278 #include <math.h>
38279 #ifdef HAVE_IEEEFP_H
38280 #include <ieeefp.h>
38281 #endif
38284 main ()
38286 logf(0);
38288 return 0;
38290 _ACEOF
38291 rm -f conftest.$ac_objext
38292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38293 (eval $ac_compile) 2>conftest.er1
38294 ac_status=$?
38295 grep -v '^ *+' conftest.er1 >conftest.err
38296 rm -f conftest.er1
38297 cat conftest.err >&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } &&
38300 { ac_try='test -z "$ac_cxx_werror_flag"
38301 || test ! -s conftest.err'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38304 ac_status=$?
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; } &&
38307 { ac_try='test -s conftest.$ac_objext'
38308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38309 (eval $ac_try) 2>&5
38310 ac_status=$?
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); }; }; then
38313 glibcxx_cv_func_logf_use=yes
38314 else
38315 echo "$as_me: failed program was:" >&5
38316 sed 's/^/| /' conftest.$ac_ext >&5
38318 glibcxx_cv_func_logf_use=no
38320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38321 ac_ext=c
38322 ac_cpp='$CPP $CPPFLAGS'
38323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38332 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38334 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38336 for ac_func in logf
38338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38339 echo "$as_me:$LINENO: checking for $ac_func" >&5
38340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38341 if eval "test \"\${$as_ac_var+set}\" = set"; then
38342 echo $ECHO_N "(cached) $ECHO_C" >&6
38343 else
38344 if test x$gcc_no_link = xyes; then
38345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38347 { (exit 1); exit 1; }; }
38349 cat >conftest.$ac_ext <<_ACEOF
38350 /* confdefs.h. */
38351 _ACEOF
38352 cat confdefs.h >>conftest.$ac_ext
38353 cat >>conftest.$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38357 #define $ac_func innocuous_$ac_func
38359 /* System header to define __stub macros and hopefully few prototypes,
38360 which can conflict with char $ac_func (); below.
38361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38362 <limits.h> exists even on freestanding compilers. */
38364 #ifdef __STDC__
38365 # include <limits.h>
38366 #else
38367 # include <assert.h>
38368 #endif
38370 #undef $ac_func
38372 /* Override any gcc2 internal prototype to avoid an error. */
38373 #ifdef __cplusplus
38374 extern "C"
38376 #endif
38377 /* We use char because int might match the return type of a gcc2
38378 builtin and then its argument prototype would still apply. */
38379 char $ac_func ();
38380 /* The GNU C library defines this for functions which it implements
38381 to always fail with ENOSYS. Some functions are actually named
38382 something starting with __ and the normal name is an alias. */
38383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38384 choke me
38385 #else
38386 char (*f) () = $ac_func;
38387 #endif
38388 #ifdef __cplusplus
38390 #endif
38393 main ()
38395 return f != $ac_func;
38397 return 0;
38399 _ACEOF
38400 rm -f conftest.$ac_objext conftest$ac_exeext
38401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38402 (eval $ac_link) 2>conftest.er1
38403 ac_status=$?
38404 grep -v '^ *+' conftest.er1 >conftest.err
38405 rm -f conftest.er1
38406 cat conftest.err >&5
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); } &&
38409 { ac_try='test -z "$ac_c_werror_flag"
38410 || test ! -s conftest.err'
38411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38412 (eval $ac_try) 2>&5
38413 ac_status=$?
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); }; } &&
38416 { ac_try='test -s conftest$ac_exeext'
38417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38418 (eval $ac_try) 2>&5
38419 ac_status=$?
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); }; }; then
38422 eval "$as_ac_var=yes"
38423 else
38424 echo "$as_me: failed program was:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38427 eval "$as_ac_var=no"
38429 rm -f conftest.err conftest.$ac_objext \
38430 conftest$ac_exeext conftest.$ac_ext
38432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38434 if test `eval echo '${'$as_ac_var'}'` = yes; then
38435 cat >>confdefs.h <<_ACEOF
38436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38437 _ACEOF
38440 done
38442 else
38444 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38445 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38446 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38447 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38448 echo $ECHO_N "(cached) $ECHO_C" >&6
38449 else
38453 ac_ext=cc
38454 ac_cpp='$CXXCPP $CPPFLAGS'
38455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38459 cat >conftest.$ac_ext <<_ACEOF
38460 /* confdefs.h. */
38461 _ACEOF
38462 cat confdefs.h >>conftest.$ac_ext
38463 cat >>conftest.$ac_ext <<_ACEOF
38464 /* end confdefs.h. */
38465 #include <math.h>
38466 #ifdef HAVE_IEEEFP_H
38467 #include <ieeefp.h>
38468 #endif
38471 main ()
38473 _logf(0);
38475 return 0;
38477 _ACEOF
38478 rm -f conftest.$ac_objext
38479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38480 (eval $ac_compile) 2>conftest.er1
38481 ac_status=$?
38482 grep -v '^ *+' conftest.er1 >conftest.err
38483 rm -f conftest.er1
38484 cat conftest.err >&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } &&
38487 { ac_try='test -z "$ac_cxx_werror_flag"
38488 || test ! -s conftest.err'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; } &&
38494 { ac_try='test -s conftest.$ac_objext'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38497 ac_status=$?
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; }; then
38500 glibcxx_cv_func__logf_use=yes
38501 else
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38505 glibcxx_cv_func__logf_use=no
38507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38508 ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38519 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38521 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38523 for ac_func in _logf
38525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38526 echo "$as_me:$LINENO: checking for $ac_func" >&5
38527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38528 if eval "test \"\${$as_ac_var+set}\" = set"; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 else
38531 if test x$gcc_no_link = xyes; then
38532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38534 { (exit 1); exit 1; }; }
38536 cat >conftest.$ac_ext <<_ACEOF
38537 /* confdefs.h. */
38538 _ACEOF
38539 cat confdefs.h >>conftest.$ac_ext
38540 cat >>conftest.$ac_ext <<_ACEOF
38541 /* end confdefs.h. */
38542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38544 #define $ac_func innocuous_$ac_func
38546 /* System header to define __stub macros and hopefully few prototypes,
38547 which can conflict with char $ac_func (); below.
38548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38549 <limits.h> exists even on freestanding compilers. */
38551 #ifdef __STDC__
38552 # include <limits.h>
38553 #else
38554 # include <assert.h>
38555 #endif
38557 #undef $ac_func
38559 /* Override any gcc2 internal prototype to avoid an error. */
38560 #ifdef __cplusplus
38561 extern "C"
38563 #endif
38564 /* We use char because int might match the return type of a gcc2
38565 builtin and then its argument prototype would still apply. */
38566 char $ac_func ();
38567 /* The GNU C library defines this for functions which it implements
38568 to always fail with ENOSYS. Some functions are actually named
38569 something starting with __ and the normal name is an alias. */
38570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38571 choke me
38572 #else
38573 char (*f) () = $ac_func;
38574 #endif
38575 #ifdef __cplusplus
38577 #endif
38580 main ()
38582 return f != $ac_func;
38584 return 0;
38586 _ACEOF
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38589 (eval $ac_link) 2>conftest.er1
38590 ac_status=$?
38591 grep -v '^ *+' conftest.er1 >conftest.err
38592 rm -f conftest.er1
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } &&
38596 { ac_try='test -z "$ac_c_werror_flag"
38597 || test ! -s conftest.err'
38598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38599 (eval $ac_try) 2>&5
38600 ac_status=$?
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); }; } &&
38603 { ac_try='test -s conftest$ac_exeext'
38604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38605 (eval $ac_try) 2>&5
38606 ac_status=$?
38607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38608 (exit $ac_status); }; }; then
38609 eval "$as_ac_var=yes"
38610 else
38611 echo "$as_me: failed program was:" >&5
38612 sed 's/^/| /' conftest.$ac_ext >&5
38614 eval "$as_ac_var=no"
38616 rm -f conftest.err conftest.$ac_objext \
38617 conftest$ac_exeext conftest.$ac_ext
38619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38621 if test `eval echo '${'$as_ac_var'}'` = yes; then
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38624 _ACEOF
38627 done
38637 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38638 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38639 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38640 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38646 ac_ext=cc
38647 ac_cpp='$CXXCPP $CPPFLAGS'
38648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652 cat >conftest.$ac_ext <<_ACEOF
38653 /* confdefs.h. */
38654 _ACEOF
38655 cat confdefs.h >>conftest.$ac_ext
38656 cat >>conftest.$ac_ext <<_ACEOF
38657 /* end confdefs.h. */
38658 #include <math.h>
38659 #ifdef HAVE_IEEEFP_H
38660 #include <ieeefp.h>
38661 #endif
38664 main ()
38666 log10f(0);
38668 return 0;
38670 _ACEOF
38671 rm -f conftest.$ac_objext
38672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38673 (eval $ac_compile) 2>conftest.er1
38674 ac_status=$?
38675 grep -v '^ *+' conftest.er1 >conftest.err
38676 rm -f conftest.er1
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } &&
38680 { ac_try='test -z "$ac_cxx_werror_flag"
38681 || test ! -s conftest.err'
38682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38683 (eval $ac_try) 2>&5
38684 ac_status=$?
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); }; } &&
38687 { ac_try='test -s conftest.$ac_objext'
38688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38689 (eval $ac_try) 2>&5
38690 ac_status=$?
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); }; }; then
38693 glibcxx_cv_func_log10f_use=yes
38694 else
38695 echo "$as_me: failed program was:" >&5
38696 sed 's/^/| /' conftest.$ac_ext >&5
38698 glibcxx_cv_func_log10f_use=no
38700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38701 ac_ext=c
38702 ac_cpp='$CPP $CPPFLAGS'
38703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38712 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38714 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38716 for ac_func in log10f
38718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38719 echo "$as_me:$LINENO: checking for $ac_func" >&5
38720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38721 if eval "test \"\${$as_ac_var+set}\" = set"; then
38722 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 else
38724 if test x$gcc_no_link = xyes; then
38725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38727 { (exit 1); exit 1; }; }
38729 cat >conftest.$ac_ext <<_ACEOF
38730 /* confdefs.h. */
38731 _ACEOF
38732 cat confdefs.h >>conftest.$ac_ext
38733 cat >>conftest.$ac_ext <<_ACEOF
38734 /* end confdefs.h. */
38735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38737 #define $ac_func innocuous_$ac_func
38739 /* System header to define __stub macros and hopefully few prototypes,
38740 which can conflict with char $ac_func (); below.
38741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38742 <limits.h> exists even on freestanding compilers. */
38744 #ifdef __STDC__
38745 # include <limits.h>
38746 #else
38747 # include <assert.h>
38748 #endif
38750 #undef $ac_func
38752 /* Override any gcc2 internal prototype to avoid an error. */
38753 #ifdef __cplusplus
38754 extern "C"
38756 #endif
38757 /* We use char because int might match the return type of a gcc2
38758 builtin and then its argument prototype would still apply. */
38759 char $ac_func ();
38760 /* The GNU C library defines this for functions which it implements
38761 to always fail with ENOSYS. Some functions are actually named
38762 something starting with __ and the normal name is an alias. */
38763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38764 choke me
38765 #else
38766 char (*f) () = $ac_func;
38767 #endif
38768 #ifdef __cplusplus
38770 #endif
38773 main ()
38775 return f != $ac_func;
38777 return 0;
38779 _ACEOF
38780 rm -f conftest.$ac_objext conftest$ac_exeext
38781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38782 (eval $ac_link) 2>conftest.er1
38783 ac_status=$?
38784 grep -v '^ *+' conftest.er1 >conftest.err
38785 rm -f conftest.er1
38786 cat conftest.err >&5
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); } &&
38789 { ac_try='test -z "$ac_c_werror_flag"
38790 || test ! -s conftest.err'
38791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38792 (eval $ac_try) 2>&5
38793 ac_status=$?
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); }; } &&
38796 { ac_try='test -s conftest$ac_exeext'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38799 ac_status=$?
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 eval "$as_ac_var=yes"
38803 else
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.$ac_ext >&5
38807 eval "$as_ac_var=no"
38809 rm -f conftest.err conftest.$ac_objext \
38810 conftest$ac_exeext conftest.$ac_ext
38812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38814 if test `eval echo '${'$as_ac_var'}'` = yes; then
38815 cat >>confdefs.h <<_ACEOF
38816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 _ACEOF
38820 done
38822 else
38824 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38825 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38826 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38827 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38828 echo $ECHO_N "(cached) $ECHO_C" >&6
38829 else
38833 ac_ext=cc
38834 ac_cpp='$CXXCPP $CPPFLAGS'
38835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38839 cat >conftest.$ac_ext <<_ACEOF
38840 /* confdefs.h. */
38841 _ACEOF
38842 cat confdefs.h >>conftest.$ac_ext
38843 cat >>conftest.$ac_ext <<_ACEOF
38844 /* end confdefs.h. */
38845 #include <math.h>
38846 #ifdef HAVE_IEEEFP_H
38847 #include <ieeefp.h>
38848 #endif
38851 main ()
38853 _log10f(0);
38855 return 0;
38857 _ACEOF
38858 rm -f conftest.$ac_objext
38859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38860 (eval $ac_compile) 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } &&
38867 { ac_try='test -z "$ac_cxx_werror_flag"
38868 || test ! -s conftest.err'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38871 ac_status=$?
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; } &&
38874 { ac_try='test -s conftest.$ac_objext'
38875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38876 (eval $ac_try) 2>&5
38877 ac_status=$?
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); }; }; then
38880 glibcxx_cv_func__log10f_use=yes
38881 else
38882 echo "$as_me: failed program was:" >&5
38883 sed 's/^/| /' conftest.$ac_ext >&5
38885 glibcxx_cv_func__log10f_use=no
38887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38888 ac_ext=c
38889 ac_cpp='$CPP $CPPFLAGS'
38890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38899 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38901 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38903 for ac_func in _log10f
38905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38906 echo "$as_me:$LINENO: checking for $ac_func" >&5
38907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38908 if eval "test \"\${$as_ac_var+set}\" = set"; then
38909 echo $ECHO_N "(cached) $ECHO_C" >&6
38910 else
38911 if test x$gcc_no_link = xyes; then
38912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38914 { (exit 1); exit 1; }; }
38916 cat >conftest.$ac_ext <<_ACEOF
38917 /* confdefs.h. */
38918 _ACEOF
38919 cat confdefs.h >>conftest.$ac_ext
38920 cat >>conftest.$ac_ext <<_ACEOF
38921 /* end confdefs.h. */
38922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38924 #define $ac_func innocuous_$ac_func
38926 /* System header to define __stub macros and hopefully few prototypes,
38927 which can conflict with char $ac_func (); below.
38928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38929 <limits.h> exists even on freestanding compilers. */
38931 #ifdef __STDC__
38932 # include <limits.h>
38933 #else
38934 # include <assert.h>
38935 #endif
38937 #undef $ac_func
38939 /* Override any gcc2 internal prototype to avoid an error. */
38940 #ifdef __cplusplus
38941 extern "C"
38943 #endif
38944 /* We use char because int might match the return type of a gcc2
38945 builtin and then its argument prototype would still apply. */
38946 char $ac_func ();
38947 /* The GNU C library defines this for functions which it implements
38948 to always fail with ENOSYS. Some functions are actually named
38949 something starting with __ and the normal name is an alias. */
38950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38951 choke me
38952 #else
38953 char (*f) () = $ac_func;
38954 #endif
38955 #ifdef __cplusplus
38957 #endif
38960 main ()
38962 return f != $ac_func;
38964 return 0;
38966 _ACEOF
38967 rm -f conftest.$ac_objext conftest$ac_exeext
38968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38969 (eval $ac_link) 2>conftest.er1
38970 ac_status=$?
38971 grep -v '^ *+' conftest.er1 >conftest.err
38972 rm -f conftest.er1
38973 cat conftest.err >&5
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); } &&
38976 { ac_try='test -z "$ac_c_werror_flag"
38977 || test ! -s conftest.err'
38978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38979 (eval $ac_try) 2>&5
38980 ac_status=$?
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); }; } &&
38983 { ac_try='test -s conftest$ac_exeext'
38984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38985 (eval $ac_try) 2>&5
38986 ac_status=$?
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); }; }; then
38989 eval "$as_ac_var=yes"
38990 else
38991 echo "$as_me: failed program was:" >&5
38992 sed 's/^/| /' conftest.$ac_ext >&5
38994 eval "$as_ac_var=no"
38996 rm -f conftest.err conftest.$ac_objext \
38997 conftest$ac_exeext conftest.$ac_ext
38999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39001 if test `eval echo '${'$as_ac_var'}'` = yes; then
39002 cat >>confdefs.h <<_ACEOF
39003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39004 _ACEOF
39007 done
39017 echo "$as_me:$LINENO: checking for modff declaration" >&5
39018 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39019 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39020 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39021 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 else
39026 ac_ext=cc
39027 ac_cpp='$CXXCPP $CPPFLAGS'
39028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39032 cat >conftest.$ac_ext <<_ACEOF
39033 /* confdefs.h. */
39034 _ACEOF
39035 cat confdefs.h >>conftest.$ac_ext
39036 cat >>conftest.$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39038 #include <math.h>
39040 main ()
39042 modff(0, 0);
39044 return 0;
39046 _ACEOF
39047 rm -f conftest.$ac_objext
39048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39049 (eval $ac_compile) 2>conftest.er1
39050 ac_status=$?
39051 grep -v '^ *+' conftest.er1 >conftest.err
39052 rm -f conftest.er1
39053 cat conftest.err >&5
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); } &&
39056 { ac_try='test -z "$ac_cxx_werror_flag"
39057 || test ! -s conftest.err'
39058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059 (eval $ac_try) 2>&5
39060 ac_status=$?
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); }; } &&
39063 { ac_try='test -s conftest.$ac_objext'
39064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39065 (eval $ac_try) 2>&5
39066 ac_status=$?
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); }; }; then
39069 glibcxx_cv_func_modff_use=yes
39070 else
39071 echo "$as_me: failed program was:" >&5
39072 sed 's/^/| /' conftest.$ac_ext >&5
39074 glibcxx_cv_func_modff_use=no
39076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39077 ac_ext=c
39078 ac_cpp='$CPP $CPPFLAGS'
39079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39088 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39090 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39092 for ac_func in modff
39094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39095 echo "$as_me:$LINENO: checking for $ac_func" >&5
39096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39097 if eval "test \"\${$as_ac_var+set}\" = set"; then
39098 echo $ECHO_N "(cached) $ECHO_C" >&6
39099 else
39100 if test x$gcc_no_link = xyes; then
39101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39103 { (exit 1); exit 1; }; }
39105 cat >conftest.$ac_ext <<_ACEOF
39106 /* confdefs.h. */
39107 _ACEOF
39108 cat confdefs.h >>conftest.$ac_ext
39109 cat >>conftest.$ac_ext <<_ACEOF
39110 /* end confdefs.h. */
39111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39113 #define $ac_func innocuous_$ac_func
39115 /* System header to define __stub macros and hopefully few prototypes,
39116 which can conflict with char $ac_func (); below.
39117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39118 <limits.h> exists even on freestanding compilers. */
39120 #ifdef __STDC__
39121 # include <limits.h>
39122 #else
39123 # include <assert.h>
39124 #endif
39126 #undef $ac_func
39128 /* Override any gcc2 internal prototype to avoid an error. */
39129 #ifdef __cplusplus
39130 extern "C"
39132 #endif
39133 /* We use char because int might match the return type of a gcc2
39134 builtin and then its argument prototype would still apply. */
39135 char $ac_func ();
39136 /* The GNU C library defines this for functions which it implements
39137 to always fail with ENOSYS. Some functions are actually named
39138 something starting with __ and the normal name is an alias. */
39139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39140 choke me
39141 #else
39142 char (*f) () = $ac_func;
39143 #endif
39144 #ifdef __cplusplus
39146 #endif
39149 main ()
39151 return f != $ac_func;
39153 return 0;
39155 _ACEOF
39156 rm -f conftest.$ac_objext conftest$ac_exeext
39157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39158 (eval $ac_link) 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } &&
39165 { ac_try='test -z "$ac_c_werror_flag"
39166 || test ! -s conftest.err'
39167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39168 (eval $ac_try) 2>&5
39169 ac_status=$?
39170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39171 (exit $ac_status); }; } &&
39172 { ac_try='test -s conftest$ac_exeext'
39173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39174 (eval $ac_try) 2>&5
39175 ac_status=$?
39176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39177 (exit $ac_status); }; }; then
39178 eval "$as_ac_var=yes"
39179 else
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39183 eval "$as_ac_var=no"
39185 rm -f conftest.err conftest.$ac_objext \
39186 conftest$ac_exeext conftest.$ac_ext
39188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39190 if test `eval echo '${'$as_ac_var'}'` = yes; then
39191 cat >>confdefs.h <<_ACEOF
39192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39193 _ACEOF
39196 done
39198 else
39200 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39201 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39202 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39203 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39204 echo $ECHO_N "(cached) $ECHO_C" >&6
39205 else
39209 ac_ext=cc
39210 ac_cpp='$CXXCPP $CPPFLAGS'
39211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39215 cat >conftest.$ac_ext <<_ACEOF
39216 /* confdefs.h. */
39217 _ACEOF
39218 cat confdefs.h >>conftest.$ac_ext
39219 cat >>conftest.$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39221 #include <math.h>
39223 main ()
39225 _modff(0, 0);
39227 return 0;
39229 _ACEOF
39230 rm -f conftest.$ac_objext
39231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39232 (eval $ac_compile) 2>conftest.er1
39233 ac_status=$?
39234 grep -v '^ *+' conftest.er1 >conftest.err
39235 rm -f conftest.er1
39236 cat conftest.err >&5
39237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39238 (exit $ac_status); } &&
39239 { ac_try='test -z "$ac_cxx_werror_flag"
39240 || test ! -s conftest.err'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; } &&
39246 { ac_try='test -s conftest.$ac_objext'
39247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248 (eval $ac_try) 2>&5
39249 ac_status=$?
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); }; }; then
39252 glibcxx_cv_func__modff_use=yes
39253 else
39254 echo "$as_me: failed program was:" >&5
39255 sed 's/^/| /' conftest.$ac_ext >&5
39257 glibcxx_cv_func__modff_use=no
39259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39260 ac_ext=c
39261 ac_cpp='$CPP $CPPFLAGS'
39262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39271 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39273 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39275 for ac_func in _modff
39277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39278 echo "$as_me:$LINENO: checking for $ac_func" >&5
39279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39280 if eval "test \"\${$as_ac_var+set}\" = set"; then
39281 echo $ECHO_N "(cached) $ECHO_C" >&6
39282 else
39283 if test x$gcc_no_link = xyes; then
39284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39286 { (exit 1); exit 1; }; }
39288 cat >conftest.$ac_ext <<_ACEOF
39289 /* confdefs.h. */
39290 _ACEOF
39291 cat confdefs.h >>conftest.$ac_ext
39292 cat >>conftest.$ac_ext <<_ACEOF
39293 /* end confdefs.h. */
39294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39296 #define $ac_func innocuous_$ac_func
39298 /* System header to define __stub macros and hopefully few prototypes,
39299 which can conflict with char $ac_func (); below.
39300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39301 <limits.h> exists even on freestanding compilers. */
39303 #ifdef __STDC__
39304 # include <limits.h>
39305 #else
39306 # include <assert.h>
39307 #endif
39309 #undef $ac_func
39311 /* Override any gcc2 internal prototype to avoid an error. */
39312 #ifdef __cplusplus
39313 extern "C"
39315 #endif
39316 /* We use char because int might match the return type of a gcc2
39317 builtin and then its argument prototype would still apply. */
39318 char $ac_func ();
39319 /* The GNU C library defines this for functions which it implements
39320 to always fail with ENOSYS. Some functions are actually named
39321 something starting with __ and the normal name is an alias. */
39322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39323 choke me
39324 #else
39325 char (*f) () = $ac_func;
39326 #endif
39327 #ifdef __cplusplus
39329 #endif
39332 main ()
39334 return f != $ac_func;
39336 return 0;
39338 _ACEOF
39339 rm -f conftest.$ac_objext conftest$ac_exeext
39340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39341 (eval $ac_link) 2>conftest.er1
39342 ac_status=$?
39343 grep -v '^ *+' conftest.er1 >conftest.err
39344 rm -f conftest.er1
39345 cat conftest.err >&5
39346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39347 (exit $ac_status); } &&
39348 { ac_try='test -z "$ac_c_werror_flag"
39349 || test ! -s conftest.err'
39350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39351 (eval $ac_try) 2>&5
39352 ac_status=$?
39353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39354 (exit $ac_status); }; } &&
39355 { ac_try='test -s conftest$ac_exeext'
39356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39357 (eval $ac_try) 2>&5
39358 ac_status=$?
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); }; }; then
39361 eval "$as_ac_var=yes"
39362 else
39363 echo "$as_me: failed program was:" >&5
39364 sed 's/^/| /' conftest.$ac_ext >&5
39366 eval "$as_ac_var=no"
39368 rm -f conftest.err conftest.$ac_objext \
39369 conftest$ac_exeext conftest.$ac_ext
39371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39373 if test `eval echo '${'$as_ac_var'}'` = yes; then
39374 cat >>confdefs.h <<_ACEOF
39375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39376 _ACEOF
39379 done
39389 echo "$as_me:$LINENO: checking for modf declaration" >&5
39390 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39391 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39392 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39394 else
39398 ac_ext=cc
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39404 cat >conftest.$ac_ext <<_ACEOF
39405 /* confdefs.h. */
39406 _ACEOF
39407 cat confdefs.h >>conftest.$ac_ext
39408 cat >>conftest.$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39410 #include <math.h>
39412 main ()
39414 modf(0, 0);
39416 return 0;
39418 _ACEOF
39419 rm -f conftest.$ac_objext
39420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39421 (eval $ac_compile) 2>conftest.er1
39422 ac_status=$?
39423 grep -v '^ *+' conftest.er1 >conftest.err
39424 rm -f conftest.er1
39425 cat conftest.err >&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } &&
39428 { ac_try='test -z "$ac_cxx_werror_flag"
39429 || test ! -s conftest.err'
39430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39431 (eval $ac_try) 2>&5
39432 ac_status=$?
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); }; } &&
39435 { ac_try='test -s conftest.$ac_objext'
39436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39437 (eval $ac_try) 2>&5
39438 ac_status=$?
39439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39440 (exit $ac_status); }; }; then
39441 glibcxx_cv_func_modf_use=yes
39442 else
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.$ac_ext >&5
39446 glibcxx_cv_func_modf_use=no
39448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39449 ac_ext=c
39450 ac_cpp='$CPP $CPPFLAGS'
39451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39460 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39462 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39464 for ac_func in modf
39466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39467 echo "$as_me:$LINENO: checking for $ac_func" >&5
39468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39469 if eval "test \"\${$as_ac_var+set}\" = set"; then
39470 echo $ECHO_N "(cached) $ECHO_C" >&6
39471 else
39472 if test x$gcc_no_link = xyes; then
39473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39475 { (exit 1); exit 1; }; }
39477 cat >conftest.$ac_ext <<_ACEOF
39478 /* confdefs.h. */
39479 _ACEOF
39480 cat confdefs.h >>conftest.$ac_ext
39481 cat >>conftest.$ac_ext <<_ACEOF
39482 /* end confdefs.h. */
39483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39485 #define $ac_func innocuous_$ac_func
39487 /* System header to define __stub macros and hopefully few prototypes,
39488 which can conflict with char $ac_func (); below.
39489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39490 <limits.h> exists even on freestanding compilers. */
39492 #ifdef __STDC__
39493 # include <limits.h>
39494 #else
39495 # include <assert.h>
39496 #endif
39498 #undef $ac_func
39500 /* Override any gcc2 internal prototype to avoid an error. */
39501 #ifdef __cplusplus
39502 extern "C"
39504 #endif
39505 /* We use char because int might match the return type of a gcc2
39506 builtin and then its argument prototype would still apply. */
39507 char $ac_func ();
39508 /* The GNU C library defines this for functions which it implements
39509 to always fail with ENOSYS. Some functions are actually named
39510 something starting with __ and the normal name is an alias. */
39511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39512 choke me
39513 #else
39514 char (*f) () = $ac_func;
39515 #endif
39516 #ifdef __cplusplus
39518 #endif
39521 main ()
39523 return f != $ac_func;
39525 return 0;
39527 _ACEOF
39528 rm -f conftest.$ac_objext conftest$ac_exeext
39529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39530 (eval $ac_link) 2>conftest.er1
39531 ac_status=$?
39532 grep -v '^ *+' conftest.er1 >conftest.err
39533 rm -f conftest.er1
39534 cat conftest.err >&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); } &&
39537 { ac_try='test -z "$ac_c_werror_flag"
39538 || test ! -s conftest.err'
39539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39540 (eval $ac_try) 2>&5
39541 ac_status=$?
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); }; } &&
39544 { ac_try='test -s conftest$ac_exeext'
39545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39546 (eval $ac_try) 2>&5
39547 ac_status=$?
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); }; }; then
39550 eval "$as_ac_var=yes"
39551 else
39552 echo "$as_me: failed program was:" >&5
39553 sed 's/^/| /' conftest.$ac_ext >&5
39555 eval "$as_ac_var=no"
39557 rm -f conftest.err conftest.$ac_objext \
39558 conftest$ac_exeext conftest.$ac_ext
39560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39562 if test `eval echo '${'$as_ac_var'}'` = yes; then
39563 cat >>confdefs.h <<_ACEOF
39564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39565 _ACEOF
39568 done
39570 else
39572 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39573 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39574 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39575 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39576 echo $ECHO_N "(cached) $ECHO_C" >&6
39577 else
39581 ac_ext=cc
39582 ac_cpp='$CXXCPP $CPPFLAGS'
39583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39587 cat >conftest.$ac_ext <<_ACEOF
39588 /* confdefs.h. */
39589 _ACEOF
39590 cat confdefs.h >>conftest.$ac_ext
39591 cat >>conftest.$ac_ext <<_ACEOF
39592 /* end confdefs.h. */
39593 #include <math.h>
39595 main ()
39597 _modf(0, 0);
39599 return 0;
39601 _ACEOF
39602 rm -f conftest.$ac_objext
39603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39604 (eval $ac_compile) 2>conftest.er1
39605 ac_status=$?
39606 grep -v '^ *+' conftest.er1 >conftest.err
39607 rm -f conftest.er1
39608 cat conftest.err >&5
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); } &&
39611 { ac_try='test -z "$ac_cxx_werror_flag"
39612 || test ! -s conftest.err'
39613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39614 (eval $ac_try) 2>&5
39615 ac_status=$?
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); }; } &&
39618 { ac_try='test -s conftest.$ac_objext'
39619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39620 (eval $ac_try) 2>&5
39621 ac_status=$?
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); }; }; then
39624 glibcxx_cv_func__modf_use=yes
39625 else
39626 echo "$as_me: failed program was:" >&5
39627 sed 's/^/| /' conftest.$ac_ext >&5
39629 glibcxx_cv_func__modf_use=no
39631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39632 ac_ext=c
39633 ac_cpp='$CPP $CPPFLAGS'
39634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39643 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39645 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39647 for ac_func in _modf
39649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39650 echo "$as_me:$LINENO: checking for $ac_func" >&5
39651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39652 if eval "test \"\${$as_ac_var+set}\" = set"; then
39653 echo $ECHO_N "(cached) $ECHO_C" >&6
39654 else
39655 if test x$gcc_no_link = xyes; then
39656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39658 { (exit 1); exit 1; }; }
39660 cat >conftest.$ac_ext <<_ACEOF
39661 /* confdefs.h. */
39662 _ACEOF
39663 cat confdefs.h >>conftest.$ac_ext
39664 cat >>conftest.$ac_ext <<_ACEOF
39665 /* end confdefs.h. */
39666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39668 #define $ac_func innocuous_$ac_func
39670 /* System header to define __stub macros and hopefully few prototypes,
39671 which can conflict with char $ac_func (); below.
39672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39673 <limits.h> exists even on freestanding compilers. */
39675 #ifdef __STDC__
39676 # include <limits.h>
39677 #else
39678 # include <assert.h>
39679 #endif
39681 #undef $ac_func
39683 /* Override any gcc2 internal prototype to avoid an error. */
39684 #ifdef __cplusplus
39685 extern "C"
39687 #endif
39688 /* We use char because int might match the return type of a gcc2
39689 builtin and then its argument prototype would still apply. */
39690 char $ac_func ();
39691 /* The GNU C library defines this for functions which it implements
39692 to always fail with ENOSYS. Some functions are actually named
39693 something starting with __ and the normal name is an alias. */
39694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39695 choke me
39696 #else
39697 char (*f) () = $ac_func;
39698 #endif
39699 #ifdef __cplusplus
39701 #endif
39704 main ()
39706 return f != $ac_func;
39708 return 0;
39710 _ACEOF
39711 rm -f conftest.$ac_objext conftest$ac_exeext
39712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39713 (eval $ac_link) 2>conftest.er1
39714 ac_status=$?
39715 grep -v '^ *+' conftest.er1 >conftest.err
39716 rm -f conftest.er1
39717 cat conftest.err >&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); } &&
39720 { ac_try='test -z "$ac_c_werror_flag"
39721 || test ! -s conftest.err'
39722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39723 (eval $ac_try) 2>&5
39724 ac_status=$?
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); }; } &&
39727 { ac_try='test -s conftest$ac_exeext'
39728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39729 (eval $ac_try) 2>&5
39730 ac_status=$?
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); }; }; then
39733 eval "$as_ac_var=yes"
39734 else
39735 echo "$as_me: failed program was:" >&5
39736 sed 's/^/| /' conftest.$ac_ext >&5
39738 eval "$as_ac_var=no"
39740 rm -f conftest.err conftest.$ac_objext \
39741 conftest$ac_exeext conftest.$ac_ext
39743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39745 if test `eval echo '${'$as_ac_var'}'` = yes; then
39746 cat >>confdefs.h <<_ACEOF
39747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39748 _ACEOF
39751 done
39761 echo "$as_me:$LINENO: checking for powf declaration" >&5
39762 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39763 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39764 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39765 echo $ECHO_N "(cached) $ECHO_C" >&6
39766 else
39770 ac_ext=cc
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776 cat >conftest.$ac_ext <<_ACEOF
39777 /* confdefs.h. */
39778 _ACEOF
39779 cat confdefs.h >>conftest.$ac_ext
39780 cat >>conftest.$ac_ext <<_ACEOF
39781 /* end confdefs.h. */
39782 #include <math.h>
39784 main ()
39786 powf(0, 0);
39788 return 0;
39790 _ACEOF
39791 rm -f conftest.$ac_objext
39792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39793 (eval $ac_compile) 2>conftest.er1
39794 ac_status=$?
39795 grep -v '^ *+' conftest.er1 >conftest.err
39796 rm -f conftest.er1
39797 cat conftest.err >&5
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); } &&
39800 { ac_try='test -z "$ac_cxx_werror_flag"
39801 || test ! -s conftest.err'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39804 ac_status=$?
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; } &&
39807 { ac_try='test -s conftest.$ac_objext'
39808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39809 (eval $ac_try) 2>&5
39810 ac_status=$?
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); }; }; then
39813 glibcxx_cv_func_powf_use=yes
39814 else
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.$ac_ext >&5
39818 glibcxx_cv_func_powf_use=no
39820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39821 ac_ext=c
39822 ac_cpp='$CPP $CPPFLAGS'
39823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39832 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39834 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39836 for ac_func in powf
39838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39839 echo "$as_me:$LINENO: checking for $ac_func" >&5
39840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39841 if eval "test \"\${$as_ac_var+set}\" = set"; then
39842 echo $ECHO_N "(cached) $ECHO_C" >&6
39843 else
39844 if test x$gcc_no_link = xyes; then
39845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39847 { (exit 1); exit 1; }; }
39849 cat >conftest.$ac_ext <<_ACEOF
39850 /* confdefs.h. */
39851 _ACEOF
39852 cat confdefs.h >>conftest.$ac_ext
39853 cat >>conftest.$ac_ext <<_ACEOF
39854 /* end confdefs.h. */
39855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39857 #define $ac_func innocuous_$ac_func
39859 /* System header to define __stub macros and hopefully few prototypes,
39860 which can conflict with char $ac_func (); below.
39861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39862 <limits.h> exists even on freestanding compilers. */
39864 #ifdef __STDC__
39865 # include <limits.h>
39866 #else
39867 # include <assert.h>
39868 #endif
39870 #undef $ac_func
39872 /* Override any gcc2 internal prototype to avoid an error. */
39873 #ifdef __cplusplus
39874 extern "C"
39876 #endif
39877 /* We use char because int might match the return type of a gcc2
39878 builtin and then its argument prototype would still apply. */
39879 char $ac_func ();
39880 /* The GNU C library defines this for functions which it implements
39881 to always fail with ENOSYS. Some functions are actually named
39882 something starting with __ and the normal name is an alias. */
39883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39884 choke me
39885 #else
39886 char (*f) () = $ac_func;
39887 #endif
39888 #ifdef __cplusplus
39890 #endif
39893 main ()
39895 return f != $ac_func;
39897 return 0;
39899 _ACEOF
39900 rm -f conftest.$ac_objext conftest$ac_exeext
39901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39902 (eval $ac_link) 2>conftest.er1
39903 ac_status=$?
39904 grep -v '^ *+' conftest.er1 >conftest.err
39905 rm -f conftest.er1
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } &&
39909 { ac_try='test -z "$ac_c_werror_flag"
39910 || test ! -s conftest.err'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; } &&
39916 { ac_try='test -s conftest$ac_exeext'
39917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39918 (eval $ac_try) 2>&5
39919 ac_status=$?
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); }; }; then
39922 eval "$as_ac_var=yes"
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39927 eval "$as_ac_var=no"
39929 rm -f conftest.err conftest.$ac_objext \
39930 conftest$ac_exeext conftest.$ac_ext
39932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39934 if test `eval echo '${'$as_ac_var'}'` = yes; then
39935 cat >>confdefs.h <<_ACEOF
39936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39937 _ACEOF
39940 done
39942 else
39944 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39945 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39946 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39947 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39949 else
39953 ac_ext=cc
39954 ac_cpp='$CXXCPP $CPPFLAGS'
39955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39959 cat >conftest.$ac_ext <<_ACEOF
39960 /* confdefs.h. */
39961 _ACEOF
39962 cat confdefs.h >>conftest.$ac_ext
39963 cat >>conftest.$ac_ext <<_ACEOF
39964 /* end confdefs.h. */
39965 #include <math.h>
39967 main ()
39969 _powf(0, 0);
39971 return 0;
39973 _ACEOF
39974 rm -f conftest.$ac_objext
39975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39976 (eval $ac_compile) 2>conftest.er1
39977 ac_status=$?
39978 grep -v '^ *+' conftest.er1 >conftest.err
39979 rm -f conftest.er1
39980 cat conftest.err >&5
39981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39982 (exit $ac_status); } &&
39983 { ac_try='test -z "$ac_cxx_werror_flag"
39984 || test ! -s conftest.err'
39985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39986 (eval $ac_try) 2>&5
39987 ac_status=$?
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); }; } &&
39990 { ac_try='test -s conftest.$ac_objext'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39993 ac_status=$?
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; }; then
39996 glibcxx_cv_func__powf_use=yes
39997 else
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.$ac_ext >&5
40001 glibcxx_cv_func__powf_use=no
40003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40004 ac_ext=c
40005 ac_cpp='$CPP $CPPFLAGS'
40006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40015 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40017 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40019 for ac_func in _powf
40021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40022 echo "$as_me:$LINENO: checking for $ac_func" >&5
40023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40024 if eval "test \"\${$as_ac_var+set}\" = set"; then
40025 echo $ECHO_N "(cached) $ECHO_C" >&6
40026 else
40027 if test x$gcc_no_link = xyes; then
40028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40030 { (exit 1); exit 1; }; }
40032 cat >conftest.$ac_ext <<_ACEOF
40033 /* confdefs.h. */
40034 _ACEOF
40035 cat confdefs.h >>conftest.$ac_ext
40036 cat >>conftest.$ac_ext <<_ACEOF
40037 /* end confdefs.h. */
40038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40040 #define $ac_func innocuous_$ac_func
40042 /* System header to define __stub macros and hopefully few prototypes,
40043 which can conflict with char $ac_func (); below.
40044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40045 <limits.h> exists even on freestanding compilers. */
40047 #ifdef __STDC__
40048 # include <limits.h>
40049 #else
40050 # include <assert.h>
40051 #endif
40053 #undef $ac_func
40055 /* Override any gcc2 internal prototype to avoid an error. */
40056 #ifdef __cplusplus
40057 extern "C"
40059 #endif
40060 /* We use char because int might match the return type of a gcc2
40061 builtin and then its argument prototype would still apply. */
40062 char $ac_func ();
40063 /* The GNU C library defines this for functions which it implements
40064 to always fail with ENOSYS. Some functions are actually named
40065 something starting with __ and the normal name is an alias. */
40066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40067 choke me
40068 #else
40069 char (*f) () = $ac_func;
40070 #endif
40071 #ifdef __cplusplus
40073 #endif
40076 main ()
40078 return f != $ac_func;
40080 return 0;
40082 _ACEOF
40083 rm -f conftest.$ac_objext conftest$ac_exeext
40084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40085 (eval $ac_link) 2>conftest.er1
40086 ac_status=$?
40087 grep -v '^ *+' conftest.er1 >conftest.err
40088 rm -f conftest.er1
40089 cat conftest.err >&5
40090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091 (exit $ac_status); } &&
40092 { ac_try='test -z "$ac_c_werror_flag"
40093 || test ! -s conftest.err'
40094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40095 (eval $ac_try) 2>&5
40096 ac_status=$?
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); }; } &&
40099 { ac_try='test -s conftest$ac_exeext'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40102 ac_status=$?
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; }; then
40105 eval "$as_ac_var=yes"
40106 else
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40110 eval "$as_ac_var=no"
40112 rm -f conftest.err conftest.$ac_objext \
40113 conftest$ac_exeext conftest.$ac_ext
40115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40117 if test `eval echo '${'$as_ac_var'}'` = yes; then
40118 cat >>confdefs.h <<_ACEOF
40119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40120 _ACEOF
40123 done
40133 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40134 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40135 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40136 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40137 echo $ECHO_N "(cached) $ECHO_C" >&6
40138 else
40142 ac_ext=cc
40143 ac_cpp='$CXXCPP $CPPFLAGS'
40144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40148 cat >conftest.$ac_ext <<_ACEOF
40149 /* confdefs.h. */
40150 _ACEOF
40151 cat confdefs.h >>conftest.$ac_ext
40152 cat >>conftest.$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40154 #include <math.h>
40155 #ifdef HAVE_IEEEFP_H
40156 #include <ieeefp.h>
40157 #endif
40160 main ()
40162 sqrtf(0);
40164 return 0;
40166 _ACEOF
40167 rm -f conftest.$ac_objext
40168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40169 (eval $ac_compile) 2>conftest.er1
40170 ac_status=$?
40171 grep -v '^ *+' conftest.er1 >conftest.err
40172 rm -f conftest.er1
40173 cat conftest.err >&5
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); } &&
40176 { ac_try='test -z "$ac_cxx_werror_flag"
40177 || test ! -s conftest.err'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40180 ac_status=$?
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; } &&
40183 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
40189 glibcxx_cv_func_sqrtf_use=yes
40190 else
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.$ac_ext >&5
40194 glibcxx_cv_func_sqrtf_use=no
40196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40197 ac_ext=c
40198 ac_cpp='$CPP $CPPFLAGS'
40199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40208 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40210 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40212 for ac_func in sqrtf
40214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40215 echo "$as_me:$LINENO: checking for $ac_func" >&5
40216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40217 if eval "test \"\${$as_ac_var+set}\" = set"; then
40218 echo $ECHO_N "(cached) $ECHO_C" >&6
40219 else
40220 if test x$gcc_no_link = xyes; then
40221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40223 { (exit 1); exit 1; }; }
40225 cat >conftest.$ac_ext <<_ACEOF
40226 /* confdefs.h. */
40227 _ACEOF
40228 cat confdefs.h >>conftest.$ac_ext
40229 cat >>conftest.$ac_ext <<_ACEOF
40230 /* end confdefs.h. */
40231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40233 #define $ac_func innocuous_$ac_func
40235 /* System header to define __stub macros and hopefully few prototypes,
40236 which can conflict with char $ac_func (); below.
40237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40238 <limits.h> exists even on freestanding compilers. */
40240 #ifdef __STDC__
40241 # include <limits.h>
40242 #else
40243 # include <assert.h>
40244 #endif
40246 #undef $ac_func
40248 /* Override any gcc2 internal prototype to avoid an error. */
40249 #ifdef __cplusplus
40250 extern "C"
40252 #endif
40253 /* We use char because int might match the return type of a gcc2
40254 builtin and then its argument prototype would still apply. */
40255 char $ac_func ();
40256 /* The GNU C library defines this for functions which it implements
40257 to always fail with ENOSYS. Some functions are actually named
40258 something starting with __ and the normal name is an alias. */
40259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40260 choke me
40261 #else
40262 char (*f) () = $ac_func;
40263 #endif
40264 #ifdef __cplusplus
40266 #endif
40269 main ()
40271 return f != $ac_func;
40273 return 0;
40275 _ACEOF
40276 rm -f conftest.$ac_objext conftest$ac_exeext
40277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40278 (eval $ac_link) 2>conftest.er1
40279 ac_status=$?
40280 grep -v '^ *+' conftest.er1 >conftest.err
40281 rm -f conftest.er1
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } &&
40285 { ac_try='test -z "$ac_c_werror_flag"
40286 || test ! -s conftest.err'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40289 ac_status=$?
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; } &&
40292 { ac_try='test -s conftest$ac_exeext'
40293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40294 (eval $ac_try) 2>&5
40295 ac_status=$?
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); }; }; then
40298 eval "$as_ac_var=yes"
40299 else
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40303 eval "$as_ac_var=no"
40305 rm -f conftest.err conftest.$ac_objext \
40306 conftest$ac_exeext conftest.$ac_ext
40308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40310 if test `eval echo '${'$as_ac_var'}'` = yes; then
40311 cat >>confdefs.h <<_ACEOF
40312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40313 _ACEOF
40316 done
40318 else
40320 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40321 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40322 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40323 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40324 echo $ECHO_N "(cached) $ECHO_C" >&6
40325 else
40329 ac_ext=cc
40330 ac_cpp='$CXXCPP $CPPFLAGS'
40331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40335 cat >conftest.$ac_ext <<_ACEOF
40336 /* confdefs.h. */
40337 _ACEOF
40338 cat confdefs.h >>conftest.$ac_ext
40339 cat >>conftest.$ac_ext <<_ACEOF
40340 /* end confdefs.h. */
40341 #include <math.h>
40342 #ifdef HAVE_IEEEFP_H
40343 #include <ieeefp.h>
40344 #endif
40347 main ()
40349 _sqrtf(0);
40351 return 0;
40353 _ACEOF
40354 rm -f conftest.$ac_objext
40355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40356 (eval $ac_compile) 2>conftest.er1
40357 ac_status=$?
40358 grep -v '^ *+' conftest.er1 >conftest.err
40359 rm -f conftest.er1
40360 cat conftest.err >&5
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); } &&
40363 { ac_try='test -z "$ac_cxx_werror_flag"
40364 || test ! -s conftest.err'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; } &&
40370 { ac_try='test -s conftest.$ac_objext'
40371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40372 (eval $ac_try) 2>&5
40373 ac_status=$?
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); }; }; then
40376 glibcxx_cv_func__sqrtf_use=yes
40377 else
40378 echo "$as_me: failed program was:" >&5
40379 sed 's/^/| /' conftest.$ac_ext >&5
40381 glibcxx_cv_func__sqrtf_use=no
40383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40384 ac_ext=c
40385 ac_cpp='$CPP $CPPFLAGS'
40386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40395 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40397 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40399 for ac_func in _sqrtf
40401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40402 echo "$as_me:$LINENO: checking for $ac_func" >&5
40403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40404 if eval "test \"\${$as_ac_var+set}\" = set"; then
40405 echo $ECHO_N "(cached) $ECHO_C" >&6
40406 else
40407 if test x$gcc_no_link = xyes; then
40408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40410 { (exit 1); exit 1; }; }
40412 cat >conftest.$ac_ext <<_ACEOF
40413 /* confdefs.h. */
40414 _ACEOF
40415 cat confdefs.h >>conftest.$ac_ext
40416 cat >>conftest.$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40420 #define $ac_func innocuous_$ac_func
40422 /* System header to define __stub macros and hopefully few prototypes,
40423 which can conflict with char $ac_func (); below.
40424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40425 <limits.h> exists even on freestanding compilers. */
40427 #ifdef __STDC__
40428 # include <limits.h>
40429 #else
40430 # include <assert.h>
40431 #endif
40433 #undef $ac_func
40435 /* Override any gcc2 internal prototype to avoid an error. */
40436 #ifdef __cplusplus
40437 extern "C"
40439 #endif
40440 /* We use char because int might match the return type of a gcc2
40441 builtin and then its argument prototype would still apply. */
40442 char $ac_func ();
40443 /* The GNU C library defines this for functions which it implements
40444 to always fail with ENOSYS. Some functions are actually named
40445 something starting with __ and the normal name is an alias. */
40446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40447 choke me
40448 #else
40449 char (*f) () = $ac_func;
40450 #endif
40451 #ifdef __cplusplus
40453 #endif
40456 main ()
40458 return f != $ac_func;
40460 return 0;
40462 _ACEOF
40463 rm -f conftest.$ac_objext conftest$ac_exeext
40464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40465 (eval $ac_link) 2>conftest.er1
40466 ac_status=$?
40467 grep -v '^ *+' conftest.er1 >conftest.err
40468 rm -f conftest.er1
40469 cat conftest.err >&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } &&
40472 { ac_try='test -z "$ac_c_werror_flag"
40473 || test ! -s conftest.err'
40474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40475 (eval $ac_try) 2>&5
40476 ac_status=$?
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); }; } &&
40479 { ac_try='test -s conftest$ac_exeext'
40480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40481 (eval $ac_try) 2>&5
40482 ac_status=$?
40483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40484 (exit $ac_status); }; }; then
40485 eval "$as_ac_var=yes"
40486 else
40487 echo "$as_me: failed program was:" >&5
40488 sed 's/^/| /' conftest.$ac_ext >&5
40490 eval "$as_ac_var=no"
40492 rm -f conftest.err conftest.$ac_objext \
40493 conftest$ac_exeext conftest.$ac_ext
40495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40497 if test `eval echo '${'$as_ac_var'}'` = yes; then
40498 cat >>confdefs.h <<_ACEOF
40499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40500 _ACEOF
40503 done
40513 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40514 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40515 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40516 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40517 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 else
40522 ac_ext=cc
40523 ac_cpp='$CXXCPP $CPPFLAGS'
40524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40528 cat >conftest.$ac_ext <<_ACEOF
40529 /* confdefs.h. */
40530 _ACEOF
40531 cat confdefs.h >>conftest.$ac_ext
40532 cat >>conftest.$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40534 #include <math.h>
40536 main ()
40538 sincosf(0, 0, 0);
40540 return 0;
40542 _ACEOF
40543 rm -f conftest.$ac_objext
40544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40545 (eval $ac_compile) 2>conftest.er1
40546 ac_status=$?
40547 grep -v '^ *+' conftest.er1 >conftest.err
40548 rm -f conftest.er1
40549 cat conftest.err >&5
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); } &&
40552 { ac_try='test -z "$ac_cxx_werror_flag"
40553 || test ! -s conftest.err'
40554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40555 (eval $ac_try) 2>&5
40556 ac_status=$?
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); }; } &&
40559 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
40565 glibcxx_cv_func_sincosf_use=yes
40566 else
40567 echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.$ac_ext >&5
40570 glibcxx_cv_func_sincosf_use=no
40572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40573 ac_ext=c
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40584 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40586 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40588 for ac_func in sincosf
40590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40591 echo "$as_me:$LINENO: checking for $ac_func" >&5
40592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40593 if eval "test \"\${$as_ac_var+set}\" = set"; then
40594 echo $ECHO_N "(cached) $ECHO_C" >&6
40595 else
40596 if test x$gcc_no_link = xyes; then
40597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40599 { (exit 1); exit 1; }; }
40601 cat >conftest.$ac_ext <<_ACEOF
40602 /* confdefs.h. */
40603 _ACEOF
40604 cat confdefs.h >>conftest.$ac_ext
40605 cat >>conftest.$ac_ext <<_ACEOF
40606 /* end confdefs.h. */
40607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40609 #define $ac_func innocuous_$ac_func
40611 /* System header to define __stub macros and hopefully few prototypes,
40612 which can conflict with char $ac_func (); below.
40613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40614 <limits.h> exists even on freestanding compilers. */
40616 #ifdef __STDC__
40617 # include <limits.h>
40618 #else
40619 # include <assert.h>
40620 #endif
40622 #undef $ac_func
40624 /* Override any gcc2 internal prototype to avoid an error. */
40625 #ifdef __cplusplus
40626 extern "C"
40628 #endif
40629 /* We use char because int might match the return type of a gcc2
40630 builtin and then its argument prototype would still apply. */
40631 char $ac_func ();
40632 /* The GNU C library defines this for functions which it implements
40633 to always fail with ENOSYS. Some functions are actually named
40634 something starting with __ and the normal name is an alias. */
40635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40636 choke me
40637 #else
40638 char (*f) () = $ac_func;
40639 #endif
40640 #ifdef __cplusplus
40642 #endif
40645 main ()
40647 return f != $ac_func;
40649 return 0;
40651 _ACEOF
40652 rm -f conftest.$ac_objext conftest$ac_exeext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40654 (eval $ac_link) 2>conftest.er1
40655 ac_status=$?
40656 grep -v '^ *+' conftest.er1 >conftest.err
40657 rm -f conftest.er1
40658 cat conftest.err >&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try='test -z "$ac_c_werror_flag"
40662 || test ! -s conftest.err'
40663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40664 (eval $ac_try) 2>&5
40665 ac_status=$?
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); }; } &&
40668 { ac_try='test -s conftest$ac_exeext'
40669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40670 (eval $ac_try) 2>&5
40671 ac_status=$?
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; }; then
40674 eval "$as_ac_var=yes"
40675 else
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.$ac_ext >&5
40679 eval "$as_ac_var=no"
40681 rm -f conftest.err conftest.$ac_objext \
40682 conftest$ac_exeext conftest.$ac_ext
40684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40686 if test `eval echo '${'$as_ac_var'}'` = yes; then
40687 cat >>confdefs.h <<_ACEOF
40688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40689 _ACEOF
40692 done
40694 else
40696 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40697 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40698 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40699 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 else
40705 ac_ext=cc
40706 ac_cpp='$CXXCPP $CPPFLAGS'
40707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40711 cat >conftest.$ac_ext <<_ACEOF
40712 /* confdefs.h. */
40713 _ACEOF
40714 cat confdefs.h >>conftest.$ac_ext
40715 cat >>conftest.$ac_ext <<_ACEOF
40716 /* end confdefs.h. */
40717 #include <math.h>
40719 main ()
40721 _sincosf(0, 0, 0);
40723 return 0;
40725 _ACEOF
40726 rm -f conftest.$ac_objext
40727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40728 (eval $ac_compile) 2>conftest.er1
40729 ac_status=$?
40730 grep -v '^ *+' conftest.er1 >conftest.err
40731 rm -f conftest.er1
40732 cat conftest.err >&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); } &&
40735 { ac_try='test -z "$ac_cxx_werror_flag"
40736 || test ! -s conftest.err'
40737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40738 (eval $ac_try) 2>&5
40739 ac_status=$?
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); }; } &&
40742 { ac_try='test -s conftest.$ac_objext'
40743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40744 (eval $ac_try) 2>&5
40745 ac_status=$?
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); }; }; then
40748 glibcxx_cv_func__sincosf_use=yes
40749 else
40750 echo "$as_me: failed program was:" >&5
40751 sed 's/^/| /' conftest.$ac_ext >&5
40753 glibcxx_cv_func__sincosf_use=no
40755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40756 ac_ext=c
40757 ac_cpp='$CPP $CPPFLAGS'
40758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40767 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40769 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40771 for ac_func in _sincosf
40773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40774 echo "$as_me:$LINENO: checking for $ac_func" >&5
40775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40776 if eval "test \"\${$as_ac_var+set}\" = set"; then
40777 echo $ECHO_N "(cached) $ECHO_C" >&6
40778 else
40779 if test x$gcc_no_link = xyes; then
40780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40782 { (exit 1); exit 1; }; }
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40792 #define $ac_func innocuous_$ac_func
40794 /* System header to define __stub macros and hopefully few prototypes,
40795 which can conflict with char $ac_func (); below.
40796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40797 <limits.h> exists even on freestanding compilers. */
40799 #ifdef __STDC__
40800 # include <limits.h>
40801 #else
40802 # include <assert.h>
40803 #endif
40805 #undef $ac_func
40807 /* Override any gcc2 internal prototype to avoid an error. */
40808 #ifdef __cplusplus
40809 extern "C"
40811 #endif
40812 /* We use char because int might match the return type of a gcc2
40813 builtin and then its argument prototype would still apply. */
40814 char $ac_func ();
40815 /* The GNU C library defines this for functions which it implements
40816 to always fail with ENOSYS. Some functions are actually named
40817 something starting with __ and the normal name is an alias. */
40818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40819 choke me
40820 #else
40821 char (*f) () = $ac_func;
40822 #endif
40823 #ifdef __cplusplus
40825 #endif
40828 main ()
40830 return f != $ac_func;
40832 return 0;
40834 _ACEOF
40835 rm -f conftest.$ac_objext conftest$ac_exeext
40836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40837 (eval $ac_link) 2>conftest.er1
40838 ac_status=$?
40839 grep -v '^ *+' conftest.er1 >conftest.err
40840 rm -f conftest.er1
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } &&
40844 { ac_try='test -z "$ac_c_werror_flag"
40845 || test ! -s conftest.err'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40848 ac_status=$?
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; } &&
40851 { ac_try='test -s conftest$ac_exeext'
40852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40853 (eval $ac_try) 2>&5
40854 ac_status=$?
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); }; }; then
40857 eval "$as_ac_var=yes"
40858 else
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40862 eval "$as_ac_var=no"
40864 rm -f conftest.err conftest.$ac_objext \
40865 conftest$ac_exeext conftest.$ac_ext
40867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40869 if test `eval echo '${'$as_ac_var'}'` = yes; then
40870 cat >>confdefs.h <<_ACEOF
40871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40872 _ACEOF
40875 done
40885 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40886 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40887 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40888 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40889 echo $ECHO_N "(cached) $ECHO_C" >&6
40890 else
40894 ac_ext=cc
40895 ac_cpp='$CXXCPP $CPPFLAGS'
40896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40900 cat >conftest.$ac_ext <<_ACEOF
40901 /* confdefs.h. */
40902 _ACEOF
40903 cat confdefs.h >>conftest.$ac_ext
40904 cat >>conftest.$ac_ext <<_ACEOF
40905 /* end confdefs.h. */
40906 #include <math.h>
40907 #ifdef HAVE_IEEEFP_H
40908 #include <ieeefp.h>
40909 #endif
40912 main ()
40914 finitef(0);
40916 return 0;
40918 _ACEOF
40919 rm -f conftest.$ac_objext
40920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40921 (eval $ac_compile) 2>conftest.er1
40922 ac_status=$?
40923 grep -v '^ *+' conftest.er1 >conftest.err
40924 rm -f conftest.er1
40925 cat conftest.err >&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } &&
40928 { ac_try='test -z "$ac_cxx_werror_flag"
40929 || test ! -s conftest.err'
40930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40931 (eval $ac_try) 2>&5
40932 ac_status=$?
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); }; } &&
40935 { ac_try='test -s conftest.$ac_objext'
40936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40937 (eval $ac_try) 2>&5
40938 ac_status=$?
40939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40940 (exit $ac_status); }; }; then
40941 glibcxx_cv_func_finitef_use=yes
40942 else
40943 echo "$as_me: failed program was:" >&5
40944 sed 's/^/| /' conftest.$ac_ext >&5
40946 glibcxx_cv_func_finitef_use=no
40948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40949 ac_ext=c
40950 ac_cpp='$CPP $CPPFLAGS'
40951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40960 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40962 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40964 for ac_func in finitef
40966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40967 echo "$as_me:$LINENO: checking for $ac_func" >&5
40968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40969 if eval "test \"\${$as_ac_var+set}\" = set"; then
40970 echo $ECHO_N "(cached) $ECHO_C" >&6
40971 else
40972 if test x$gcc_no_link = xyes; then
40973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40975 { (exit 1); exit 1; }; }
40977 cat >conftest.$ac_ext <<_ACEOF
40978 /* confdefs.h. */
40979 _ACEOF
40980 cat confdefs.h >>conftest.$ac_ext
40981 cat >>conftest.$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define $ac_func innocuous_$ac_func
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char $ac_func (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40992 #ifdef __STDC__
40993 # include <limits.h>
40994 #else
40995 # include <assert.h>
40996 #endif
40998 #undef $ac_func
41000 /* Override any gcc2 internal prototype to avoid an error. */
41001 #ifdef __cplusplus
41002 extern "C"
41004 #endif
41005 /* We use char because int might match the return type of a gcc2
41006 builtin and then its argument prototype would still apply. */
41007 char $ac_func ();
41008 /* The GNU C library defines this for functions which it implements
41009 to always fail with ENOSYS. Some functions are actually named
41010 something starting with __ and the normal name is an alias. */
41011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41012 choke me
41013 #else
41014 char (*f) () = $ac_func;
41015 #endif
41016 #ifdef __cplusplus
41018 #endif
41021 main ()
41023 return f != $ac_func;
41025 return 0;
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41030 (eval $ac_link) 2>conftest.er1
41031 ac_status=$?
41032 grep -v '^ *+' conftest.er1 >conftest.err
41033 rm -f conftest.er1
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try='test -z "$ac_c_werror_flag"
41038 || test ! -s conftest.err'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41041 ac_status=$?
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; } &&
41044 { ac_try='test -s conftest$ac_exeext'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41047 ac_status=$?
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; }; then
41050 eval "$as_ac_var=yes"
41051 else
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41055 eval "$as_ac_var=no"
41057 rm -f conftest.err conftest.$ac_objext \
41058 conftest$ac_exeext conftest.$ac_ext
41060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41062 if test `eval echo '${'$as_ac_var'}'` = yes; then
41063 cat >>confdefs.h <<_ACEOF
41064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41065 _ACEOF
41068 done
41070 else
41072 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41073 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41074 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41075 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 else
41081 ac_ext=cc
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087 cat >conftest.$ac_ext <<_ACEOF
41088 /* confdefs.h. */
41089 _ACEOF
41090 cat confdefs.h >>conftest.$ac_ext
41091 cat >>conftest.$ac_ext <<_ACEOF
41092 /* end confdefs.h. */
41093 #include <math.h>
41094 #ifdef HAVE_IEEEFP_H
41095 #include <ieeefp.h>
41096 #endif
41099 main ()
41101 _finitef(0);
41103 return 0;
41105 _ACEOF
41106 rm -f conftest.$ac_objext
41107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41108 (eval $ac_compile) 2>conftest.er1
41109 ac_status=$?
41110 grep -v '^ *+' conftest.er1 >conftest.err
41111 rm -f conftest.er1
41112 cat conftest.err >&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } &&
41115 { ac_try='test -z "$ac_cxx_werror_flag"
41116 || test ! -s conftest.err'
41117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41118 (eval $ac_try) 2>&5
41119 ac_status=$?
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); }; } &&
41122 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
41128 glibcxx_cv_func__finitef_use=yes
41129 else
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.$ac_ext >&5
41133 glibcxx_cv_func__finitef_use=no
41135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41136 ac_ext=c
41137 ac_cpp='$CPP $CPPFLAGS'
41138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41147 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41149 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41151 for ac_func in _finitef
41153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41154 echo "$as_me:$LINENO: checking for $ac_func" >&5
41155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41156 if eval "test \"\${$as_ac_var+set}\" = set"; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41158 else
41159 if test x$gcc_no_link = xyes; then
41160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41162 { (exit 1); exit 1; }; }
41164 cat >conftest.$ac_ext <<_ACEOF
41165 /* confdefs.h. */
41166 _ACEOF
41167 cat confdefs.h >>conftest.$ac_ext
41168 cat >>conftest.$ac_ext <<_ACEOF
41169 /* end confdefs.h. */
41170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41172 #define $ac_func innocuous_$ac_func
41174 /* System header to define __stub macros and hopefully few prototypes,
41175 which can conflict with char $ac_func (); below.
41176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41177 <limits.h> exists even on freestanding compilers. */
41179 #ifdef __STDC__
41180 # include <limits.h>
41181 #else
41182 # include <assert.h>
41183 #endif
41185 #undef $ac_func
41187 /* Override any gcc2 internal prototype to avoid an error. */
41188 #ifdef __cplusplus
41189 extern "C"
41191 #endif
41192 /* We use char because int might match the return type of a gcc2
41193 builtin and then its argument prototype would still apply. */
41194 char $ac_func ();
41195 /* The GNU C library defines this for functions which it implements
41196 to always fail with ENOSYS. Some functions are actually named
41197 something starting with __ and the normal name is an alias. */
41198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41199 choke me
41200 #else
41201 char (*f) () = $ac_func;
41202 #endif
41203 #ifdef __cplusplus
41205 #endif
41208 main ()
41210 return f != $ac_func;
41212 return 0;
41214 _ACEOF
41215 rm -f conftest.$ac_objext conftest$ac_exeext
41216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41217 (eval $ac_link) 2>conftest.er1
41218 ac_status=$?
41219 grep -v '^ *+' conftest.er1 >conftest.err
41220 rm -f conftest.er1
41221 cat conftest.err >&5
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); } &&
41224 { ac_try='test -z "$ac_c_werror_flag"
41225 || test ! -s conftest.err'
41226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41227 (eval $ac_try) 2>&5
41228 ac_status=$?
41229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41230 (exit $ac_status); }; } &&
41231 { ac_try='test -s conftest$ac_exeext'
41232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41233 (eval $ac_try) 2>&5
41234 ac_status=$?
41235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236 (exit $ac_status); }; }; then
41237 eval "$as_ac_var=yes"
41238 else
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41242 eval "$as_ac_var=no"
41244 rm -f conftest.err conftest.$ac_objext \
41245 conftest$ac_exeext conftest.$ac_ext
41247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41249 if test `eval echo '${'$as_ac_var'}'` = yes; then
41250 cat >>confdefs.h <<_ACEOF
41251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41252 _ACEOF
41255 done
41265 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41266 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41267 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41268 echo $ECHO_N "(cached) $ECHO_C" >&6
41269 else
41273 ac_ext=cc
41274 ac_cpp='$CXXCPP $CPPFLAGS'
41275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41279 cat >conftest.$ac_ext <<_ACEOF
41280 /* confdefs.h. */
41281 _ACEOF
41282 cat confdefs.h >>conftest.$ac_ext
41283 cat >>conftest.$ac_ext <<_ACEOF
41284 /* end confdefs.h. */
41285 #include <math.h>
41287 main ()
41289 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41291 return 0;
41293 _ACEOF
41294 rm -f conftest.$ac_objext
41295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41296 (eval $ac_compile) 2>conftest.er1
41297 ac_status=$?
41298 grep -v '^ *+' conftest.er1 >conftest.err
41299 rm -f conftest.er1
41300 cat conftest.err >&5
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); } &&
41303 { ac_try='test -z "$ac_cxx_werror_flag"
41304 || test ! -s conftest.err'
41305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41306 (eval $ac_try) 2>&5
41307 ac_status=$?
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); }; } &&
41310 { ac_try='test -s conftest.$ac_objext'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41313 ac_status=$?
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; }; then
41316 glibcxx_cv_func_long_double_trig_use=yes
41317 else
41318 echo "$as_me: failed program was:" >&5
41319 sed 's/^/| /' conftest.$ac_ext >&5
41321 glibcxx_cv_func_long_double_trig_use=no
41323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41324 ac_ext=c
41325 ac_cpp='$CPP $CPPFLAGS'
41326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41333 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41334 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41344 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41349 if eval "test \"\${$as_ac_var+set}\" = set"; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41352 if test x$gcc_no_link = xyes; then
41353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41355 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41365 #define $ac_func innocuous_$ac_func
41367 /* System header to define __stub macros and hopefully few prototypes,
41368 which can conflict with char $ac_func (); below.
41369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41370 <limits.h> exists even on freestanding compilers. */
41372 #ifdef __STDC__
41373 # include <limits.h>
41374 #else
41375 # include <assert.h>
41376 #endif
41378 #undef $ac_func
41380 /* Override any gcc2 internal prototype to avoid an error. */
41381 #ifdef __cplusplus
41382 extern "C"
41384 #endif
41385 /* We use char because int might match the return type of a gcc2
41386 builtin and then its argument prototype would still apply. */
41387 char $ac_func ();
41388 /* The GNU C library defines this for functions which it implements
41389 to always fail with ENOSYS. Some functions are actually named
41390 something starting with __ and the normal name is an alias. */
41391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41392 choke me
41393 #else
41394 char (*f) () = $ac_func;
41395 #endif
41396 #ifdef __cplusplus
41398 #endif
41401 main ()
41403 return f != $ac_func;
41405 return 0;
41407 _ACEOF
41408 rm -f conftest.$ac_objext conftest$ac_exeext
41409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41410 (eval $ac_link) 2>conftest.er1
41411 ac_status=$?
41412 grep -v '^ *+' conftest.er1 >conftest.err
41413 rm -f conftest.er1
41414 cat conftest.err >&5
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); } &&
41417 { ac_try='test -z "$ac_c_werror_flag"
41418 || test ! -s conftest.err'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; } &&
41424 { ac_try='test -s conftest$ac_exeext'
41425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41426 (eval $ac_try) 2>&5
41427 ac_status=$?
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; }; then
41430 eval "$as_ac_var=yes"
41431 else
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41435 eval "$as_ac_var=no"
41437 rm -f conftest.err conftest.$ac_objext \
41438 conftest$ac_exeext conftest.$ac_ext
41440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41442 if test `eval echo '${'$as_ac_var'}'` = yes; then
41443 cat >>confdefs.h <<_ACEOF
41444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41445 _ACEOF
41448 done
41450 else
41451 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41452 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41453 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41454 echo $ECHO_N "(cached) $ECHO_C" >&6
41455 else
41459 ac_ext=cc
41460 ac_cpp='$CXXCPP $CPPFLAGS'
41461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41465 cat >conftest.$ac_ext <<_ACEOF
41466 /* confdefs.h. */
41467 _ACEOF
41468 cat confdefs.h >>conftest.$ac_ext
41469 cat >>conftest.$ac_ext <<_ACEOF
41470 /* end confdefs.h. */
41471 #include <math.h>
41473 main ()
41475 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41477 return 0;
41479 _ACEOF
41480 rm -f conftest.$ac_objext
41481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41482 (eval $ac_compile) 2>conftest.er1
41483 ac_status=$?
41484 grep -v '^ *+' conftest.er1 >conftest.err
41485 rm -f conftest.er1
41486 cat conftest.err >&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } &&
41489 { ac_try='test -z "$ac_cxx_werror_flag"
41490 || test ! -s conftest.err'
41491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41492 (eval $ac_try) 2>&5
41493 ac_status=$?
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); }; } &&
41496 { ac_try='test -s conftest.$ac_objext'
41497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498 (eval $ac_try) 2>&5
41499 ac_status=$?
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); }; }; then
41502 glibcxx_cv_func__long_double_trig_use=yes
41503 else
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41507 glibcxx_cv_func__long_double_trig_use=no
41509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41510 ac_ext=c
41511 ac_cpp='$CPP $CPPFLAGS'
41512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41519 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41520 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41530 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41533 echo "$as_me:$LINENO: checking for $ac_func" >&5
41534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41535 if eval "test \"\${$as_ac_var+set}\" = set"; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41538 if test x$gcc_no_link = xyes; then
41539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41541 { (exit 1); exit 1; }; }
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h. */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41551 #define $ac_func innocuous_$ac_func
41553 /* System header to define __stub macros and hopefully few prototypes,
41554 which can conflict with char $ac_func (); below.
41555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41556 <limits.h> exists even on freestanding compilers. */
41558 #ifdef __STDC__
41559 # include <limits.h>
41560 #else
41561 # include <assert.h>
41562 #endif
41564 #undef $ac_func
41566 /* Override any gcc2 internal prototype to avoid an error. */
41567 #ifdef __cplusplus
41568 extern "C"
41570 #endif
41571 /* We use char because int might match the return type of a gcc2
41572 builtin and then its argument prototype would still apply. */
41573 char $ac_func ();
41574 /* The GNU C library defines this for functions which it implements
41575 to always fail with ENOSYS. Some functions are actually named
41576 something starting with __ and the normal name is an alias. */
41577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41578 choke me
41579 #else
41580 char (*f) () = $ac_func;
41581 #endif
41582 #ifdef __cplusplus
41584 #endif
41587 main ()
41589 return f != $ac_func;
41591 return 0;
41593 _ACEOF
41594 rm -f conftest.$ac_objext conftest$ac_exeext
41595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41596 (eval $ac_link) 2>conftest.er1
41597 ac_status=$?
41598 grep -v '^ *+' conftest.er1 >conftest.err
41599 rm -f conftest.er1
41600 cat conftest.err >&5
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); } &&
41603 { ac_try='test -z "$ac_c_werror_flag"
41604 || test ! -s conftest.err'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41607 ac_status=$?
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; } &&
41610 { ac_try='test -s conftest$ac_exeext'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41613 ac_status=$?
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; }; then
41616 eval "$as_ac_var=yes"
41617 else
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41621 eval "$as_ac_var=no"
41623 rm -f conftest.err conftest.$ac_objext \
41624 conftest$ac_exeext conftest.$ac_ext
41626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41628 if test `eval echo '${'$as_ac_var'}'` = yes; then
41629 cat >>confdefs.h <<_ACEOF
41630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41631 _ACEOF
41634 done
41652 echo "$as_me:$LINENO: checking for long double round functions" >&5
41653 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41654 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41655 echo $ECHO_N "(cached) $ECHO_C" >&6
41656 else
41660 ac_ext=cc
41661 ac_cpp='$CXXCPP $CPPFLAGS'
41662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41666 cat >conftest.$ac_ext <<_ACEOF
41667 /* confdefs.h. */
41668 _ACEOF
41669 cat confdefs.h >>conftest.$ac_ext
41670 cat >>conftest.$ac_ext <<_ACEOF
41671 /* end confdefs.h. */
41672 #include <math.h>
41674 main ()
41676 ceill (0); floorl (0);
41678 return 0;
41680 _ACEOF
41681 rm -f conftest.$ac_objext
41682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41683 (eval $ac_compile) 2>conftest.er1
41684 ac_status=$?
41685 grep -v '^ *+' conftest.er1 >conftest.err
41686 rm -f conftest.er1
41687 cat conftest.err >&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); } &&
41690 { ac_try='test -z "$ac_cxx_werror_flag"
41691 || test ! -s conftest.err'
41692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41693 (eval $ac_try) 2>&5
41694 ac_status=$?
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); }; } &&
41697 { ac_try='test -s conftest.$ac_objext'
41698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41699 (eval $ac_try) 2>&5
41700 ac_status=$?
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); }; }; then
41703 glibcxx_cv_func_long_double_round_use=yes
41704 else
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 glibcxx_cv_func_long_double_round_use=no
41710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41711 ac_ext=c
41712 ac_cpp='$CPP $CPPFLAGS'
41713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41720 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41721 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41724 for ac_func in ceill floorl
41726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41727 echo "$as_me:$LINENO: checking for $ac_func" >&5
41728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41729 if eval "test \"\${$as_ac_var+set}\" = set"; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41731 else
41732 if test x$gcc_no_link = xyes; then
41733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41735 { (exit 1); exit 1; }; }
41737 cat >conftest.$ac_ext <<_ACEOF
41738 /* confdefs.h. */
41739 _ACEOF
41740 cat confdefs.h >>conftest.$ac_ext
41741 cat >>conftest.$ac_ext <<_ACEOF
41742 /* end confdefs.h. */
41743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41745 #define $ac_func innocuous_$ac_func
41747 /* System header to define __stub macros and hopefully few prototypes,
41748 which can conflict with char $ac_func (); below.
41749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41750 <limits.h> exists even on freestanding compilers. */
41752 #ifdef __STDC__
41753 # include <limits.h>
41754 #else
41755 # include <assert.h>
41756 #endif
41758 #undef $ac_func
41760 /* Override any gcc2 internal prototype to avoid an error. */
41761 #ifdef __cplusplus
41762 extern "C"
41764 #endif
41765 /* We use char because int might match the return type of a gcc2
41766 builtin and then its argument prototype would still apply. */
41767 char $ac_func ();
41768 /* The GNU C library defines this for functions which it implements
41769 to always fail with ENOSYS. Some functions are actually named
41770 something starting with __ and the normal name is an alias. */
41771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41772 choke me
41773 #else
41774 char (*f) () = $ac_func;
41775 #endif
41776 #ifdef __cplusplus
41778 #endif
41781 main ()
41783 return f != $ac_func;
41785 return 0;
41787 _ACEOF
41788 rm -f conftest.$ac_objext conftest$ac_exeext
41789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41790 (eval $ac_link) 2>conftest.er1
41791 ac_status=$?
41792 grep -v '^ *+' conftest.er1 >conftest.err
41793 rm -f conftest.er1
41794 cat conftest.err >&5
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); } &&
41797 { ac_try='test -z "$ac_c_werror_flag"
41798 || test ! -s conftest.err'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41801 ac_status=$?
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; } &&
41804 { ac_try='test -s conftest$ac_exeext'
41805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41806 (eval $ac_try) 2>&5
41807 ac_status=$?
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); }; }; then
41810 eval "$as_ac_var=yes"
41811 else
41812 echo "$as_me: failed program was:" >&5
41813 sed 's/^/| /' conftest.$ac_ext >&5
41815 eval "$as_ac_var=no"
41817 rm -f conftest.err conftest.$ac_objext \
41818 conftest$ac_exeext conftest.$ac_ext
41820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41822 if test `eval echo '${'$as_ac_var'}'` = yes; then
41823 cat >>confdefs.h <<_ACEOF
41824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41825 _ACEOF
41828 done
41830 else
41831 echo "$as_me:$LINENO: checking for _long double round functions" >&5
41832 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41833 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41834 echo $ECHO_N "(cached) $ECHO_C" >&6
41835 else
41839 ac_ext=cc
41840 ac_cpp='$CXXCPP $CPPFLAGS'
41841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41845 cat >conftest.$ac_ext <<_ACEOF
41846 /* confdefs.h. */
41847 _ACEOF
41848 cat confdefs.h >>conftest.$ac_ext
41849 cat >>conftest.$ac_ext <<_ACEOF
41850 /* end confdefs.h. */
41851 #include <math.h>
41853 main ()
41855 _ceill (0); _floorl (0);
41857 return 0;
41859 _ACEOF
41860 rm -f conftest.$ac_objext
41861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41862 (eval $ac_compile) 2>conftest.er1
41863 ac_status=$?
41864 grep -v '^ *+' conftest.er1 >conftest.err
41865 rm -f conftest.er1
41866 cat conftest.err >&5
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); } &&
41869 { ac_try='test -z "$ac_cxx_werror_flag"
41870 || test ! -s conftest.err'
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); }; } &&
41876 { ac_try='test -s conftest.$ac_objext'
41877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41878 (eval $ac_try) 2>&5
41879 ac_status=$?
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); }; }; then
41882 glibcxx_cv_func__long_double_round_use=yes
41883 else
41884 echo "$as_me: failed program was:" >&5
41885 sed 's/^/| /' conftest.$ac_ext >&5
41887 glibcxx_cv_func__long_double_round_use=no
41889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41890 ac_ext=c
41891 ac_cpp='$CPP $CPPFLAGS'
41892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41899 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41900 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41903 for ac_func in _ceill _floorl
41905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41906 echo "$as_me:$LINENO: checking for $ac_func" >&5
41907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41908 if eval "test \"\${$as_ac_var+set}\" = set"; then
41909 echo $ECHO_N "(cached) $ECHO_C" >&6
41910 else
41911 if test x$gcc_no_link = xyes; then
41912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41914 { (exit 1); exit 1; }; }
41916 cat >conftest.$ac_ext <<_ACEOF
41917 /* confdefs.h. */
41918 _ACEOF
41919 cat confdefs.h >>conftest.$ac_ext
41920 cat >>conftest.$ac_ext <<_ACEOF
41921 /* end confdefs.h. */
41922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41924 #define $ac_func innocuous_$ac_func
41926 /* System header to define __stub macros and hopefully few prototypes,
41927 which can conflict with char $ac_func (); below.
41928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41929 <limits.h> exists even on freestanding compilers. */
41931 #ifdef __STDC__
41932 # include <limits.h>
41933 #else
41934 # include <assert.h>
41935 #endif
41937 #undef $ac_func
41939 /* Override any gcc2 internal prototype to avoid an error. */
41940 #ifdef __cplusplus
41941 extern "C"
41943 #endif
41944 /* We use char because int might match the return type of a gcc2
41945 builtin and then its argument prototype would still apply. */
41946 char $ac_func ();
41947 /* The GNU C library defines this for functions which it implements
41948 to always fail with ENOSYS. Some functions are actually named
41949 something starting with __ and the normal name is an alias. */
41950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41951 choke me
41952 #else
41953 char (*f) () = $ac_func;
41954 #endif
41955 #ifdef __cplusplus
41957 #endif
41960 main ()
41962 return f != $ac_func;
41964 return 0;
41966 _ACEOF
41967 rm -f conftest.$ac_objext conftest$ac_exeext
41968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41969 (eval $ac_link) 2>conftest.er1
41970 ac_status=$?
41971 grep -v '^ *+' conftest.er1 >conftest.err
41972 rm -f conftest.er1
41973 cat conftest.err >&5
41974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41975 (exit $ac_status); } &&
41976 { ac_try='test -z "$ac_c_werror_flag"
41977 || test ! -s conftest.err'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41980 ac_status=$?
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; } &&
41983 { ac_try='test -s conftest$ac_exeext'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41986 ac_status=$?
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; }; then
41989 eval "$as_ac_var=yes"
41990 else
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.$ac_ext >&5
41994 eval "$as_ac_var=no"
41996 rm -f conftest.err conftest.$ac_objext \
41997 conftest$ac_exeext conftest.$ac_ext
41999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42001 if test `eval echo '${'$as_ac_var'}'` = yes; then
42002 cat >>confdefs.h <<_ACEOF
42003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42004 _ACEOF
42007 done
42019 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42020 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42021 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42022 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 else
42028 ac_ext=cc
42029 ac_cpp='$CXXCPP $CPPFLAGS'
42030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42034 cat >conftest.$ac_ext <<_ACEOF
42035 /* confdefs.h. */
42036 _ACEOF
42037 cat confdefs.h >>conftest.$ac_ext
42038 cat >>conftest.$ac_ext <<_ACEOF
42039 /* end confdefs.h. */
42040 #include <math.h>
42041 #ifdef HAVE_IEEEFP_H
42042 #include <ieeefp.h>
42043 #endif
42046 main ()
42048 isnanl(0);
42050 return 0;
42052 _ACEOF
42053 rm -f conftest.$ac_objext
42054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42055 (eval $ac_compile) 2>conftest.er1
42056 ac_status=$?
42057 grep -v '^ *+' conftest.er1 >conftest.err
42058 rm -f conftest.er1
42059 cat conftest.err >&5
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); } &&
42062 { ac_try='test -z "$ac_cxx_werror_flag"
42063 || test ! -s conftest.err'
42064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42065 (eval $ac_try) 2>&5
42066 ac_status=$?
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); }; } &&
42069 { ac_try='test -s conftest.$ac_objext'
42070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42071 (eval $ac_try) 2>&5
42072 ac_status=$?
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); }; }; then
42075 glibcxx_cv_func_isnanl_use=yes
42076 else
42077 echo "$as_me: failed program was:" >&5
42078 sed 's/^/| /' conftest.$ac_ext >&5
42080 glibcxx_cv_func_isnanl_use=no
42082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42083 ac_ext=c
42084 ac_cpp='$CPP $CPPFLAGS'
42085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42094 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42096 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42098 for ac_func in isnanl
42100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42101 echo "$as_me:$LINENO: checking for $ac_func" >&5
42102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42103 if eval "test \"\${$as_ac_var+set}\" = set"; then
42104 echo $ECHO_N "(cached) $ECHO_C" >&6
42105 else
42106 if test x$gcc_no_link = xyes; then
42107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42109 { (exit 1); exit 1; }; }
42111 cat >conftest.$ac_ext <<_ACEOF
42112 /* confdefs.h. */
42113 _ACEOF
42114 cat confdefs.h >>conftest.$ac_ext
42115 cat >>conftest.$ac_ext <<_ACEOF
42116 /* end confdefs.h. */
42117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42119 #define $ac_func innocuous_$ac_func
42121 /* System header to define __stub macros and hopefully few prototypes,
42122 which can conflict with char $ac_func (); below.
42123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42124 <limits.h> exists even on freestanding compilers. */
42126 #ifdef __STDC__
42127 # include <limits.h>
42128 #else
42129 # include <assert.h>
42130 #endif
42132 #undef $ac_func
42134 /* Override any gcc2 internal prototype to avoid an error. */
42135 #ifdef __cplusplus
42136 extern "C"
42138 #endif
42139 /* We use char because int might match the return type of a gcc2
42140 builtin and then its argument prototype would still apply. */
42141 char $ac_func ();
42142 /* The GNU C library defines this for functions which it implements
42143 to always fail with ENOSYS. Some functions are actually named
42144 something starting with __ and the normal name is an alias. */
42145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42146 choke me
42147 #else
42148 char (*f) () = $ac_func;
42149 #endif
42150 #ifdef __cplusplus
42152 #endif
42155 main ()
42157 return f != $ac_func;
42159 return 0;
42161 _ACEOF
42162 rm -f conftest.$ac_objext conftest$ac_exeext
42163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42164 (eval $ac_link) 2>conftest.er1
42165 ac_status=$?
42166 grep -v '^ *+' conftest.er1 >conftest.err
42167 rm -f conftest.er1
42168 cat conftest.err >&5
42169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170 (exit $ac_status); } &&
42171 { ac_try='test -z "$ac_c_werror_flag"
42172 || test ! -s conftest.err'
42173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42174 (eval $ac_try) 2>&5
42175 ac_status=$?
42176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42177 (exit $ac_status); }; } &&
42178 { ac_try='test -s conftest$ac_exeext'
42179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42180 (eval $ac_try) 2>&5
42181 ac_status=$?
42182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42183 (exit $ac_status); }; }; then
42184 eval "$as_ac_var=yes"
42185 else
42186 echo "$as_me: failed program was:" >&5
42187 sed 's/^/| /' conftest.$ac_ext >&5
42189 eval "$as_ac_var=no"
42191 rm -f conftest.err conftest.$ac_objext \
42192 conftest$ac_exeext conftest.$ac_ext
42194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42196 if test `eval echo '${'$as_ac_var'}'` = yes; then
42197 cat >>confdefs.h <<_ACEOF
42198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42199 _ACEOF
42202 done
42204 else
42206 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42207 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42208 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42209 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42210 echo $ECHO_N "(cached) $ECHO_C" >&6
42211 else
42215 ac_ext=cc
42216 ac_cpp='$CXXCPP $CPPFLAGS'
42217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42221 cat >conftest.$ac_ext <<_ACEOF
42222 /* confdefs.h. */
42223 _ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 #include <math.h>
42228 #ifdef HAVE_IEEEFP_H
42229 #include <ieeefp.h>
42230 #endif
42233 main ()
42235 _isnanl(0);
42237 return 0;
42239 _ACEOF
42240 rm -f conftest.$ac_objext
42241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42242 (eval $ac_compile) 2>conftest.er1
42243 ac_status=$?
42244 grep -v '^ *+' conftest.er1 >conftest.err
42245 rm -f conftest.er1
42246 cat conftest.err >&5
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); } &&
42249 { ac_try='test -z "$ac_cxx_werror_flag"
42250 || test ! -s conftest.err'
42251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42252 (eval $ac_try) 2>&5
42253 ac_status=$?
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); }; } &&
42256 { ac_try='test -s conftest.$ac_objext'
42257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42258 (eval $ac_try) 2>&5
42259 ac_status=$?
42260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42261 (exit $ac_status); }; }; then
42262 glibcxx_cv_func__isnanl_use=yes
42263 else
42264 echo "$as_me: failed program was:" >&5
42265 sed 's/^/| /' conftest.$ac_ext >&5
42267 glibcxx_cv_func__isnanl_use=no
42269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42270 ac_ext=c
42271 ac_cpp='$CPP $CPPFLAGS'
42272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42281 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42283 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42285 for ac_func in _isnanl
42287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42288 echo "$as_me:$LINENO: checking for $ac_func" >&5
42289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42290 if eval "test \"\${$as_ac_var+set}\" = set"; then
42291 echo $ECHO_N "(cached) $ECHO_C" >&6
42292 else
42293 if test x$gcc_no_link = xyes; then
42294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42296 { (exit 1); exit 1; }; }
42298 cat >conftest.$ac_ext <<_ACEOF
42299 /* confdefs.h. */
42300 _ACEOF
42301 cat confdefs.h >>conftest.$ac_ext
42302 cat >>conftest.$ac_ext <<_ACEOF
42303 /* end confdefs.h. */
42304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42306 #define $ac_func innocuous_$ac_func
42308 /* System header to define __stub macros and hopefully few prototypes,
42309 which can conflict with char $ac_func (); below.
42310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42311 <limits.h> exists even on freestanding compilers. */
42313 #ifdef __STDC__
42314 # include <limits.h>
42315 #else
42316 # include <assert.h>
42317 #endif
42319 #undef $ac_func
42321 /* Override any gcc2 internal prototype to avoid an error. */
42322 #ifdef __cplusplus
42323 extern "C"
42325 #endif
42326 /* We use char because int might match the return type of a gcc2
42327 builtin and then its argument prototype would still apply. */
42328 char $ac_func ();
42329 /* The GNU C library defines this for functions which it implements
42330 to always fail with ENOSYS. Some functions are actually named
42331 something starting with __ and the normal name is an alias. */
42332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42333 choke me
42334 #else
42335 char (*f) () = $ac_func;
42336 #endif
42337 #ifdef __cplusplus
42339 #endif
42342 main ()
42344 return f != $ac_func;
42346 return 0;
42348 _ACEOF
42349 rm -f conftest.$ac_objext conftest$ac_exeext
42350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42351 (eval $ac_link) 2>conftest.er1
42352 ac_status=$?
42353 grep -v '^ *+' conftest.er1 >conftest.err
42354 rm -f conftest.er1
42355 cat conftest.err >&5
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); } &&
42358 { ac_try='test -z "$ac_c_werror_flag"
42359 || test ! -s conftest.err'
42360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42361 (eval $ac_try) 2>&5
42362 ac_status=$?
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); }; } &&
42365 { ac_try='test -s conftest$ac_exeext'
42366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42367 (eval $ac_try) 2>&5
42368 ac_status=$?
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); }; }; then
42371 eval "$as_ac_var=yes"
42372 else
42373 echo "$as_me: failed program was:" >&5
42374 sed 's/^/| /' conftest.$ac_ext >&5
42376 eval "$as_ac_var=no"
42378 rm -f conftest.err conftest.$ac_objext \
42379 conftest$ac_exeext conftest.$ac_ext
42381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42383 if test `eval echo '${'$as_ac_var'}'` = yes; then
42384 cat >>confdefs.h <<_ACEOF
42385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42386 _ACEOF
42389 done
42399 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42400 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42401 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42402 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42404 else
42408 ac_ext=cc
42409 ac_cpp='$CXXCPP $CPPFLAGS'
42410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42414 cat >conftest.$ac_ext <<_ACEOF
42415 /* confdefs.h. */
42416 _ACEOF
42417 cat confdefs.h >>conftest.$ac_ext
42418 cat >>conftest.$ac_ext <<_ACEOF
42419 /* end confdefs.h. */
42420 #include <math.h>
42421 #ifdef HAVE_IEEEFP_H
42422 #include <ieeefp.h>
42423 #endif
42426 main ()
42428 isinfl(0);
42430 return 0;
42432 _ACEOF
42433 rm -f conftest.$ac_objext
42434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42435 (eval $ac_compile) 2>conftest.er1
42436 ac_status=$?
42437 grep -v '^ *+' conftest.er1 >conftest.err
42438 rm -f conftest.er1
42439 cat conftest.err >&5
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); } &&
42442 { ac_try='test -z "$ac_cxx_werror_flag"
42443 || test ! -s conftest.err'
42444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42445 (eval $ac_try) 2>&5
42446 ac_status=$?
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); }; } &&
42449 { ac_try='test -s conftest.$ac_objext'
42450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42451 (eval $ac_try) 2>&5
42452 ac_status=$?
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; }; then
42455 glibcxx_cv_func_isinfl_use=yes
42456 else
42457 echo "$as_me: failed program was:" >&5
42458 sed 's/^/| /' conftest.$ac_ext >&5
42460 glibcxx_cv_func_isinfl_use=no
42462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42463 ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42474 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42476 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42478 for ac_func in isinfl
42480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42481 echo "$as_me:$LINENO: checking for $ac_func" >&5
42482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42483 if eval "test \"\${$as_ac_var+set}\" = set"; then
42484 echo $ECHO_N "(cached) $ECHO_C" >&6
42485 else
42486 if test x$gcc_no_link = xyes; then
42487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42489 { (exit 1); exit 1; }; }
42491 cat >conftest.$ac_ext <<_ACEOF
42492 /* confdefs.h. */
42493 _ACEOF
42494 cat confdefs.h >>conftest.$ac_ext
42495 cat >>conftest.$ac_ext <<_ACEOF
42496 /* end confdefs.h. */
42497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42499 #define $ac_func innocuous_$ac_func
42501 /* System header to define __stub macros and hopefully few prototypes,
42502 which can conflict with char $ac_func (); below.
42503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42504 <limits.h> exists even on freestanding compilers. */
42506 #ifdef __STDC__
42507 # include <limits.h>
42508 #else
42509 # include <assert.h>
42510 #endif
42512 #undef $ac_func
42514 /* Override any gcc2 internal prototype to avoid an error. */
42515 #ifdef __cplusplus
42516 extern "C"
42518 #endif
42519 /* We use char because int might match the return type of a gcc2
42520 builtin and then its argument prototype would still apply. */
42521 char $ac_func ();
42522 /* The GNU C library defines this for functions which it implements
42523 to always fail with ENOSYS. Some functions are actually named
42524 something starting with __ and the normal name is an alias. */
42525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42526 choke me
42527 #else
42528 char (*f) () = $ac_func;
42529 #endif
42530 #ifdef __cplusplus
42532 #endif
42535 main ()
42537 return f != $ac_func;
42539 return 0;
42541 _ACEOF
42542 rm -f conftest.$ac_objext conftest$ac_exeext
42543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42544 (eval $ac_link) 2>conftest.er1
42545 ac_status=$?
42546 grep -v '^ *+' conftest.er1 >conftest.err
42547 rm -f conftest.er1
42548 cat conftest.err >&5
42549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42550 (exit $ac_status); } &&
42551 { ac_try='test -z "$ac_c_werror_flag"
42552 || test ! -s conftest.err'
42553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42554 (eval $ac_try) 2>&5
42555 ac_status=$?
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); }; } &&
42558 { ac_try='test -s conftest$ac_exeext'
42559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560 (eval $ac_try) 2>&5
42561 ac_status=$?
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); }; }; then
42564 eval "$as_ac_var=yes"
42565 else
42566 echo "$as_me: failed program was:" >&5
42567 sed 's/^/| /' conftest.$ac_ext >&5
42569 eval "$as_ac_var=no"
42571 rm -f conftest.err conftest.$ac_objext \
42572 conftest$ac_exeext conftest.$ac_ext
42574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42576 if test `eval echo '${'$as_ac_var'}'` = yes; then
42577 cat >>confdefs.h <<_ACEOF
42578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42579 _ACEOF
42582 done
42584 else
42586 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42587 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42588 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42589 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42590 echo $ECHO_N "(cached) $ECHO_C" >&6
42591 else
42595 ac_ext=cc
42596 ac_cpp='$CXXCPP $CPPFLAGS'
42597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42601 cat >conftest.$ac_ext <<_ACEOF
42602 /* confdefs.h. */
42603 _ACEOF
42604 cat confdefs.h >>conftest.$ac_ext
42605 cat >>conftest.$ac_ext <<_ACEOF
42606 /* end confdefs.h. */
42607 #include <math.h>
42608 #ifdef HAVE_IEEEFP_H
42609 #include <ieeefp.h>
42610 #endif
42613 main ()
42615 _isinfl(0);
42617 return 0;
42619 _ACEOF
42620 rm -f conftest.$ac_objext
42621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42622 (eval $ac_compile) 2>conftest.er1
42623 ac_status=$?
42624 grep -v '^ *+' conftest.er1 >conftest.err
42625 rm -f conftest.er1
42626 cat conftest.err >&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } &&
42629 { ac_try='test -z "$ac_cxx_werror_flag"
42630 || test ! -s conftest.err'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42633 ac_status=$?
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try='test -s conftest.$ac_objext'
42637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42638 (eval $ac_try) 2>&5
42639 ac_status=$?
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); }; }; then
42642 glibcxx_cv_func__isinfl_use=yes
42643 else
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.$ac_ext >&5
42647 glibcxx_cv_func__isinfl_use=no
42649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42650 ac_ext=c
42651 ac_cpp='$CPP $CPPFLAGS'
42652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42661 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42663 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42665 for ac_func in _isinfl
42667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42668 echo "$as_me:$LINENO: checking for $ac_func" >&5
42669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42670 if eval "test \"\${$as_ac_var+set}\" = set"; then
42671 echo $ECHO_N "(cached) $ECHO_C" >&6
42672 else
42673 if test x$gcc_no_link = xyes; then
42674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42676 { (exit 1); exit 1; }; }
42678 cat >conftest.$ac_ext <<_ACEOF
42679 /* confdefs.h. */
42680 _ACEOF
42681 cat confdefs.h >>conftest.$ac_ext
42682 cat >>conftest.$ac_ext <<_ACEOF
42683 /* end confdefs.h. */
42684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42686 #define $ac_func innocuous_$ac_func
42688 /* System header to define __stub macros and hopefully few prototypes,
42689 which can conflict with char $ac_func (); below.
42690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42691 <limits.h> exists even on freestanding compilers. */
42693 #ifdef __STDC__
42694 # include <limits.h>
42695 #else
42696 # include <assert.h>
42697 #endif
42699 #undef $ac_func
42701 /* Override any gcc2 internal prototype to avoid an error. */
42702 #ifdef __cplusplus
42703 extern "C"
42705 #endif
42706 /* We use char because int might match the return type of a gcc2
42707 builtin and then its argument prototype would still apply. */
42708 char $ac_func ();
42709 /* The GNU C library defines this for functions which it implements
42710 to always fail with ENOSYS. Some functions are actually named
42711 something starting with __ and the normal name is an alias. */
42712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42713 choke me
42714 #else
42715 char (*f) () = $ac_func;
42716 #endif
42717 #ifdef __cplusplus
42719 #endif
42722 main ()
42724 return f != $ac_func;
42726 return 0;
42728 _ACEOF
42729 rm -f conftest.$ac_objext conftest$ac_exeext
42730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42731 (eval $ac_link) 2>conftest.er1
42732 ac_status=$?
42733 grep -v '^ *+' conftest.er1 >conftest.err
42734 rm -f conftest.er1
42735 cat conftest.err >&5
42736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42737 (exit $ac_status); } &&
42738 { ac_try='test -z "$ac_c_werror_flag"
42739 || test ! -s conftest.err'
42740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42741 (eval $ac_try) 2>&5
42742 ac_status=$?
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); }; } &&
42745 { ac_try='test -s conftest$ac_exeext'
42746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42747 (eval $ac_try) 2>&5
42748 ac_status=$?
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); }; }; then
42751 eval "$as_ac_var=yes"
42752 else
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42756 eval "$as_ac_var=no"
42758 rm -f conftest.err conftest.$ac_objext \
42759 conftest$ac_exeext conftest.$ac_ext
42761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42763 if test `eval echo '${'$as_ac_var'}'` = yes; then
42764 cat >>confdefs.h <<_ACEOF
42765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42766 _ACEOF
42769 done
42779 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42780 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42781 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42782 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42783 echo $ECHO_N "(cached) $ECHO_C" >&6
42784 else
42788 ac_ext=cc
42789 ac_cpp='$CXXCPP $CPPFLAGS'
42790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794 cat >conftest.$ac_ext <<_ACEOF
42795 /* confdefs.h. */
42796 _ACEOF
42797 cat confdefs.h >>conftest.$ac_ext
42798 cat >>conftest.$ac_ext <<_ACEOF
42799 /* end confdefs.h. */
42800 #include <math.h>
42802 main ()
42804 copysignl(0, 0);
42806 return 0;
42808 _ACEOF
42809 rm -f conftest.$ac_objext
42810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42811 (eval $ac_compile) 2>conftest.er1
42812 ac_status=$?
42813 grep -v '^ *+' conftest.er1 >conftest.err
42814 rm -f conftest.er1
42815 cat conftest.err >&5
42816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42817 (exit $ac_status); } &&
42818 { ac_try='test -z "$ac_cxx_werror_flag"
42819 || test ! -s conftest.err'
42820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42821 (eval $ac_try) 2>&5
42822 ac_status=$?
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); }; } &&
42825 { ac_try='test -s conftest.$ac_objext'
42826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42827 (eval $ac_try) 2>&5
42828 ac_status=$?
42829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42830 (exit $ac_status); }; }; then
42831 glibcxx_cv_func_copysignl_use=yes
42832 else
42833 echo "$as_me: failed program was:" >&5
42834 sed 's/^/| /' conftest.$ac_ext >&5
42836 glibcxx_cv_func_copysignl_use=no
42838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42839 ac_ext=c
42840 ac_cpp='$CPP $CPPFLAGS'
42841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42850 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42852 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42854 for ac_func in copysignl
42856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42857 echo "$as_me:$LINENO: checking for $ac_func" >&5
42858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42859 if eval "test \"\${$as_ac_var+set}\" = set"; then
42860 echo $ECHO_N "(cached) $ECHO_C" >&6
42861 else
42862 if test x$gcc_no_link = xyes; then
42863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42865 { (exit 1); exit 1; }; }
42867 cat >conftest.$ac_ext <<_ACEOF
42868 /* confdefs.h. */
42869 _ACEOF
42870 cat confdefs.h >>conftest.$ac_ext
42871 cat >>conftest.$ac_ext <<_ACEOF
42872 /* end confdefs.h. */
42873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42875 #define $ac_func innocuous_$ac_func
42877 /* System header to define __stub macros and hopefully few prototypes,
42878 which can conflict with char $ac_func (); below.
42879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42880 <limits.h> exists even on freestanding compilers. */
42882 #ifdef __STDC__
42883 # include <limits.h>
42884 #else
42885 # include <assert.h>
42886 #endif
42888 #undef $ac_func
42890 /* Override any gcc2 internal prototype to avoid an error. */
42891 #ifdef __cplusplus
42892 extern "C"
42894 #endif
42895 /* We use char because int might match the return type of a gcc2
42896 builtin and then its argument prototype would still apply. */
42897 char $ac_func ();
42898 /* The GNU C library defines this for functions which it implements
42899 to always fail with ENOSYS. Some functions are actually named
42900 something starting with __ and the normal name is an alias. */
42901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42902 choke me
42903 #else
42904 char (*f) () = $ac_func;
42905 #endif
42906 #ifdef __cplusplus
42908 #endif
42911 main ()
42913 return f != $ac_func;
42915 return 0;
42917 _ACEOF
42918 rm -f conftest.$ac_objext conftest$ac_exeext
42919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42920 (eval $ac_link) 2>conftest.er1
42921 ac_status=$?
42922 grep -v '^ *+' conftest.er1 >conftest.err
42923 rm -f conftest.er1
42924 cat conftest.err >&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } &&
42927 { ac_try='test -z "$ac_c_werror_flag"
42928 || test ! -s conftest.err'
42929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42930 (eval $ac_try) 2>&5
42931 ac_status=$?
42932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42933 (exit $ac_status); }; } &&
42934 { ac_try='test -s conftest$ac_exeext'
42935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42936 (eval $ac_try) 2>&5
42937 ac_status=$?
42938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42939 (exit $ac_status); }; }; then
42940 eval "$as_ac_var=yes"
42941 else
42942 echo "$as_me: failed program was:" >&5
42943 sed 's/^/| /' conftest.$ac_ext >&5
42945 eval "$as_ac_var=no"
42947 rm -f conftest.err conftest.$ac_objext \
42948 conftest$ac_exeext conftest.$ac_ext
42950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42952 if test `eval echo '${'$as_ac_var'}'` = yes; then
42953 cat >>confdefs.h <<_ACEOF
42954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42955 _ACEOF
42958 done
42960 else
42962 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42963 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42964 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42965 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42966 echo $ECHO_N "(cached) $ECHO_C" >&6
42967 else
42971 ac_ext=cc
42972 ac_cpp='$CXXCPP $CPPFLAGS'
42973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42977 cat >conftest.$ac_ext <<_ACEOF
42978 /* confdefs.h. */
42979 _ACEOF
42980 cat confdefs.h >>conftest.$ac_ext
42981 cat >>conftest.$ac_ext <<_ACEOF
42982 /* end confdefs.h. */
42983 #include <math.h>
42985 main ()
42987 _copysignl(0, 0);
42989 return 0;
42991 _ACEOF
42992 rm -f conftest.$ac_objext
42993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42994 (eval $ac_compile) 2>conftest.er1
42995 ac_status=$?
42996 grep -v '^ *+' conftest.er1 >conftest.err
42997 rm -f conftest.er1
42998 cat conftest.err >&5
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); } &&
43001 { ac_try='test -z "$ac_cxx_werror_flag"
43002 || test ! -s conftest.err'
43003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43004 (eval $ac_try) 2>&5
43005 ac_status=$?
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; } &&
43008 { ac_try='test -s conftest.$ac_objext'
43009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43010 (eval $ac_try) 2>&5
43011 ac_status=$?
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); }; }; then
43014 glibcxx_cv_func__copysignl_use=yes
43015 else
43016 echo "$as_me: failed program was:" >&5
43017 sed 's/^/| /' conftest.$ac_ext >&5
43019 glibcxx_cv_func__copysignl_use=no
43021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43022 ac_ext=c
43023 ac_cpp='$CPP $CPPFLAGS'
43024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43033 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43035 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43037 for ac_func in _copysignl
43039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43040 echo "$as_me:$LINENO: checking for $ac_func" >&5
43041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43042 if eval "test \"\${$as_ac_var+set}\" = set"; then
43043 echo $ECHO_N "(cached) $ECHO_C" >&6
43044 else
43045 if test x$gcc_no_link = xyes; then
43046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43048 { (exit 1); exit 1; }; }
43050 cat >conftest.$ac_ext <<_ACEOF
43051 /* confdefs.h. */
43052 _ACEOF
43053 cat confdefs.h >>conftest.$ac_ext
43054 cat >>conftest.$ac_ext <<_ACEOF
43055 /* end confdefs.h. */
43056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43058 #define $ac_func innocuous_$ac_func
43060 /* System header to define __stub macros and hopefully few prototypes,
43061 which can conflict with char $ac_func (); below.
43062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43063 <limits.h> exists even on freestanding compilers. */
43065 #ifdef __STDC__
43066 # include <limits.h>
43067 #else
43068 # include <assert.h>
43069 #endif
43071 #undef $ac_func
43073 /* Override any gcc2 internal prototype to avoid an error. */
43074 #ifdef __cplusplus
43075 extern "C"
43077 #endif
43078 /* We use char because int might match the return type of a gcc2
43079 builtin and then its argument prototype would still apply. */
43080 char $ac_func ();
43081 /* The GNU C library defines this for functions which it implements
43082 to always fail with ENOSYS. Some functions are actually named
43083 something starting with __ and the normal name is an alias. */
43084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43085 choke me
43086 #else
43087 char (*f) () = $ac_func;
43088 #endif
43089 #ifdef __cplusplus
43091 #endif
43094 main ()
43096 return f != $ac_func;
43098 return 0;
43100 _ACEOF
43101 rm -f conftest.$ac_objext conftest$ac_exeext
43102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43103 (eval $ac_link) 2>conftest.er1
43104 ac_status=$?
43105 grep -v '^ *+' conftest.er1 >conftest.err
43106 rm -f conftest.er1
43107 cat conftest.err >&5
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); } &&
43110 { ac_try='test -z "$ac_c_werror_flag"
43111 || test ! -s conftest.err'
43112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43113 (eval $ac_try) 2>&5
43114 ac_status=$?
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); }; } &&
43117 { ac_try='test -s conftest$ac_exeext'
43118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43119 (eval $ac_try) 2>&5
43120 ac_status=$?
43121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43122 (exit $ac_status); }; }; then
43123 eval "$as_ac_var=yes"
43124 else
43125 echo "$as_me: failed program was:" >&5
43126 sed 's/^/| /' conftest.$ac_ext >&5
43128 eval "$as_ac_var=no"
43130 rm -f conftest.err conftest.$ac_objext \
43131 conftest$ac_exeext conftest.$ac_ext
43133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43135 if test `eval echo '${'$as_ac_var'}'` = yes; then
43136 cat >>confdefs.h <<_ACEOF
43137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43138 _ACEOF
43141 done
43151 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43152 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43153 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43154 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43155 echo $ECHO_N "(cached) $ECHO_C" >&6
43156 else
43160 ac_ext=cc
43161 ac_cpp='$CXXCPP $CPPFLAGS'
43162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43166 cat >conftest.$ac_ext <<_ACEOF
43167 /* confdefs.h. */
43168 _ACEOF
43169 cat confdefs.h >>conftest.$ac_ext
43170 cat >>conftest.$ac_ext <<_ACEOF
43171 /* end confdefs.h. */
43172 #include <math.h>
43174 main ()
43176 atan2l(0, 0);
43178 return 0;
43180 _ACEOF
43181 rm -f conftest.$ac_objext
43182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43183 (eval $ac_compile) 2>conftest.er1
43184 ac_status=$?
43185 grep -v '^ *+' conftest.er1 >conftest.err
43186 rm -f conftest.er1
43187 cat conftest.err >&5
43188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189 (exit $ac_status); } &&
43190 { ac_try='test -z "$ac_cxx_werror_flag"
43191 || test ! -s conftest.err'
43192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43193 (eval $ac_try) 2>&5
43194 ac_status=$?
43195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43196 (exit $ac_status); }; } &&
43197 { ac_try='test -s conftest.$ac_objext'
43198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43199 (eval $ac_try) 2>&5
43200 ac_status=$?
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); }; }; then
43203 glibcxx_cv_func_atan2l_use=yes
43204 else
43205 echo "$as_me: failed program was:" >&5
43206 sed 's/^/| /' conftest.$ac_ext >&5
43208 glibcxx_cv_func_atan2l_use=no
43210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43211 ac_ext=c
43212 ac_cpp='$CPP $CPPFLAGS'
43213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43222 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43224 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43226 for ac_func in atan2l
43228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43229 echo "$as_me:$LINENO: checking for $ac_func" >&5
43230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43231 if eval "test \"\${$as_ac_var+set}\" = set"; then
43232 echo $ECHO_N "(cached) $ECHO_C" >&6
43233 else
43234 if test x$gcc_no_link = xyes; then
43235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43237 { (exit 1); exit 1; }; }
43239 cat >conftest.$ac_ext <<_ACEOF
43240 /* confdefs.h. */
43241 _ACEOF
43242 cat confdefs.h >>conftest.$ac_ext
43243 cat >>conftest.$ac_ext <<_ACEOF
43244 /* end confdefs.h. */
43245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43247 #define $ac_func innocuous_$ac_func
43249 /* System header to define __stub macros and hopefully few prototypes,
43250 which can conflict with char $ac_func (); below.
43251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43252 <limits.h> exists even on freestanding compilers. */
43254 #ifdef __STDC__
43255 # include <limits.h>
43256 #else
43257 # include <assert.h>
43258 #endif
43260 #undef $ac_func
43262 /* Override any gcc2 internal prototype to avoid an error. */
43263 #ifdef __cplusplus
43264 extern "C"
43266 #endif
43267 /* We use char because int might match the return type of a gcc2
43268 builtin and then its argument prototype would still apply. */
43269 char $ac_func ();
43270 /* The GNU C library defines this for functions which it implements
43271 to always fail with ENOSYS. Some functions are actually named
43272 something starting with __ and the normal name is an alias. */
43273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43274 choke me
43275 #else
43276 char (*f) () = $ac_func;
43277 #endif
43278 #ifdef __cplusplus
43280 #endif
43283 main ()
43285 return f != $ac_func;
43287 return 0;
43289 _ACEOF
43290 rm -f conftest.$ac_objext conftest$ac_exeext
43291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43292 (eval $ac_link) 2>conftest.er1
43293 ac_status=$?
43294 grep -v '^ *+' conftest.er1 >conftest.err
43295 rm -f conftest.er1
43296 cat conftest.err >&5
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); } &&
43299 { ac_try='test -z "$ac_c_werror_flag"
43300 || test ! -s conftest.err'
43301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43302 (eval $ac_try) 2>&5
43303 ac_status=$?
43304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43305 (exit $ac_status); }; } &&
43306 { ac_try='test -s conftest$ac_exeext'
43307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43308 (eval $ac_try) 2>&5
43309 ac_status=$?
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); }; }; then
43312 eval "$as_ac_var=yes"
43313 else
43314 echo "$as_me: failed program was:" >&5
43315 sed 's/^/| /' conftest.$ac_ext >&5
43317 eval "$as_ac_var=no"
43319 rm -f conftest.err conftest.$ac_objext \
43320 conftest$ac_exeext conftest.$ac_ext
43322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43324 if test `eval echo '${'$as_ac_var'}'` = yes; then
43325 cat >>confdefs.h <<_ACEOF
43326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43327 _ACEOF
43330 done
43332 else
43334 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43335 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43336 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43337 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43338 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 else
43343 ac_ext=cc
43344 ac_cpp='$CXXCPP $CPPFLAGS'
43345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43349 cat >conftest.$ac_ext <<_ACEOF
43350 /* confdefs.h. */
43351 _ACEOF
43352 cat confdefs.h >>conftest.$ac_ext
43353 cat >>conftest.$ac_ext <<_ACEOF
43354 /* end confdefs.h. */
43355 #include <math.h>
43357 main ()
43359 _atan2l(0, 0);
43361 return 0;
43363 _ACEOF
43364 rm -f conftest.$ac_objext
43365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43366 (eval $ac_compile) 2>conftest.er1
43367 ac_status=$?
43368 grep -v '^ *+' conftest.er1 >conftest.err
43369 rm -f conftest.er1
43370 cat conftest.err >&5
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); } &&
43373 { ac_try='test -z "$ac_cxx_werror_flag"
43374 || test ! -s conftest.err'
43375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43376 (eval $ac_try) 2>&5
43377 ac_status=$?
43378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43379 (exit $ac_status); }; } &&
43380 { ac_try='test -s conftest.$ac_objext'
43381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43382 (eval $ac_try) 2>&5
43383 ac_status=$?
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); }; }; then
43386 glibcxx_cv_func__atan2l_use=yes
43387 else
43388 echo "$as_me: failed program was:" >&5
43389 sed 's/^/| /' conftest.$ac_ext >&5
43391 glibcxx_cv_func__atan2l_use=no
43393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43405 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43407 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43409 for ac_func in _atan2l
43411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43412 echo "$as_me:$LINENO: checking for $ac_func" >&5
43413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43414 if eval "test \"\${$as_ac_var+set}\" = set"; then
43415 echo $ECHO_N "(cached) $ECHO_C" >&6
43416 else
43417 if test x$gcc_no_link = xyes; then
43418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43420 { (exit 1); exit 1; }; }
43422 cat >conftest.$ac_ext <<_ACEOF
43423 /* confdefs.h. */
43424 _ACEOF
43425 cat confdefs.h >>conftest.$ac_ext
43426 cat >>conftest.$ac_ext <<_ACEOF
43427 /* end confdefs.h. */
43428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43430 #define $ac_func innocuous_$ac_func
43432 /* System header to define __stub macros and hopefully few prototypes,
43433 which can conflict with char $ac_func (); below.
43434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43435 <limits.h> exists even on freestanding compilers. */
43437 #ifdef __STDC__
43438 # include <limits.h>
43439 #else
43440 # include <assert.h>
43441 #endif
43443 #undef $ac_func
43445 /* Override any gcc2 internal prototype to avoid an error. */
43446 #ifdef __cplusplus
43447 extern "C"
43449 #endif
43450 /* We use char because int might match the return type of a gcc2
43451 builtin and then its argument prototype would still apply. */
43452 char $ac_func ();
43453 /* The GNU C library defines this for functions which it implements
43454 to always fail with ENOSYS. Some functions are actually named
43455 something starting with __ and the normal name is an alias. */
43456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43457 choke me
43458 #else
43459 char (*f) () = $ac_func;
43460 #endif
43461 #ifdef __cplusplus
43463 #endif
43466 main ()
43468 return f != $ac_func;
43470 return 0;
43472 _ACEOF
43473 rm -f conftest.$ac_objext conftest$ac_exeext
43474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43475 (eval $ac_link) 2>conftest.er1
43476 ac_status=$?
43477 grep -v '^ *+' conftest.er1 >conftest.err
43478 rm -f conftest.er1
43479 cat conftest.err >&5
43480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43481 (exit $ac_status); } &&
43482 { ac_try='test -z "$ac_c_werror_flag"
43483 || test ! -s conftest.err'
43484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43485 (eval $ac_try) 2>&5
43486 ac_status=$?
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); }; } &&
43489 { ac_try='test -s conftest$ac_exeext'
43490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43491 (eval $ac_try) 2>&5
43492 ac_status=$?
43493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43494 (exit $ac_status); }; }; then
43495 eval "$as_ac_var=yes"
43496 else
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.$ac_ext >&5
43500 eval "$as_ac_var=no"
43502 rm -f conftest.err conftest.$ac_objext \
43503 conftest$ac_exeext conftest.$ac_ext
43505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43507 if test `eval echo '${'$as_ac_var'}'` = yes; then
43508 cat >>confdefs.h <<_ACEOF
43509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43510 _ACEOF
43513 done
43523 echo "$as_me:$LINENO: checking for expl declaration" >&5
43524 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43525 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43526 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 else
43532 ac_ext=cc
43533 ac_cpp='$CXXCPP $CPPFLAGS'
43534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43538 cat >conftest.$ac_ext <<_ACEOF
43539 /* confdefs.h. */
43540 _ACEOF
43541 cat confdefs.h >>conftest.$ac_ext
43542 cat >>conftest.$ac_ext <<_ACEOF
43543 /* end confdefs.h. */
43544 #include <math.h>
43545 #ifdef HAVE_IEEEFP_H
43546 #include <ieeefp.h>
43547 #endif
43550 main ()
43552 expl(0);
43554 return 0;
43556 _ACEOF
43557 rm -f conftest.$ac_objext
43558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43559 (eval $ac_compile) 2>conftest.er1
43560 ac_status=$?
43561 grep -v '^ *+' conftest.er1 >conftest.err
43562 rm -f conftest.er1
43563 cat conftest.err >&5
43564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565 (exit $ac_status); } &&
43566 { ac_try='test -z "$ac_cxx_werror_flag"
43567 || test ! -s conftest.err'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; } &&
43573 { ac_try='test -s conftest.$ac_objext'
43574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43575 (eval $ac_try) 2>&5
43576 ac_status=$?
43577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43578 (exit $ac_status); }; }; then
43579 glibcxx_cv_func_expl_use=yes
43580 else
43581 echo "$as_me: failed program was:" >&5
43582 sed 's/^/| /' conftest.$ac_ext >&5
43584 glibcxx_cv_func_expl_use=no
43586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43587 ac_ext=c
43588 ac_cpp='$CPP $CPPFLAGS'
43589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43598 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43600 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43602 for ac_func in expl
43604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43605 echo "$as_me:$LINENO: checking for $ac_func" >&5
43606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43607 if eval "test \"\${$as_ac_var+set}\" = set"; then
43608 echo $ECHO_N "(cached) $ECHO_C" >&6
43609 else
43610 if test x$gcc_no_link = xyes; then
43611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43613 { (exit 1); exit 1; }; }
43615 cat >conftest.$ac_ext <<_ACEOF
43616 /* confdefs.h. */
43617 _ACEOF
43618 cat confdefs.h >>conftest.$ac_ext
43619 cat >>conftest.$ac_ext <<_ACEOF
43620 /* end confdefs.h. */
43621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43623 #define $ac_func innocuous_$ac_func
43625 /* System header to define __stub macros and hopefully few prototypes,
43626 which can conflict with char $ac_func (); below.
43627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43628 <limits.h> exists even on freestanding compilers. */
43630 #ifdef __STDC__
43631 # include <limits.h>
43632 #else
43633 # include <assert.h>
43634 #endif
43636 #undef $ac_func
43638 /* Override any gcc2 internal prototype to avoid an error. */
43639 #ifdef __cplusplus
43640 extern "C"
43642 #endif
43643 /* We use char because int might match the return type of a gcc2
43644 builtin and then its argument prototype would still apply. */
43645 char $ac_func ();
43646 /* The GNU C library defines this for functions which it implements
43647 to always fail with ENOSYS. Some functions are actually named
43648 something starting with __ and the normal name is an alias. */
43649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43650 choke me
43651 #else
43652 char (*f) () = $ac_func;
43653 #endif
43654 #ifdef __cplusplus
43656 #endif
43659 main ()
43661 return f != $ac_func;
43663 return 0;
43665 _ACEOF
43666 rm -f conftest.$ac_objext conftest$ac_exeext
43667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43668 (eval $ac_link) 2>conftest.er1
43669 ac_status=$?
43670 grep -v '^ *+' conftest.er1 >conftest.err
43671 rm -f conftest.er1
43672 cat conftest.err >&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } &&
43675 { ac_try='test -z "$ac_c_werror_flag"
43676 || test ! -s conftest.err'
43677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43678 (eval $ac_try) 2>&5
43679 ac_status=$?
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); }; } &&
43682 { ac_try='test -s conftest$ac_exeext'
43683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43684 (eval $ac_try) 2>&5
43685 ac_status=$?
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); }; }; then
43688 eval "$as_ac_var=yes"
43689 else
43690 echo "$as_me: failed program was:" >&5
43691 sed 's/^/| /' conftest.$ac_ext >&5
43693 eval "$as_ac_var=no"
43695 rm -f conftest.err conftest.$ac_objext \
43696 conftest$ac_exeext conftest.$ac_ext
43698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43700 if test `eval echo '${'$as_ac_var'}'` = yes; then
43701 cat >>confdefs.h <<_ACEOF
43702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43703 _ACEOF
43706 done
43708 else
43710 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43711 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43712 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43713 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43714 echo $ECHO_N "(cached) $ECHO_C" >&6
43715 else
43719 ac_ext=cc
43720 ac_cpp='$CXXCPP $CPPFLAGS'
43721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43725 cat >conftest.$ac_ext <<_ACEOF
43726 /* confdefs.h. */
43727 _ACEOF
43728 cat confdefs.h >>conftest.$ac_ext
43729 cat >>conftest.$ac_ext <<_ACEOF
43730 /* end confdefs.h. */
43731 #include <math.h>
43732 #ifdef HAVE_IEEEFP_H
43733 #include <ieeefp.h>
43734 #endif
43737 main ()
43739 _expl(0);
43741 return 0;
43743 _ACEOF
43744 rm -f conftest.$ac_objext
43745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43746 (eval $ac_compile) 2>conftest.er1
43747 ac_status=$?
43748 grep -v '^ *+' conftest.er1 >conftest.err
43749 rm -f conftest.er1
43750 cat conftest.err >&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } &&
43753 { ac_try='test -z "$ac_cxx_werror_flag"
43754 || test ! -s conftest.err'
43755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43756 (eval $ac_try) 2>&5
43757 ac_status=$?
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; } &&
43760 { ac_try='test -s conftest.$ac_objext'
43761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43762 (eval $ac_try) 2>&5
43763 ac_status=$?
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); }; }; then
43766 glibcxx_cv_func__expl_use=yes
43767 else
43768 echo "$as_me: failed program was:" >&5
43769 sed 's/^/| /' conftest.$ac_ext >&5
43771 glibcxx_cv_func__expl_use=no
43773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43774 ac_ext=c
43775 ac_cpp='$CPP $CPPFLAGS'
43776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43785 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43787 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43789 for ac_func in _expl
43791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43792 echo "$as_me:$LINENO: checking for $ac_func" >&5
43793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43794 if eval "test \"\${$as_ac_var+set}\" = set"; then
43795 echo $ECHO_N "(cached) $ECHO_C" >&6
43796 else
43797 if test x$gcc_no_link = xyes; then
43798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43800 { (exit 1); exit 1; }; }
43802 cat >conftest.$ac_ext <<_ACEOF
43803 /* confdefs.h. */
43804 _ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43810 #define $ac_func innocuous_$ac_func
43812 /* System header to define __stub macros and hopefully few prototypes,
43813 which can conflict with char $ac_func (); below.
43814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43815 <limits.h> exists even on freestanding compilers. */
43817 #ifdef __STDC__
43818 # include <limits.h>
43819 #else
43820 # include <assert.h>
43821 #endif
43823 #undef $ac_func
43825 /* Override any gcc2 internal prototype to avoid an error. */
43826 #ifdef __cplusplus
43827 extern "C"
43829 #endif
43830 /* We use char because int might match the return type of a gcc2
43831 builtin and then its argument prototype would still apply. */
43832 char $ac_func ();
43833 /* The GNU C library defines this for functions which it implements
43834 to always fail with ENOSYS. Some functions are actually named
43835 something starting with __ and the normal name is an alias. */
43836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43837 choke me
43838 #else
43839 char (*f) () = $ac_func;
43840 #endif
43841 #ifdef __cplusplus
43843 #endif
43846 main ()
43848 return f != $ac_func;
43850 return 0;
43852 _ACEOF
43853 rm -f conftest.$ac_objext conftest$ac_exeext
43854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43855 (eval $ac_link) 2>conftest.er1
43856 ac_status=$?
43857 grep -v '^ *+' conftest.er1 >conftest.err
43858 rm -f conftest.er1
43859 cat conftest.err >&5
43860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43861 (exit $ac_status); } &&
43862 { ac_try='test -z "$ac_c_werror_flag"
43863 || test ! -s conftest.err'
43864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43865 (eval $ac_try) 2>&5
43866 ac_status=$?
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); }; } &&
43869 { ac_try='test -s conftest$ac_exeext'
43870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43871 (eval $ac_try) 2>&5
43872 ac_status=$?
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); }; }; then
43875 eval "$as_ac_var=yes"
43876 else
43877 echo "$as_me: failed program was:" >&5
43878 sed 's/^/| /' conftest.$ac_ext >&5
43880 eval "$as_ac_var=no"
43882 rm -f conftest.err conftest.$ac_objext \
43883 conftest$ac_exeext conftest.$ac_ext
43885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43887 if test `eval echo '${'$as_ac_var'}'` = yes; then
43888 cat >>confdefs.h <<_ACEOF
43889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43890 _ACEOF
43893 done
43903 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43904 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43905 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43906 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43908 else
43912 ac_ext=cc
43913 ac_cpp='$CXXCPP $CPPFLAGS'
43914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43918 cat >conftest.$ac_ext <<_ACEOF
43919 /* confdefs.h. */
43920 _ACEOF
43921 cat confdefs.h >>conftest.$ac_ext
43922 cat >>conftest.$ac_ext <<_ACEOF
43923 /* end confdefs.h. */
43924 #include <math.h>
43925 #ifdef HAVE_IEEEFP_H
43926 #include <ieeefp.h>
43927 #endif
43930 main ()
43932 fabsl(0);
43934 return 0;
43936 _ACEOF
43937 rm -f conftest.$ac_objext
43938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43939 (eval $ac_compile) 2>conftest.er1
43940 ac_status=$?
43941 grep -v '^ *+' conftest.er1 >conftest.err
43942 rm -f conftest.er1
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } &&
43946 { ac_try='test -z "$ac_cxx_werror_flag"
43947 || test ! -s conftest.err'
43948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43949 (eval $ac_try) 2>&5
43950 ac_status=$?
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); }; } &&
43953 { ac_try='test -s conftest.$ac_objext'
43954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43955 (eval $ac_try) 2>&5
43956 ac_status=$?
43957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43958 (exit $ac_status); }; }; then
43959 glibcxx_cv_func_fabsl_use=yes
43960 else
43961 echo "$as_me: failed program was:" >&5
43962 sed 's/^/| /' conftest.$ac_ext >&5
43964 glibcxx_cv_func_fabsl_use=no
43966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43978 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43980 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43982 for ac_func in fabsl
43984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43985 echo "$as_me:$LINENO: checking for $ac_func" >&5
43986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43987 if eval "test \"\${$as_ac_var+set}\" = set"; then
43988 echo $ECHO_N "(cached) $ECHO_C" >&6
43989 else
43990 if test x$gcc_no_link = xyes; then
43991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43993 { (exit 1); exit 1; }; }
43995 cat >conftest.$ac_ext <<_ACEOF
43996 /* confdefs.h. */
43997 _ACEOF
43998 cat confdefs.h >>conftest.$ac_ext
43999 cat >>conftest.$ac_ext <<_ACEOF
44000 /* end confdefs.h. */
44001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44003 #define $ac_func innocuous_$ac_func
44005 /* System header to define __stub macros and hopefully few prototypes,
44006 which can conflict with char $ac_func (); below.
44007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44008 <limits.h> exists even on freestanding compilers. */
44010 #ifdef __STDC__
44011 # include <limits.h>
44012 #else
44013 # include <assert.h>
44014 #endif
44016 #undef $ac_func
44018 /* Override any gcc2 internal prototype to avoid an error. */
44019 #ifdef __cplusplus
44020 extern "C"
44022 #endif
44023 /* We use char because int might match the return type of a gcc2
44024 builtin and then its argument prototype would still apply. */
44025 char $ac_func ();
44026 /* The GNU C library defines this for functions which it implements
44027 to always fail with ENOSYS. Some functions are actually named
44028 something starting with __ and the normal name is an alias. */
44029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44030 choke me
44031 #else
44032 char (*f) () = $ac_func;
44033 #endif
44034 #ifdef __cplusplus
44036 #endif
44039 main ()
44041 return f != $ac_func;
44043 return 0;
44045 _ACEOF
44046 rm -f conftest.$ac_objext conftest$ac_exeext
44047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44048 (eval $ac_link) 2>conftest.er1
44049 ac_status=$?
44050 grep -v '^ *+' conftest.er1 >conftest.err
44051 rm -f conftest.er1
44052 cat conftest.err >&5
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } &&
44055 { ac_try='test -z "$ac_c_werror_flag"
44056 || test ! -s conftest.err'
44057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44058 (eval $ac_try) 2>&5
44059 ac_status=$?
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); }; } &&
44062 { ac_try='test -s conftest$ac_exeext'
44063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44064 (eval $ac_try) 2>&5
44065 ac_status=$?
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); }; }; then
44068 eval "$as_ac_var=yes"
44069 else
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.$ac_ext >&5
44073 eval "$as_ac_var=no"
44075 rm -f conftest.err conftest.$ac_objext \
44076 conftest$ac_exeext conftest.$ac_ext
44078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44080 if test `eval echo '${'$as_ac_var'}'` = yes; then
44081 cat >>confdefs.h <<_ACEOF
44082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44083 _ACEOF
44086 done
44088 else
44090 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44091 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44092 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44093 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44094 echo $ECHO_N "(cached) $ECHO_C" >&6
44095 else
44099 ac_ext=cc
44100 ac_cpp='$CXXCPP $CPPFLAGS'
44101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44105 cat >conftest.$ac_ext <<_ACEOF
44106 /* confdefs.h. */
44107 _ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111 #include <math.h>
44112 #ifdef HAVE_IEEEFP_H
44113 #include <ieeefp.h>
44114 #endif
44117 main ()
44119 _fabsl(0);
44121 return 0;
44123 _ACEOF
44124 rm -f conftest.$ac_objext
44125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44126 (eval $ac_compile) 2>conftest.er1
44127 ac_status=$?
44128 grep -v '^ *+' conftest.er1 >conftest.err
44129 rm -f conftest.er1
44130 cat conftest.err >&5
44131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132 (exit $ac_status); } &&
44133 { ac_try='test -z "$ac_cxx_werror_flag"
44134 || test ! -s conftest.err'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44137 ac_status=$?
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; } &&
44140 { ac_try='test -s conftest.$ac_objext'
44141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142 (eval $ac_try) 2>&5
44143 ac_status=$?
44144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145 (exit $ac_status); }; }; then
44146 glibcxx_cv_func__fabsl_use=yes
44147 else
44148 echo "$as_me: failed program was:" >&5
44149 sed 's/^/| /' conftest.$ac_ext >&5
44151 glibcxx_cv_func__fabsl_use=no
44153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44154 ac_ext=c
44155 ac_cpp='$CPP $CPPFLAGS'
44156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44165 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44167 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44169 for ac_func in _fabsl
44171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44172 echo "$as_me:$LINENO: checking for $ac_func" >&5
44173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44174 if eval "test \"\${$as_ac_var+set}\" = set"; then
44175 echo $ECHO_N "(cached) $ECHO_C" >&6
44176 else
44177 if test x$gcc_no_link = xyes; then
44178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44180 { (exit 1); exit 1; }; }
44182 cat >conftest.$ac_ext <<_ACEOF
44183 /* confdefs.h. */
44184 _ACEOF
44185 cat confdefs.h >>conftest.$ac_ext
44186 cat >>conftest.$ac_ext <<_ACEOF
44187 /* end confdefs.h. */
44188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44190 #define $ac_func innocuous_$ac_func
44192 /* System header to define __stub macros and hopefully few prototypes,
44193 which can conflict with char $ac_func (); below.
44194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44195 <limits.h> exists even on freestanding compilers. */
44197 #ifdef __STDC__
44198 # include <limits.h>
44199 #else
44200 # include <assert.h>
44201 #endif
44203 #undef $ac_func
44205 /* Override any gcc2 internal prototype to avoid an error. */
44206 #ifdef __cplusplus
44207 extern "C"
44209 #endif
44210 /* We use char because int might match the return type of a gcc2
44211 builtin and then its argument prototype would still apply. */
44212 char $ac_func ();
44213 /* The GNU C library defines this for functions which it implements
44214 to always fail with ENOSYS. Some functions are actually named
44215 something starting with __ and the normal name is an alias. */
44216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44217 choke me
44218 #else
44219 char (*f) () = $ac_func;
44220 #endif
44221 #ifdef __cplusplus
44223 #endif
44226 main ()
44228 return f != $ac_func;
44230 return 0;
44232 _ACEOF
44233 rm -f conftest.$ac_objext conftest$ac_exeext
44234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44235 (eval $ac_link) 2>conftest.er1
44236 ac_status=$?
44237 grep -v '^ *+' conftest.er1 >conftest.err
44238 rm -f conftest.er1
44239 cat conftest.err >&5
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); } &&
44242 { ac_try='test -z "$ac_c_werror_flag"
44243 || test ! -s conftest.err'
44244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44245 (eval $ac_try) 2>&5
44246 ac_status=$?
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); }; } &&
44249 { ac_try='test -s conftest$ac_exeext'
44250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44251 (eval $ac_try) 2>&5
44252 ac_status=$?
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); }; }; then
44255 eval "$as_ac_var=yes"
44256 else
44257 echo "$as_me: failed program was:" >&5
44258 sed 's/^/| /' conftest.$ac_ext >&5
44260 eval "$as_ac_var=no"
44262 rm -f conftest.err conftest.$ac_objext \
44263 conftest$ac_exeext conftest.$ac_ext
44265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44267 if test `eval echo '${'$as_ac_var'}'` = yes; then
44268 cat >>confdefs.h <<_ACEOF
44269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44270 _ACEOF
44273 done
44283 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44284 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44285 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44286 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44287 echo $ECHO_N "(cached) $ECHO_C" >&6
44288 else
44292 ac_ext=cc
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298 cat >conftest.$ac_ext <<_ACEOF
44299 /* confdefs.h. */
44300 _ACEOF
44301 cat confdefs.h >>conftest.$ac_ext
44302 cat >>conftest.$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304 #include <math.h>
44306 main ()
44308 fmodl(0, 0);
44310 return 0;
44312 _ACEOF
44313 rm -f conftest.$ac_objext
44314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44315 (eval $ac_compile) 2>conftest.er1
44316 ac_status=$?
44317 grep -v '^ *+' conftest.er1 >conftest.err
44318 rm -f conftest.er1
44319 cat conftest.err >&5
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); } &&
44322 { ac_try='test -z "$ac_cxx_werror_flag"
44323 || test ! -s conftest.err'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44326 ac_status=$?
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; } &&
44329 { ac_try='test -s conftest.$ac_objext'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44332 ac_status=$?
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; }; then
44335 glibcxx_cv_func_fmodl_use=yes
44336 else
44337 echo "$as_me: failed program was:" >&5
44338 sed 's/^/| /' conftest.$ac_ext >&5
44340 glibcxx_cv_func_fmodl_use=no
44342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44343 ac_ext=c
44344 ac_cpp='$CPP $CPPFLAGS'
44345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44354 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44356 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44358 for ac_func in fmodl
44360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44361 echo "$as_me:$LINENO: checking for $ac_func" >&5
44362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44363 if eval "test \"\${$as_ac_var+set}\" = set"; then
44364 echo $ECHO_N "(cached) $ECHO_C" >&6
44365 else
44366 if test x$gcc_no_link = xyes; then
44367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44369 { (exit 1); exit 1; }; }
44371 cat >conftest.$ac_ext <<_ACEOF
44372 /* confdefs.h. */
44373 _ACEOF
44374 cat confdefs.h >>conftest.$ac_ext
44375 cat >>conftest.$ac_ext <<_ACEOF
44376 /* end confdefs.h. */
44377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44379 #define $ac_func innocuous_$ac_func
44381 /* System header to define __stub macros and hopefully few prototypes,
44382 which can conflict with char $ac_func (); below.
44383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44384 <limits.h> exists even on freestanding compilers. */
44386 #ifdef __STDC__
44387 # include <limits.h>
44388 #else
44389 # include <assert.h>
44390 #endif
44392 #undef $ac_func
44394 /* Override any gcc2 internal prototype to avoid an error. */
44395 #ifdef __cplusplus
44396 extern "C"
44398 #endif
44399 /* We use char because int might match the return type of a gcc2
44400 builtin and then its argument prototype would still apply. */
44401 char $ac_func ();
44402 /* The GNU C library defines this for functions which it implements
44403 to always fail with ENOSYS. Some functions are actually named
44404 something starting with __ and the normal name is an alias. */
44405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44406 choke me
44407 #else
44408 char (*f) () = $ac_func;
44409 #endif
44410 #ifdef __cplusplus
44412 #endif
44415 main ()
44417 return f != $ac_func;
44419 return 0;
44421 _ACEOF
44422 rm -f conftest.$ac_objext conftest$ac_exeext
44423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44424 (eval $ac_link) 2>conftest.er1
44425 ac_status=$?
44426 grep -v '^ *+' conftest.er1 >conftest.err
44427 rm -f conftest.er1
44428 cat conftest.err >&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } &&
44431 { ac_try='test -z "$ac_c_werror_flag"
44432 || test ! -s conftest.err'
44433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44434 (eval $ac_try) 2>&5
44435 ac_status=$?
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; } &&
44438 { ac_try='test -s conftest$ac_exeext'
44439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440 (eval $ac_try) 2>&5
44441 ac_status=$?
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; }; then
44444 eval "$as_ac_var=yes"
44445 else
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.$ac_ext >&5
44449 eval "$as_ac_var=no"
44451 rm -f conftest.err conftest.$ac_objext \
44452 conftest$ac_exeext conftest.$ac_ext
44454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44456 if test `eval echo '${'$as_ac_var'}'` = yes; then
44457 cat >>confdefs.h <<_ACEOF
44458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44459 _ACEOF
44462 done
44464 else
44466 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44467 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44468 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44469 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44470 echo $ECHO_N "(cached) $ECHO_C" >&6
44471 else
44475 ac_ext=cc
44476 ac_cpp='$CXXCPP $CPPFLAGS'
44477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44481 cat >conftest.$ac_ext <<_ACEOF
44482 /* confdefs.h. */
44483 _ACEOF
44484 cat confdefs.h >>conftest.$ac_ext
44485 cat >>conftest.$ac_ext <<_ACEOF
44486 /* end confdefs.h. */
44487 #include <math.h>
44489 main ()
44491 _fmodl(0, 0);
44493 return 0;
44495 _ACEOF
44496 rm -f conftest.$ac_objext
44497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44498 (eval $ac_compile) 2>conftest.er1
44499 ac_status=$?
44500 grep -v '^ *+' conftest.er1 >conftest.err
44501 rm -f conftest.er1
44502 cat conftest.err >&5
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); } &&
44505 { ac_try='test -z "$ac_cxx_werror_flag"
44506 || test ! -s conftest.err'
44507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44508 (eval $ac_try) 2>&5
44509 ac_status=$?
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); }; } &&
44512 { ac_try='test -s conftest.$ac_objext'
44513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44514 (eval $ac_try) 2>&5
44515 ac_status=$?
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); }; }; then
44518 glibcxx_cv_func__fmodl_use=yes
44519 else
44520 echo "$as_me: failed program was:" >&5
44521 sed 's/^/| /' conftest.$ac_ext >&5
44523 glibcxx_cv_func__fmodl_use=no
44525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44526 ac_ext=c
44527 ac_cpp='$CPP $CPPFLAGS'
44528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44537 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44539 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44541 for ac_func in _fmodl
44543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44544 echo "$as_me:$LINENO: checking for $ac_func" >&5
44545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44546 if eval "test \"\${$as_ac_var+set}\" = set"; then
44547 echo $ECHO_N "(cached) $ECHO_C" >&6
44548 else
44549 if test x$gcc_no_link = xyes; then
44550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44552 { (exit 1); exit 1; }; }
44554 cat >conftest.$ac_ext <<_ACEOF
44555 /* confdefs.h. */
44556 _ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44562 #define $ac_func innocuous_$ac_func
44564 /* System header to define __stub macros and hopefully few prototypes,
44565 which can conflict with char $ac_func (); below.
44566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44567 <limits.h> exists even on freestanding compilers. */
44569 #ifdef __STDC__
44570 # include <limits.h>
44571 #else
44572 # include <assert.h>
44573 #endif
44575 #undef $ac_func
44577 /* Override any gcc2 internal prototype to avoid an error. */
44578 #ifdef __cplusplus
44579 extern "C"
44581 #endif
44582 /* We use char because int might match the return type of a gcc2
44583 builtin and then its argument prototype would still apply. */
44584 char $ac_func ();
44585 /* The GNU C library defines this for functions which it implements
44586 to always fail with ENOSYS. Some functions are actually named
44587 something starting with __ and the normal name is an alias. */
44588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44589 choke me
44590 #else
44591 char (*f) () = $ac_func;
44592 #endif
44593 #ifdef __cplusplus
44595 #endif
44598 main ()
44600 return f != $ac_func;
44602 return 0;
44604 _ACEOF
44605 rm -f conftest.$ac_objext conftest$ac_exeext
44606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44607 (eval $ac_link) 2>conftest.er1
44608 ac_status=$?
44609 grep -v '^ *+' conftest.er1 >conftest.err
44610 rm -f conftest.er1
44611 cat conftest.err >&5
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); } &&
44614 { ac_try='test -z "$ac_c_werror_flag"
44615 || test ! -s conftest.err'
44616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44617 (eval $ac_try) 2>&5
44618 ac_status=$?
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); }; } &&
44621 { ac_try='test -s conftest$ac_exeext'
44622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44623 (eval $ac_try) 2>&5
44624 ac_status=$?
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); }; }; then
44627 eval "$as_ac_var=yes"
44628 else
44629 echo "$as_me: failed program was:" >&5
44630 sed 's/^/| /' conftest.$ac_ext >&5
44632 eval "$as_ac_var=no"
44634 rm -f conftest.err conftest.$ac_objext \
44635 conftest$ac_exeext conftest.$ac_ext
44637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44639 if test `eval echo '${'$as_ac_var'}'` = yes; then
44640 cat >>confdefs.h <<_ACEOF
44641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44642 _ACEOF
44645 done
44655 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44656 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44657 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44658 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44659 echo $ECHO_N "(cached) $ECHO_C" >&6
44660 else
44664 ac_ext=cc
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44670 cat >conftest.$ac_ext <<_ACEOF
44671 /* confdefs.h. */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h. */
44676 #include <math.h>
44678 main ()
44680 frexpl(0, 0);
44682 return 0;
44684 _ACEOF
44685 rm -f conftest.$ac_objext
44686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44687 (eval $ac_compile) 2>conftest.er1
44688 ac_status=$?
44689 grep -v '^ *+' conftest.er1 >conftest.err
44690 rm -f conftest.er1
44691 cat conftest.err >&5
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); } &&
44694 { ac_try='test -z "$ac_cxx_werror_flag"
44695 || test ! -s conftest.err'
44696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44697 (eval $ac_try) 2>&5
44698 ac_status=$?
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; } &&
44701 { ac_try='test -s conftest.$ac_objext'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44704 ac_status=$?
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; }; then
44707 glibcxx_cv_func_frexpl_use=yes
44708 else
44709 echo "$as_me: failed program was:" >&5
44710 sed 's/^/| /' conftest.$ac_ext >&5
44712 glibcxx_cv_func_frexpl_use=no
44714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44715 ac_ext=c
44716 ac_cpp='$CPP $CPPFLAGS'
44717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44726 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44728 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44730 for ac_func in frexpl
44732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44733 echo "$as_me:$LINENO: checking for $ac_func" >&5
44734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44735 if eval "test \"\${$as_ac_var+set}\" = set"; then
44736 echo $ECHO_N "(cached) $ECHO_C" >&6
44737 else
44738 if test x$gcc_no_link = xyes; then
44739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44741 { (exit 1); exit 1; }; }
44743 cat >conftest.$ac_ext <<_ACEOF
44744 /* confdefs.h. */
44745 _ACEOF
44746 cat confdefs.h >>conftest.$ac_ext
44747 cat >>conftest.$ac_ext <<_ACEOF
44748 /* end confdefs.h. */
44749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44751 #define $ac_func innocuous_$ac_func
44753 /* System header to define __stub macros and hopefully few prototypes,
44754 which can conflict with char $ac_func (); below.
44755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44756 <limits.h> exists even on freestanding compilers. */
44758 #ifdef __STDC__
44759 # include <limits.h>
44760 #else
44761 # include <assert.h>
44762 #endif
44764 #undef $ac_func
44766 /* Override any gcc2 internal prototype to avoid an error. */
44767 #ifdef __cplusplus
44768 extern "C"
44770 #endif
44771 /* We use char because int might match the return type of a gcc2
44772 builtin and then its argument prototype would still apply. */
44773 char $ac_func ();
44774 /* The GNU C library defines this for functions which it implements
44775 to always fail with ENOSYS. Some functions are actually named
44776 something starting with __ and the normal name is an alias. */
44777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44778 choke me
44779 #else
44780 char (*f) () = $ac_func;
44781 #endif
44782 #ifdef __cplusplus
44784 #endif
44787 main ()
44789 return f != $ac_func;
44791 return 0;
44793 _ACEOF
44794 rm -f conftest.$ac_objext conftest$ac_exeext
44795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44796 (eval $ac_link) 2>conftest.er1
44797 ac_status=$?
44798 grep -v '^ *+' conftest.er1 >conftest.err
44799 rm -f conftest.er1
44800 cat conftest.err >&5
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); } &&
44803 { ac_try='test -z "$ac_c_werror_flag"
44804 || test ! -s conftest.err'
44805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44806 (eval $ac_try) 2>&5
44807 ac_status=$?
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); }; } &&
44810 { ac_try='test -s conftest$ac_exeext'
44811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44812 (eval $ac_try) 2>&5
44813 ac_status=$?
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; }; then
44816 eval "$as_ac_var=yes"
44817 else
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.$ac_ext >&5
44821 eval "$as_ac_var=no"
44823 rm -f conftest.err conftest.$ac_objext \
44824 conftest$ac_exeext conftest.$ac_ext
44826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44828 if test `eval echo '${'$as_ac_var'}'` = yes; then
44829 cat >>confdefs.h <<_ACEOF
44830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44831 _ACEOF
44834 done
44836 else
44838 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44839 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44840 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44841 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44842 echo $ECHO_N "(cached) $ECHO_C" >&6
44843 else
44847 ac_ext=cc
44848 ac_cpp='$CXXCPP $CPPFLAGS'
44849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44853 cat >conftest.$ac_ext <<_ACEOF
44854 /* confdefs.h. */
44855 _ACEOF
44856 cat confdefs.h >>conftest.$ac_ext
44857 cat >>conftest.$ac_ext <<_ACEOF
44858 /* end confdefs.h. */
44859 #include <math.h>
44861 main ()
44863 _frexpl(0, 0);
44865 return 0;
44867 _ACEOF
44868 rm -f conftest.$ac_objext
44869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44870 (eval $ac_compile) 2>conftest.er1
44871 ac_status=$?
44872 grep -v '^ *+' conftest.er1 >conftest.err
44873 rm -f conftest.er1
44874 cat conftest.err >&5
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); } &&
44877 { ac_try='test -z "$ac_cxx_werror_flag"
44878 || test ! -s conftest.err'
44879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44880 (eval $ac_try) 2>&5
44881 ac_status=$?
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); }; } &&
44884 { ac_try='test -s conftest.$ac_objext'
44885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44886 (eval $ac_try) 2>&5
44887 ac_status=$?
44888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889 (exit $ac_status); }; }; then
44890 glibcxx_cv_func__frexpl_use=yes
44891 else
44892 echo "$as_me: failed program was:" >&5
44893 sed 's/^/| /' conftest.$ac_ext >&5
44895 glibcxx_cv_func__frexpl_use=no
44897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44898 ac_ext=c
44899 ac_cpp='$CPP $CPPFLAGS'
44900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44909 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44911 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44913 for ac_func in _frexpl
44915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44916 echo "$as_me:$LINENO: checking for $ac_func" >&5
44917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44918 if eval "test \"\${$as_ac_var+set}\" = set"; then
44919 echo $ECHO_N "(cached) $ECHO_C" >&6
44920 else
44921 if test x$gcc_no_link = xyes; then
44922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44924 { (exit 1); exit 1; }; }
44926 cat >conftest.$ac_ext <<_ACEOF
44927 /* confdefs.h. */
44928 _ACEOF
44929 cat confdefs.h >>conftest.$ac_ext
44930 cat >>conftest.$ac_ext <<_ACEOF
44931 /* end confdefs.h. */
44932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44934 #define $ac_func innocuous_$ac_func
44936 /* System header to define __stub macros and hopefully few prototypes,
44937 which can conflict with char $ac_func (); below.
44938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44939 <limits.h> exists even on freestanding compilers. */
44941 #ifdef __STDC__
44942 # include <limits.h>
44943 #else
44944 # include <assert.h>
44945 #endif
44947 #undef $ac_func
44949 /* Override any gcc2 internal prototype to avoid an error. */
44950 #ifdef __cplusplus
44951 extern "C"
44953 #endif
44954 /* We use char because int might match the return type of a gcc2
44955 builtin and then its argument prototype would still apply. */
44956 char $ac_func ();
44957 /* The GNU C library defines this for functions which it implements
44958 to always fail with ENOSYS. Some functions are actually named
44959 something starting with __ and the normal name is an alias. */
44960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44961 choke me
44962 #else
44963 char (*f) () = $ac_func;
44964 #endif
44965 #ifdef __cplusplus
44967 #endif
44970 main ()
44972 return f != $ac_func;
44974 return 0;
44976 _ACEOF
44977 rm -f conftest.$ac_objext conftest$ac_exeext
44978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44979 (eval $ac_link) 2>conftest.er1
44980 ac_status=$?
44981 grep -v '^ *+' conftest.er1 >conftest.err
44982 rm -f conftest.er1
44983 cat conftest.err >&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); } &&
44986 { ac_try='test -z "$ac_c_werror_flag"
44987 || test ! -s conftest.err'
44988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44989 (eval $ac_try) 2>&5
44990 ac_status=$?
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); }; } &&
44993 { ac_try='test -s conftest$ac_exeext'
44994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44995 (eval $ac_try) 2>&5
44996 ac_status=$?
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); }; }; then
44999 eval "$as_ac_var=yes"
45000 else
45001 echo "$as_me: failed program was:" >&5
45002 sed 's/^/| /' conftest.$ac_ext >&5
45004 eval "$as_ac_var=no"
45006 rm -f conftest.err conftest.$ac_objext \
45007 conftest$ac_exeext conftest.$ac_ext
45009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45011 if test `eval echo '${'$as_ac_var'}'` = yes; then
45012 cat >>confdefs.h <<_ACEOF
45013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45014 _ACEOF
45017 done
45027 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45028 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45029 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45030 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45031 echo $ECHO_N "(cached) $ECHO_C" >&6
45032 else
45036 ac_ext=cc
45037 ac_cpp='$CXXCPP $CPPFLAGS'
45038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45042 cat >conftest.$ac_ext <<_ACEOF
45043 /* confdefs.h. */
45044 _ACEOF
45045 cat confdefs.h >>conftest.$ac_ext
45046 cat >>conftest.$ac_ext <<_ACEOF
45047 /* end confdefs.h. */
45048 #include <math.h>
45050 main ()
45052 hypotl(0, 0);
45054 return 0;
45056 _ACEOF
45057 rm -f conftest.$ac_objext
45058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45059 (eval $ac_compile) 2>conftest.er1
45060 ac_status=$?
45061 grep -v '^ *+' conftest.er1 >conftest.err
45062 rm -f conftest.er1
45063 cat conftest.err >&5
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); } &&
45066 { ac_try='test -z "$ac_cxx_werror_flag"
45067 || test ! -s conftest.err'
45068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45069 (eval $ac_try) 2>&5
45070 ac_status=$?
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; } &&
45073 { ac_try='test -s conftest.$ac_objext'
45074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45075 (eval $ac_try) 2>&5
45076 ac_status=$?
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); }; }; then
45079 glibcxx_cv_func_hypotl_use=yes
45080 else
45081 echo "$as_me: failed program was:" >&5
45082 sed 's/^/| /' conftest.$ac_ext >&5
45084 glibcxx_cv_func_hypotl_use=no
45086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45087 ac_ext=c
45088 ac_cpp='$CPP $CPPFLAGS'
45089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45098 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45100 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45102 for ac_func in hypotl
45104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45105 echo "$as_me:$LINENO: checking for $ac_func" >&5
45106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45107 if eval "test \"\${$as_ac_var+set}\" = set"; then
45108 echo $ECHO_N "(cached) $ECHO_C" >&6
45109 else
45110 if test x$gcc_no_link = xyes; then
45111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45113 { (exit 1); exit 1; }; }
45115 cat >conftest.$ac_ext <<_ACEOF
45116 /* confdefs.h. */
45117 _ACEOF
45118 cat confdefs.h >>conftest.$ac_ext
45119 cat >>conftest.$ac_ext <<_ACEOF
45120 /* end confdefs.h. */
45121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45123 #define $ac_func innocuous_$ac_func
45125 /* System header to define __stub macros and hopefully few prototypes,
45126 which can conflict with char $ac_func (); below.
45127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45128 <limits.h> exists even on freestanding compilers. */
45130 #ifdef __STDC__
45131 # include <limits.h>
45132 #else
45133 # include <assert.h>
45134 #endif
45136 #undef $ac_func
45138 /* Override any gcc2 internal prototype to avoid an error. */
45139 #ifdef __cplusplus
45140 extern "C"
45142 #endif
45143 /* We use char because int might match the return type of a gcc2
45144 builtin and then its argument prototype would still apply. */
45145 char $ac_func ();
45146 /* The GNU C library defines this for functions which it implements
45147 to always fail with ENOSYS. Some functions are actually named
45148 something starting with __ and the normal name is an alias. */
45149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45150 choke me
45151 #else
45152 char (*f) () = $ac_func;
45153 #endif
45154 #ifdef __cplusplus
45156 #endif
45159 main ()
45161 return f != $ac_func;
45163 return 0;
45165 _ACEOF
45166 rm -f conftest.$ac_objext conftest$ac_exeext
45167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45168 (eval $ac_link) 2>conftest.er1
45169 ac_status=$?
45170 grep -v '^ *+' conftest.er1 >conftest.err
45171 rm -f conftest.er1
45172 cat conftest.err >&5
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); } &&
45175 { ac_try='test -z "$ac_c_werror_flag"
45176 || test ! -s conftest.err'
45177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45178 (eval $ac_try) 2>&5
45179 ac_status=$?
45180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181 (exit $ac_status); }; } &&
45182 { ac_try='test -s conftest$ac_exeext'
45183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45184 (eval $ac_try) 2>&5
45185 ac_status=$?
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); }; }; then
45188 eval "$as_ac_var=yes"
45189 else
45190 echo "$as_me: failed program was:" >&5
45191 sed 's/^/| /' conftest.$ac_ext >&5
45193 eval "$as_ac_var=no"
45195 rm -f conftest.err conftest.$ac_objext \
45196 conftest$ac_exeext conftest.$ac_ext
45198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45200 if test `eval echo '${'$as_ac_var'}'` = yes; then
45201 cat >>confdefs.h <<_ACEOF
45202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45203 _ACEOF
45206 done
45208 else
45210 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45211 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45212 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45213 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45214 echo $ECHO_N "(cached) $ECHO_C" >&6
45215 else
45219 ac_ext=cc
45220 ac_cpp='$CXXCPP $CPPFLAGS'
45221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45225 cat >conftest.$ac_ext <<_ACEOF
45226 /* confdefs.h. */
45227 _ACEOF
45228 cat confdefs.h >>conftest.$ac_ext
45229 cat >>conftest.$ac_ext <<_ACEOF
45230 /* end confdefs.h. */
45231 #include <math.h>
45233 main ()
45235 _hypotl(0, 0);
45237 return 0;
45239 _ACEOF
45240 rm -f conftest.$ac_objext
45241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45242 (eval $ac_compile) 2>conftest.er1
45243 ac_status=$?
45244 grep -v '^ *+' conftest.er1 >conftest.err
45245 rm -f conftest.er1
45246 cat conftest.err >&5
45247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45248 (exit $ac_status); } &&
45249 { ac_try='test -z "$ac_cxx_werror_flag"
45250 || test ! -s conftest.err'
45251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45252 (eval $ac_try) 2>&5
45253 ac_status=$?
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; } &&
45256 { ac_try='test -s conftest.$ac_objext'
45257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45258 (eval $ac_try) 2>&5
45259 ac_status=$?
45260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261 (exit $ac_status); }; }; then
45262 glibcxx_cv_func__hypotl_use=yes
45263 else
45264 echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.$ac_ext >&5
45267 glibcxx_cv_func__hypotl_use=no
45269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45270 ac_ext=c
45271 ac_cpp='$CPP $CPPFLAGS'
45272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45281 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45283 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45285 for ac_func in _hypotl
45287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45288 echo "$as_me:$LINENO: checking for $ac_func" >&5
45289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45290 if eval "test \"\${$as_ac_var+set}\" = set"; then
45291 echo $ECHO_N "(cached) $ECHO_C" >&6
45292 else
45293 if test x$gcc_no_link = xyes; then
45294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45296 { (exit 1); exit 1; }; }
45298 cat >conftest.$ac_ext <<_ACEOF
45299 /* confdefs.h. */
45300 _ACEOF
45301 cat confdefs.h >>conftest.$ac_ext
45302 cat >>conftest.$ac_ext <<_ACEOF
45303 /* end confdefs.h. */
45304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45306 #define $ac_func innocuous_$ac_func
45308 /* System header to define __stub macros and hopefully few prototypes,
45309 which can conflict with char $ac_func (); below.
45310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45311 <limits.h> exists even on freestanding compilers. */
45313 #ifdef __STDC__
45314 # include <limits.h>
45315 #else
45316 # include <assert.h>
45317 #endif
45319 #undef $ac_func
45321 /* Override any gcc2 internal prototype to avoid an error. */
45322 #ifdef __cplusplus
45323 extern "C"
45325 #endif
45326 /* We use char because int might match the return type of a gcc2
45327 builtin and then its argument prototype would still apply. */
45328 char $ac_func ();
45329 /* The GNU C library defines this for functions which it implements
45330 to always fail with ENOSYS. Some functions are actually named
45331 something starting with __ and the normal name is an alias. */
45332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45333 choke me
45334 #else
45335 char (*f) () = $ac_func;
45336 #endif
45337 #ifdef __cplusplus
45339 #endif
45342 main ()
45344 return f != $ac_func;
45346 return 0;
45348 _ACEOF
45349 rm -f conftest.$ac_objext conftest$ac_exeext
45350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45351 (eval $ac_link) 2>conftest.er1
45352 ac_status=$?
45353 grep -v '^ *+' conftest.er1 >conftest.err
45354 rm -f conftest.er1
45355 cat conftest.err >&5
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); } &&
45358 { ac_try='test -z "$ac_c_werror_flag"
45359 || test ! -s conftest.err'
45360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45361 (eval $ac_try) 2>&5
45362 ac_status=$?
45363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364 (exit $ac_status); }; } &&
45365 { ac_try='test -s conftest$ac_exeext'
45366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45367 (eval $ac_try) 2>&5
45368 ac_status=$?
45369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45370 (exit $ac_status); }; }; then
45371 eval "$as_ac_var=yes"
45372 else
45373 echo "$as_me: failed program was:" >&5
45374 sed 's/^/| /' conftest.$ac_ext >&5
45376 eval "$as_ac_var=no"
45378 rm -f conftest.err conftest.$ac_objext \
45379 conftest$ac_exeext conftest.$ac_ext
45381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45383 if test `eval echo '${'$as_ac_var'}'` = yes; then
45384 cat >>confdefs.h <<_ACEOF
45385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45386 _ACEOF
45389 done
45399 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45400 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45401 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45402 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45403 echo $ECHO_N "(cached) $ECHO_C" >&6
45404 else
45408 ac_ext=cc
45409 ac_cpp='$CXXCPP $CPPFLAGS'
45410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45414 cat >conftest.$ac_ext <<_ACEOF
45415 /* confdefs.h. */
45416 _ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h. */
45420 #include <math.h>
45422 main ()
45424 ldexpl(0, 0);
45426 return 0;
45428 _ACEOF
45429 rm -f conftest.$ac_objext
45430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45431 (eval $ac_compile) 2>conftest.er1
45432 ac_status=$?
45433 grep -v '^ *+' conftest.er1 >conftest.err
45434 rm -f conftest.er1
45435 cat conftest.err >&5
45436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45437 (exit $ac_status); } &&
45438 { ac_try='test -z "$ac_cxx_werror_flag"
45439 || test ! -s conftest.err'
45440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441 (eval $ac_try) 2>&5
45442 ac_status=$?
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; } &&
45445 { ac_try='test -s conftest.$ac_objext'
45446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45447 (eval $ac_try) 2>&5
45448 ac_status=$?
45449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45450 (exit $ac_status); }; }; then
45451 glibcxx_cv_func_ldexpl_use=yes
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45456 glibcxx_cv_func_ldexpl_use=no
45458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45459 ac_ext=c
45460 ac_cpp='$CPP $CPPFLAGS'
45461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45470 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45472 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45474 for ac_func in ldexpl
45476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45477 echo "$as_me:$LINENO: checking for $ac_func" >&5
45478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45479 if eval "test \"\${$as_ac_var+set}\" = set"; then
45480 echo $ECHO_N "(cached) $ECHO_C" >&6
45481 else
45482 if test x$gcc_no_link = xyes; then
45483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45485 { (exit 1); exit 1; }; }
45487 cat >conftest.$ac_ext <<_ACEOF
45488 /* confdefs.h. */
45489 _ACEOF
45490 cat confdefs.h >>conftest.$ac_ext
45491 cat >>conftest.$ac_ext <<_ACEOF
45492 /* end confdefs.h. */
45493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45495 #define $ac_func innocuous_$ac_func
45497 /* System header to define __stub macros and hopefully few prototypes,
45498 which can conflict with char $ac_func (); below.
45499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45500 <limits.h> exists even on freestanding compilers. */
45502 #ifdef __STDC__
45503 # include <limits.h>
45504 #else
45505 # include <assert.h>
45506 #endif
45508 #undef $ac_func
45510 /* Override any gcc2 internal prototype to avoid an error. */
45511 #ifdef __cplusplus
45512 extern "C"
45514 #endif
45515 /* We use char because int might match the return type of a gcc2
45516 builtin and then its argument prototype would still apply. */
45517 char $ac_func ();
45518 /* The GNU C library defines this for functions which it implements
45519 to always fail with ENOSYS. Some functions are actually named
45520 something starting with __ and the normal name is an alias. */
45521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45522 choke me
45523 #else
45524 char (*f) () = $ac_func;
45525 #endif
45526 #ifdef __cplusplus
45528 #endif
45531 main ()
45533 return f != $ac_func;
45535 return 0;
45537 _ACEOF
45538 rm -f conftest.$ac_objext conftest$ac_exeext
45539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45540 (eval $ac_link) 2>conftest.er1
45541 ac_status=$?
45542 grep -v '^ *+' conftest.er1 >conftest.err
45543 rm -f conftest.er1
45544 cat conftest.err >&5
45545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45546 (exit $ac_status); } &&
45547 { ac_try='test -z "$ac_c_werror_flag"
45548 || test ! -s conftest.err'
45549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45550 (eval $ac_try) 2>&5
45551 ac_status=$?
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); }; } &&
45554 { ac_try='test -s conftest$ac_exeext'
45555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45556 (eval $ac_try) 2>&5
45557 ac_status=$?
45558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45559 (exit $ac_status); }; }; then
45560 eval "$as_ac_var=yes"
45561 else
45562 echo "$as_me: failed program was:" >&5
45563 sed 's/^/| /' conftest.$ac_ext >&5
45565 eval "$as_ac_var=no"
45567 rm -f conftest.err conftest.$ac_objext \
45568 conftest$ac_exeext conftest.$ac_ext
45570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45572 if test `eval echo '${'$as_ac_var'}'` = yes; then
45573 cat >>confdefs.h <<_ACEOF
45574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45575 _ACEOF
45578 done
45580 else
45582 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45583 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45584 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45585 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45586 echo $ECHO_N "(cached) $ECHO_C" >&6
45587 else
45591 ac_ext=cc
45592 ac_cpp='$CXXCPP $CPPFLAGS'
45593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45597 cat >conftest.$ac_ext <<_ACEOF
45598 /* confdefs.h. */
45599 _ACEOF
45600 cat confdefs.h >>conftest.$ac_ext
45601 cat >>conftest.$ac_ext <<_ACEOF
45602 /* end confdefs.h. */
45603 #include <math.h>
45605 main ()
45607 _ldexpl(0, 0);
45609 return 0;
45611 _ACEOF
45612 rm -f conftest.$ac_objext
45613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45614 (eval $ac_compile) 2>conftest.er1
45615 ac_status=$?
45616 grep -v '^ *+' conftest.er1 >conftest.err
45617 rm -f conftest.er1
45618 cat conftest.err >&5
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); } &&
45621 { ac_try='test -z "$ac_cxx_werror_flag"
45622 || test ! -s conftest.err'
45623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45624 (eval $ac_try) 2>&5
45625 ac_status=$?
45626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45627 (exit $ac_status); }; } &&
45628 { ac_try='test -s conftest.$ac_objext'
45629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45630 (eval $ac_try) 2>&5
45631 ac_status=$?
45632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45633 (exit $ac_status); }; }; then
45634 glibcxx_cv_func__ldexpl_use=yes
45635 else
45636 echo "$as_me: failed program was:" >&5
45637 sed 's/^/| /' conftest.$ac_ext >&5
45639 glibcxx_cv_func__ldexpl_use=no
45641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45642 ac_ext=c
45643 ac_cpp='$CPP $CPPFLAGS'
45644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45653 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45655 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45657 for ac_func in _ldexpl
45659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45660 echo "$as_me:$LINENO: checking for $ac_func" >&5
45661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45662 if eval "test \"\${$as_ac_var+set}\" = set"; then
45663 echo $ECHO_N "(cached) $ECHO_C" >&6
45664 else
45665 if test x$gcc_no_link = xyes; then
45666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45668 { (exit 1); exit 1; }; }
45670 cat >conftest.$ac_ext <<_ACEOF
45671 /* confdefs.h. */
45672 _ACEOF
45673 cat confdefs.h >>conftest.$ac_ext
45674 cat >>conftest.$ac_ext <<_ACEOF
45675 /* end confdefs.h. */
45676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45678 #define $ac_func innocuous_$ac_func
45680 /* System header to define __stub macros and hopefully few prototypes,
45681 which can conflict with char $ac_func (); below.
45682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45683 <limits.h> exists even on freestanding compilers. */
45685 #ifdef __STDC__
45686 # include <limits.h>
45687 #else
45688 # include <assert.h>
45689 #endif
45691 #undef $ac_func
45693 /* Override any gcc2 internal prototype to avoid an error. */
45694 #ifdef __cplusplus
45695 extern "C"
45697 #endif
45698 /* We use char because int might match the return type of a gcc2
45699 builtin and then its argument prototype would still apply. */
45700 char $ac_func ();
45701 /* The GNU C library defines this for functions which it implements
45702 to always fail with ENOSYS. Some functions are actually named
45703 something starting with __ and the normal name is an alias. */
45704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45705 choke me
45706 #else
45707 char (*f) () = $ac_func;
45708 #endif
45709 #ifdef __cplusplus
45711 #endif
45714 main ()
45716 return f != $ac_func;
45718 return 0;
45720 _ACEOF
45721 rm -f conftest.$ac_objext conftest$ac_exeext
45722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45723 (eval $ac_link) 2>conftest.er1
45724 ac_status=$?
45725 grep -v '^ *+' conftest.er1 >conftest.err
45726 rm -f conftest.er1
45727 cat conftest.err >&5
45728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45729 (exit $ac_status); } &&
45730 { ac_try='test -z "$ac_c_werror_flag"
45731 || test ! -s conftest.err'
45732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45733 (eval $ac_try) 2>&5
45734 ac_status=$?
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); }; } &&
45737 { ac_try='test -s conftest$ac_exeext'
45738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45739 (eval $ac_try) 2>&5
45740 ac_status=$?
45741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45742 (exit $ac_status); }; }; then
45743 eval "$as_ac_var=yes"
45744 else
45745 echo "$as_me: failed program was:" >&5
45746 sed 's/^/| /' conftest.$ac_ext >&5
45748 eval "$as_ac_var=no"
45750 rm -f conftest.err conftest.$ac_objext \
45751 conftest$ac_exeext conftest.$ac_ext
45753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45755 if test `eval echo '${'$as_ac_var'}'` = yes; then
45756 cat >>confdefs.h <<_ACEOF
45757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45758 _ACEOF
45761 done
45771 echo "$as_me:$LINENO: checking for logl declaration" >&5
45772 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45773 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45774 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45775 echo $ECHO_N "(cached) $ECHO_C" >&6
45776 else
45780 ac_ext=cc
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45786 cat >conftest.$ac_ext <<_ACEOF
45787 /* confdefs.h. */
45788 _ACEOF
45789 cat confdefs.h >>conftest.$ac_ext
45790 cat >>conftest.$ac_ext <<_ACEOF
45791 /* end confdefs.h. */
45792 #include <math.h>
45793 #ifdef HAVE_IEEEFP_H
45794 #include <ieeefp.h>
45795 #endif
45798 main ()
45800 logl(0);
45802 return 0;
45804 _ACEOF
45805 rm -f conftest.$ac_objext
45806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45807 (eval $ac_compile) 2>conftest.er1
45808 ac_status=$?
45809 grep -v '^ *+' conftest.er1 >conftest.err
45810 rm -f conftest.er1
45811 cat conftest.err >&5
45812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813 (exit $ac_status); } &&
45814 { ac_try='test -z "$ac_cxx_werror_flag"
45815 || test ! -s conftest.err'
45816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45817 (eval $ac_try) 2>&5
45818 ac_status=$?
45819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820 (exit $ac_status); }; } &&
45821 { ac_try='test -s conftest.$ac_objext'
45822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45823 (eval $ac_try) 2>&5
45824 ac_status=$?
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; }; then
45827 glibcxx_cv_func_logl_use=yes
45828 else
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45832 glibcxx_cv_func_logl_use=no
45834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45835 ac_ext=c
45836 ac_cpp='$CPP $CPPFLAGS'
45837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45846 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45848 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45850 for ac_func in logl
45852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45853 echo "$as_me:$LINENO: checking for $ac_func" >&5
45854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45855 if eval "test \"\${$as_ac_var+set}\" = set"; then
45856 echo $ECHO_N "(cached) $ECHO_C" >&6
45857 else
45858 if test x$gcc_no_link = xyes; then
45859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45861 { (exit 1); exit 1; }; }
45863 cat >conftest.$ac_ext <<_ACEOF
45864 /* confdefs.h. */
45865 _ACEOF
45866 cat confdefs.h >>conftest.$ac_ext
45867 cat >>conftest.$ac_ext <<_ACEOF
45868 /* end confdefs.h. */
45869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45871 #define $ac_func innocuous_$ac_func
45873 /* System header to define __stub macros and hopefully few prototypes,
45874 which can conflict with char $ac_func (); below.
45875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45876 <limits.h> exists even on freestanding compilers. */
45878 #ifdef __STDC__
45879 # include <limits.h>
45880 #else
45881 # include <assert.h>
45882 #endif
45884 #undef $ac_func
45886 /* Override any gcc2 internal prototype to avoid an error. */
45887 #ifdef __cplusplus
45888 extern "C"
45890 #endif
45891 /* We use char because int might match the return type of a gcc2
45892 builtin and then its argument prototype would still apply. */
45893 char $ac_func ();
45894 /* The GNU C library defines this for functions which it implements
45895 to always fail with ENOSYS. Some functions are actually named
45896 something starting with __ and the normal name is an alias. */
45897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45898 choke me
45899 #else
45900 char (*f) () = $ac_func;
45901 #endif
45902 #ifdef __cplusplus
45904 #endif
45907 main ()
45909 return f != $ac_func;
45911 return 0;
45913 _ACEOF
45914 rm -f conftest.$ac_objext conftest$ac_exeext
45915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45916 (eval $ac_link) 2>conftest.er1
45917 ac_status=$?
45918 grep -v '^ *+' conftest.er1 >conftest.err
45919 rm -f conftest.er1
45920 cat conftest.err >&5
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); } &&
45923 { ac_try='test -z "$ac_c_werror_flag"
45924 || test ! -s conftest.err'
45925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45926 (eval $ac_try) 2>&5
45927 ac_status=$?
45928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45929 (exit $ac_status); }; } &&
45930 { ac_try='test -s conftest$ac_exeext'
45931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45932 (eval $ac_try) 2>&5
45933 ac_status=$?
45934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45935 (exit $ac_status); }; }; then
45936 eval "$as_ac_var=yes"
45937 else
45938 echo "$as_me: failed program was:" >&5
45939 sed 's/^/| /' conftest.$ac_ext >&5
45941 eval "$as_ac_var=no"
45943 rm -f conftest.err conftest.$ac_objext \
45944 conftest$ac_exeext conftest.$ac_ext
45946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45948 if test `eval echo '${'$as_ac_var'}'` = yes; then
45949 cat >>confdefs.h <<_ACEOF
45950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45951 _ACEOF
45954 done
45956 else
45958 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45959 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45960 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45961 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45962 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 else
45967 ac_ext=cc
45968 ac_cpp='$CXXCPP $CPPFLAGS'
45969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45973 cat >conftest.$ac_ext <<_ACEOF
45974 /* confdefs.h. */
45975 _ACEOF
45976 cat confdefs.h >>conftest.$ac_ext
45977 cat >>conftest.$ac_ext <<_ACEOF
45978 /* end confdefs.h. */
45979 #include <math.h>
45980 #ifdef HAVE_IEEEFP_H
45981 #include <ieeefp.h>
45982 #endif
45985 main ()
45987 _logl(0);
45989 return 0;
45991 _ACEOF
45992 rm -f conftest.$ac_objext
45993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45994 (eval $ac_compile) 2>conftest.er1
45995 ac_status=$?
45996 grep -v '^ *+' conftest.er1 >conftest.err
45997 rm -f conftest.er1
45998 cat conftest.err >&5
45999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000 (exit $ac_status); } &&
46001 { ac_try='test -z "$ac_cxx_werror_flag"
46002 || test ! -s conftest.err'
46003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004 (eval $ac_try) 2>&5
46005 ac_status=$?
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); }; } &&
46008 { ac_try='test -s conftest.$ac_objext'
46009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46010 (eval $ac_try) 2>&5
46011 ac_status=$?
46012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013 (exit $ac_status); }; }; then
46014 glibcxx_cv_func__logl_use=yes
46015 else
46016 echo "$as_me: failed program was:" >&5
46017 sed 's/^/| /' conftest.$ac_ext >&5
46019 glibcxx_cv_func__logl_use=no
46021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46022 ac_ext=c
46023 ac_cpp='$CPP $CPPFLAGS'
46024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46033 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46035 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46037 for ac_func in _logl
46039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46040 echo "$as_me:$LINENO: checking for $ac_func" >&5
46041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46042 if eval "test \"\${$as_ac_var+set}\" = set"; then
46043 echo $ECHO_N "(cached) $ECHO_C" >&6
46044 else
46045 if test x$gcc_no_link = xyes; then
46046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46048 { (exit 1); exit 1; }; }
46050 cat >conftest.$ac_ext <<_ACEOF
46051 /* confdefs.h. */
46052 _ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46058 #define $ac_func innocuous_$ac_func
46060 /* System header to define __stub macros and hopefully few prototypes,
46061 which can conflict with char $ac_func (); below.
46062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46063 <limits.h> exists even on freestanding compilers. */
46065 #ifdef __STDC__
46066 # include <limits.h>
46067 #else
46068 # include <assert.h>
46069 #endif
46071 #undef $ac_func
46073 /* Override any gcc2 internal prototype to avoid an error. */
46074 #ifdef __cplusplus
46075 extern "C"
46077 #endif
46078 /* We use char because int might match the return type of a gcc2
46079 builtin and then its argument prototype would still apply. */
46080 char $ac_func ();
46081 /* The GNU C library defines this for functions which it implements
46082 to always fail with ENOSYS. Some functions are actually named
46083 something starting with __ and the normal name is an alias. */
46084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46085 choke me
46086 #else
46087 char (*f) () = $ac_func;
46088 #endif
46089 #ifdef __cplusplus
46091 #endif
46094 main ()
46096 return f != $ac_func;
46098 return 0;
46100 _ACEOF
46101 rm -f conftest.$ac_objext conftest$ac_exeext
46102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46103 (eval $ac_link) 2>conftest.er1
46104 ac_status=$?
46105 grep -v '^ *+' conftest.er1 >conftest.err
46106 rm -f conftest.er1
46107 cat conftest.err >&5
46108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46109 (exit $ac_status); } &&
46110 { ac_try='test -z "$ac_c_werror_flag"
46111 || test ! -s conftest.err'
46112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46113 (eval $ac_try) 2>&5
46114 ac_status=$?
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); }; } &&
46117 { ac_try='test -s conftest$ac_exeext'
46118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46119 (eval $ac_try) 2>&5
46120 ac_status=$?
46121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46122 (exit $ac_status); }; }; then
46123 eval "$as_ac_var=yes"
46124 else
46125 echo "$as_me: failed program was:" >&5
46126 sed 's/^/| /' conftest.$ac_ext >&5
46128 eval "$as_ac_var=no"
46130 rm -f conftest.err conftest.$ac_objext \
46131 conftest$ac_exeext conftest.$ac_ext
46133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46135 if test `eval echo '${'$as_ac_var'}'` = yes; then
46136 cat >>confdefs.h <<_ACEOF
46137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46138 _ACEOF
46141 done
46151 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46152 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46153 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46154 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46156 else
46160 ac_ext=cc
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166 cat >conftest.$ac_ext <<_ACEOF
46167 /* confdefs.h. */
46168 _ACEOF
46169 cat confdefs.h >>conftest.$ac_ext
46170 cat >>conftest.$ac_ext <<_ACEOF
46171 /* end confdefs.h. */
46172 #include <math.h>
46173 #ifdef HAVE_IEEEFP_H
46174 #include <ieeefp.h>
46175 #endif
46178 main ()
46180 log10l(0);
46182 return 0;
46184 _ACEOF
46185 rm -f conftest.$ac_objext
46186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46187 (eval $ac_compile) 2>conftest.er1
46188 ac_status=$?
46189 grep -v '^ *+' conftest.er1 >conftest.err
46190 rm -f conftest.er1
46191 cat conftest.err >&5
46192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193 (exit $ac_status); } &&
46194 { ac_try='test -z "$ac_cxx_werror_flag"
46195 || test ! -s conftest.err'
46196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46197 (eval $ac_try) 2>&5
46198 ac_status=$?
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); }; } &&
46201 { ac_try='test -s conftest.$ac_objext'
46202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46203 (eval $ac_try) 2>&5
46204 ac_status=$?
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); }; }; then
46207 glibcxx_cv_func_log10l_use=yes
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46212 glibcxx_cv_func_log10l_use=no
46214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46215 ac_ext=c
46216 ac_cpp='$CPP $CPPFLAGS'
46217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46226 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46228 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46230 for ac_func in log10l
46232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46233 echo "$as_me:$LINENO: checking for $ac_func" >&5
46234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46235 if eval "test \"\${$as_ac_var+set}\" = set"; then
46236 echo $ECHO_N "(cached) $ECHO_C" >&6
46237 else
46238 if test x$gcc_no_link = xyes; then
46239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46241 { (exit 1); exit 1; }; }
46243 cat >conftest.$ac_ext <<_ACEOF
46244 /* confdefs.h. */
46245 _ACEOF
46246 cat confdefs.h >>conftest.$ac_ext
46247 cat >>conftest.$ac_ext <<_ACEOF
46248 /* end confdefs.h. */
46249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46251 #define $ac_func innocuous_$ac_func
46253 /* System header to define __stub macros and hopefully few prototypes,
46254 which can conflict with char $ac_func (); below.
46255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46256 <limits.h> exists even on freestanding compilers. */
46258 #ifdef __STDC__
46259 # include <limits.h>
46260 #else
46261 # include <assert.h>
46262 #endif
46264 #undef $ac_func
46266 /* Override any gcc2 internal prototype to avoid an error. */
46267 #ifdef __cplusplus
46268 extern "C"
46270 #endif
46271 /* We use char because int might match the return type of a gcc2
46272 builtin and then its argument prototype would still apply. */
46273 char $ac_func ();
46274 /* The GNU C library defines this for functions which it implements
46275 to always fail with ENOSYS. Some functions are actually named
46276 something starting with __ and the normal name is an alias. */
46277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46278 choke me
46279 #else
46280 char (*f) () = $ac_func;
46281 #endif
46282 #ifdef __cplusplus
46284 #endif
46287 main ()
46289 return f != $ac_func;
46291 return 0;
46293 _ACEOF
46294 rm -f conftest.$ac_objext conftest$ac_exeext
46295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46296 (eval $ac_link) 2>conftest.er1
46297 ac_status=$?
46298 grep -v '^ *+' conftest.er1 >conftest.err
46299 rm -f conftest.er1
46300 cat conftest.err >&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } &&
46303 { ac_try='test -z "$ac_c_werror_flag"
46304 || test ! -s conftest.err'
46305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46306 (eval $ac_try) 2>&5
46307 ac_status=$?
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); }; } &&
46310 { ac_try='test -s conftest$ac_exeext'
46311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46312 (eval $ac_try) 2>&5
46313 ac_status=$?
46314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46315 (exit $ac_status); }; }; then
46316 eval "$as_ac_var=yes"
46317 else
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46321 eval "$as_ac_var=no"
46323 rm -f conftest.err conftest.$ac_objext \
46324 conftest$ac_exeext conftest.$ac_ext
46326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46328 if test `eval echo '${'$as_ac_var'}'` = yes; then
46329 cat >>confdefs.h <<_ACEOF
46330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46331 _ACEOF
46334 done
46336 else
46338 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46339 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46340 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46341 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 else
46347 ac_ext=cc
46348 ac_cpp='$CXXCPP $CPPFLAGS'
46349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46353 cat >conftest.$ac_ext <<_ACEOF
46354 /* confdefs.h. */
46355 _ACEOF
46356 cat confdefs.h >>conftest.$ac_ext
46357 cat >>conftest.$ac_ext <<_ACEOF
46358 /* end confdefs.h. */
46359 #include <math.h>
46360 #ifdef HAVE_IEEEFP_H
46361 #include <ieeefp.h>
46362 #endif
46365 main ()
46367 _log10l(0);
46369 return 0;
46371 _ACEOF
46372 rm -f conftest.$ac_objext
46373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46374 (eval $ac_compile) 2>conftest.er1
46375 ac_status=$?
46376 grep -v '^ *+' conftest.er1 >conftest.err
46377 rm -f conftest.er1
46378 cat conftest.err >&5
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); } &&
46381 { ac_try='test -z "$ac_cxx_werror_flag"
46382 || test ! -s conftest.err'
46383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46384 (eval $ac_try) 2>&5
46385 ac_status=$?
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); }; } &&
46388 { ac_try='test -s conftest.$ac_objext'
46389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46390 (eval $ac_try) 2>&5
46391 ac_status=$?
46392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46393 (exit $ac_status); }; }; then
46394 glibcxx_cv_func__log10l_use=yes
46395 else
46396 echo "$as_me: failed program was:" >&5
46397 sed 's/^/| /' conftest.$ac_ext >&5
46399 glibcxx_cv_func__log10l_use=no
46401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46402 ac_ext=c
46403 ac_cpp='$CPP $CPPFLAGS'
46404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46413 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46415 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46417 for ac_func in _log10l
46419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46420 echo "$as_me:$LINENO: checking for $ac_func" >&5
46421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46422 if eval "test \"\${$as_ac_var+set}\" = set"; then
46423 echo $ECHO_N "(cached) $ECHO_C" >&6
46424 else
46425 if test x$gcc_no_link = xyes; then
46426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46428 { (exit 1); exit 1; }; }
46430 cat >conftest.$ac_ext <<_ACEOF
46431 /* confdefs.h. */
46432 _ACEOF
46433 cat confdefs.h >>conftest.$ac_ext
46434 cat >>conftest.$ac_ext <<_ACEOF
46435 /* end confdefs.h. */
46436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46438 #define $ac_func innocuous_$ac_func
46440 /* System header to define __stub macros and hopefully few prototypes,
46441 which can conflict with char $ac_func (); below.
46442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46443 <limits.h> exists even on freestanding compilers. */
46445 #ifdef __STDC__
46446 # include <limits.h>
46447 #else
46448 # include <assert.h>
46449 #endif
46451 #undef $ac_func
46453 /* Override any gcc2 internal prototype to avoid an error. */
46454 #ifdef __cplusplus
46455 extern "C"
46457 #endif
46458 /* We use char because int might match the return type of a gcc2
46459 builtin and then its argument prototype would still apply. */
46460 char $ac_func ();
46461 /* The GNU C library defines this for functions which it implements
46462 to always fail with ENOSYS. Some functions are actually named
46463 something starting with __ and the normal name is an alias. */
46464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46465 choke me
46466 #else
46467 char (*f) () = $ac_func;
46468 #endif
46469 #ifdef __cplusplus
46471 #endif
46474 main ()
46476 return f != $ac_func;
46478 return 0;
46480 _ACEOF
46481 rm -f conftest.$ac_objext conftest$ac_exeext
46482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46483 (eval $ac_link) 2>conftest.er1
46484 ac_status=$?
46485 grep -v '^ *+' conftest.er1 >conftest.err
46486 rm -f conftest.er1
46487 cat conftest.err >&5
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); } &&
46490 { ac_try='test -z "$ac_c_werror_flag"
46491 || test ! -s conftest.err'
46492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46493 (eval $ac_try) 2>&5
46494 ac_status=$?
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 (exit $ac_status); }; } &&
46497 { ac_try='test -s conftest$ac_exeext'
46498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46499 (eval $ac_try) 2>&5
46500 ac_status=$?
46501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46502 (exit $ac_status); }; }; then
46503 eval "$as_ac_var=yes"
46504 else
46505 echo "$as_me: failed program was:" >&5
46506 sed 's/^/| /' conftest.$ac_ext >&5
46508 eval "$as_ac_var=no"
46510 rm -f conftest.err conftest.$ac_objext \
46511 conftest$ac_exeext conftest.$ac_ext
46513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46515 if test `eval echo '${'$as_ac_var'}'` = yes; then
46516 cat >>confdefs.h <<_ACEOF
46517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46518 _ACEOF
46521 done
46531 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46532 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46533 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46534 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46535 echo $ECHO_N "(cached) $ECHO_C" >&6
46536 else
46540 ac_ext=cc
46541 ac_cpp='$CXXCPP $CPPFLAGS'
46542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546 cat >conftest.$ac_ext <<_ACEOF
46547 /* confdefs.h. */
46548 _ACEOF
46549 cat confdefs.h >>conftest.$ac_ext
46550 cat >>conftest.$ac_ext <<_ACEOF
46551 /* end confdefs.h. */
46552 #include <math.h>
46554 main ()
46556 modfl(0, 0);
46558 return 0;
46560 _ACEOF
46561 rm -f conftest.$ac_objext
46562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46563 (eval $ac_compile) 2>conftest.er1
46564 ac_status=$?
46565 grep -v '^ *+' conftest.er1 >conftest.err
46566 rm -f conftest.er1
46567 cat conftest.err >&5
46568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46569 (exit $ac_status); } &&
46570 { ac_try='test -z "$ac_cxx_werror_flag"
46571 || test ! -s conftest.err'
46572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46573 (eval $ac_try) 2>&5
46574 ac_status=$?
46575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576 (exit $ac_status); }; } &&
46577 { ac_try='test -s conftest.$ac_objext'
46578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46579 (eval $ac_try) 2>&5
46580 ac_status=$?
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; }; then
46583 glibcxx_cv_func_modfl_use=yes
46584 else
46585 echo "$as_me: failed program was:" >&5
46586 sed 's/^/| /' conftest.$ac_ext >&5
46588 glibcxx_cv_func_modfl_use=no
46590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46602 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46604 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46606 for ac_func in modfl
46608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46609 echo "$as_me:$LINENO: checking for $ac_func" >&5
46610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46611 if eval "test \"\${$as_ac_var+set}\" = set"; then
46612 echo $ECHO_N "(cached) $ECHO_C" >&6
46613 else
46614 if test x$gcc_no_link = xyes; then
46615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46617 { (exit 1); exit 1; }; }
46619 cat >conftest.$ac_ext <<_ACEOF
46620 /* confdefs.h. */
46621 _ACEOF
46622 cat confdefs.h >>conftest.$ac_ext
46623 cat >>conftest.$ac_ext <<_ACEOF
46624 /* end confdefs.h. */
46625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46627 #define $ac_func innocuous_$ac_func
46629 /* System header to define __stub macros and hopefully few prototypes,
46630 which can conflict with char $ac_func (); below.
46631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46632 <limits.h> exists even on freestanding compilers. */
46634 #ifdef __STDC__
46635 # include <limits.h>
46636 #else
46637 # include <assert.h>
46638 #endif
46640 #undef $ac_func
46642 /* Override any gcc2 internal prototype to avoid an error. */
46643 #ifdef __cplusplus
46644 extern "C"
46646 #endif
46647 /* We use char because int might match the return type of a gcc2
46648 builtin and then its argument prototype would still apply. */
46649 char $ac_func ();
46650 /* The GNU C library defines this for functions which it implements
46651 to always fail with ENOSYS. Some functions are actually named
46652 something starting with __ and the normal name is an alias. */
46653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46654 choke me
46655 #else
46656 char (*f) () = $ac_func;
46657 #endif
46658 #ifdef __cplusplus
46660 #endif
46663 main ()
46665 return f != $ac_func;
46667 return 0;
46669 _ACEOF
46670 rm -f conftest.$ac_objext conftest$ac_exeext
46671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46672 (eval $ac_link) 2>conftest.er1
46673 ac_status=$?
46674 grep -v '^ *+' conftest.er1 >conftest.err
46675 rm -f conftest.er1
46676 cat conftest.err >&5
46677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46678 (exit $ac_status); } &&
46679 { ac_try='test -z "$ac_c_werror_flag"
46680 || test ! -s conftest.err'
46681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46682 (eval $ac_try) 2>&5
46683 ac_status=$?
46684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46685 (exit $ac_status); }; } &&
46686 { ac_try='test -s conftest$ac_exeext'
46687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46688 (eval $ac_try) 2>&5
46689 ac_status=$?
46690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46691 (exit $ac_status); }; }; then
46692 eval "$as_ac_var=yes"
46693 else
46694 echo "$as_me: failed program was:" >&5
46695 sed 's/^/| /' conftest.$ac_ext >&5
46697 eval "$as_ac_var=no"
46699 rm -f conftest.err conftest.$ac_objext \
46700 conftest$ac_exeext conftest.$ac_ext
46702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46704 if test `eval echo '${'$as_ac_var'}'` = yes; then
46705 cat >>confdefs.h <<_ACEOF
46706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46707 _ACEOF
46710 done
46712 else
46714 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46715 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46716 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46717 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46718 echo $ECHO_N "(cached) $ECHO_C" >&6
46719 else
46723 ac_ext=cc
46724 ac_cpp='$CXXCPP $CPPFLAGS'
46725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46729 cat >conftest.$ac_ext <<_ACEOF
46730 /* confdefs.h. */
46731 _ACEOF
46732 cat confdefs.h >>conftest.$ac_ext
46733 cat >>conftest.$ac_ext <<_ACEOF
46734 /* end confdefs.h. */
46735 #include <math.h>
46737 main ()
46739 _modfl(0, 0);
46741 return 0;
46743 _ACEOF
46744 rm -f conftest.$ac_objext
46745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46746 (eval $ac_compile) 2>conftest.er1
46747 ac_status=$?
46748 grep -v '^ *+' conftest.er1 >conftest.err
46749 rm -f conftest.er1
46750 cat conftest.err >&5
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); } &&
46753 { ac_try='test -z "$ac_cxx_werror_flag"
46754 || test ! -s conftest.err'
46755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46756 (eval $ac_try) 2>&5
46757 ac_status=$?
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); }; } &&
46760 { ac_try='test -s conftest.$ac_objext'
46761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46762 (eval $ac_try) 2>&5
46763 ac_status=$?
46764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46765 (exit $ac_status); }; }; then
46766 glibcxx_cv_func__modfl_use=yes
46767 else
46768 echo "$as_me: failed program was:" >&5
46769 sed 's/^/| /' conftest.$ac_ext >&5
46771 glibcxx_cv_func__modfl_use=no
46773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46774 ac_ext=c
46775 ac_cpp='$CPP $CPPFLAGS'
46776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46785 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46787 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46789 for ac_func in _modfl
46791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46792 echo "$as_me:$LINENO: checking for $ac_func" >&5
46793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46794 if eval "test \"\${$as_ac_var+set}\" = set"; then
46795 echo $ECHO_N "(cached) $ECHO_C" >&6
46796 else
46797 if test x$gcc_no_link = xyes; then
46798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46800 { (exit 1); exit 1; }; }
46802 cat >conftest.$ac_ext <<_ACEOF
46803 /* confdefs.h. */
46804 _ACEOF
46805 cat confdefs.h >>conftest.$ac_ext
46806 cat >>conftest.$ac_ext <<_ACEOF
46807 /* end confdefs.h. */
46808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46810 #define $ac_func innocuous_$ac_func
46812 /* System header to define __stub macros and hopefully few prototypes,
46813 which can conflict with char $ac_func (); below.
46814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46815 <limits.h> exists even on freestanding compilers. */
46817 #ifdef __STDC__
46818 # include <limits.h>
46819 #else
46820 # include <assert.h>
46821 #endif
46823 #undef $ac_func
46825 /* Override any gcc2 internal prototype to avoid an error. */
46826 #ifdef __cplusplus
46827 extern "C"
46829 #endif
46830 /* We use char because int might match the return type of a gcc2
46831 builtin and then its argument prototype would still apply. */
46832 char $ac_func ();
46833 /* The GNU C library defines this for functions which it implements
46834 to always fail with ENOSYS. Some functions are actually named
46835 something starting with __ and the normal name is an alias. */
46836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46837 choke me
46838 #else
46839 char (*f) () = $ac_func;
46840 #endif
46841 #ifdef __cplusplus
46843 #endif
46846 main ()
46848 return f != $ac_func;
46850 return 0;
46852 _ACEOF
46853 rm -f conftest.$ac_objext conftest$ac_exeext
46854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46855 (eval $ac_link) 2>conftest.er1
46856 ac_status=$?
46857 grep -v '^ *+' conftest.er1 >conftest.err
46858 rm -f conftest.er1
46859 cat conftest.err >&5
46860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861 (exit $ac_status); } &&
46862 { ac_try='test -z "$ac_c_werror_flag"
46863 || test ! -s conftest.err'
46864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46865 (eval $ac_try) 2>&5
46866 ac_status=$?
46867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46868 (exit $ac_status); }; } &&
46869 { ac_try='test -s conftest$ac_exeext'
46870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46871 (eval $ac_try) 2>&5
46872 ac_status=$?
46873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46874 (exit $ac_status); }; }; then
46875 eval "$as_ac_var=yes"
46876 else
46877 echo "$as_me: failed program was:" >&5
46878 sed 's/^/| /' conftest.$ac_ext >&5
46880 eval "$as_ac_var=no"
46882 rm -f conftest.err conftest.$ac_objext \
46883 conftest$ac_exeext conftest.$ac_ext
46885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46887 if test `eval echo '${'$as_ac_var'}'` = yes; then
46888 cat >>confdefs.h <<_ACEOF
46889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46890 _ACEOF
46893 done
46903 echo "$as_me:$LINENO: checking for powl declaration" >&5
46904 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46905 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46906 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46907 echo $ECHO_N "(cached) $ECHO_C" >&6
46908 else
46912 ac_ext=cc
46913 ac_cpp='$CXXCPP $CPPFLAGS'
46914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46918 cat >conftest.$ac_ext <<_ACEOF
46919 /* confdefs.h. */
46920 _ACEOF
46921 cat confdefs.h >>conftest.$ac_ext
46922 cat >>conftest.$ac_ext <<_ACEOF
46923 /* end confdefs.h. */
46924 #include <math.h>
46926 main ()
46928 powl(0, 0);
46930 return 0;
46932 _ACEOF
46933 rm -f conftest.$ac_objext
46934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46935 (eval $ac_compile) 2>conftest.er1
46936 ac_status=$?
46937 grep -v '^ *+' conftest.er1 >conftest.err
46938 rm -f conftest.er1
46939 cat conftest.err >&5
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); } &&
46942 { ac_try='test -z "$ac_cxx_werror_flag"
46943 || test ! -s conftest.err'
46944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46945 (eval $ac_try) 2>&5
46946 ac_status=$?
46947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948 (exit $ac_status); }; } &&
46949 { ac_try='test -s conftest.$ac_objext'
46950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46951 (eval $ac_try) 2>&5
46952 ac_status=$?
46953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46954 (exit $ac_status); }; }; then
46955 glibcxx_cv_func_powl_use=yes
46956 else
46957 echo "$as_me: failed program was:" >&5
46958 sed 's/^/| /' conftest.$ac_ext >&5
46960 glibcxx_cv_func_powl_use=no
46962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46963 ac_ext=c
46964 ac_cpp='$CPP $CPPFLAGS'
46965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46974 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46976 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46978 for ac_func in powl
46980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46981 echo "$as_me:$LINENO: checking for $ac_func" >&5
46982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46983 if eval "test \"\${$as_ac_var+set}\" = set"; then
46984 echo $ECHO_N "(cached) $ECHO_C" >&6
46985 else
46986 if test x$gcc_no_link = xyes; then
46987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46989 { (exit 1); exit 1; }; }
46991 cat >conftest.$ac_ext <<_ACEOF
46992 /* confdefs.h. */
46993 _ACEOF
46994 cat confdefs.h >>conftest.$ac_ext
46995 cat >>conftest.$ac_ext <<_ACEOF
46996 /* end confdefs.h. */
46997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46999 #define $ac_func innocuous_$ac_func
47001 /* System header to define __stub macros and hopefully few prototypes,
47002 which can conflict with char $ac_func (); below.
47003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47004 <limits.h> exists even on freestanding compilers. */
47006 #ifdef __STDC__
47007 # include <limits.h>
47008 #else
47009 # include <assert.h>
47010 #endif
47012 #undef $ac_func
47014 /* Override any gcc2 internal prototype to avoid an error. */
47015 #ifdef __cplusplus
47016 extern "C"
47018 #endif
47019 /* We use char because int might match the return type of a gcc2
47020 builtin and then its argument prototype would still apply. */
47021 char $ac_func ();
47022 /* The GNU C library defines this for functions which it implements
47023 to always fail with ENOSYS. Some functions are actually named
47024 something starting with __ and the normal name is an alias. */
47025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47026 choke me
47027 #else
47028 char (*f) () = $ac_func;
47029 #endif
47030 #ifdef __cplusplus
47032 #endif
47035 main ()
47037 return f != $ac_func;
47039 return 0;
47041 _ACEOF
47042 rm -f conftest.$ac_objext conftest$ac_exeext
47043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47044 (eval $ac_link) 2>conftest.er1
47045 ac_status=$?
47046 grep -v '^ *+' conftest.er1 >conftest.err
47047 rm -f conftest.er1
47048 cat conftest.err >&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); } &&
47051 { ac_try='test -z "$ac_c_werror_flag"
47052 || test ! -s conftest.err'
47053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47054 (eval $ac_try) 2>&5
47055 ac_status=$?
47056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47057 (exit $ac_status); }; } &&
47058 { ac_try='test -s conftest$ac_exeext'
47059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47060 (eval $ac_try) 2>&5
47061 ac_status=$?
47062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47063 (exit $ac_status); }; }; then
47064 eval "$as_ac_var=yes"
47065 else
47066 echo "$as_me: failed program was:" >&5
47067 sed 's/^/| /' conftest.$ac_ext >&5
47069 eval "$as_ac_var=no"
47071 rm -f conftest.err conftest.$ac_objext \
47072 conftest$ac_exeext conftest.$ac_ext
47074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47076 if test `eval echo '${'$as_ac_var'}'` = yes; then
47077 cat >>confdefs.h <<_ACEOF
47078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47079 _ACEOF
47082 done
47084 else
47086 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47087 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47088 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47089 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47090 echo $ECHO_N "(cached) $ECHO_C" >&6
47091 else
47095 ac_ext=cc
47096 ac_cpp='$CXXCPP $CPPFLAGS'
47097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47101 cat >conftest.$ac_ext <<_ACEOF
47102 /* confdefs.h. */
47103 _ACEOF
47104 cat confdefs.h >>conftest.$ac_ext
47105 cat >>conftest.$ac_ext <<_ACEOF
47106 /* end confdefs.h. */
47107 #include <math.h>
47109 main ()
47111 _powl(0, 0);
47113 return 0;
47115 _ACEOF
47116 rm -f conftest.$ac_objext
47117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47118 (eval $ac_compile) 2>conftest.er1
47119 ac_status=$?
47120 grep -v '^ *+' conftest.er1 >conftest.err
47121 rm -f conftest.er1
47122 cat conftest.err >&5
47123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47124 (exit $ac_status); } &&
47125 { ac_try='test -z "$ac_cxx_werror_flag"
47126 || test ! -s conftest.err'
47127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47128 (eval $ac_try) 2>&5
47129 ac_status=$?
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); }; } &&
47132 { ac_try='test -s conftest.$ac_objext'
47133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47134 (eval $ac_try) 2>&5
47135 ac_status=$?
47136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137 (exit $ac_status); }; }; then
47138 glibcxx_cv_func__powl_use=yes
47139 else
47140 echo "$as_me: failed program was:" >&5
47141 sed 's/^/| /' conftest.$ac_ext >&5
47143 glibcxx_cv_func__powl_use=no
47145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47146 ac_ext=c
47147 ac_cpp='$CPP $CPPFLAGS'
47148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47157 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47159 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47161 for ac_func in _powl
47163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47164 echo "$as_me:$LINENO: checking for $ac_func" >&5
47165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47166 if eval "test \"\${$as_ac_var+set}\" = set"; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47168 else
47169 if test x$gcc_no_link = xyes; then
47170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47172 { (exit 1); exit 1; }; }
47174 cat >conftest.$ac_ext <<_ACEOF
47175 /* confdefs.h. */
47176 _ACEOF
47177 cat confdefs.h >>conftest.$ac_ext
47178 cat >>conftest.$ac_ext <<_ACEOF
47179 /* end confdefs.h. */
47180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47182 #define $ac_func innocuous_$ac_func
47184 /* System header to define __stub macros and hopefully few prototypes,
47185 which can conflict with char $ac_func (); below.
47186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47187 <limits.h> exists even on freestanding compilers. */
47189 #ifdef __STDC__
47190 # include <limits.h>
47191 #else
47192 # include <assert.h>
47193 #endif
47195 #undef $ac_func
47197 /* Override any gcc2 internal prototype to avoid an error. */
47198 #ifdef __cplusplus
47199 extern "C"
47201 #endif
47202 /* We use char because int might match the return type of a gcc2
47203 builtin and then its argument prototype would still apply. */
47204 char $ac_func ();
47205 /* The GNU C library defines this for functions which it implements
47206 to always fail with ENOSYS. Some functions are actually named
47207 something starting with __ and the normal name is an alias. */
47208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47209 choke me
47210 #else
47211 char (*f) () = $ac_func;
47212 #endif
47213 #ifdef __cplusplus
47215 #endif
47218 main ()
47220 return f != $ac_func;
47222 return 0;
47224 _ACEOF
47225 rm -f conftest.$ac_objext conftest$ac_exeext
47226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47227 (eval $ac_link) 2>conftest.er1
47228 ac_status=$?
47229 grep -v '^ *+' conftest.er1 >conftest.err
47230 rm -f conftest.er1
47231 cat conftest.err >&5
47232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47233 (exit $ac_status); } &&
47234 { ac_try='test -z "$ac_c_werror_flag"
47235 || test ! -s conftest.err'
47236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47237 (eval $ac_try) 2>&5
47238 ac_status=$?
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }; } &&
47241 { ac_try='test -s conftest$ac_exeext'
47242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47243 (eval $ac_try) 2>&5
47244 ac_status=$?
47245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47246 (exit $ac_status); }; }; then
47247 eval "$as_ac_var=yes"
47248 else
47249 echo "$as_me: failed program was:" >&5
47250 sed 's/^/| /' conftest.$ac_ext >&5
47252 eval "$as_ac_var=no"
47254 rm -f conftest.err conftest.$ac_objext \
47255 conftest$ac_exeext conftest.$ac_ext
47257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47259 if test `eval echo '${'$as_ac_var'}'` = yes; then
47260 cat >>confdefs.h <<_ACEOF
47261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47262 _ACEOF
47265 done
47275 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47276 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47279 echo $ECHO_N "(cached) $ECHO_C" >&6
47280 else
47284 ac_ext=cc
47285 ac_cpp='$CXXCPP $CPPFLAGS'
47286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290 cat >conftest.$ac_ext <<_ACEOF
47291 /* confdefs.h. */
47292 _ACEOF
47293 cat confdefs.h >>conftest.$ac_ext
47294 cat >>conftest.$ac_ext <<_ACEOF
47295 /* end confdefs.h. */
47296 #include <math.h>
47297 #ifdef HAVE_IEEEFP_H
47298 #include <ieeefp.h>
47299 #endif
47302 main ()
47304 sqrtl(0);
47306 return 0;
47308 _ACEOF
47309 rm -f conftest.$ac_objext
47310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47311 (eval $ac_compile) 2>conftest.er1
47312 ac_status=$?
47313 grep -v '^ *+' conftest.er1 >conftest.err
47314 rm -f conftest.er1
47315 cat conftest.err >&5
47316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47317 (exit $ac_status); } &&
47318 { ac_try='test -z "$ac_cxx_werror_flag"
47319 || test ! -s conftest.err'
47320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47321 (eval $ac_try) 2>&5
47322 ac_status=$?
47323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47324 (exit $ac_status); }; } &&
47325 { ac_try='test -s conftest.$ac_objext'
47326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47327 (eval $ac_try) 2>&5
47328 ac_status=$?
47329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47330 (exit $ac_status); }; }; then
47331 glibcxx_cv_func_sqrtl_use=yes
47332 else
47333 echo "$as_me: failed program was:" >&5
47334 sed 's/^/| /' conftest.$ac_ext >&5
47336 glibcxx_cv_func_sqrtl_use=no
47338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47339 ac_ext=c
47340 ac_cpp='$CPP $CPPFLAGS'
47341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47350 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47352 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47354 for ac_func in sqrtl
47356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47357 echo "$as_me:$LINENO: checking for $ac_func" >&5
47358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47359 if eval "test \"\${$as_ac_var+set}\" = set"; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47362 if test x$gcc_no_link = xyes; then
47363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47365 { (exit 1); exit 1; }; }
47367 cat >conftest.$ac_ext <<_ACEOF
47368 /* confdefs.h. */
47369 _ACEOF
47370 cat confdefs.h >>conftest.$ac_ext
47371 cat >>conftest.$ac_ext <<_ACEOF
47372 /* end confdefs.h. */
47373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47375 #define $ac_func innocuous_$ac_func
47377 /* System header to define __stub macros and hopefully few prototypes,
47378 which can conflict with char $ac_func (); below.
47379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47380 <limits.h> exists even on freestanding compilers. */
47382 #ifdef __STDC__
47383 # include <limits.h>
47384 #else
47385 # include <assert.h>
47386 #endif
47388 #undef $ac_func
47390 /* Override any gcc2 internal prototype to avoid an error. */
47391 #ifdef __cplusplus
47392 extern "C"
47394 #endif
47395 /* We use char because int might match the return type of a gcc2
47396 builtin and then its argument prototype would still apply. */
47397 char $ac_func ();
47398 /* The GNU C library defines this for functions which it implements
47399 to always fail with ENOSYS. Some functions are actually named
47400 something starting with __ and the normal name is an alias. */
47401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47402 choke me
47403 #else
47404 char (*f) () = $ac_func;
47405 #endif
47406 #ifdef __cplusplus
47408 #endif
47411 main ()
47413 return f != $ac_func;
47415 return 0;
47417 _ACEOF
47418 rm -f conftest.$ac_objext conftest$ac_exeext
47419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47420 (eval $ac_link) 2>conftest.er1
47421 ac_status=$?
47422 grep -v '^ *+' conftest.er1 >conftest.err
47423 rm -f conftest.er1
47424 cat conftest.err >&5
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); } &&
47427 { ac_try='test -z "$ac_c_werror_flag"
47428 || test ! -s conftest.err'
47429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47430 (eval $ac_try) 2>&5
47431 ac_status=$?
47432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47433 (exit $ac_status); }; } &&
47434 { ac_try='test -s conftest$ac_exeext'
47435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47436 (eval $ac_try) 2>&5
47437 ac_status=$?
47438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47439 (exit $ac_status); }; }; then
47440 eval "$as_ac_var=yes"
47441 else
47442 echo "$as_me: failed program was:" >&5
47443 sed 's/^/| /' conftest.$ac_ext >&5
47445 eval "$as_ac_var=no"
47447 rm -f conftest.err conftest.$ac_objext \
47448 conftest$ac_exeext conftest.$ac_ext
47450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47452 if test `eval echo '${'$as_ac_var'}'` = yes; then
47453 cat >>confdefs.h <<_ACEOF
47454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47455 _ACEOF
47458 done
47460 else
47462 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47463 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47464 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47465 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47466 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 else
47471 ac_ext=cc
47472 ac_cpp='$CXXCPP $CPPFLAGS'
47473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47477 cat >conftest.$ac_ext <<_ACEOF
47478 /* confdefs.h. */
47479 _ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483 #include <math.h>
47484 #ifdef HAVE_IEEEFP_H
47485 #include <ieeefp.h>
47486 #endif
47489 main ()
47491 _sqrtl(0);
47493 return 0;
47495 _ACEOF
47496 rm -f conftest.$ac_objext
47497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47498 (eval $ac_compile) 2>conftest.er1
47499 ac_status=$?
47500 grep -v '^ *+' conftest.er1 >conftest.err
47501 rm -f conftest.er1
47502 cat conftest.err >&5
47503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47504 (exit $ac_status); } &&
47505 { ac_try='test -z "$ac_cxx_werror_flag"
47506 || test ! -s conftest.err'
47507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47508 (eval $ac_try) 2>&5
47509 ac_status=$?
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); }; } &&
47512 { ac_try='test -s conftest.$ac_objext'
47513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47514 (eval $ac_try) 2>&5
47515 ac_status=$?
47516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47517 (exit $ac_status); }; }; then
47518 glibcxx_cv_func__sqrtl_use=yes
47519 else
47520 echo "$as_me: failed program was:" >&5
47521 sed 's/^/| /' conftest.$ac_ext >&5
47523 glibcxx_cv_func__sqrtl_use=no
47525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47526 ac_ext=c
47527 ac_cpp='$CPP $CPPFLAGS'
47528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47537 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47539 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47541 for ac_func in _sqrtl
47543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47544 echo "$as_me:$LINENO: checking for $ac_func" >&5
47545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47546 if eval "test \"\${$as_ac_var+set}\" = set"; then
47547 echo $ECHO_N "(cached) $ECHO_C" >&6
47548 else
47549 if test x$gcc_no_link = xyes; then
47550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47552 { (exit 1); exit 1; }; }
47554 cat >conftest.$ac_ext <<_ACEOF
47555 /* confdefs.h. */
47556 _ACEOF
47557 cat confdefs.h >>conftest.$ac_ext
47558 cat >>conftest.$ac_ext <<_ACEOF
47559 /* end confdefs.h. */
47560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47562 #define $ac_func innocuous_$ac_func
47564 /* System header to define __stub macros and hopefully few prototypes,
47565 which can conflict with char $ac_func (); below.
47566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47567 <limits.h> exists even on freestanding compilers. */
47569 #ifdef __STDC__
47570 # include <limits.h>
47571 #else
47572 # include <assert.h>
47573 #endif
47575 #undef $ac_func
47577 /* Override any gcc2 internal prototype to avoid an error. */
47578 #ifdef __cplusplus
47579 extern "C"
47581 #endif
47582 /* We use char because int might match the return type of a gcc2
47583 builtin and then its argument prototype would still apply. */
47584 char $ac_func ();
47585 /* The GNU C library defines this for functions which it implements
47586 to always fail with ENOSYS. Some functions are actually named
47587 something starting with __ and the normal name is an alias. */
47588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47589 choke me
47590 #else
47591 char (*f) () = $ac_func;
47592 #endif
47593 #ifdef __cplusplus
47595 #endif
47598 main ()
47600 return f != $ac_func;
47602 return 0;
47604 _ACEOF
47605 rm -f conftest.$ac_objext conftest$ac_exeext
47606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47607 (eval $ac_link) 2>conftest.er1
47608 ac_status=$?
47609 grep -v '^ *+' conftest.er1 >conftest.err
47610 rm -f conftest.er1
47611 cat conftest.err >&5
47612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47613 (exit $ac_status); } &&
47614 { ac_try='test -z "$ac_c_werror_flag"
47615 || test ! -s conftest.err'
47616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47617 (eval $ac_try) 2>&5
47618 ac_status=$?
47619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47620 (exit $ac_status); }; } &&
47621 { ac_try='test -s conftest$ac_exeext'
47622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47623 (eval $ac_try) 2>&5
47624 ac_status=$?
47625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47626 (exit $ac_status); }; }; then
47627 eval "$as_ac_var=yes"
47628 else
47629 echo "$as_me: failed program was:" >&5
47630 sed 's/^/| /' conftest.$ac_ext >&5
47632 eval "$as_ac_var=no"
47634 rm -f conftest.err conftest.$ac_objext \
47635 conftest$ac_exeext conftest.$ac_ext
47637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47639 if test `eval echo '${'$as_ac_var'}'` = yes; then
47640 cat >>confdefs.h <<_ACEOF
47641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47642 _ACEOF
47645 done
47655 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47656 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47657 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47658 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47659 echo $ECHO_N "(cached) $ECHO_C" >&6
47660 else
47664 ac_ext=cc
47665 ac_cpp='$CXXCPP $CPPFLAGS'
47666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47670 cat >conftest.$ac_ext <<_ACEOF
47671 /* confdefs.h. */
47672 _ACEOF
47673 cat confdefs.h >>conftest.$ac_ext
47674 cat >>conftest.$ac_ext <<_ACEOF
47675 /* end confdefs.h. */
47676 #include <math.h>
47678 main ()
47680 sincosl(0, 0, 0);
47682 return 0;
47684 _ACEOF
47685 rm -f conftest.$ac_objext
47686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47687 (eval $ac_compile) 2>conftest.er1
47688 ac_status=$?
47689 grep -v '^ *+' conftest.er1 >conftest.err
47690 rm -f conftest.er1
47691 cat conftest.err >&5
47692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693 (exit $ac_status); } &&
47694 { ac_try='test -z "$ac_cxx_werror_flag"
47695 || test ! -s conftest.err'
47696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47697 (eval $ac_try) 2>&5
47698 ac_status=$?
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); }; } &&
47701 { ac_try='test -s conftest.$ac_objext'
47702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47703 (eval $ac_try) 2>&5
47704 ac_status=$?
47705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47706 (exit $ac_status); }; }; then
47707 glibcxx_cv_func_sincosl_use=yes
47708 else
47709 echo "$as_me: failed program was:" >&5
47710 sed 's/^/| /' conftest.$ac_ext >&5
47712 glibcxx_cv_func_sincosl_use=no
47714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47715 ac_ext=c
47716 ac_cpp='$CPP $CPPFLAGS'
47717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47726 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47728 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47730 for ac_func in sincosl
47732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47733 echo "$as_me:$LINENO: checking for $ac_func" >&5
47734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47735 if eval "test \"\${$as_ac_var+set}\" = set"; then
47736 echo $ECHO_N "(cached) $ECHO_C" >&6
47737 else
47738 if test x$gcc_no_link = xyes; then
47739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47741 { (exit 1); exit 1; }; }
47743 cat >conftest.$ac_ext <<_ACEOF
47744 /* confdefs.h. */
47745 _ACEOF
47746 cat confdefs.h >>conftest.$ac_ext
47747 cat >>conftest.$ac_ext <<_ACEOF
47748 /* end confdefs.h. */
47749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47751 #define $ac_func innocuous_$ac_func
47753 /* System header to define __stub macros and hopefully few prototypes,
47754 which can conflict with char $ac_func (); below.
47755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47756 <limits.h> exists even on freestanding compilers. */
47758 #ifdef __STDC__
47759 # include <limits.h>
47760 #else
47761 # include <assert.h>
47762 #endif
47764 #undef $ac_func
47766 /* Override any gcc2 internal prototype to avoid an error. */
47767 #ifdef __cplusplus
47768 extern "C"
47770 #endif
47771 /* We use char because int might match the return type of a gcc2
47772 builtin and then its argument prototype would still apply. */
47773 char $ac_func ();
47774 /* The GNU C library defines this for functions which it implements
47775 to always fail with ENOSYS. Some functions are actually named
47776 something starting with __ and the normal name is an alias. */
47777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47778 choke me
47779 #else
47780 char (*f) () = $ac_func;
47781 #endif
47782 #ifdef __cplusplus
47784 #endif
47787 main ()
47789 return f != $ac_func;
47791 return 0;
47793 _ACEOF
47794 rm -f conftest.$ac_objext conftest$ac_exeext
47795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47796 (eval $ac_link) 2>conftest.er1
47797 ac_status=$?
47798 grep -v '^ *+' conftest.er1 >conftest.err
47799 rm -f conftest.er1
47800 cat conftest.err >&5
47801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47802 (exit $ac_status); } &&
47803 { ac_try='test -z "$ac_c_werror_flag"
47804 || test ! -s conftest.err'
47805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47806 (eval $ac_try) 2>&5
47807 ac_status=$?
47808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47809 (exit $ac_status); }; } &&
47810 { ac_try='test -s conftest$ac_exeext'
47811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47812 (eval $ac_try) 2>&5
47813 ac_status=$?
47814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47815 (exit $ac_status); }; }; then
47816 eval "$as_ac_var=yes"
47817 else
47818 echo "$as_me: failed program was:" >&5
47819 sed 's/^/| /' conftest.$ac_ext >&5
47821 eval "$as_ac_var=no"
47823 rm -f conftest.err conftest.$ac_objext \
47824 conftest$ac_exeext conftest.$ac_ext
47826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47828 if test `eval echo '${'$as_ac_var'}'` = yes; then
47829 cat >>confdefs.h <<_ACEOF
47830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47831 _ACEOF
47834 done
47836 else
47838 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47839 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47840 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47841 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47842 echo $ECHO_N "(cached) $ECHO_C" >&6
47843 else
47847 ac_ext=cc
47848 ac_cpp='$CXXCPP $CPPFLAGS'
47849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47853 cat >conftest.$ac_ext <<_ACEOF
47854 /* confdefs.h. */
47855 _ACEOF
47856 cat confdefs.h >>conftest.$ac_ext
47857 cat >>conftest.$ac_ext <<_ACEOF
47858 /* end confdefs.h. */
47859 #include <math.h>
47861 main ()
47863 _sincosl(0, 0, 0);
47865 return 0;
47867 _ACEOF
47868 rm -f conftest.$ac_objext
47869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47870 (eval $ac_compile) 2>conftest.er1
47871 ac_status=$?
47872 grep -v '^ *+' conftest.er1 >conftest.err
47873 rm -f conftest.er1
47874 cat conftest.err >&5
47875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47876 (exit $ac_status); } &&
47877 { ac_try='test -z "$ac_cxx_werror_flag"
47878 || test ! -s conftest.err'
47879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47880 (eval $ac_try) 2>&5
47881 ac_status=$?
47882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47883 (exit $ac_status); }; } &&
47884 { ac_try='test -s conftest.$ac_objext'
47885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47886 (eval $ac_try) 2>&5
47887 ac_status=$?
47888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47889 (exit $ac_status); }; }; then
47890 glibcxx_cv_func__sincosl_use=yes
47891 else
47892 echo "$as_me: failed program was:" >&5
47893 sed 's/^/| /' conftest.$ac_ext >&5
47895 glibcxx_cv_func__sincosl_use=no
47897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47898 ac_ext=c
47899 ac_cpp='$CPP $CPPFLAGS'
47900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47909 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47911 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47913 for ac_func in _sincosl
47915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47916 echo "$as_me:$LINENO: checking for $ac_func" >&5
47917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47918 if eval "test \"\${$as_ac_var+set}\" = set"; then
47919 echo $ECHO_N "(cached) $ECHO_C" >&6
47920 else
47921 if test x$gcc_no_link = xyes; then
47922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47924 { (exit 1); exit 1; }; }
47926 cat >conftest.$ac_ext <<_ACEOF
47927 /* confdefs.h. */
47928 _ACEOF
47929 cat confdefs.h >>conftest.$ac_ext
47930 cat >>conftest.$ac_ext <<_ACEOF
47931 /* end confdefs.h. */
47932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47934 #define $ac_func innocuous_$ac_func
47936 /* System header to define __stub macros and hopefully few prototypes,
47937 which can conflict with char $ac_func (); below.
47938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47939 <limits.h> exists even on freestanding compilers. */
47941 #ifdef __STDC__
47942 # include <limits.h>
47943 #else
47944 # include <assert.h>
47945 #endif
47947 #undef $ac_func
47949 /* Override any gcc2 internal prototype to avoid an error. */
47950 #ifdef __cplusplus
47951 extern "C"
47953 #endif
47954 /* We use char because int might match the return type of a gcc2
47955 builtin and then its argument prototype would still apply. */
47956 char $ac_func ();
47957 /* The GNU C library defines this for functions which it implements
47958 to always fail with ENOSYS. Some functions are actually named
47959 something starting with __ and the normal name is an alias. */
47960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47961 choke me
47962 #else
47963 char (*f) () = $ac_func;
47964 #endif
47965 #ifdef __cplusplus
47967 #endif
47970 main ()
47972 return f != $ac_func;
47974 return 0;
47976 _ACEOF
47977 rm -f conftest.$ac_objext conftest$ac_exeext
47978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47979 (eval $ac_link) 2>conftest.er1
47980 ac_status=$?
47981 grep -v '^ *+' conftest.er1 >conftest.err
47982 rm -f conftest.er1
47983 cat conftest.err >&5
47984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47985 (exit $ac_status); } &&
47986 { ac_try='test -z "$ac_c_werror_flag"
47987 || test ! -s conftest.err'
47988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47989 (eval $ac_try) 2>&5
47990 ac_status=$?
47991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47992 (exit $ac_status); }; } &&
47993 { ac_try='test -s conftest$ac_exeext'
47994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47995 (eval $ac_try) 2>&5
47996 ac_status=$?
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); }; }; then
47999 eval "$as_ac_var=yes"
48000 else
48001 echo "$as_me: failed program was:" >&5
48002 sed 's/^/| /' conftest.$ac_ext >&5
48004 eval "$as_ac_var=no"
48006 rm -f conftest.err conftest.$ac_objext \
48007 conftest$ac_exeext conftest.$ac_ext
48009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48011 if test `eval echo '${'$as_ac_var'}'` = yes; then
48012 cat >>confdefs.h <<_ACEOF
48013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48014 _ACEOF
48017 done
48027 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48028 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48029 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48030 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48031 echo $ECHO_N "(cached) $ECHO_C" >&6
48032 else
48036 ac_ext=cc
48037 ac_cpp='$CXXCPP $CPPFLAGS'
48038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48042 cat >conftest.$ac_ext <<_ACEOF
48043 /* confdefs.h. */
48044 _ACEOF
48045 cat confdefs.h >>conftest.$ac_ext
48046 cat >>conftest.$ac_ext <<_ACEOF
48047 /* end confdefs.h. */
48048 #include <math.h>
48049 #ifdef HAVE_IEEEFP_H
48050 #include <ieeefp.h>
48051 #endif
48054 main ()
48056 finitel(0);
48058 return 0;
48060 _ACEOF
48061 rm -f conftest.$ac_objext
48062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48063 (eval $ac_compile) 2>conftest.er1
48064 ac_status=$?
48065 grep -v '^ *+' conftest.er1 >conftest.err
48066 rm -f conftest.er1
48067 cat conftest.err >&5
48068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48069 (exit $ac_status); } &&
48070 { ac_try='test -z "$ac_cxx_werror_flag"
48071 || test ! -s conftest.err'
48072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48073 (eval $ac_try) 2>&5
48074 ac_status=$?
48075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48076 (exit $ac_status); }; } &&
48077 { ac_try='test -s conftest.$ac_objext'
48078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48079 (eval $ac_try) 2>&5
48080 ac_status=$?
48081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48082 (exit $ac_status); }; }; then
48083 glibcxx_cv_func_finitel_use=yes
48084 else
48085 echo "$as_me: failed program was:" >&5
48086 sed 's/^/| /' conftest.$ac_ext >&5
48088 glibcxx_cv_func_finitel_use=no
48090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48091 ac_ext=c
48092 ac_cpp='$CPP $CPPFLAGS'
48093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48102 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48104 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48106 for ac_func in finitel
48108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48109 echo "$as_me:$LINENO: checking for $ac_func" >&5
48110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48111 if eval "test \"\${$as_ac_var+set}\" = set"; then
48112 echo $ECHO_N "(cached) $ECHO_C" >&6
48113 else
48114 if test x$gcc_no_link = xyes; then
48115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48117 { (exit 1); exit 1; }; }
48119 cat >conftest.$ac_ext <<_ACEOF
48120 /* confdefs.h. */
48121 _ACEOF
48122 cat confdefs.h >>conftest.$ac_ext
48123 cat >>conftest.$ac_ext <<_ACEOF
48124 /* end confdefs.h. */
48125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48127 #define $ac_func innocuous_$ac_func
48129 /* System header to define __stub macros and hopefully few prototypes,
48130 which can conflict with char $ac_func (); below.
48131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48132 <limits.h> exists even on freestanding compilers. */
48134 #ifdef __STDC__
48135 # include <limits.h>
48136 #else
48137 # include <assert.h>
48138 #endif
48140 #undef $ac_func
48142 /* Override any gcc2 internal prototype to avoid an error. */
48143 #ifdef __cplusplus
48144 extern "C"
48146 #endif
48147 /* We use char because int might match the return type of a gcc2
48148 builtin and then its argument prototype would still apply. */
48149 char $ac_func ();
48150 /* The GNU C library defines this for functions which it implements
48151 to always fail with ENOSYS. Some functions are actually named
48152 something starting with __ and the normal name is an alias. */
48153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48154 choke me
48155 #else
48156 char (*f) () = $ac_func;
48157 #endif
48158 #ifdef __cplusplus
48160 #endif
48163 main ()
48165 return f != $ac_func;
48167 return 0;
48169 _ACEOF
48170 rm -f conftest.$ac_objext conftest$ac_exeext
48171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48172 (eval $ac_link) 2>conftest.er1
48173 ac_status=$?
48174 grep -v '^ *+' conftest.er1 >conftest.err
48175 rm -f conftest.er1
48176 cat conftest.err >&5
48177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48178 (exit $ac_status); } &&
48179 { ac_try='test -z "$ac_c_werror_flag"
48180 || test ! -s conftest.err'
48181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48182 (eval $ac_try) 2>&5
48183 ac_status=$?
48184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48185 (exit $ac_status); }; } &&
48186 { ac_try='test -s conftest$ac_exeext'
48187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48188 (eval $ac_try) 2>&5
48189 ac_status=$?
48190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48191 (exit $ac_status); }; }; then
48192 eval "$as_ac_var=yes"
48193 else
48194 echo "$as_me: failed program was:" >&5
48195 sed 's/^/| /' conftest.$ac_ext >&5
48197 eval "$as_ac_var=no"
48199 rm -f conftest.err conftest.$ac_objext \
48200 conftest$ac_exeext conftest.$ac_ext
48202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48204 if test `eval echo '${'$as_ac_var'}'` = yes; then
48205 cat >>confdefs.h <<_ACEOF
48206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48207 _ACEOF
48210 done
48212 else
48214 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48215 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48216 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48217 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48218 echo $ECHO_N "(cached) $ECHO_C" >&6
48219 else
48223 ac_ext=cc
48224 ac_cpp='$CXXCPP $CPPFLAGS'
48225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48229 cat >conftest.$ac_ext <<_ACEOF
48230 /* confdefs.h. */
48231 _ACEOF
48232 cat confdefs.h >>conftest.$ac_ext
48233 cat >>conftest.$ac_ext <<_ACEOF
48234 /* end confdefs.h. */
48235 #include <math.h>
48236 #ifdef HAVE_IEEEFP_H
48237 #include <ieeefp.h>
48238 #endif
48241 main ()
48243 _finitel(0);
48245 return 0;
48247 _ACEOF
48248 rm -f conftest.$ac_objext
48249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48250 (eval $ac_compile) 2>conftest.er1
48251 ac_status=$?
48252 grep -v '^ *+' conftest.er1 >conftest.err
48253 rm -f conftest.er1
48254 cat conftest.err >&5
48255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48256 (exit $ac_status); } &&
48257 { ac_try='test -z "$ac_cxx_werror_flag"
48258 || test ! -s conftest.err'
48259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48260 (eval $ac_try) 2>&5
48261 ac_status=$?
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); }; } &&
48264 { ac_try='test -s conftest.$ac_objext'
48265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48266 (eval $ac_try) 2>&5
48267 ac_status=$?
48268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48269 (exit $ac_status); }; }; then
48270 glibcxx_cv_func__finitel_use=yes
48271 else
48272 echo "$as_me: failed program was:" >&5
48273 sed 's/^/| /' conftest.$ac_ext >&5
48275 glibcxx_cv_func__finitel_use=no
48277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48278 ac_ext=c
48279 ac_cpp='$CPP $CPPFLAGS'
48280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48289 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48291 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48293 for ac_func in _finitel
48295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48296 echo "$as_me:$LINENO: checking for $ac_func" >&5
48297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48298 if eval "test \"\${$as_ac_var+set}\" = set"; then
48299 echo $ECHO_N "(cached) $ECHO_C" >&6
48300 else
48301 if test x$gcc_no_link = xyes; then
48302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48304 { (exit 1); exit 1; }; }
48306 cat >conftest.$ac_ext <<_ACEOF
48307 /* confdefs.h. */
48308 _ACEOF
48309 cat confdefs.h >>conftest.$ac_ext
48310 cat >>conftest.$ac_ext <<_ACEOF
48311 /* end confdefs.h. */
48312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48314 #define $ac_func innocuous_$ac_func
48316 /* System header to define __stub macros and hopefully few prototypes,
48317 which can conflict with char $ac_func (); below.
48318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48319 <limits.h> exists even on freestanding compilers. */
48321 #ifdef __STDC__
48322 # include <limits.h>
48323 #else
48324 # include <assert.h>
48325 #endif
48327 #undef $ac_func
48329 /* Override any gcc2 internal prototype to avoid an error. */
48330 #ifdef __cplusplus
48331 extern "C"
48333 #endif
48334 /* We use char because int might match the return type of a gcc2
48335 builtin and then its argument prototype would still apply. */
48336 char $ac_func ();
48337 /* The GNU C library defines this for functions which it implements
48338 to always fail with ENOSYS. Some functions are actually named
48339 something starting with __ and the normal name is an alias. */
48340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48341 choke me
48342 #else
48343 char (*f) () = $ac_func;
48344 #endif
48345 #ifdef __cplusplus
48347 #endif
48350 main ()
48352 return f != $ac_func;
48354 return 0;
48356 _ACEOF
48357 rm -f conftest.$ac_objext conftest$ac_exeext
48358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48359 (eval $ac_link) 2>conftest.er1
48360 ac_status=$?
48361 grep -v '^ *+' conftest.er1 >conftest.err
48362 rm -f conftest.er1
48363 cat conftest.err >&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } &&
48366 { ac_try='test -z "$ac_c_werror_flag"
48367 || test ! -s conftest.err'
48368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48369 (eval $ac_try) 2>&5
48370 ac_status=$?
48371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48372 (exit $ac_status); }; } &&
48373 { ac_try='test -s conftest$ac_exeext'
48374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48375 (eval $ac_try) 2>&5
48376 ac_status=$?
48377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48378 (exit $ac_status); }; }; then
48379 eval "$as_ac_var=yes"
48380 else
48381 echo "$as_me: failed program was:" >&5
48382 sed 's/^/| /' conftest.$ac_ext >&5
48384 eval "$as_ac_var=no"
48386 rm -f conftest.err conftest.$ac_objext \
48387 conftest$ac_exeext conftest.$ac_ext
48389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48391 if test `eval echo '${'$as_ac_var'}'` = yes; then
48392 cat >>confdefs.h <<_ACEOF
48393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48394 _ACEOF
48397 done
48406 LIBS="$ac_save_LIBS"
48407 CXXFLAGS="$ac_save_CXXFLAGS"
48411 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48412 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48413 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48414 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48415 echo $ECHO_N "(cached) $ECHO_C" >&6
48416 else
48420 ac_ext=cc
48421 ac_cpp='$CXXCPP $CPPFLAGS'
48422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48426 cat >conftest.$ac_ext <<_ACEOF
48427 /* confdefs.h. */
48428 _ACEOF
48429 cat confdefs.h >>conftest.$ac_ext
48430 cat >>conftest.$ac_ext <<_ACEOF
48431 /* end confdefs.h. */
48432 #include <math.h>
48434 main ()
48436 __builtin_abs(0);
48438 return 0;
48440 _ACEOF
48441 rm -f conftest.$ac_objext
48442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48443 (eval $ac_compile) 2>conftest.er1
48444 ac_status=$?
48445 grep -v '^ *+' conftest.er1 >conftest.err
48446 rm -f conftest.er1
48447 cat conftest.err >&5
48448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48449 (exit $ac_status); } &&
48450 { ac_try='test -z "$ac_cxx_werror_flag"
48451 || test ! -s conftest.err'
48452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48453 (eval $ac_try) 2>&5
48454 ac_status=$?
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); }; } &&
48457 { ac_try='test -s conftest.$ac_objext'
48458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48459 (eval $ac_try) 2>&5
48460 ac_status=$?
48461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48462 (exit $ac_status); }; }; then
48463 glibcxx_cv_func___builtin_abs_use=yes
48464 else
48465 echo "$as_me: failed program was:" >&5
48466 sed 's/^/| /' conftest.$ac_ext >&5
48468 glibcxx_cv_func___builtin_abs_use=no
48470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48471 ac_ext=c
48472 ac_cpp='$CPP $CPPFLAGS'
48473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48481 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48482 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48483 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48484 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48485 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48486 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48487 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48488 echo $ECHO_N "(cached) $ECHO_C" >&6
48489 else
48491 if test x$gcc_no_link = xyes; then
48492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48494 { (exit 1); exit 1; }; }
48496 cat >conftest.$ac_ext <<_ACEOF
48497 /* confdefs.h. */
48498 _ACEOF
48499 cat confdefs.h >>conftest.$ac_ext
48500 cat >>conftest.$ac_ext <<_ACEOF
48501 /* end confdefs.h. */
48502 #include <math.h>
48504 main ()
48506 __builtin_abs(0);
48508 return 0;
48510 _ACEOF
48511 rm -f conftest.$ac_objext conftest$ac_exeext
48512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48513 (eval $ac_link) 2>conftest.er1
48514 ac_status=$?
48515 grep -v '^ *+' conftest.er1 >conftest.err
48516 rm -f conftest.er1
48517 cat conftest.err >&5
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); } &&
48520 { ac_try='test -z "$ac_c_werror_flag"
48521 || test ! -s conftest.err'
48522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523 (eval $ac_try) 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; } &&
48527 { ac_try='test -s conftest$ac_exeext'
48528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529 (eval $ac_try) 2>&5
48530 ac_status=$?
48531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532 (exit $ac_status); }; }; then
48533 glibcxx_cv_func___builtin_abs_link=yes
48534 else
48535 echo "$as_me: failed program was:" >&5
48536 sed 's/^/| /' conftest.$ac_ext >&5
48538 glibcxx_cv_func___builtin_abs_link=no
48540 rm -f conftest.err conftest.$ac_objext \
48541 conftest$ac_exeext conftest.$ac_ext
48546 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48547 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48549 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define HAVE___BUILTIN_ABS 1
48553 _ACEOF
48560 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48561 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48562 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48563 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48564 echo $ECHO_N "(cached) $ECHO_C" >&6
48565 else
48569 ac_ext=cc
48570 ac_cpp='$CXXCPP $CPPFLAGS'
48571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48575 cat >conftest.$ac_ext <<_ACEOF
48576 /* confdefs.h. */
48577 _ACEOF
48578 cat confdefs.h >>conftest.$ac_ext
48579 cat >>conftest.$ac_ext <<_ACEOF
48580 /* end confdefs.h. */
48581 #include <math.h>
48583 main ()
48585 __builtin_fabsf(0);
48587 return 0;
48589 _ACEOF
48590 rm -f conftest.$ac_objext
48591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48592 (eval $ac_compile) 2>conftest.er1
48593 ac_status=$?
48594 grep -v '^ *+' conftest.er1 >conftest.err
48595 rm -f conftest.er1
48596 cat conftest.err >&5
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); } &&
48599 { ac_try='test -z "$ac_cxx_werror_flag"
48600 || test ! -s conftest.err'
48601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48602 (eval $ac_try) 2>&5
48603 ac_status=$?
48604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48605 (exit $ac_status); }; } &&
48606 { ac_try='test -s conftest.$ac_objext'
48607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48608 (eval $ac_try) 2>&5
48609 ac_status=$?
48610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48611 (exit $ac_status); }; }; then
48612 glibcxx_cv_func___builtin_fabsf_use=yes
48613 else
48614 echo "$as_me: failed program was:" >&5
48615 sed 's/^/| /' conftest.$ac_ext >&5
48617 glibcxx_cv_func___builtin_fabsf_use=no
48619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48620 ac_ext=c
48621 ac_cpp='$CPP $CPPFLAGS'
48622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48631 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48632 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48633 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48634 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48635 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48636 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48637 echo $ECHO_N "(cached) $ECHO_C" >&6
48638 else
48640 if test x$gcc_no_link = xyes; then
48641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48643 { (exit 1); exit 1; }; }
48645 cat >conftest.$ac_ext <<_ACEOF
48646 /* confdefs.h. */
48647 _ACEOF
48648 cat confdefs.h >>conftest.$ac_ext
48649 cat >>conftest.$ac_ext <<_ACEOF
48650 /* end confdefs.h. */
48651 #include <math.h>
48653 main ()
48655 __builtin_fabsf(0);
48657 return 0;
48659 _ACEOF
48660 rm -f conftest.$ac_objext conftest$ac_exeext
48661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48662 (eval $ac_link) 2>conftest.er1
48663 ac_status=$?
48664 grep -v '^ *+' conftest.er1 >conftest.err
48665 rm -f conftest.er1
48666 cat conftest.err >&5
48667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48668 (exit $ac_status); } &&
48669 { ac_try='test -z "$ac_c_werror_flag"
48670 || test ! -s conftest.err'
48671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48672 (eval $ac_try) 2>&5
48673 ac_status=$?
48674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48675 (exit $ac_status); }; } &&
48676 { ac_try='test -s conftest$ac_exeext'
48677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48678 (eval $ac_try) 2>&5
48679 ac_status=$?
48680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48681 (exit $ac_status); }; }; then
48682 glibcxx_cv_func___builtin_fabsf_link=yes
48683 else
48684 echo "$as_me: failed program was:" >&5
48685 sed 's/^/| /' conftest.$ac_ext >&5
48687 glibcxx_cv_func___builtin_fabsf_link=no
48689 rm -f conftest.err conftest.$ac_objext \
48690 conftest$ac_exeext conftest.$ac_ext
48695 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48696 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48698 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48700 cat >>confdefs.h <<\_ACEOF
48701 #define HAVE___BUILTIN_FABSF 1
48702 _ACEOF
48709 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48710 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48711 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48712 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48713 echo $ECHO_N "(cached) $ECHO_C" >&6
48714 else
48718 ac_ext=cc
48719 ac_cpp='$CXXCPP $CPPFLAGS'
48720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48724 cat >conftest.$ac_ext <<_ACEOF
48725 /* confdefs.h. */
48726 _ACEOF
48727 cat confdefs.h >>conftest.$ac_ext
48728 cat >>conftest.$ac_ext <<_ACEOF
48729 /* end confdefs.h. */
48730 #include <math.h>
48732 main ()
48734 __builtin_fabs(0);
48736 return 0;
48738 _ACEOF
48739 rm -f conftest.$ac_objext
48740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48741 (eval $ac_compile) 2>conftest.er1
48742 ac_status=$?
48743 grep -v '^ *+' conftest.er1 >conftest.err
48744 rm -f conftest.er1
48745 cat conftest.err >&5
48746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48747 (exit $ac_status); } &&
48748 { ac_try='test -z "$ac_cxx_werror_flag"
48749 || test ! -s conftest.err'
48750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48751 (eval $ac_try) 2>&5
48752 ac_status=$?
48753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48754 (exit $ac_status); }; } &&
48755 { ac_try='test -s conftest.$ac_objext'
48756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48757 (eval $ac_try) 2>&5
48758 ac_status=$?
48759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48760 (exit $ac_status); }; }; then
48761 glibcxx_cv_func___builtin_fabs_use=yes
48762 else
48763 echo "$as_me: failed program was:" >&5
48764 sed 's/^/| /' conftest.$ac_ext >&5
48766 glibcxx_cv_func___builtin_fabs_use=no
48768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48769 ac_ext=c
48770 ac_cpp='$CPP $CPPFLAGS'
48771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48780 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48781 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48782 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48783 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48784 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48785 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48786 echo $ECHO_N "(cached) $ECHO_C" >&6
48787 else
48789 if test x$gcc_no_link = xyes; then
48790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48792 { (exit 1); exit 1; }; }
48794 cat >conftest.$ac_ext <<_ACEOF
48795 /* confdefs.h. */
48796 _ACEOF
48797 cat confdefs.h >>conftest.$ac_ext
48798 cat >>conftest.$ac_ext <<_ACEOF
48799 /* end confdefs.h. */
48800 #include <math.h>
48802 main ()
48804 __builtin_fabs(0);
48806 return 0;
48808 _ACEOF
48809 rm -f conftest.$ac_objext conftest$ac_exeext
48810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48811 (eval $ac_link) 2>conftest.er1
48812 ac_status=$?
48813 grep -v '^ *+' conftest.er1 >conftest.err
48814 rm -f conftest.er1
48815 cat conftest.err >&5
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); } &&
48818 { ac_try='test -z "$ac_c_werror_flag"
48819 || test ! -s conftest.err'
48820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48821 (eval $ac_try) 2>&5
48822 ac_status=$?
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; } &&
48825 { ac_try='test -s conftest$ac_exeext'
48826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48827 (eval $ac_try) 2>&5
48828 ac_status=$?
48829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48830 (exit $ac_status); }; }; then
48831 glibcxx_cv_func___builtin_fabs_link=yes
48832 else
48833 echo "$as_me: failed program was:" >&5
48834 sed 's/^/| /' conftest.$ac_ext >&5
48836 glibcxx_cv_func___builtin_fabs_link=no
48838 rm -f conftest.err conftest.$ac_objext \
48839 conftest$ac_exeext conftest.$ac_ext
48844 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48845 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48847 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48849 cat >>confdefs.h <<\_ACEOF
48850 #define HAVE___BUILTIN_FABS 1
48851 _ACEOF
48858 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48859 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48860 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48861 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48862 echo $ECHO_N "(cached) $ECHO_C" >&6
48863 else
48867 ac_ext=cc
48868 ac_cpp='$CXXCPP $CPPFLAGS'
48869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48873 cat >conftest.$ac_ext <<_ACEOF
48874 /* confdefs.h. */
48875 _ACEOF
48876 cat confdefs.h >>conftest.$ac_ext
48877 cat >>conftest.$ac_ext <<_ACEOF
48878 /* end confdefs.h. */
48879 #include <math.h>
48881 main ()
48883 __builtin_fabsl(0);
48885 return 0;
48887 _ACEOF
48888 rm -f conftest.$ac_objext
48889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48890 (eval $ac_compile) 2>conftest.er1
48891 ac_status=$?
48892 grep -v '^ *+' conftest.er1 >conftest.err
48893 rm -f conftest.er1
48894 cat conftest.err >&5
48895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48896 (exit $ac_status); } &&
48897 { ac_try='test -z "$ac_cxx_werror_flag"
48898 || test ! -s conftest.err'
48899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48900 (eval $ac_try) 2>&5
48901 ac_status=$?
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); }; } &&
48904 { ac_try='test -s conftest.$ac_objext'
48905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48906 (eval $ac_try) 2>&5
48907 ac_status=$?
48908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48909 (exit $ac_status); }; }; then
48910 glibcxx_cv_func___builtin_fabsl_use=yes
48911 else
48912 echo "$as_me: failed program was:" >&5
48913 sed 's/^/| /' conftest.$ac_ext >&5
48915 glibcxx_cv_func___builtin_fabsl_use=no
48917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48918 ac_ext=c
48919 ac_cpp='$CPP $CPPFLAGS'
48920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48928 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48929 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48930 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48931 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48932 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48933 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48934 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48935 echo $ECHO_N "(cached) $ECHO_C" >&6
48936 else
48938 if test x$gcc_no_link = xyes; then
48939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48941 { (exit 1); exit 1; }; }
48943 cat >conftest.$ac_ext <<_ACEOF
48944 /* confdefs.h. */
48945 _ACEOF
48946 cat confdefs.h >>conftest.$ac_ext
48947 cat >>conftest.$ac_ext <<_ACEOF
48948 /* end confdefs.h. */
48949 #include <math.h>
48951 main ()
48953 __builtin_fabsl(0);
48955 return 0;
48957 _ACEOF
48958 rm -f conftest.$ac_objext conftest$ac_exeext
48959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48960 (eval $ac_link) 2>conftest.er1
48961 ac_status=$?
48962 grep -v '^ *+' conftest.er1 >conftest.err
48963 rm -f conftest.er1
48964 cat conftest.err >&5
48965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48966 (exit $ac_status); } &&
48967 { ac_try='test -z "$ac_c_werror_flag"
48968 || test ! -s conftest.err'
48969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48970 (eval $ac_try) 2>&5
48971 ac_status=$?
48972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48973 (exit $ac_status); }; } &&
48974 { ac_try='test -s conftest$ac_exeext'
48975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48976 (eval $ac_try) 2>&5
48977 ac_status=$?
48978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48979 (exit $ac_status); }; }; then
48980 glibcxx_cv_func___builtin_fabsl_link=yes
48981 else
48982 echo "$as_me: failed program was:" >&5
48983 sed 's/^/| /' conftest.$ac_ext >&5
48985 glibcxx_cv_func___builtin_fabsl_link=no
48987 rm -f conftest.err conftest.$ac_objext \
48988 conftest$ac_exeext conftest.$ac_ext
48993 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48994 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48996 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48998 cat >>confdefs.h <<\_ACEOF
48999 #define HAVE___BUILTIN_FABSL 1
49000 _ACEOF
49007 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49008 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49009 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49010 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49011 echo $ECHO_N "(cached) $ECHO_C" >&6
49012 else
49016 ac_ext=cc
49017 ac_cpp='$CXXCPP $CPPFLAGS'
49018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022 cat >conftest.$ac_ext <<_ACEOF
49023 /* confdefs.h. */
49024 _ACEOF
49025 cat confdefs.h >>conftest.$ac_ext
49026 cat >>conftest.$ac_ext <<_ACEOF
49027 /* end confdefs.h. */
49028 #include <math.h>
49030 main ()
49032 __builtin_labs(0);
49034 return 0;
49036 _ACEOF
49037 rm -f conftest.$ac_objext
49038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49039 (eval $ac_compile) 2>conftest.er1
49040 ac_status=$?
49041 grep -v '^ *+' conftest.er1 >conftest.err
49042 rm -f conftest.er1
49043 cat conftest.err >&5
49044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49045 (exit $ac_status); } &&
49046 { ac_try='test -z "$ac_cxx_werror_flag"
49047 || test ! -s conftest.err'
49048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49049 (eval $ac_try) 2>&5
49050 ac_status=$?
49051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49052 (exit $ac_status); }; } &&
49053 { ac_try='test -s conftest.$ac_objext'
49054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49055 (eval $ac_try) 2>&5
49056 ac_status=$?
49057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058 (exit $ac_status); }; }; then
49059 glibcxx_cv_func___builtin_labs_use=yes
49060 else
49061 echo "$as_me: failed program was:" >&5
49062 sed 's/^/| /' conftest.$ac_ext >&5
49064 glibcxx_cv_func___builtin_labs_use=no
49066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49067 ac_ext=c
49068 ac_cpp='$CPP $CPPFLAGS'
49069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49078 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49079 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49080 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49081 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49082 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49083 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49084 echo $ECHO_N "(cached) $ECHO_C" >&6
49085 else
49087 if test x$gcc_no_link = xyes; then
49088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49090 { (exit 1); exit 1; }; }
49092 cat >conftest.$ac_ext <<_ACEOF
49093 /* confdefs.h. */
49094 _ACEOF
49095 cat confdefs.h >>conftest.$ac_ext
49096 cat >>conftest.$ac_ext <<_ACEOF
49097 /* end confdefs.h. */
49098 #include <math.h>
49100 main ()
49102 __builtin_labs(0);
49104 return 0;
49106 _ACEOF
49107 rm -f conftest.$ac_objext conftest$ac_exeext
49108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49109 (eval $ac_link) 2>conftest.er1
49110 ac_status=$?
49111 grep -v '^ *+' conftest.er1 >conftest.err
49112 rm -f conftest.er1
49113 cat conftest.err >&5
49114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49115 (exit $ac_status); } &&
49116 { ac_try='test -z "$ac_c_werror_flag"
49117 || test ! -s conftest.err'
49118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49119 (eval $ac_try) 2>&5
49120 ac_status=$?
49121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49122 (exit $ac_status); }; } &&
49123 { ac_try='test -s conftest$ac_exeext'
49124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49125 (eval $ac_try) 2>&5
49126 ac_status=$?
49127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49128 (exit $ac_status); }; }; then
49129 glibcxx_cv_func___builtin_labs_link=yes
49130 else
49131 echo "$as_me: failed program was:" >&5
49132 sed 's/^/| /' conftest.$ac_ext >&5
49134 glibcxx_cv_func___builtin_labs_link=no
49136 rm -f conftest.err conftest.$ac_objext \
49137 conftest$ac_exeext conftest.$ac_ext
49142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49143 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49145 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49147 cat >>confdefs.h <<\_ACEOF
49148 #define HAVE___BUILTIN_LABS 1
49149 _ACEOF
49157 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49158 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49159 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49160 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49161 echo $ECHO_N "(cached) $ECHO_C" >&6
49162 else
49166 ac_ext=cc
49167 ac_cpp='$CXXCPP $CPPFLAGS'
49168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49172 cat >conftest.$ac_ext <<_ACEOF
49173 /* confdefs.h. */
49174 _ACEOF
49175 cat confdefs.h >>conftest.$ac_ext
49176 cat >>conftest.$ac_ext <<_ACEOF
49177 /* end confdefs.h. */
49178 #include <math.h>
49180 main ()
49182 __builtin_sqrtf(0);
49184 return 0;
49186 _ACEOF
49187 rm -f conftest.$ac_objext
49188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49189 (eval $ac_compile) 2>conftest.er1
49190 ac_status=$?
49191 grep -v '^ *+' conftest.er1 >conftest.err
49192 rm -f conftest.er1
49193 cat conftest.err >&5
49194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49195 (exit $ac_status); } &&
49196 { ac_try='test -z "$ac_cxx_werror_flag"
49197 || test ! -s conftest.err'
49198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49199 (eval $ac_try) 2>&5
49200 ac_status=$?
49201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49202 (exit $ac_status); }; } &&
49203 { ac_try='test -s conftest.$ac_objext'
49204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49205 (eval $ac_try) 2>&5
49206 ac_status=$?
49207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49208 (exit $ac_status); }; }; then
49209 glibcxx_cv_func___builtin_sqrtf_use=yes
49210 else
49211 echo "$as_me: failed program was:" >&5
49212 sed 's/^/| /' conftest.$ac_ext >&5
49214 glibcxx_cv_func___builtin_sqrtf_use=no
49216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49217 ac_ext=c
49218 ac_cpp='$CPP $CPPFLAGS'
49219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49227 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49228 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49229 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49230 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49231 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49232 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49233 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49234 echo $ECHO_N "(cached) $ECHO_C" >&6
49235 else
49237 if test x$gcc_no_link = xyes; then
49238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49240 { (exit 1); exit 1; }; }
49242 cat >conftest.$ac_ext <<_ACEOF
49243 /* confdefs.h. */
49244 _ACEOF
49245 cat confdefs.h >>conftest.$ac_ext
49246 cat >>conftest.$ac_ext <<_ACEOF
49247 /* end confdefs.h. */
49248 #include <math.h>
49250 main ()
49252 __builtin_sqrtf(0);
49254 return 0;
49256 _ACEOF
49257 rm -f conftest.$ac_objext conftest$ac_exeext
49258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49259 (eval $ac_link) 2>conftest.er1
49260 ac_status=$?
49261 grep -v '^ *+' conftest.er1 >conftest.err
49262 rm -f conftest.er1
49263 cat conftest.err >&5
49264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49265 (exit $ac_status); } &&
49266 { ac_try='test -z "$ac_c_werror_flag"
49267 || test ! -s conftest.err'
49268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49269 (eval $ac_try) 2>&5
49270 ac_status=$?
49271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272 (exit $ac_status); }; } &&
49273 { ac_try='test -s conftest$ac_exeext'
49274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49275 (eval $ac_try) 2>&5
49276 ac_status=$?
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); }; }; then
49279 glibcxx_cv_func___builtin_sqrtf_link=yes
49280 else
49281 echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49284 glibcxx_cv_func___builtin_sqrtf_link=no
49286 rm -f conftest.err conftest.$ac_objext \
49287 conftest$ac_exeext conftest.$ac_ext
49292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49293 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49295 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49297 cat >>confdefs.h <<\_ACEOF
49298 #define HAVE___BUILTIN_SQRTF 1
49299 _ACEOF
49306 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49307 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49308 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49309 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49310 echo $ECHO_N "(cached) $ECHO_C" >&6
49311 else
49315 ac_ext=cc
49316 ac_cpp='$CXXCPP $CPPFLAGS'
49317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49321 cat >conftest.$ac_ext <<_ACEOF
49322 /* confdefs.h. */
49323 _ACEOF
49324 cat confdefs.h >>conftest.$ac_ext
49325 cat >>conftest.$ac_ext <<_ACEOF
49326 /* end confdefs.h. */
49327 #include <math.h>
49329 main ()
49331 __builtin_sqrt(0);
49333 return 0;
49335 _ACEOF
49336 rm -f conftest.$ac_objext
49337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49338 (eval $ac_compile) 2>conftest.er1
49339 ac_status=$?
49340 grep -v '^ *+' conftest.er1 >conftest.err
49341 rm -f conftest.er1
49342 cat conftest.err >&5
49343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49344 (exit $ac_status); } &&
49345 { ac_try='test -z "$ac_cxx_werror_flag"
49346 || test ! -s conftest.err'
49347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49348 (eval $ac_try) 2>&5
49349 ac_status=$?
49350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49351 (exit $ac_status); }; } &&
49352 { ac_try='test -s conftest.$ac_objext'
49353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49354 (eval $ac_try) 2>&5
49355 ac_status=$?
49356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49357 (exit $ac_status); }; }; then
49358 glibcxx_cv_func___builtin_sqrt_use=yes
49359 else
49360 echo "$as_me: failed program was:" >&5
49361 sed 's/^/| /' conftest.$ac_ext >&5
49363 glibcxx_cv_func___builtin_sqrt_use=no
49365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49366 ac_ext=c
49367 ac_cpp='$CPP $CPPFLAGS'
49368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49377 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49378 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49379 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49380 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49381 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49382 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49383 echo $ECHO_N "(cached) $ECHO_C" >&6
49384 else
49386 if test x$gcc_no_link = xyes; then
49387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49389 { (exit 1); exit 1; }; }
49391 cat >conftest.$ac_ext <<_ACEOF
49392 /* confdefs.h. */
49393 _ACEOF
49394 cat confdefs.h >>conftest.$ac_ext
49395 cat >>conftest.$ac_ext <<_ACEOF
49396 /* end confdefs.h. */
49397 #include <math.h>
49399 main ()
49401 __builtin_sqrt(0);
49403 return 0;
49405 _ACEOF
49406 rm -f conftest.$ac_objext conftest$ac_exeext
49407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49408 (eval $ac_link) 2>conftest.er1
49409 ac_status=$?
49410 grep -v '^ *+' conftest.er1 >conftest.err
49411 rm -f conftest.er1
49412 cat conftest.err >&5
49413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49414 (exit $ac_status); } &&
49415 { ac_try='test -z "$ac_c_werror_flag"
49416 || test ! -s conftest.err'
49417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49418 (eval $ac_try) 2>&5
49419 ac_status=$?
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); }; } &&
49422 { ac_try='test -s conftest$ac_exeext'
49423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49424 (eval $ac_try) 2>&5
49425 ac_status=$?
49426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49427 (exit $ac_status); }; }; then
49428 glibcxx_cv_func___builtin_sqrt_link=yes
49429 else
49430 echo "$as_me: failed program was:" >&5
49431 sed 's/^/| /' conftest.$ac_ext >&5
49433 glibcxx_cv_func___builtin_sqrt_link=no
49435 rm -f conftest.err conftest.$ac_objext \
49436 conftest$ac_exeext conftest.$ac_ext
49441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49442 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49444 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49446 cat >>confdefs.h <<\_ACEOF
49447 #define HAVE___BUILTIN_SQRT 1
49448 _ACEOF
49455 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49456 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49457 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49458 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49459 echo $ECHO_N "(cached) $ECHO_C" >&6
49460 else
49464 ac_ext=cc
49465 ac_cpp='$CXXCPP $CPPFLAGS'
49466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49470 cat >conftest.$ac_ext <<_ACEOF
49471 /* confdefs.h. */
49472 _ACEOF
49473 cat confdefs.h >>conftest.$ac_ext
49474 cat >>conftest.$ac_ext <<_ACEOF
49475 /* end confdefs.h. */
49476 #include <math.h>
49478 main ()
49480 __builtin_sqrtl(0);
49482 return 0;
49484 _ACEOF
49485 rm -f conftest.$ac_objext
49486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49487 (eval $ac_compile) 2>conftest.er1
49488 ac_status=$?
49489 grep -v '^ *+' conftest.er1 >conftest.err
49490 rm -f conftest.er1
49491 cat conftest.err >&5
49492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49493 (exit $ac_status); } &&
49494 { ac_try='test -z "$ac_cxx_werror_flag"
49495 || test ! -s conftest.err'
49496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49497 (eval $ac_try) 2>&5
49498 ac_status=$?
49499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49500 (exit $ac_status); }; } &&
49501 { ac_try='test -s conftest.$ac_objext'
49502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49503 (eval $ac_try) 2>&5
49504 ac_status=$?
49505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49506 (exit $ac_status); }; }; then
49507 glibcxx_cv_func___builtin_sqrtl_use=yes
49508 else
49509 echo "$as_me: failed program was:" >&5
49510 sed 's/^/| /' conftest.$ac_ext >&5
49512 glibcxx_cv_func___builtin_sqrtl_use=no
49514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49515 ac_ext=c
49516 ac_cpp='$CPP $CPPFLAGS'
49517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49525 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49526 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49527 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49528 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49529 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49530 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49531 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49532 echo $ECHO_N "(cached) $ECHO_C" >&6
49533 else
49535 if test x$gcc_no_link = xyes; then
49536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49538 { (exit 1); exit 1; }; }
49540 cat >conftest.$ac_ext <<_ACEOF
49541 /* confdefs.h. */
49542 _ACEOF
49543 cat confdefs.h >>conftest.$ac_ext
49544 cat >>conftest.$ac_ext <<_ACEOF
49545 /* end confdefs.h. */
49546 #include <math.h>
49548 main ()
49550 __builtin_sqrtl(0);
49552 return 0;
49554 _ACEOF
49555 rm -f conftest.$ac_objext conftest$ac_exeext
49556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49557 (eval $ac_link) 2>conftest.er1
49558 ac_status=$?
49559 grep -v '^ *+' conftest.er1 >conftest.err
49560 rm -f conftest.er1
49561 cat conftest.err >&5
49562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49563 (exit $ac_status); } &&
49564 { ac_try='test -z "$ac_c_werror_flag"
49565 || test ! -s conftest.err'
49566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49567 (eval $ac_try) 2>&5
49568 ac_status=$?
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); }; } &&
49571 { ac_try='test -s conftest$ac_exeext'
49572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49573 (eval $ac_try) 2>&5
49574 ac_status=$?
49575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49576 (exit $ac_status); }; }; then
49577 glibcxx_cv_func___builtin_sqrtl_link=yes
49578 else
49579 echo "$as_me: failed program was:" >&5
49580 sed 's/^/| /' conftest.$ac_ext >&5
49582 glibcxx_cv_func___builtin_sqrtl_link=no
49584 rm -f conftest.err conftest.$ac_objext \
49585 conftest$ac_exeext conftest.$ac_ext
49590 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49591 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49593 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49595 cat >>confdefs.h <<\_ACEOF
49596 #define HAVE___BUILTIN_SQRTL 1
49597 _ACEOF
49605 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49606 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49607 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49608 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49609 echo $ECHO_N "(cached) $ECHO_C" >&6
49610 else
49614 ac_ext=cc
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620 cat >conftest.$ac_ext <<_ACEOF
49621 /* confdefs.h. */
49622 _ACEOF
49623 cat confdefs.h >>conftest.$ac_ext
49624 cat >>conftest.$ac_ext <<_ACEOF
49625 /* end confdefs.h. */
49626 #include <math.h>
49628 main ()
49630 __builtin_sinf(0);
49632 return 0;
49634 _ACEOF
49635 rm -f conftest.$ac_objext
49636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49637 (eval $ac_compile) 2>conftest.er1
49638 ac_status=$?
49639 grep -v '^ *+' conftest.er1 >conftest.err
49640 rm -f conftest.er1
49641 cat conftest.err >&5
49642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49643 (exit $ac_status); } &&
49644 { ac_try='test -z "$ac_cxx_werror_flag"
49645 || test ! -s conftest.err'
49646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49647 (eval $ac_try) 2>&5
49648 ac_status=$?
49649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49650 (exit $ac_status); }; } &&
49651 { ac_try='test -s conftest.$ac_objext'
49652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49653 (eval $ac_try) 2>&5
49654 ac_status=$?
49655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49656 (exit $ac_status); }; }; then
49657 glibcxx_cv_func___builtin_sinf_use=yes
49658 else
49659 echo "$as_me: failed program was:" >&5
49660 sed 's/^/| /' conftest.$ac_ext >&5
49662 glibcxx_cv_func___builtin_sinf_use=no
49664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49665 ac_ext=c
49666 ac_cpp='$CPP $CPPFLAGS'
49667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49676 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49677 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49678 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49679 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49680 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49681 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49682 echo $ECHO_N "(cached) $ECHO_C" >&6
49683 else
49685 if test x$gcc_no_link = xyes; then
49686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49688 { (exit 1); exit 1; }; }
49690 cat >conftest.$ac_ext <<_ACEOF
49691 /* confdefs.h. */
49692 _ACEOF
49693 cat confdefs.h >>conftest.$ac_ext
49694 cat >>conftest.$ac_ext <<_ACEOF
49695 /* end confdefs.h. */
49696 #include <math.h>
49698 main ()
49700 __builtin_sinf(0);
49702 return 0;
49704 _ACEOF
49705 rm -f conftest.$ac_objext conftest$ac_exeext
49706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49707 (eval $ac_link) 2>conftest.er1
49708 ac_status=$?
49709 grep -v '^ *+' conftest.er1 >conftest.err
49710 rm -f conftest.er1
49711 cat conftest.err >&5
49712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49713 (exit $ac_status); } &&
49714 { ac_try='test -z "$ac_c_werror_flag"
49715 || test ! -s conftest.err'
49716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49717 (eval $ac_try) 2>&5
49718 ac_status=$?
49719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49720 (exit $ac_status); }; } &&
49721 { ac_try='test -s conftest$ac_exeext'
49722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49723 (eval $ac_try) 2>&5
49724 ac_status=$?
49725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726 (exit $ac_status); }; }; then
49727 glibcxx_cv_func___builtin_sinf_link=yes
49728 else
49729 echo "$as_me: failed program was:" >&5
49730 sed 's/^/| /' conftest.$ac_ext >&5
49732 glibcxx_cv_func___builtin_sinf_link=no
49734 rm -f conftest.err conftest.$ac_objext \
49735 conftest$ac_exeext conftest.$ac_ext
49740 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49741 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49743 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49745 cat >>confdefs.h <<\_ACEOF
49746 #define HAVE___BUILTIN_SINF 1
49747 _ACEOF
49754 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49755 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49756 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49757 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49758 echo $ECHO_N "(cached) $ECHO_C" >&6
49759 else
49763 ac_ext=cc
49764 ac_cpp='$CXXCPP $CPPFLAGS'
49765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49769 cat >conftest.$ac_ext <<_ACEOF
49770 /* confdefs.h. */
49771 _ACEOF
49772 cat confdefs.h >>conftest.$ac_ext
49773 cat >>conftest.$ac_ext <<_ACEOF
49774 /* end confdefs.h. */
49775 #include <math.h>
49777 main ()
49779 __builtin_sin(0);
49781 return 0;
49783 _ACEOF
49784 rm -f conftest.$ac_objext
49785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49786 (eval $ac_compile) 2>conftest.er1
49787 ac_status=$?
49788 grep -v '^ *+' conftest.er1 >conftest.err
49789 rm -f conftest.er1
49790 cat conftest.err >&5
49791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49792 (exit $ac_status); } &&
49793 { ac_try='test -z "$ac_cxx_werror_flag"
49794 || test ! -s conftest.err'
49795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49796 (eval $ac_try) 2>&5
49797 ac_status=$?
49798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49799 (exit $ac_status); }; } &&
49800 { ac_try='test -s conftest.$ac_objext'
49801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49802 (eval $ac_try) 2>&5
49803 ac_status=$?
49804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49805 (exit $ac_status); }; }; then
49806 glibcxx_cv_func___builtin_sin_use=yes
49807 else
49808 echo "$as_me: failed program was:" >&5
49809 sed 's/^/| /' conftest.$ac_ext >&5
49811 glibcxx_cv_func___builtin_sin_use=no
49813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49814 ac_ext=c
49815 ac_cpp='$CPP $CPPFLAGS'
49816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49825 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49826 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49827 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49828 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49829 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49830 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49831 echo $ECHO_N "(cached) $ECHO_C" >&6
49832 else
49834 if test x$gcc_no_link = xyes; then
49835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49837 { (exit 1); exit 1; }; }
49839 cat >conftest.$ac_ext <<_ACEOF
49840 /* confdefs.h. */
49841 _ACEOF
49842 cat confdefs.h >>conftest.$ac_ext
49843 cat >>conftest.$ac_ext <<_ACEOF
49844 /* end confdefs.h. */
49845 #include <math.h>
49847 main ()
49849 __builtin_sin(0);
49851 return 0;
49853 _ACEOF
49854 rm -f conftest.$ac_objext conftest$ac_exeext
49855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49856 (eval $ac_link) 2>conftest.er1
49857 ac_status=$?
49858 grep -v '^ *+' conftest.er1 >conftest.err
49859 rm -f conftest.er1
49860 cat conftest.err >&5
49861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49862 (exit $ac_status); } &&
49863 { ac_try='test -z "$ac_c_werror_flag"
49864 || test ! -s conftest.err'
49865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49866 (eval $ac_try) 2>&5
49867 ac_status=$?
49868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49869 (exit $ac_status); }; } &&
49870 { ac_try='test -s conftest$ac_exeext'
49871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49872 (eval $ac_try) 2>&5
49873 ac_status=$?
49874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49875 (exit $ac_status); }; }; then
49876 glibcxx_cv_func___builtin_sin_link=yes
49877 else
49878 echo "$as_me: failed program was:" >&5
49879 sed 's/^/| /' conftest.$ac_ext >&5
49881 glibcxx_cv_func___builtin_sin_link=no
49883 rm -f conftest.err conftest.$ac_objext \
49884 conftest$ac_exeext conftest.$ac_ext
49889 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49890 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49892 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49894 cat >>confdefs.h <<\_ACEOF
49895 #define HAVE___BUILTIN_SIN 1
49896 _ACEOF
49903 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49904 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49905 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49906 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49907 echo $ECHO_N "(cached) $ECHO_C" >&6
49908 else
49912 ac_ext=cc
49913 ac_cpp='$CXXCPP $CPPFLAGS'
49914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49918 cat >conftest.$ac_ext <<_ACEOF
49919 /* confdefs.h. */
49920 _ACEOF
49921 cat confdefs.h >>conftest.$ac_ext
49922 cat >>conftest.$ac_ext <<_ACEOF
49923 /* end confdefs.h. */
49924 #include <math.h>
49926 main ()
49928 __builtin_sinl(0);
49930 return 0;
49932 _ACEOF
49933 rm -f conftest.$ac_objext
49934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49935 (eval $ac_compile) 2>conftest.er1
49936 ac_status=$?
49937 grep -v '^ *+' conftest.er1 >conftest.err
49938 rm -f conftest.er1
49939 cat conftest.err >&5
49940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49941 (exit $ac_status); } &&
49942 { ac_try='test -z "$ac_cxx_werror_flag"
49943 || test ! -s conftest.err'
49944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49945 (eval $ac_try) 2>&5
49946 ac_status=$?
49947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49948 (exit $ac_status); }; } &&
49949 { ac_try='test -s conftest.$ac_objext'
49950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49951 (eval $ac_try) 2>&5
49952 ac_status=$?
49953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49954 (exit $ac_status); }; }; then
49955 glibcxx_cv_func___builtin_sinl_use=yes
49956 else
49957 echo "$as_me: failed program was:" >&5
49958 sed 's/^/| /' conftest.$ac_ext >&5
49960 glibcxx_cv_func___builtin_sinl_use=no
49962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49963 ac_ext=c
49964 ac_cpp='$CPP $CPPFLAGS'
49965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49973 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49974 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49975 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49976 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49977 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49978 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49979 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49980 echo $ECHO_N "(cached) $ECHO_C" >&6
49981 else
49983 if test x$gcc_no_link = xyes; then
49984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49986 { (exit 1); exit 1; }; }
49988 cat >conftest.$ac_ext <<_ACEOF
49989 /* confdefs.h. */
49990 _ACEOF
49991 cat confdefs.h >>conftest.$ac_ext
49992 cat >>conftest.$ac_ext <<_ACEOF
49993 /* end confdefs.h. */
49994 #include <math.h>
49996 main ()
49998 __builtin_sinl(0);
50000 return 0;
50002 _ACEOF
50003 rm -f conftest.$ac_objext conftest$ac_exeext
50004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50005 (eval $ac_link) 2>conftest.er1
50006 ac_status=$?
50007 grep -v '^ *+' conftest.er1 >conftest.err
50008 rm -f conftest.er1
50009 cat conftest.err >&5
50010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50011 (exit $ac_status); } &&
50012 { ac_try='test -z "$ac_c_werror_flag"
50013 || test ! -s conftest.err'
50014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50015 (eval $ac_try) 2>&5
50016 ac_status=$?
50017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50018 (exit $ac_status); }; } &&
50019 { ac_try='test -s conftest$ac_exeext'
50020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50021 (eval $ac_try) 2>&5
50022 ac_status=$?
50023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50024 (exit $ac_status); }; }; then
50025 glibcxx_cv_func___builtin_sinl_link=yes
50026 else
50027 echo "$as_me: failed program was:" >&5
50028 sed 's/^/| /' conftest.$ac_ext >&5
50030 glibcxx_cv_func___builtin_sinl_link=no
50032 rm -f conftest.err conftest.$ac_objext \
50033 conftest$ac_exeext conftest.$ac_ext
50038 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50039 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50041 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50043 cat >>confdefs.h <<\_ACEOF
50044 #define HAVE___BUILTIN_SINL 1
50045 _ACEOF
50053 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50054 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50055 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50056 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50058 else
50062 ac_ext=cc
50063 ac_cpp='$CXXCPP $CPPFLAGS'
50064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50068 cat >conftest.$ac_ext <<_ACEOF
50069 /* confdefs.h. */
50070 _ACEOF
50071 cat confdefs.h >>conftest.$ac_ext
50072 cat >>conftest.$ac_ext <<_ACEOF
50073 /* end confdefs.h. */
50074 #include <math.h>
50076 main ()
50078 __builtin_cosf(0);
50080 return 0;
50082 _ACEOF
50083 rm -f conftest.$ac_objext
50084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50085 (eval $ac_compile) 2>conftest.er1
50086 ac_status=$?
50087 grep -v '^ *+' conftest.er1 >conftest.err
50088 rm -f conftest.er1
50089 cat conftest.err >&5
50090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50091 (exit $ac_status); } &&
50092 { ac_try='test -z "$ac_cxx_werror_flag"
50093 || test ! -s conftest.err'
50094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50095 (eval $ac_try) 2>&5
50096 ac_status=$?
50097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50098 (exit $ac_status); }; } &&
50099 { ac_try='test -s conftest.$ac_objext'
50100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50101 (eval $ac_try) 2>&5
50102 ac_status=$?
50103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50104 (exit $ac_status); }; }; then
50105 glibcxx_cv_func___builtin_cosf_use=yes
50106 else
50107 echo "$as_me: failed program was:" >&5
50108 sed 's/^/| /' conftest.$ac_ext >&5
50110 glibcxx_cv_func___builtin_cosf_use=no
50112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50113 ac_ext=c
50114 ac_cpp='$CPP $CPPFLAGS'
50115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50123 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50124 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50125 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50126 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50127 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50128 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50129 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50130 echo $ECHO_N "(cached) $ECHO_C" >&6
50131 else
50133 if test x$gcc_no_link = xyes; then
50134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50136 { (exit 1); exit 1; }; }
50138 cat >conftest.$ac_ext <<_ACEOF
50139 /* confdefs.h. */
50140 _ACEOF
50141 cat confdefs.h >>conftest.$ac_ext
50142 cat >>conftest.$ac_ext <<_ACEOF
50143 /* end confdefs.h. */
50144 #include <math.h>
50146 main ()
50148 __builtin_cosf(0);
50150 return 0;
50152 _ACEOF
50153 rm -f conftest.$ac_objext conftest$ac_exeext
50154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50155 (eval $ac_link) 2>conftest.er1
50156 ac_status=$?
50157 grep -v '^ *+' conftest.er1 >conftest.err
50158 rm -f conftest.er1
50159 cat conftest.err >&5
50160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50161 (exit $ac_status); } &&
50162 { ac_try='test -z "$ac_c_werror_flag"
50163 || test ! -s conftest.err'
50164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50165 (eval $ac_try) 2>&5
50166 ac_status=$?
50167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50168 (exit $ac_status); }; } &&
50169 { ac_try='test -s conftest$ac_exeext'
50170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50171 (eval $ac_try) 2>&5
50172 ac_status=$?
50173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50174 (exit $ac_status); }; }; then
50175 glibcxx_cv_func___builtin_cosf_link=yes
50176 else
50177 echo "$as_me: failed program was:" >&5
50178 sed 's/^/| /' conftest.$ac_ext >&5
50180 glibcxx_cv_func___builtin_cosf_link=no
50182 rm -f conftest.err conftest.$ac_objext \
50183 conftest$ac_exeext conftest.$ac_ext
50188 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50189 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50191 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50193 cat >>confdefs.h <<\_ACEOF
50194 #define HAVE___BUILTIN_COSF 1
50195 _ACEOF
50202 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50203 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50204 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50205 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50206 echo $ECHO_N "(cached) $ECHO_C" >&6
50207 else
50211 ac_ext=cc
50212 ac_cpp='$CXXCPP $CPPFLAGS'
50213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50217 cat >conftest.$ac_ext <<_ACEOF
50218 /* confdefs.h. */
50219 _ACEOF
50220 cat confdefs.h >>conftest.$ac_ext
50221 cat >>conftest.$ac_ext <<_ACEOF
50222 /* end confdefs.h. */
50223 #include <math.h>
50225 main ()
50227 __builtin_cos(0);
50229 return 0;
50231 _ACEOF
50232 rm -f conftest.$ac_objext
50233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50234 (eval $ac_compile) 2>conftest.er1
50235 ac_status=$?
50236 grep -v '^ *+' conftest.er1 >conftest.err
50237 rm -f conftest.er1
50238 cat conftest.err >&5
50239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50240 (exit $ac_status); } &&
50241 { ac_try='test -z "$ac_cxx_werror_flag"
50242 || test ! -s conftest.err'
50243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50244 (eval $ac_try) 2>&5
50245 ac_status=$?
50246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50247 (exit $ac_status); }; } &&
50248 { ac_try='test -s conftest.$ac_objext'
50249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50250 (eval $ac_try) 2>&5
50251 ac_status=$?
50252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50253 (exit $ac_status); }; }; then
50254 glibcxx_cv_func___builtin_cos_use=yes
50255 else
50256 echo "$as_me: failed program was:" >&5
50257 sed 's/^/| /' conftest.$ac_ext >&5
50259 glibcxx_cv_func___builtin_cos_use=no
50261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50262 ac_ext=c
50263 ac_cpp='$CPP $CPPFLAGS'
50264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50272 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50273 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50274 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50275 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50276 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50277 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50278 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50279 echo $ECHO_N "(cached) $ECHO_C" >&6
50280 else
50282 if test x$gcc_no_link = xyes; then
50283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50285 { (exit 1); exit 1; }; }
50287 cat >conftest.$ac_ext <<_ACEOF
50288 /* confdefs.h. */
50289 _ACEOF
50290 cat confdefs.h >>conftest.$ac_ext
50291 cat >>conftest.$ac_ext <<_ACEOF
50292 /* end confdefs.h. */
50293 #include <math.h>
50295 main ()
50297 __builtin_cos(0);
50299 return 0;
50301 _ACEOF
50302 rm -f conftest.$ac_objext conftest$ac_exeext
50303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50304 (eval $ac_link) 2>conftest.er1
50305 ac_status=$?
50306 grep -v '^ *+' conftest.er1 >conftest.err
50307 rm -f conftest.er1
50308 cat conftest.err >&5
50309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50310 (exit $ac_status); } &&
50311 { ac_try='test -z "$ac_c_werror_flag"
50312 || test ! -s conftest.err'
50313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50314 (eval $ac_try) 2>&5
50315 ac_status=$?
50316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50317 (exit $ac_status); }; } &&
50318 { ac_try='test -s conftest$ac_exeext'
50319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50320 (eval $ac_try) 2>&5
50321 ac_status=$?
50322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50323 (exit $ac_status); }; }; then
50324 glibcxx_cv_func___builtin_cos_link=yes
50325 else
50326 echo "$as_me: failed program was:" >&5
50327 sed 's/^/| /' conftest.$ac_ext >&5
50329 glibcxx_cv_func___builtin_cos_link=no
50331 rm -f conftest.err conftest.$ac_objext \
50332 conftest$ac_exeext conftest.$ac_ext
50337 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50338 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50340 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50342 cat >>confdefs.h <<\_ACEOF
50343 #define HAVE___BUILTIN_COS 1
50344 _ACEOF
50351 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50352 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50353 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50354 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50355 echo $ECHO_N "(cached) $ECHO_C" >&6
50356 else
50360 ac_ext=cc
50361 ac_cpp='$CXXCPP $CPPFLAGS'
50362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366 cat >conftest.$ac_ext <<_ACEOF
50367 /* confdefs.h. */
50368 _ACEOF
50369 cat confdefs.h >>conftest.$ac_ext
50370 cat >>conftest.$ac_ext <<_ACEOF
50371 /* end confdefs.h. */
50372 #include <math.h>
50374 main ()
50376 __builtin_cosl(0);
50378 return 0;
50380 _ACEOF
50381 rm -f conftest.$ac_objext
50382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50383 (eval $ac_compile) 2>conftest.er1
50384 ac_status=$?
50385 grep -v '^ *+' conftest.er1 >conftest.err
50386 rm -f conftest.er1
50387 cat conftest.err >&5
50388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50389 (exit $ac_status); } &&
50390 { ac_try='test -z "$ac_cxx_werror_flag"
50391 || test ! -s conftest.err'
50392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50393 (eval $ac_try) 2>&5
50394 ac_status=$?
50395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396 (exit $ac_status); }; } &&
50397 { ac_try='test -s conftest.$ac_objext'
50398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50399 (eval $ac_try) 2>&5
50400 ac_status=$?
50401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50402 (exit $ac_status); }; }; then
50403 glibcxx_cv_func___builtin_cosl_use=yes
50404 else
50405 echo "$as_me: failed program was:" >&5
50406 sed 's/^/| /' conftest.$ac_ext >&5
50408 glibcxx_cv_func___builtin_cosl_use=no
50410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50411 ac_ext=c
50412 ac_cpp='$CPP $CPPFLAGS'
50413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50421 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50422 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50423 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50424 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50425 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50426 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50427 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50428 echo $ECHO_N "(cached) $ECHO_C" >&6
50429 else
50431 if test x$gcc_no_link = xyes; then
50432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50434 { (exit 1); exit 1; }; }
50436 cat >conftest.$ac_ext <<_ACEOF
50437 /* confdefs.h. */
50438 _ACEOF
50439 cat confdefs.h >>conftest.$ac_ext
50440 cat >>conftest.$ac_ext <<_ACEOF
50441 /* end confdefs.h. */
50442 #include <math.h>
50444 main ()
50446 __builtin_cosl(0);
50448 return 0;
50450 _ACEOF
50451 rm -f conftest.$ac_objext conftest$ac_exeext
50452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50453 (eval $ac_link) 2>conftest.er1
50454 ac_status=$?
50455 grep -v '^ *+' conftest.er1 >conftest.err
50456 rm -f conftest.er1
50457 cat conftest.err >&5
50458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50459 (exit $ac_status); } &&
50460 { ac_try='test -z "$ac_c_werror_flag"
50461 || test ! -s conftest.err'
50462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50463 (eval $ac_try) 2>&5
50464 ac_status=$?
50465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50466 (exit $ac_status); }; } &&
50467 { ac_try='test -s conftest$ac_exeext'
50468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50469 (eval $ac_try) 2>&5
50470 ac_status=$?
50471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50472 (exit $ac_status); }; }; then
50473 glibcxx_cv_func___builtin_cosl_link=yes
50474 else
50475 echo "$as_me: failed program was:" >&5
50476 sed 's/^/| /' conftest.$ac_ext >&5
50478 glibcxx_cv_func___builtin_cosl_link=no
50480 rm -f conftest.err conftest.$ac_objext \
50481 conftest$ac_exeext conftest.$ac_ext
50486 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50487 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50489 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50491 cat >>confdefs.h <<\_ACEOF
50492 #define HAVE___BUILTIN_COSL 1
50493 _ACEOF
50502 echo "$as_me:$LINENO: checking for main in -lm" >&5
50503 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50504 if test "${ac_cv_lib_m_main+set}" = set; then
50505 echo $ECHO_N "(cached) $ECHO_C" >&6
50506 else
50507 ac_check_lib_save_LIBS=$LIBS
50508 LIBS="-lm $LIBS"
50509 if test x$gcc_no_link = xyes; then
50510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50512 { (exit 1); exit 1; }; }
50514 cat >conftest.$ac_ext <<_ACEOF
50515 /* confdefs.h. */
50516 _ACEOF
50517 cat confdefs.h >>conftest.$ac_ext
50518 cat >>conftest.$ac_ext <<_ACEOF
50519 /* end confdefs.h. */
50523 main ()
50525 main ();
50527 return 0;
50529 _ACEOF
50530 rm -f conftest.$ac_objext conftest$ac_exeext
50531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50532 (eval $ac_link) 2>conftest.er1
50533 ac_status=$?
50534 grep -v '^ *+' conftest.er1 >conftest.err
50535 rm -f conftest.er1
50536 cat conftest.err >&5
50537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50538 (exit $ac_status); } &&
50539 { ac_try='test -z "$ac_c_werror_flag"
50540 || test ! -s conftest.err'
50541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50542 (eval $ac_try) 2>&5
50543 ac_status=$?
50544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50545 (exit $ac_status); }; } &&
50546 { ac_try='test -s conftest$ac_exeext'
50547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50548 (eval $ac_try) 2>&5
50549 ac_status=$?
50550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50551 (exit $ac_status); }; }; then
50552 ac_cv_lib_m_main=yes
50553 else
50554 echo "$as_me: failed program was:" >&5
50555 sed 's/^/| /' conftest.$ac_ext >&5
50557 ac_cv_lib_m_main=no
50559 rm -f conftest.err conftest.$ac_objext \
50560 conftest$ac_exeext conftest.$ac_ext
50561 LIBS=$ac_check_lib_save_LIBS
50563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50564 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50565 if test $ac_cv_lib_m_main = yes; then
50566 cat >>confdefs.h <<_ACEOF
50567 #define HAVE_LIBM 1
50568 _ACEOF
50570 LIBS="-lm $LIBS"
50575 for ac_func in copysignf
50577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50578 echo "$as_me:$LINENO: checking for $ac_func" >&5
50579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50580 if eval "test \"\${$as_ac_var+set}\" = set"; then
50581 echo $ECHO_N "(cached) $ECHO_C" >&6
50582 else
50583 if test x$gcc_no_link = xyes; then
50584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50586 { (exit 1); exit 1; }; }
50588 cat >conftest.$ac_ext <<_ACEOF
50589 /* confdefs.h. */
50590 _ACEOF
50591 cat confdefs.h >>conftest.$ac_ext
50592 cat >>conftest.$ac_ext <<_ACEOF
50593 /* end confdefs.h. */
50594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50596 #define $ac_func innocuous_$ac_func
50598 /* System header to define __stub macros and hopefully few prototypes,
50599 which can conflict with char $ac_func (); below.
50600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50601 <limits.h> exists even on freestanding compilers. */
50603 #ifdef __STDC__
50604 # include <limits.h>
50605 #else
50606 # include <assert.h>
50607 #endif
50609 #undef $ac_func
50611 /* Override any gcc2 internal prototype to avoid an error. */
50612 #ifdef __cplusplus
50613 extern "C"
50615 #endif
50616 /* We use char because int might match the return type of a gcc2
50617 builtin and then its argument prototype would still apply. */
50618 char $ac_func ();
50619 /* The GNU C library defines this for functions which it implements
50620 to always fail with ENOSYS. Some functions are actually named
50621 something starting with __ and the normal name is an alias. */
50622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50623 choke me
50624 #else
50625 char (*f) () = $ac_func;
50626 #endif
50627 #ifdef __cplusplus
50629 #endif
50632 main ()
50634 return f != $ac_func;
50636 return 0;
50638 _ACEOF
50639 rm -f conftest.$ac_objext conftest$ac_exeext
50640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50641 (eval $ac_link) 2>conftest.er1
50642 ac_status=$?
50643 grep -v '^ *+' conftest.er1 >conftest.err
50644 rm -f conftest.er1
50645 cat conftest.err >&5
50646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50647 (exit $ac_status); } &&
50648 { ac_try='test -z "$ac_c_werror_flag"
50649 || test ! -s conftest.err'
50650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50651 (eval $ac_try) 2>&5
50652 ac_status=$?
50653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50654 (exit $ac_status); }; } &&
50655 { ac_try='test -s conftest$ac_exeext'
50656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50657 (eval $ac_try) 2>&5
50658 ac_status=$?
50659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50660 (exit $ac_status); }; }; then
50661 eval "$as_ac_var=yes"
50662 else
50663 echo "$as_me: failed program was:" >&5
50664 sed 's/^/| /' conftest.$ac_ext >&5
50666 eval "$as_ac_var=no"
50668 rm -f conftest.err conftest.$ac_objext \
50669 conftest$ac_exeext conftest.$ac_ext
50671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50673 if test `eval echo '${'$as_ac_var'}'` = yes; then
50674 cat >>confdefs.h <<_ACEOF
50675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50676 _ACEOF
50678 else
50679 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50681 done
50685 for ac_func in __signbit
50687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50688 echo "$as_me:$LINENO: checking for $ac_func" >&5
50689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50690 if eval "test \"\${$as_ac_var+set}\" = set"; then
50691 echo $ECHO_N "(cached) $ECHO_C" >&6
50692 else
50693 if test x$gcc_no_link = xyes; then
50694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50696 { (exit 1); exit 1; }; }
50698 cat >conftest.$ac_ext <<_ACEOF
50699 /* confdefs.h. */
50700 _ACEOF
50701 cat confdefs.h >>conftest.$ac_ext
50702 cat >>conftest.$ac_ext <<_ACEOF
50703 /* end confdefs.h. */
50704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50706 #define $ac_func innocuous_$ac_func
50708 /* System header to define __stub macros and hopefully few prototypes,
50709 which can conflict with char $ac_func (); below.
50710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50711 <limits.h> exists even on freestanding compilers. */
50713 #ifdef __STDC__
50714 # include <limits.h>
50715 #else
50716 # include <assert.h>
50717 #endif
50719 #undef $ac_func
50721 /* Override any gcc2 internal prototype to avoid an error. */
50722 #ifdef __cplusplus
50723 extern "C"
50725 #endif
50726 /* We use char because int might match the return type of a gcc2
50727 builtin and then its argument prototype would still apply. */
50728 char $ac_func ();
50729 /* The GNU C library defines this for functions which it implements
50730 to always fail with ENOSYS. Some functions are actually named
50731 something starting with __ and the normal name is an alias. */
50732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50733 choke me
50734 #else
50735 char (*f) () = $ac_func;
50736 #endif
50737 #ifdef __cplusplus
50739 #endif
50742 main ()
50744 return f != $ac_func;
50746 return 0;
50748 _ACEOF
50749 rm -f conftest.$ac_objext conftest$ac_exeext
50750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50751 (eval $ac_link) 2>conftest.er1
50752 ac_status=$?
50753 grep -v '^ *+' conftest.er1 >conftest.err
50754 rm -f conftest.er1
50755 cat conftest.err >&5
50756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50757 (exit $ac_status); } &&
50758 { ac_try='test -z "$ac_c_werror_flag"
50759 || test ! -s conftest.err'
50760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50761 (eval $ac_try) 2>&5
50762 ac_status=$?
50763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50764 (exit $ac_status); }; } &&
50765 { ac_try='test -s conftest$ac_exeext'
50766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50767 (eval $ac_try) 2>&5
50768 ac_status=$?
50769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50770 (exit $ac_status); }; }; then
50771 eval "$as_ac_var=yes"
50772 else
50773 echo "$as_me: failed program was:" >&5
50774 sed 's/^/| /' conftest.$ac_ext >&5
50776 eval "$as_ac_var=no"
50778 rm -f conftest.err conftest.$ac_objext \
50779 conftest$ac_exeext conftest.$ac_ext
50781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50783 if test `eval echo '${'$as_ac_var'}'` = yes; then
50784 cat >>confdefs.h <<_ACEOF
50785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50786 _ACEOF
50788 else
50789 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50791 done
50795 for ac_func in __signbitf
50797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50798 echo "$as_me:$LINENO: checking for $ac_func" >&5
50799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50800 if eval "test \"\${$as_ac_var+set}\" = set"; then
50801 echo $ECHO_N "(cached) $ECHO_C" >&6
50802 else
50803 if test x$gcc_no_link = xyes; then
50804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50806 { (exit 1); exit 1; }; }
50808 cat >conftest.$ac_ext <<_ACEOF
50809 /* confdefs.h. */
50810 _ACEOF
50811 cat confdefs.h >>conftest.$ac_ext
50812 cat >>conftest.$ac_ext <<_ACEOF
50813 /* end confdefs.h. */
50814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50816 #define $ac_func innocuous_$ac_func
50818 /* System header to define __stub macros and hopefully few prototypes,
50819 which can conflict with char $ac_func (); below.
50820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50821 <limits.h> exists even on freestanding compilers. */
50823 #ifdef __STDC__
50824 # include <limits.h>
50825 #else
50826 # include <assert.h>
50827 #endif
50829 #undef $ac_func
50831 /* Override any gcc2 internal prototype to avoid an error. */
50832 #ifdef __cplusplus
50833 extern "C"
50835 #endif
50836 /* We use char because int might match the return type of a gcc2
50837 builtin and then its argument prototype would still apply. */
50838 char $ac_func ();
50839 /* The GNU C library defines this for functions which it implements
50840 to always fail with ENOSYS. Some functions are actually named
50841 something starting with __ and the normal name is an alias. */
50842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50843 choke me
50844 #else
50845 char (*f) () = $ac_func;
50846 #endif
50847 #ifdef __cplusplus
50849 #endif
50852 main ()
50854 return f != $ac_func;
50856 return 0;
50858 _ACEOF
50859 rm -f conftest.$ac_objext conftest$ac_exeext
50860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50861 (eval $ac_link) 2>conftest.er1
50862 ac_status=$?
50863 grep -v '^ *+' conftest.er1 >conftest.err
50864 rm -f conftest.er1
50865 cat conftest.err >&5
50866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50867 (exit $ac_status); } &&
50868 { ac_try='test -z "$ac_c_werror_flag"
50869 || test ! -s conftest.err'
50870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50871 (eval $ac_try) 2>&5
50872 ac_status=$?
50873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50874 (exit $ac_status); }; } &&
50875 { ac_try='test -s conftest$ac_exeext'
50876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50877 (eval $ac_try) 2>&5
50878 ac_status=$?
50879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50880 (exit $ac_status); }; }; then
50881 eval "$as_ac_var=yes"
50882 else
50883 echo "$as_me: failed program was:" >&5
50884 sed 's/^/| /' conftest.$ac_ext >&5
50886 eval "$as_ac_var=no"
50888 rm -f conftest.err conftest.$ac_objext \
50889 conftest$ac_exeext conftest.$ac_ext
50891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50893 if test `eval echo '${'$as_ac_var'}'` = yes; then
50894 cat >>confdefs.h <<_ACEOF
50895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50896 _ACEOF
50898 else
50899 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50901 done
50904 if test x$ac_cv_func_copysignl = x"yes"; then
50906 for ac_func in __signbitl
50908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50909 echo "$as_me:$LINENO: checking for $ac_func" >&5
50910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50911 if eval "test \"\${$as_ac_var+set}\" = set"; then
50912 echo $ECHO_N "(cached) $ECHO_C" >&6
50913 else
50914 if test x$gcc_no_link = xyes; then
50915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50917 { (exit 1); exit 1; }; }
50919 cat >conftest.$ac_ext <<_ACEOF
50920 /* confdefs.h. */
50921 _ACEOF
50922 cat confdefs.h >>conftest.$ac_ext
50923 cat >>conftest.$ac_ext <<_ACEOF
50924 /* end confdefs.h. */
50925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50927 #define $ac_func innocuous_$ac_func
50929 /* System header to define __stub macros and hopefully few prototypes,
50930 which can conflict with char $ac_func (); below.
50931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50932 <limits.h> exists even on freestanding compilers. */
50934 #ifdef __STDC__
50935 # include <limits.h>
50936 #else
50937 # include <assert.h>
50938 #endif
50940 #undef $ac_func
50942 /* Override any gcc2 internal prototype to avoid an error. */
50943 #ifdef __cplusplus
50944 extern "C"
50946 #endif
50947 /* We use char because int might match the return type of a gcc2
50948 builtin and then its argument prototype would still apply. */
50949 char $ac_func ();
50950 /* The GNU C library defines this for functions which it implements
50951 to always fail with ENOSYS. Some functions are actually named
50952 something starting with __ and the normal name is an alias. */
50953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50954 choke me
50955 #else
50956 char (*f) () = $ac_func;
50957 #endif
50958 #ifdef __cplusplus
50960 #endif
50963 main ()
50965 return f != $ac_func;
50967 return 0;
50969 _ACEOF
50970 rm -f conftest.$ac_objext conftest$ac_exeext
50971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50972 (eval $ac_link) 2>conftest.er1
50973 ac_status=$?
50974 grep -v '^ *+' conftest.er1 >conftest.err
50975 rm -f conftest.er1
50976 cat conftest.err >&5
50977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50978 (exit $ac_status); } &&
50979 { ac_try='test -z "$ac_c_werror_flag"
50980 || test ! -s conftest.err'
50981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50982 (eval $ac_try) 2>&5
50983 ac_status=$?
50984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50985 (exit $ac_status); }; } &&
50986 { ac_try='test -s conftest$ac_exeext'
50987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50988 (eval $ac_try) 2>&5
50989 ac_status=$?
50990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50991 (exit $ac_status); }; }; then
50992 eval "$as_ac_var=yes"
50993 else
50994 echo "$as_me: failed program was:" >&5
50995 sed 's/^/| /' conftest.$ac_ext >&5
50997 eval "$as_ac_var=no"
50999 rm -f conftest.err conftest.$ac_objext \
51000 conftest$ac_exeext conftest.$ac_ext
51002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51004 if test `eval echo '${'$as_ac_var'}'` = yes; then
51005 cat >>confdefs.h <<_ACEOF
51006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51007 _ACEOF
51009 else
51010 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51012 done
51016 # Used in libmath/Makefile.am.
51017 if test -n "$LIBMATHOBJS"; then
51018 need_libmath=yes
51024 enable_iconv=no
51025 # Only continue checking if the ISO C99 headers exist and support is on.
51026 if test x"$enable_wchar_t" = xyes; then
51028 # Use iconv for wchar_t to char conversions. As such, check for
51029 # X/Open Portability Guide, version 2 features (XPG2).
51030 if test "${ac_cv_header_iconv_h+set}" = set; then
51031 echo "$as_me:$LINENO: checking for iconv.h" >&5
51032 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51033 if test "${ac_cv_header_iconv_h+set}" = set; then
51034 echo $ECHO_N "(cached) $ECHO_C" >&6
51036 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51037 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51038 else
51039 # Is the header compilable?
51040 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51041 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51042 cat >conftest.$ac_ext <<_ACEOF
51043 /* confdefs.h. */
51044 _ACEOF
51045 cat confdefs.h >>conftest.$ac_ext
51046 cat >>conftest.$ac_ext <<_ACEOF
51047 /* end confdefs.h. */
51048 $ac_includes_default
51049 #include <iconv.h>
51050 _ACEOF
51051 rm -f conftest.$ac_objext
51052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51053 (eval $ac_compile) 2>conftest.er1
51054 ac_status=$?
51055 grep -v '^ *+' conftest.er1 >conftest.err
51056 rm -f conftest.er1
51057 cat conftest.err >&5
51058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51059 (exit $ac_status); } &&
51060 { ac_try='test -z "$ac_c_werror_flag"
51061 || test ! -s conftest.err'
51062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51063 (eval $ac_try) 2>&5
51064 ac_status=$?
51065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066 (exit $ac_status); }; } &&
51067 { ac_try='test -s conftest.$ac_objext'
51068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51069 (eval $ac_try) 2>&5
51070 ac_status=$?
51071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51072 (exit $ac_status); }; }; then
51073 ac_header_compiler=yes
51074 else
51075 echo "$as_me: failed program was:" >&5
51076 sed 's/^/| /' conftest.$ac_ext >&5
51078 ac_header_compiler=no
51080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51082 echo "${ECHO_T}$ac_header_compiler" >&6
51084 # Is the header present?
51085 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51086 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51087 cat >conftest.$ac_ext <<_ACEOF
51088 /* confdefs.h. */
51089 _ACEOF
51090 cat confdefs.h >>conftest.$ac_ext
51091 cat >>conftest.$ac_ext <<_ACEOF
51092 /* end confdefs.h. */
51093 #include <iconv.h>
51094 _ACEOF
51095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51097 ac_status=$?
51098 grep -v '^ *+' conftest.er1 >conftest.err
51099 rm -f conftest.er1
51100 cat conftest.err >&5
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); } >/dev/null; then
51103 if test -s conftest.err; then
51104 ac_cpp_err=$ac_c_preproc_warn_flag
51105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51106 else
51107 ac_cpp_err=
51109 else
51110 ac_cpp_err=yes
51112 if test -z "$ac_cpp_err"; then
51113 ac_header_preproc=yes
51114 else
51115 echo "$as_me: failed program was:" >&5
51116 sed 's/^/| /' conftest.$ac_ext >&5
51118 ac_header_preproc=no
51120 rm -f conftest.err conftest.$ac_ext
51121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51122 echo "${ECHO_T}$ac_header_preproc" >&6
51124 # So? What about this header?
51125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51126 yes:no: )
51127 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51128 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51129 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51130 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51131 ac_header_preproc=yes
51133 no:yes:* )
51134 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51135 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51136 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51137 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51138 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51139 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51140 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51141 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51142 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51143 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51144 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51145 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51147 cat <<\_ASBOX
51148 ## ----------------------------------------- ##
51149 ## Report this to the package-unused lists. ##
51150 ## ----------------------------------------- ##
51151 _ASBOX
51153 sed "s/^/$as_me: WARNING: /" >&2
51155 esac
51156 echo "$as_me:$LINENO: checking for iconv.h" >&5
51157 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51158 if test "${ac_cv_header_iconv_h+set}" = set; then
51159 echo $ECHO_N "(cached) $ECHO_C" >&6
51160 else
51161 ac_cv_header_iconv_h=$ac_header_preproc
51163 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51164 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51167 if test $ac_cv_header_iconv_h = yes; then
51168 ac_has_iconv_h=yes
51169 else
51170 ac_has_iconv_h=no
51174 if test "${ac_cv_header_langinfo_h+set}" = set; then
51175 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51176 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51177 if test "${ac_cv_header_langinfo_h+set}" = set; then
51178 echo $ECHO_N "(cached) $ECHO_C" >&6
51180 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51181 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51182 else
51183 # Is the header compilable?
51184 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51185 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51186 cat >conftest.$ac_ext <<_ACEOF
51187 /* confdefs.h. */
51188 _ACEOF
51189 cat confdefs.h >>conftest.$ac_ext
51190 cat >>conftest.$ac_ext <<_ACEOF
51191 /* end confdefs.h. */
51192 $ac_includes_default
51193 #include <langinfo.h>
51194 _ACEOF
51195 rm -f conftest.$ac_objext
51196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51197 (eval $ac_compile) 2>conftest.er1
51198 ac_status=$?
51199 grep -v '^ *+' conftest.er1 >conftest.err
51200 rm -f conftest.er1
51201 cat conftest.err >&5
51202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51203 (exit $ac_status); } &&
51204 { ac_try='test -z "$ac_c_werror_flag"
51205 || test ! -s conftest.err'
51206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51207 (eval $ac_try) 2>&5
51208 ac_status=$?
51209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51210 (exit $ac_status); }; } &&
51211 { ac_try='test -s conftest.$ac_objext'
51212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51213 (eval $ac_try) 2>&5
51214 ac_status=$?
51215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51216 (exit $ac_status); }; }; then
51217 ac_header_compiler=yes
51218 else
51219 echo "$as_me: failed program was:" >&5
51220 sed 's/^/| /' conftest.$ac_ext >&5
51222 ac_header_compiler=no
51224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51226 echo "${ECHO_T}$ac_header_compiler" >&6
51228 # Is the header present?
51229 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51230 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51231 cat >conftest.$ac_ext <<_ACEOF
51232 /* confdefs.h. */
51233 _ACEOF
51234 cat confdefs.h >>conftest.$ac_ext
51235 cat >>conftest.$ac_ext <<_ACEOF
51236 /* end confdefs.h. */
51237 #include <langinfo.h>
51238 _ACEOF
51239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51241 ac_status=$?
51242 grep -v '^ *+' conftest.er1 >conftest.err
51243 rm -f conftest.er1
51244 cat conftest.err >&5
51245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51246 (exit $ac_status); } >/dev/null; then
51247 if test -s conftest.err; then
51248 ac_cpp_err=$ac_c_preproc_warn_flag
51249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51250 else
51251 ac_cpp_err=
51253 else
51254 ac_cpp_err=yes
51256 if test -z "$ac_cpp_err"; then
51257 ac_header_preproc=yes
51258 else
51259 echo "$as_me: failed program was:" >&5
51260 sed 's/^/| /' conftest.$ac_ext >&5
51262 ac_header_preproc=no
51264 rm -f conftest.err conftest.$ac_ext
51265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51266 echo "${ECHO_T}$ac_header_preproc" >&6
51268 # So? What about this header?
51269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51270 yes:no: )
51271 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51272 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51273 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51274 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51275 ac_header_preproc=yes
51277 no:yes:* )
51278 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51279 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51280 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51281 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51282 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51283 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51284 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51285 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51286 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51287 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51288 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51289 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51291 cat <<\_ASBOX
51292 ## ----------------------------------------- ##
51293 ## Report this to the package-unused lists. ##
51294 ## ----------------------------------------- ##
51295 _ASBOX
51297 sed "s/^/$as_me: WARNING: /" >&2
51299 esac
51300 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51301 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51302 if test "${ac_cv_header_langinfo_h+set}" = set; then
51303 echo $ECHO_N "(cached) $ECHO_C" >&6
51304 else
51305 ac_cv_header_langinfo_h=$ac_header_preproc
51307 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51308 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51311 if test $ac_cv_header_langinfo_h = yes; then
51312 ac_has_langinfo_h=yes
51313 else
51314 ac_has_langinfo_h=no
51319 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51320 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51321 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51322 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51323 echo $ECHO_N "(cached) $ECHO_C" >&6
51324 else
51325 ac_check_lib_save_LIBS=$LIBS
51326 LIBS="-liconv $LIBS"
51327 if test x$gcc_no_link = xyes; then
51328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51330 { (exit 1); exit 1; }; }
51332 cat >conftest.$ac_ext <<_ACEOF
51333 /* confdefs.h. */
51334 _ACEOF
51335 cat confdefs.h >>conftest.$ac_ext
51336 cat >>conftest.$ac_ext <<_ACEOF
51337 /* end confdefs.h. */
51339 /* Override any gcc2 internal prototype to avoid an error. */
51340 #ifdef __cplusplus
51341 extern "C"
51342 #endif
51343 /* We use char because int might match the return type of a gcc2
51344 builtin and then its argument prototype would still apply. */
51345 char iconv ();
51347 main ()
51349 iconv ();
51351 return 0;
51353 _ACEOF
51354 rm -f conftest.$ac_objext conftest$ac_exeext
51355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51356 (eval $ac_link) 2>conftest.er1
51357 ac_status=$?
51358 grep -v '^ *+' conftest.er1 >conftest.err
51359 rm -f conftest.er1
51360 cat conftest.err >&5
51361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51362 (exit $ac_status); } &&
51363 { ac_try='test -z "$ac_c_werror_flag"
51364 || test ! -s conftest.err'
51365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51366 (eval $ac_try) 2>&5
51367 ac_status=$?
51368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51369 (exit $ac_status); }; } &&
51370 { ac_try='test -s conftest$ac_exeext'
51371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51372 (eval $ac_try) 2>&5
51373 ac_status=$?
51374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51375 (exit $ac_status); }; }; then
51376 ac_cv_lib_iconv_iconv=yes
51377 else
51378 echo "$as_me: failed program was:" >&5
51379 sed 's/^/| /' conftest.$ac_ext >&5
51381 ac_cv_lib_iconv_iconv=no
51383 rm -f conftest.err conftest.$ac_objext \
51384 conftest$ac_exeext conftest.$ac_ext
51385 LIBS=$ac_check_lib_save_LIBS
51387 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51388 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51389 if test $ac_cv_lib_iconv_iconv = yes; then
51390 LIBICONV="-liconv"
51393 ac_save_LIBS="$LIBS"
51394 LIBS="$LIBS $LIBICONV"
51401 for ac_func in iconv_open iconv_close iconv nl_langinfo
51403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51404 echo "$as_me:$LINENO: checking for $ac_func" >&5
51405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51406 if eval "test \"\${$as_ac_var+set}\" = set"; then
51407 echo $ECHO_N "(cached) $ECHO_C" >&6
51408 else
51409 if test x$gcc_no_link = xyes; then
51410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51412 { (exit 1); exit 1; }; }
51414 cat >conftest.$ac_ext <<_ACEOF
51415 /* confdefs.h. */
51416 _ACEOF
51417 cat confdefs.h >>conftest.$ac_ext
51418 cat >>conftest.$ac_ext <<_ACEOF
51419 /* end confdefs.h. */
51420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51422 #define $ac_func innocuous_$ac_func
51424 /* System header to define __stub macros and hopefully few prototypes,
51425 which can conflict with char $ac_func (); below.
51426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51427 <limits.h> exists even on freestanding compilers. */
51429 #ifdef __STDC__
51430 # include <limits.h>
51431 #else
51432 # include <assert.h>
51433 #endif
51435 #undef $ac_func
51437 /* Override any gcc2 internal prototype to avoid an error. */
51438 #ifdef __cplusplus
51439 extern "C"
51441 #endif
51442 /* We use char because int might match the return type of a gcc2
51443 builtin and then its argument prototype would still apply. */
51444 char $ac_func ();
51445 /* The GNU C library defines this for functions which it implements
51446 to always fail with ENOSYS. Some functions are actually named
51447 something starting with __ and the normal name is an alias. */
51448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51449 choke me
51450 #else
51451 char (*f) () = $ac_func;
51452 #endif
51453 #ifdef __cplusplus
51455 #endif
51458 main ()
51460 return f != $ac_func;
51462 return 0;
51464 _ACEOF
51465 rm -f conftest.$ac_objext conftest$ac_exeext
51466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51467 (eval $ac_link) 2>conftest.er1
51468 ac_status=$?
51469 grep -v '^ *+' conftest.er1 >conftest.err
51470 rm -f conftest.er1
51471 cat conftest.err >&5
51472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473 (exit $ac_status); } &&
51474 { ac_try='test -z "$ac_c_werror_flag"
51475 || test ! -s conftest.err'
51476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51477 (eval $ac_try) 2>&5
51478 ac_status=$?
51479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51480 (exit $ac_status); }; } &&
51481 { ac_try='test -s conftest$ac_exeext'
51482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51483 (eval $ac_try) 2>&5
51484 ac_status=$?
51485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51486 (exit $ac_status); }; }; then
51487 eval "$as_ac_var=yes"
51488 else
51489 echo "$as_me: failed program was:" >&5
51490 sed 's/^/| /' conftest.$ac_ext >&5
51492 eval "$as_ac_var=no"
51494 rm -f conftest.err conftest.$ac_objext \
51495 conftest$ac_exeext conftest.$ac_ext
51497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51499 if test `eval echo '${'$as_ac_var'}'` = yes; then
51500 cat >>confdefs.h <<_ACEOF
51501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51502 _ACEOF
51503 ac_XPG2funcs=yes
51504 else
51505 ac_XPG2funcs=no
51507 done
51510 LIBS="$ac_save_LIBS"
51512 if test x"$ac_has_iconv_h" = xyes &&
51513 test x"$ac_has_langinfo_h" = xyes &&
51514 test x"$ac_XPG2funcs" = xyes;
51515 then
51517 cat >>confdefs.h <<\_ACEOF
51518 #define _GLIBCXX_USE_ICONV 1
51519 _ACEOF
51521 enable_iconv=yes
51524 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51525 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51526 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51527 echo "${ECHO_T}$enable_iconv" >&6
51530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51531 ac_save_CXXFLAGS="$CXXFLAGS"
51532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51535 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51536 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51537 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51538 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51539 echo $ECHO_N "(cached) $ECHO_C" >&6
51540 else
51544 ac_ext=cc
51545 ac_cpp='$CXXCPP $CPPFLAGS'
51546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51550 cat >conftest.$ac_ext <<_ACEOF
51551 /* confdefs.h. */
51552 _ACEOF
51553 cat confdefs.h >>conftest.$ac_ext
51554 cat >>conftest.$ac_ext <<_ACEOF
51555 /* end confdefs.h. */
51556 #include <stdlib.h>
51558 main ()
51560 strtold(0, 0);
51562 return 0;
51564 _ACEOF
51565 rm -f conftest.$ac_objext
51566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51567 (eval $ac_compile) 2>conftest.er1
51568 ac_status=$?
51569 grep -v '^ *+' conftest.er1 >conftest.err
51570 rm -f conftest.er1
51571 cat conftest.err >&5
51572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51573 (exit $ac_status); } &&
51574 { ac_try='test -z "$ac_cxx_werror_flag"
51575 || test ! -s conftest.err'
51576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51577 (eval $ac_try) 2>&5
51578 ac_status=$?
51579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51580 (exit $ac_status); }; } &&
51581 { ac_try='test -s conftest.$ac_objext'
51582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51583 (eval $ac_try) 2>&5
51584 ac_status=$?
51585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51586 (exit $ac_status); }; }; then
51587 glibcxx_cv_func_strtold_use=yes
51588 else
51589 echo "$as_me: failed program was:" >&5
51590 sed 's/^/| /' conftest.$ac_ext >&5
51592 glibcxx_cv_func_strtold_use=no
51594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51595 ac_ext=c
51596 ac_cpp='$CPP $CPPFLAGS'
51597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51606 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51607 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51609 for ac_func in strtold
51611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51612 echo "$as_me:$LINENO: checking for $ac_func" >&5
51613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51614 if eval "test \"\${$as_ac_var+set}\" = set"; then
51615 echo $ECHO_N "(cached) $ECHO_C" >&6
51616 else
51617 if test x$gcc_no_link = xyes; then
51618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51620 { (exit 1); exit 1; }; }
51622 cat >conftest.$ac_ext <<_ACEOF
51623 /* confdefs.h. */
51624 _ACEOF
51625 cat confdefs.h >>conftest.$ac_ext
51626 cat >>conftest.$ac_ext <<_ACEOF
51627 /* end confdefs.h. */
51628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51630 #define $ac_func innocuous_$ac_func
51632 /* System header to define __stub macros and hopefully few prototypes,
51633 which can conflict with char $ac_func (); below.
51634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51635 <limits.h> exists even on freestanding compilers. */
51637 #ifdef __STDC__
51638 # include <limits.h>
51639 #else
51640 # include <assert.h>
51641 #endif
51643 #undef $ac_func
51645 /* Override any gcc2 internal prototype to avoid an error. */
51646 #ifdef __cplusplus
51647 extern "C"
51649 #endif
51650 /* We use char because int might match the return type of a gcc2
51651 builtin and then its argument prototype would still apply. */
51652 char $ac_func ();
51653 /* The GNU C library defines this for functions which it implements
51654 to always fail with ENOSYS. Some functions are actually named
51655 something starting with __ and the normal name is an alias. */
51656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51657 choke me
51658 #else
51659 char (*f) () = $ac_func;
51660 #endif
51661 #ifdef __cplusplus
51663 #endif
51666 main ()
51668 return f != $ac_func;
51670 return 0;
51672 _ACEOF
51673 rm -f conftest.$ac_objext conftest$ac_exeext
51674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51675 (eval $ac_link) 2>conftest.er1
51676 ac_status=$?
51677 grep -v '^ *+' conftest.er1 >conftest.err
51678 rm -f conftest.er1
51679 cat conftest.err >&5
51680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51681 (exit $ac_status); } &&
51682 { ac_try='test -z "$ac_c_werror_flag"
51683 || test ! -s conftest.err'
51684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51685 (eval $ac_try) 2>&5
51686 ac_status=$?
51687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51688 (exit $ac_status); }; } &&
51689 { ac_try='test -s conftest$ac_exeext'
51690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51691 (eval $ac_try) 2>&5
51692 ac_status=$?
51693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51694 (exit $ac_status); }; }; then
51695 eval "$as_ac_var=yes"
51696 else
51697 echo "$as_me: failed program was:" >&5
51698 sed 's/^/| /' conftest.$ac_ext >&5
51700 eval "$as_ac_var=no"
51702 rm -f conftest.err conftest.$ac_objext \
51703 conftest$ac_exeext conftest.$ac_ext
51705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51707 if test `eval echo '${'$as_ac_var'}'` = yes; then
51708 cat >>confdefs.h <<_ACEOF
51709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51710 _ACEOF
51713 done
51721 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51722 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51723 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51724 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51725 echo $ECHO_N "(cached) $ECHO_C" >&6
51726 else
51730 ac_ext=cc
51731 ac_cpp='$CXXCPP $CPPFLAGS'
51732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51736 cat >conftest.$ac_ext <<_ACEOF
51737 /* confdefs.h. */
51738 _ACEOF
51739 cat confdefs.h >>conftest.$ac_ext
51740 cat >>conftest.$ac_ext <<_ACEOF
51741 /* end confdefs.h. */
51742 #include <stdlib.h>
51744 main ()
51746 strtof(0, 0);
51748 return 0;
51750 _ACEOF
51751 rm -f conftest.$ac_objext
51752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51753 (eval $ac_compile) 2>conftest.er1
51754 ac_status=$?
51755 grep -v '^ *+' conftest.er1 >conftest.err
51756 rm -f conftest.er1
51757 cat conftest.err >&5
51758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51759 (exit $ac_status); } &&
51760 { ac_try='test -z "$ac_cxx_werror_flag"
51761 || test ! -s conftest.err'
51762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51763 (eval $ac_try) 2>&5
51764 ac_status=$?
51765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51766 (exit $ac_status); }; } &&
51767 { ac_try='test -s conftest.$ac_objext'
51768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51769 (eval $ac_try) 2>&5
51770 ac_status=$?
51771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51772 (exit $ac_status); }; }; then
51773 glibcxx_cv_func_strtof_use=yes
51774 else
51775 echo "$as_me: failed program was:" >&5
51776 sed 's/^/| /' conftest.$ac_ext >&5
51778 glibcxx_cv_func_strtof_use=no
51780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51781 ac_ext=c
51782 ac_cpp='$CPP $CPPFLAGS'
51783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51792 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51793 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51795 for ac_func in strtof
51797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51798 echo "$as_me:$LINENO: checking for $ac_func" >&5
51799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51800 if eval "test \"\${$as_ac_var+set}\" = set"; then
51801 echo $ECHO_N "(cached) $ECHO_C" >&6
51802 else
51803 if test x$gcc_no_link = xyes; then
51804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51806 { (exit 1); exit 1; }; }
51808 cat >conftest.$ac_ext <<_ACEOF
51809 /* confdefs.h. */
51810 _ACEOF
51811 cat confdefs.h >>conftest.$ac_ext
51812 cat >>conftest.$ac_ext <<_ACEOF
51813 /* end confdefs.h. */
51814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51816 #define $ac_func innocuous_$ac_func
51818 /* System header to define __stub macros and hopefully few prototypes,
51819 which can conflict with char $ac_func (); below.
51820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51821 <limits.h> exists even on freestanding compilers. */
51823 #ifdef __STDC__
51824 # include <limits.h>
51825 #else
51826 # include <assert.h>
51827 #endif
51829 #undef $ac_func
51831 /* Override any gcc2 internal prototype to avoid an error. */
51832 #ifdef __cplusplus
51833 extern "C"
51835 #endif
51836 /* We use char because int might match the return type of a gcc2
51837 builtin and then its argument prototype would still apply. */
51838 char $ac_func ();
51839 /* The GNU C library defines this for functions which it implements
51840 to always fail with ENOSYS. Some functions are actually named
51841 something starting with __ and the normal name is an alias. */
51842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51843 choke me
51844 #else
51845 char (*f) () = $ac_func;
51846 #endif
51847 #ifdef __cplusplus
51849 #endif
51852 main ()
51854 return f != $ac_func;
51856 return 0;
51858 _ACEOF
51859 rm -f conftest.$ac_objext conftest$ac_exeext
51860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51861 (eval $ac_link) 2>conftest.er1
51862 ac_status=$?
51863 grep -v '^ *+' conftest.er1 >conftest.err
51864 rm -f conftest.er1
51865 cat conftest.err >&5
51866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51867 (exit $ac_status); } &&
51868 { ac_try='test -z "$ac_c_werror_flag"
51869 || test ! -s conftest.err'
51870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51871 (eval $ac_try) 2>&5
51872 ac_status=$?
51873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51874 (exit $ac_status); }; } &&
51875 { ac_try='test -s conftest$ac_exeext'
51876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51877 (eval $ac_try) 2>&5
51878 ac_status=$?
51879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51880 (exit $ac_status); }; }; then
51881 eval "$as_ac_var=yes"
51882 else
51883 echo "$as_me: failed program was:" >&5
51884 sed 's/^/| /' conftest.$ac_ext >&5
51886 eval "$as_ac_var=no"
51888 rm -f conftest.err conftest.$ac_objext \
51889 conftest$ac_exeext conftest.$ac_ext
51891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51893 if test `eval echo '${'$as_ac_var'}'` = yes; then
51894 cat >>confdefs.h <<_ACEOF
51895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51896 _ACEOF
51899 done
51907 CXXFLAGS="$ac_save_CXXFLAGS"
51910 # For showmanyc_helper().
51913 for ac_header in sys/ioctl.h sys/filio.h
51915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51917 echo "$as_me:$LINENO: checking for $ac_header" >&5
51918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51920 echo $ECHO_N "(cached) $ECHO_C" >&6
51922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51924 else
51925 # Is the header compilable?
51926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51928 cat >conftest.$ac_ext <<_ACEOF
51929 /* confdefs.h. */
51930 _ACEOF
51931 cat confdefs.h >>conftest.$ac_ext
51932 cat >>conftest.$ac_ext <<_ACEOF
51933 /* end confdefs.h. */
51934 $ac_includes_default
51935 #include <$ac_header>
51936 _ACEOF
51937 rm -f conftest.$ac_objext
51938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51939 (eval $ac_compile) 2>conftest.er1
51940 ac_status=$?
51941 grep -v '^ *+' conftest.er1 >conftest.err
51942 rm -f conftest.er1
51943 cat conftest.err >&5
51944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51945 (exit $ac_status); } &&
51946 { ac_try='test -z "$ac_c_werror_flag"
51947 || test ! -s conftest.err'
51948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51949 (eval $ac_try) 2>&5
51950 ac_status=$?
51951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51952 (exit $ac_status); }; } &&
51953 { ac_try='test -s conftest.$ac_objext'
51954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51955 (eval $ac_try) 2>&5
51956 ac_status=$?
51957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51958 (exit $ac_status); }; }; then
51959 ac_header_compiler=yes
51960 else
51961 echo "$as_me: failed program was:" >&5
51962 sed 's/^/| /' conftest.$ac_ext >&5
51964 ac_header_compiler=no
51966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51968 echo "${ECHO_T}$ac_header_compiler" >&6
51970 # Is the header present?
51971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51973 cat >conftest.$ac_ext <<_ACEOF
51974 /* confdefs.h. */
51975 _ACEOF
51976 cat confdefs.h >>conftest.$ac_ext
51977 cat >>conftest.$ac_ext <<_ACEOF
51978 /* end confdefs.h. */
51979 #include <$ac_header>
51980 _ACEOF
51981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51983 ac_status=$?
51984 grep -v '^ *+' conftest.er1 >conftest.err
51985 rm -f conftest.er1
51986 cat conftest.err >&5
51987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51988 (exit $ac_status); } >/dev/null; then
51989 if test -s conftest.err; then
51990 ac_cpp_err=$ac_c_preproc_warn_flag
51991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51992 else
51993 ac_cpp_err=
51995 else
51996 ac_cpp_err=yes
51998 if test -z "$ac_cpp_err"; then
51999 ac_header_preproc=yes
52000 else
52001 echo "$as_me: failed program was:" >&5
52002 sed 's/^/| /' conftest.$ac_ext >&5
52004 ac_header_preproc=no
52006 rm -f conftest.err conftest.$ac_ext
52007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52008 echo "${ECHO_T}$ac_header_preproc" >&6
52010 # So? What about this header?
52011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52012 yes:no: )
52013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52017 ac_header_preproc=yes
52019 no:yes:* )
52020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52033 cat <<\_ASBOX
52034 ## ----------------------------------------- ##
52035 ## Report this to the package-unused lists. ##
52036 ## ----------------------------------------- ##
52037 _ASBOX
52039 sed "s/^/$as_me: WARNING: /" >&2
52041 esac
52042 echo "$as_me:$LINENO: checking for $ac_header" >&5
52043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52045 echo $ECHO_N "(cached) $ECHO_C" >&6
52046 else
52047 eval "$as_ac_Header=\$ac_header_preproc"
52049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52054 cat >>confdefs.h <<_ACEOF
52055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52056 _ACEOF
52060 done
52063 if test "${glibcxx_cv_POLL+set}" = set; then
52064 echo $ECHO_N "(cached) $ECHO_C" >&6
52065 else
52067 if test x$gcc_no_link = xyes; then
52068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52070 { (exit 1); exit 1; }; }
52072 cat >conftest.$ac_ext <<_ACEOF
52073 /* confdefs.h. */
52074 _ACEOF
52075 cat confdefs.h >>conftest.$ac_ext
52076 cat >>conftest.$ac_ext <<_ACEOF
52077 /* end confdefs.h. */
52078 #include <poll.h>
52080 main ()
52082 struct pollfd pfd[1];
52083 pfd[0].events = POLLIN;
52084 poll(pfd, 1, 0);
52086 return 0;
52088 _ACEOF
52089 rm -f conftest.$ac_objext conftest$ac_exeext
52090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52091 (eval $ac_link) 2>conftest.er1
52092 ac_status=$?
52093 grep -v '^ *+' conftest.er1 >conftest.err
52094 rm -f conftest.er1
52095 cat conftest.err >&5
52096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52097 (exit $ac_status); } &&
52098 { ac_try='test -z "$ac_c_werror_flag"
52099 || test ! -s conftest.err'
52100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52101 (eval $ac_try) 2>&5
52102 ac_status=$?
52103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52104 (exit $ac_status); }; } &&
52105 { ac_try='test -s conftest$ac_exeext'
52106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52107 (eval $ac_try) 2>&5
52108 ac_status=$?
52109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52110 (exit $ac_status); }; }; then
52111 glibcxx_cv_POLL=yes
52112 else
52113 echo "$as_me: failed program was:" >&5
52114 sed 's/^/| /' conftest.$ac_ext >&5
52116 glibcxx_cv_POLL=no
52118 rm -f conftest.err conftest.$ac_objext \
52119 conftest$ac_exeext conftest.$ac_ext
52123 if test $glibcxx_cv_POLL = yes; then
52125 cat >>confdefs.h <<\_ACEOF
52126 #define HAVE_POLL 1
52127 _ACEOF
52132 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52133 echo $ECHO_N "(cached) $ECHO_C" >&6
52134 else
52136 if test x$gcc_no_link = xyes; then
52137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52139 { (exit 1); exit 1; }; }
52141 cat >conftest.$ac_ext <<_ACEOF
52142 /* confdefs.h. */
52143 _ACEOF
52144 cat confdefs.h >>conftest.$ac_ext
52145 cat >>conftest.$ac_ext <<_ACEOF
52146 /* end confdefs.h. */
52147 #include <sys/stat.h>
52149 main ()
52151 struct stat buffer;
52152 fstat(0, &buffer);
52153 S_ISREG(buffer.st_mode);
52155 return 0;
52157 _ACEOF
52158 rm -f conftest.$ac_objext conftest$ac_exeext
52159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52160 (eval $ac_link) 2>conftest.er1
52161 ac_status=$?
52162 grep -v '^ *+' conftest.er1 >conftest.err
52163 rm -f conftest.er1
52164 cat conftest.err >&5
52165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52166 (exit $ac_status); } &&
52167 { ac_try='test -z "$ac_c_werror_flag"
52168 || test ! -s conftest.err'
52169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52170 (eval $ac_try) 2>&5
52171 ac_status=$?
52172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52173 (exit $ac_status); }; } &&
52174 { ac_try='test -s conftest$ac_exeext'
52175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52176 (eval $ac_try) 2>&5
52177 ac_status=$?
52178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52179 (exit $ac_status); }; }; then
52180 glibcxx_cv_S_ISREG=yes
52181 else
52182 echo "$as_me: failed program was:" >&5
52183 sed 's/^/| /' conftest.$ac_ext >&5
52185 glibcxx_cv_S_ISREG=no
52187 rm -f conftest.err conftest.$ac_objext \
52188 conftest$ac_exeext conftest.$ac_ext
52192 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52193 echo $ECHO_N "(cached) $ECHO_C" >&6
52194 else
52196 if test x$gcc_no_link = xyes; then
52197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52199 { (exit 1); exit 1; }; }
52201 cat >conftest.$ac_ext <<_ACEOF
52202 /* confdefs.h. */
52203 _ACEOF
52204 cat confdefs.h >>conftest.$ac_ext
52205 cat >>conftest.$ac_ext <<_ACEOF
52206 /* end confdefs.h. */
52207 #include <sys/stat.h>
52209 main ()
52211 struct stat buffer;
52212 fstat(0, &buffer);
52213 S_IFREG & buffer.st_mode;
52215 return 0;
52217 _ACEOF
52218 rm -f conftest.$ac_objext conftest$ac_exeext
52219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52220 (eval $ac_link) 2>conftest.er1
52221 ac_status=$?
52222 grep -v '^ *+' conftest.er1 >conftest.err
52223 rm -f conftest.er1
52224 cat conftest.err >&5
52225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52226 (exit $ac_status); } &&
52227 { ac_try='test -z "$ac_c_werror_flag"
52228 || test ! -s conftest.err'
52229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52230 (eval $ac_try) 2>&5
52231 ac_status=$?
52232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52233 (exit $ac_status); }; } &&
52234 { ac_try='test -s conftest$ac_exeext'
52235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52236 (eval $ac_try) 2>&5
52237 ac_status=$?
52238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52239 (exit $ac_status); }; }; then
52240 glibcxx_cv_S_IFREG=yes
52241 else
52242 echo "$as_me: failed program was:" >&5
52243 sed 's/^/| /' conftest.$ac_ext >&5
52245 glibcxx_cv_S_IFREG=no
52247 rm -f conftest.err conftest.$ac_objext \
52248 conftest$ac_exeext conftest.$ac_ext
52252 if test $glibcxx_cv_S_ISREG = yes; then
52254 cat >>confdefs.h <<\_ACEOF
52255 #define HAVE_S_ISREG 1
52256 _ACEOF
52258 elif test $glibcxx_cv_S_IFREG = yes; then
52260 cat >>confdefs.h <<\_ACEOF
52261 #define HAVE_S_IFREG 1
52262 _ACEOF
52267 # For xsputn_2().
52269 for ac_header in sys/uio.h
52271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52273 echo "$as_me:$LINENO: checking for $ac_header" >&5
52274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52276 echo $ECHO_N "(cached) $ECHO_C" >&6
52278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52280 else
52281 # Is the header compilable?
52282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52284 cat >conftest.$ac_ext <<_ACEOF
52285 /* confdefs.h. */
52286 _ACEOF
52287 cat confdefs.h >>conftest.$ac_ext
52288 cat >>conftest.$ac_ext <<_ACEOF
52289 /* end confdefs.h. */
52290 $ac_includes_default
52291 #include <$ac_header>
52292 _ACEOF
52293 rm -f conftest.$ac_objext
52294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52295 (eval $ac_compile) 2>conftest.er1
52296 ac_status=$?
52297 grep -v '^ *+' conftest.er1 >conftest.err
52298 rm -f conftest.er1
52299 cat conftest.err >&5
52300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52301 (exit $ac_status); } &&
52302 { ac_try='test -z "$ac_c_werror_flag"
52303 || test ! -s conftest.err'
52304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52305 (eval $ac_try) 2>&5
52306 ac_status=$?
52307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52308 (exit $ac_status); }; } &&
52309 { ac_try='test -s conftest.$ac_objext'
52310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52311 (eval $ac_try) 2>&5
52312 ac_status=$?
52313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52314 (exit $ac_status); }; }; then
52315 ac_header_compiler=yes
52316 else
52317 echo "$as_me: failed program was:" >&5
52318 sed 's/^/| /' conftest.$ac_ext >&5
52320 ac_header_compiler=no
52322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52324 echo "${ECHO_T}$ac_header_compiler" >&6
52326 # Is the header present?
52327 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52328 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52329 cat >conftest.$ac_ext <<_ACEOF
52330 /* confdefs.h. */
52331 _ACEOF
52332 cat confdefs.h >>conftest.$ac_ext
52333 cat >>conftest.$ac_ext <<_ACEOF
52334 /* end confdefs.h. */
52335 #include <$ac_header>
52336 _ACEOF
52337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52339 ac_status=$?
52340 grep -v '^ *+' conftest.er1 >conftest.err
52341 rm -f conftest.er1
52342 cat conftest.err >&5
52343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52344 (exit $ac_status); } >/dev/null; then
52345 if test -s conftest.err; then
52346 ac_cpp_err=$ac_c_preproc_warn_flag
52347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52348 else
52349 ac_cpp_err=
52351 else
52352 ac_cpp_err=yes
52354 if test -z "$ac_cpp_err"; then
52355 ac_header_preproc=yes
52356 else
52357 echo "$as_me: failed program was:" >&5
52358 sed 's/^/| /' conftest.$ac_ext >&5
52360 ac_header_preproc=no
52362 rm -f conftest.err conftest.$ac_ext
52363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52364 echo "${ECHO_T}$ac_header_preproc" >&6
52366 # So? What about this header?
52367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52368 yes:no: )
52369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52373 ac_header_preproc=yes
52375 no:yes:* )
52376 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52378 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52379 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52380 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52382 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52383 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52386 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52389 cat <<\_ASBOX
52390 ## ----------------------------------------- ##
52391 ## Report this to the package-unused lists. ##
52392 ## ----------------------------------------- ##
52393 _ASBOX
52395 sed "s/^/$as_me: WARNING: /" >&2
52397 esac
52398 echo "$as_me:$LINENO: checking for $ac_header" >&5
52399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52401 echo $ECHO_N "(cached) $ECHO_C" >&6
52402 else
52403 eval "$as_ac_Header=\$ac_header_preproc"
52405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52410 cat >>confdefs.h <<_ACEOF
52411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52412 _ACEOF
52416 done
52419 if test "${glibcxx_cv_WRITEV+set}" = set; then
52420 echo $ECHO_N "(cached) $ECHO_C" >&6
52421 else
52423 if test x$gcc_no_link = xyes; then
52424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52426 { (exit 1); exit 1; }; }
52428 cat >conftest.$ac_ext <<_ACEOF
52429 /* confdefs.h. */
52430 _ACEOF
52431 cat confdefs.h >>conftest.$ac_ext
52432 cat >>conftest.$ac_ext <<_ACEOF
52433 /* end confdefs.h. */
52434 #include <sys/uio.h>
52436 main ()
52438 struct iovec iov[2];
52439 writev(0, iov, 0);
52441 return 0;
52443 _ACEOF
52444 rm -f conftest.$ac_objext conftest$ac_exeext
52445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52446 (eval $ac_link) 2>conftest.er1
52447 ac_status=$?
52448 grep -v '^ *+' conftest.er1 >conftest.err
52449 rm -f conftest.er1
52450 cat conftest.err >&5
52451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52452 (exit $ac_status); } &&
52453 { ac_try='test -z "$ac_c_werror_flag"
52454 || test ! -s conftest.err'
52455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52456 (eval $ac_try) 2>&5
52457 ac_status=$?
52458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52459 (exit $ac_status); }; } &&
52460 { ac_try='test -s conftest$ac_exeext'
52461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52462 (eval $ac_try) 2>&5
52463 ac_status=$?
52464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52465 (exit $ac_status); }; }; then
52466 glibcxx_cv_WRITEV=yes
52467 else
52468 echo "$as_me: failed program was:" >&5
52469 sed 's/^/| /' conftest.$ac_ext >&5
52471 glibcxx_cv_WRITEV=no
52473 rm -f conftest.err conftest.$ac_objext \
52474 conftest$ac_exeext conftest.$ac_ext
52478 if test $glibcxx_cv_WRITEV = yes; then
52480 cat >>confdefs.h <<\_ACEOF
52481 #define HAVE_WRITEV 1
52482 _ACEOF
52487 cat >>confdefs.h <<\_ACEOF
52488 #define HAVE_LC_MESSAGES 1
52489 _ACEOF
52492 cat >conftest.$ac_ext <<_ACEOF
52493 /* confdefs.h. */
52494 _ACEOF
52495 cat confdefs.h >>conftest.$ac_ext
52496 cat >>conftest.$ac_ext <<_ACEOF
52497 /* end confdefs.h. */
52498 #include <setjmp.h>
52500 main ()
52502 sigjmp_buf env;
52503 while (! sigsetjmp (env, 1))
52504 siglongjmp (env, 1);
52507 return 0;
52509 _ACEOF
52510 rm -f conftest.$ac_objext
52511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52512 (eval $ac_compile) 2>conftest.er1
52513 ac_status=$?
52514 grep -v '^ *+' conftest.er1 >conftest.err
52515 rm -f conftest.er1
52516 cat conftest.err >&5
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); } &&
52519 { ac_try='test -z "$ac_c_werror_flag"
52520 || test ! -s conftest.err'
52521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52522 (eval $ac_try) 2>&5
52523 ac_status=$?
52524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52525 (exit $ac_status); }; } &&
52526 { ac_try='test -s conftest.$ac_objext'
52527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52528 (eval $ac_try) 2>&5
52529 ac_status=$?
52530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52531 (exit $ac_status); }; }; then
52533 cat >>confdefs.h <<\_ACEOF
52534 #define HAVE_SIGSETJMP 1
52535 _ACEOF
52537 else
52538 echo "$as_me: failed program was:" >&5
52539 sed 's/^/| /' conftest.$ac_ext >&5
52542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52544 cat >>confdefs.h <<\_ACEOF
52545 #define HAVE_MMAP 1
52546 _ACEOF
52550 *djgpp)
52571 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52572 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52573 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52574 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52578 echo "$as_me:$LINENO: checking for $ac_header" >&5
52579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52581 echo $ECHO_N "(cached) $ECHO_C" >&6
52583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52585 else
52586 # Is the header compilable?
52587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52589 cat >conftest.$ac_ext <<_ACEOF
52590 /* confdefs.h. */
52591 _ACEOF
52592 cat confdefs.h >>conftest.$ac_ext
52593 cat >>conftest.$ac_ext <<_ACEOF
52594 /* end confdefs.h. */
52595 $ac_includes_default
52596 #include <$ac_header>
52597 _ACEOF
52598 rm -f conftest.$ac_objext
52599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52600 (eval $ac_compile) 2>conftest.er1
52601 ac_status=$?
52602 grep -v '^ *+' conftest.er1 >conftest.err
52603 rm -f conftest.er1
52604 cat conftest.err >&5
52605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606 (exit $ac_status); } &&
52607 { ac_try='test -z "$ac_c_werror_flag"
52608 || test ! -s conftest.err'
52609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52610 (eval $ac_try) 2>&5
52611 ac_status=$?
52612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52613 (exit $ac_status); }; } &&
52614 { ac_try='test -s conftest.$ac_objext'
52615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52616 (eval $ac_try) 2>&5
52617 ac_status=$?
52618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52619 (exit $ac_status); }; }; then
52620 ac_header_compiler=yes
52621 else
52622 echo "$as_me: failed program was:" >&5
52623 sed 's/^/| /' conftest.$ac_ext >&5
52625 ac_header_compiler=no
52627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52629 echo "${ECHO_T}$ac_header_compiler" >&6
52631 # Is the header present?
52632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52634 cat >conftest.$ac_ext <<_ACEOF
52635 /* confdefs.h. */
52636 _ACEOF
52637 cat confdefs.h >>conftest.$ac_ext
52638 cat >>conftest.$ac_ext <<_ACEOF
52639 /* end confdefs.h. */
52640 #include <$ac_header>
52641 _ACEOF
52642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52644 ac_status=$?
52645 grep -v '^ *+' conftest.er1 >conftest.err
52646 rm -f conftest.er1
52647 cat conftest.err >&5
52648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649 (exit $ac_status); } >/dev/null; then
52650 if test -s conftest.err; then
52651 ac_cpp_err=$ac_c_preproc_warn_flag
52652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52653 else
52654 ac_cpp_err=
52656 else
52657 ac_cpp_err=yes
52659 if test -z "$ac_cpp_err"; then
52660 ac_header_preproc=yes
52661 else
52662 echo "$as_me: failed program was:" >&5
52663 sed 's/^/| /' conftest.$ac_ext >&5
52665 ac_header_preproc=no
52667 rm -f conftest.err conftest.$ac_ext
52668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52669 echo "${ECHO_T}$ac_header_preproc" >&6
52671 # So? What about this header?
52672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52673 yes:no: )
52674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52678 ac_header_preproc=yes
52680 no:yes:* )
52681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52694 cat <<\_ASBOX
52695 ## ----------------------------------------- ##
52696 ## Report this to the package-unused lists. ##
52697 ## ----------------------------------------- ##
52698 _ASBOX
52700 sed "s/^/$as_me: WARNING: /" >&2
52702 esac
52703 echo "$as_me:$LINENO: checking for $ac_header" >&5
52704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52706 echo $ECHO_N "(cached) $ECHO_C" >&6
52707 else
52708 eval "$as_ac_Header=\$ac_header_preproc"
52710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52715 cat >>confdefs.h <<_ACEOF
52716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52717 _ACEOF
52721 done
52724 # All these tests are for C++; save the language and the compiler flags.
52725 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52726 # found in GLIBCXX_CONFIGURE.
52729 ac_ext=cc
52730 ac_cpp='$CXXCPP $CPPFLAGS'
52731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52736 ac_save_CXXFLAGS="$CXXFLAGS"
52738 # Check for maintainer-mode bits.
52739 if test x"$USE_MAINTAINER_MODE" = xno; then
52740 WERROR=''
52741 else
52742 WERROR='-Werror'
52745 # Check for -ffunction-sections -fdata-sections
52746 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52747 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52748 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52749 cat >conftest.$ac_ext <<_ACEOF
52750 /* confdefs.h. */
52751 _ACEOF
52752 cat confdefs.h >>conftest.$ac_ext
52753 cat >>conftest.$ac_ext <<_ACEOF
52754 /* end confdefs.h. */
52757 main ()
52759 int foo;
52761 return 0;
52763 _ACEOF
52764 rm -f conftest.$ac_objext
52765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52766 (eval $ac_compile) 2>conftest.er1
52767 ac_status=$?
52768 grep -v '^ *+' conftest.er1 >conftest.err
52769 rm -f conftest.er1
52770 cat conftest.err >&5
52771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52772 (exit $ac_status); } &&
52773 { ac_try='test -z "$ac_cxx_werror_flag"
52774 || test ! -s conftest.err'
52775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52776 (eval $ac_try) 2>&5
52777 ac_status=$?
52778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52779 (exit $ac_status); }; } &&
52780 { ac_try='test -s conftest.$ac_objext'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52783 ac_status=$?
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; }; then
52786 ac_fdsections=yes
52787 else
52788 echo "$as_me: failed program was:" >&5
52789 sed 's/^/| /' conftest.$ac_ext >&5
52791 ac_fdsections=no
52793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52794 if test "$ac_test_CXXFLAGS" = set; then
52795 CXXFLAGS="$ac_save_CXXFLAGS"
52796 else
52797 # this is the suspicious part
52798 CXXFLAGS=''
52800 if test x"$ac_fdsections" = x"yes"; then
52801 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52803 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52804 echo "${ECHO_T}$ac_fdsections" >&6
52806 ac_ext=c
52807 ac_cpp='$CPP $CPPFLAGS'
52808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52816 # If we're not using GNU ld, then there's no point in even trying these
52817 # tests. Check for that first. We should have already tested for gld
52818 # by now (in libtool), but require it now just to be safe...
52819 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52820 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52824 # The name set by libtool depends on the version of libtool. Shame on us
52825 # for depending on an impl detail, but c'est la vie. Older versions used
52826 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52827 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52828 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52829 # set (hence we're using an older libtool), then set it.
52830 if test x${with_gnu_ld+set} != xset; then
52831 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52832 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52833 with_gnu_ld=no
52834 else
52835 with_gnu_ld=$ac_cv_prog_gnu_ld
52839 # Start by getting the version number. I think the libtool test already
52840 # does some of this, but throws away the result.
52842 ldver=`$LD --version 2>/dev/null | head -1 | \
52843 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52845 glibcxx_gnu_ld_version=`echo $ldver | \
52846 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52848 # Set --gc-sections.
52849 if test "$with_gnu_ld" = "notbroken"; then
52850 # GNU ld it is! Joy and bunny rabbits!
52852 # All these tests are for C++; save the language and the compiler flags.
52853 # Need to do this so that g++ won't try to link in libstdc++
52854 ac_test_CFLAGS="${CFLAGS+set}"
52855 ac_save_CFLAGS="$CFLAGS"
52856 CFLAGS='-x c++ -Wl,--gc-sections'
52858 # Check for -Wl,--gc-sections
52859 # XXX This test is broken at the moment, as symbols required for linking
52860 # are now in libsupc++ (not built yet). In addition, this test has
52861 # cored on solaris in the past. In addition, --gc-sections doesn't
52862 # really work at the moment (keeps on discarding used sections, first
52863 # .eh_frame and now some of the glibc sections for iconv).
52864 # Bzzzzt. Thanks for playing, maybe next time.
52865 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52866 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52867 if test "$cross_compiling" = yes; then
52868 ac_sectionLDflags=yes
52869 else
52870 cat >conftest.$ac_ext <<_ACEOF
52871 /* confdefs.h. */
52872 _ACEOF
52873 cat confdefs.h >>conftest.$ac_ext
52874 cat >>conftest.$ac_ext <<_ACEOF
52875 /* end confdefs.h. */
52877 int main(void)
52879 try { throw 1; }
52880 catch (...) { };
52881 return 0;
52884 _ACEOF
52885 rm -f conftest$ac_exeext
52886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52887 (eval $ac_link) 2>&5
52888 ac_status=$?
52889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 ac_sectionLDflags=yes
52897 else
52898 echo "$as_me: program exited with status $ac_status" >&5
52899 echo "$as_me: failed program was:" >&5
52900 sed 's/^/| /' conftest.$ac_ext >&5
52902 ( exit $ac_status )
52903 ac_sectionLDflags=no
52905 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52907 if test "$ac_test_CFLAGS" = set; then
52908 CFLAGS="$ac_save_CFLAGS"
52909 else
52910 # this is the suspicious part
52911 CFLAGS=''
52913 if test "$ac_sectionLDflags" = "yes"; then
52914 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52916 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52917 echo "${ECHO_T}$ac_sectionLDflags" >&6
52920 # Set linker optimization flags.
52921 if test x"$with_gnu_ld" = x"yes"; then
52922 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52929 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52930 ac_save_CXXFLAGS="$CXXFLAGS"
52931 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52933 echo "$as_me:$LINENO: checking for sin in -lm" >&5
52934 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52935 if test "${ac_cv_lib_m_sin+set}" = set; then
52936 echo $ECHO_N "(cached) $ECHO_C" >&6
52937 else
52938 ac_check_lib_save_LIBS=$LIBS
52939 LIBS="-lm $LIBS"
52940 if test x$gcc_no_link = xyes; then
52941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52943 { (exit 1); exit 1; }; }
52945 cat >conftest.$ac_ext <<_ACEOF
52946 /* confdefs.h. */
52947 _ACEOF
52948 cat confdefs.h >>conftest.$ac_ext
52949 cat >>conftest.$ac_ext <<_ACEOF
52950 /* end confdefs.h. */
52952 /* Override any gcc2 internal prototype to avoid an error. */
52953 #ifdef __cplusplus
52954 extern "C"
52955 #endif
52956 /* We use char because int might match the return type of a gcc2
52957 builtin and then its argument prototype would still apply. */
52958 char sin ();
52960 main ()
52962 sin ();
52964 return 0;
52966 _ACEOF
52967 rm -f conftest.$ac_objext conftest$ac_exeext
52968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52969 (eval $ac_link) 2>conftest.er1
52970 ac_status=$?
52971 grep -v '^ *+' conftest.er1 >conftest.err
52972 rm -f conftest.er1
52973 cat conftest.err >&5
52974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52975 (exit $ac_status); } &&
52976 { ac_try='test -z "$ac_c_werror_flag"
52977 || test ! -s conftest.err'
52978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52979 (eval $ac_try) 2>&5
52980 ac_status=$?
52981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52982 (exit $ac_status); }; } &&
52983 { ac_try='test -s conftest$ac_exeext'
52984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52985 (eval $ac_try) 2>&5
52986 ac_status=$?
52987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52988 (exit $ac_status); }; }; then
52989 ac_cv_lib_m_sin=yes
52990 else
52991 echo "$as_me: failed program was:" >&5
52992 sed 's/^/| /' conftest.$ac_ext >&5
52994 ac_cv_lib_m_sin=no
52996 rm -f conftest.err conftest.$ac_objext \
52997 conftest$ac_exeext conftest.$ac_ext
52998 LIBS=$ac_check_lib_save_LIBS
53000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53001 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53002 if test $ac_cv_lib_m_sin = yes; then
53003 libm="-lm"
53006 ac_save_LIBS="$LIBS"
53007 LIBS="$LIBS $libm"
53011 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53012 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53013 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53014 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53015 echo $ECHO_N "(cached) $ECHO_C" >&6
53016 else
53020 ac_ext=cc
53021 ac_cpp='$CXXCPP $CPPFLAGS'
53022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53026 cat >conftest.$ac_ext <<_ACEOF
53027 /* confdefs.h. */
53028 _ACEOF
53029 cat confdefs.h >>conftest.$ac_ext
53030 cat >>conftest.$ac_ext <<_ACEOF
53031 /* end confdefs.h. */
53032 #include <math.h>
53033 #ifdef HAVE_IEEEFP_H
53034 #include <ieeefp.h>
53035 #endif
53038 main ()
53040 isinf(0);
53042 return 0;
53044 _ACEOF
53045 rm -f conftest.$ac_objext
53046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53047 (eval $ac_compile) 2>conftest.er1
53048 ac_status=$?
53049 grep -v '^ *+' conftest.er1 >conftest.err
53050 rm -f conftest.er1
53051 cat conftest.err >&5
53052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53053 (exit $ac_status); } &&
53054 { ac_try='test -z "$ac_cxx_werror_flag"
53055 || test ! -s conftest.err'
53056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53057 (eval $ac_try) 2>&5
53058 ac_status=$?
53059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53060 (exit $ac_status); }; } &&
53061 { ac_try='test -s conftest.$ac_objext'
53062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53063 (eval $ac_try) 2>&5
53064 ac_status=$?
53065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53066 (exit $ac_status); }; }; then
53067 glibcxx_cv_func_isinf_use=yes
53068 else
53069 echo "$as_me: failed program was:" >&5
53070 sed 's/^/| /' conftest.$ac_ext >&5
53072 glibcxx_cv_func_isinf_use=no
53074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53075 ac_ext=c
53076 ac_cpp='$CPP $CPPFLAGS'
53077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53086 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53088 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53090 for ac_func in isinf
53092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53093 echo "$as_me:$LINENO: checking for $ac_func" >&5
53094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53095 if eval "test \"\${$as_ac_var+set}\" = set"; then
53096 echo $ECHO_N "(cached) $ECHO_C" >&6
53097 else
53098 if test x$gcc_no_link = xyes; then
53099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53101 { (exit 1); exit 1; }; }
53103 cat >conftest.$ac_ext <<_ACEOF
53104 /* confdefs.h. */
53105 _ACEOF
53106 cat confdefs.h >>conftest.$ac_ext
53107 cat >>conftest.$ac_ext <<_ACEOF
53108 /* end confdefs.h. */
53109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53111 #define $ac_func innocuous_$ac_func
53113 /* System header to define __stub macros and hopefully few prototypes,
53114 which can conflict with char $ac_func (); below.
53115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53116 <limits.h> exists even on freestanding compilers. */
53118 #ifdef __STDC__
53119 # include <limits.h>
53120 #else
53121 # include <assert.h>
53122 #endif
53124 #undef $ac_func
53126 /* Override any gcc2 internal prototype to avoid an error. */
53127 #ifdef __cplusplus
53128 extern "C"
53130 #endif
53131 /* We use char because int might match the return type of a gcc2
53132 builtin and then its argument prototype would still apply. */
53133 char $ac_func ();
53134 /* The GNU C library defines this for functions which it implements
53135 to always fail with ENOSYS. Some functions are actually named
53136 something starting with __ and the normal name is an alias. */
53137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53138 choke me
53139 #else
53140 char (*f) () = $ac_func;
53141 #endif
53142 #ifdef __cplusplus
53144 #endif
53147 main ()
53149 return f != $ac_func;
53151 return 0;
53153 _ACEOF
53154 rm -f conftest.$ac_objext conftest$ac_exeext
53155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53156 (eval $ac_link) 2>conftest.er1
53157 ac_status=$?
53158 grep -v '^ *+' conftest.er1 >conftest.err
53159 rm -f conftest.er1
53160 cat conftest.err >&5
53161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53162 (exit $ac_status); } &&
53163 { ac_try='test -z "$ac_c_werror_flag"
53164 || test ! -s conftest.err'
53165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53166 (eval $ac_try) 2>&5
53167 ac_status=$?
53168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53169 (exit $ac_status); }; } &&
53170 { ac_try='test -s conftest$ac_exeext'
53171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53172 (eval $ac_try) 2>&5
53173 ac_status=$?
53174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53175 (exit $ac_status); }; }; then
53176 eval "$as_ac_var=yes"
53177 else
53178 echo "$as_me: failed program was:" >&5
53179 sed 's/^/| /' conftest.$ac_ext >&5
53181 eval "$as_ac_var=no"
53183 rm -f conftest.err conftest.$ac_objext \
53184 conftest$ac_exeext conftest.$ac_ext
53186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53188 if test `eval echo '${'$as_ac_var'}'` = yes; then
53189 cat >>confdefs.h <<_ACEOF
53190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53191 _ACEOF
53194 done
53196 else
53198 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53199 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53200 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53201 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53202 echo $ECHO_N "(cached) $ECHO_C" >&6
53203 else
53207 ac_ext=cc
53208 ac_cpp='$CXXCPP $CPPFLAGS'
53209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53213 cat >conftest.$ac_ext <<_ACEOF
53214 /* confdefs.h. */
53215 _ACEOF
53216 cat confdefs.h >>conftest.$ac_ext
53217 cat >>conftest.$ac_ext <<_ACEOF
53218 /* end confdefs.h. */
53219 #include <math.h>
53220 #ifdef HAVE_IEEEFP_H
53221 #include <ieeefp.h>
53222 #endif
53225 main ()
53227 _isinf(0);
53229 return 0;
53231 _ACEOF
53232 rm -f conftest.$ac_objext
53233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53234 (eval $ac_compile) 2>conftest.er1
53235 ac_status=$?
53236 grep -v '^ *+' conftest.er1 >conftest.err
53237 rm -f conftest.er1
53238 cat conftest.err >&5
53239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53240 (exit $ac_status); } &&
53241 { ac_try='test -z "$ac_cxx_werror_flag"
53242 || test ! -s conftest.err'
53243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53244 (eval $ac_try) 2>&5
53245 ac_status=$?
53246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53247 (exit $ac_status); }; } &&
53248 { ac_try='test -s conftest.$ac_objext'
53249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53250 (eval $ac_try) 2>&5
53251 ac_status=$?
53252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53253 (exit $ac_status); }; }; then
53254 glibcxx_cv_func__isinf_use=yes
53255 else
53256 echo "$as_me: failed program was:" >&5
53257 sed 's/^/| /' conftest.$ac_ext >&5
53259 glibcxx_cv_func__isinf_use=no
53261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53262 ac_ext=c
53263 ac_cpp='$CPP $CPPFLAGS'
53264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53273 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53275 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53277 for ac_func in _isinf
53279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53280 echo "$as_me:$LINENO: checking for $ac_func" >&5
53281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53282 if eval "test \"\${$as_ac_var+set}\" = set"; then
53283 echo $ECHO_N "(cached) $ECHO_C" >&6
53284 else
53285 if test x$gcc_no_link = xyes; then
53286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53288 { (exit 1); exit 1; }; }
53290 cat >conftest.$ac_ext <<_ACEOF
53291 /* confdefs.h. */
53292 _ACEOF
53293 cat confdefs.h >>conftest.$ac_ext
53294 cat >>conftest.$ac_ext <<_ACEOF
53295 /* end confdefs.h. */
53296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53298 #define $ac_func innocuous_$ac_func
53300 /* System header to define __stub macros and hopefully few prototypes,
53301 which can conflict with char $ac_func (); below.
53302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53303 <limits.h> exists even on freestanding compilers. */
53305 #ifdef __STDC__
53306 # include <limits.h>
53307 #else
53308 # include <assert.h>
53309 #endif
53311 #undef $ac_func
53313 /* Override any gcc2 internal prototype to avoid an error. */
53314 #ifdef __cplusplus
53315 extern "C"
53317 #endif
53318 /* We use char because int might match the return type of a gcc2
53319 builtin and then its argument prototype would still apply. */
53320 char $ac_func ();
53321 /* The GNU C library defines this for functions which it implements
53322 to always fail with ENOSYS. Some functions are actually named
53323 something starting with __ and the normal name is an alias. */
53324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53325 choke me
53326 #else
53327 char (*f) () = $ac_func;
53328 #endif
53329 #ifdef __cplusplus
53331 #endif
53334 main ()
53336 return f != $ac_func;
53338 return 0;
53340 _ACEOF
53341 rm -f conftest.$ac_objext conftest$ac_exeext
53342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53343 (eval $ac_link) 2>conftest.er1
53344 ac_status=$?
53345 grep -v '^ *+' conftest.er1 >conftest.err
53346 rm -f conftest.er1
53347 cat conftest.err >&5
53348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53349 (exit $ac_status); } &&
53350 { ac_try='test -z "$ac_c_werror_flag"
53351 || test ! -s conftest.err'
53352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53353 (eval $ac_try) 2>&5
53354 ac_status=$?
53355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53356 (exit $ac_status); }; } &&
53357 { ac_try='test -s conftest$ac_exeext'
53358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53359 (eval $ac_try) 2>&5
53360 ac_status=$?
53361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53362 (exit $ac_status); }; }; then
53363 eval "$as_ac_var=yes"
53364 else
53365 echo "$as_me: failed program was:" >&5
53366 sed 's/^/| /' conftest.$ac_ext >&5
53368 eval "$as_ac_var=no"
53370 rm -f conftest.err conftest.$ac_objext \
53371 conftest$ac_exeext conftest.$ac_ext
53373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53375 if test `eval echo '${'$as_ac_var'}'` = yes; then
53376 cat >>confdefs.h <<_ACEOF
53377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53378 _ACEOF
53381 done
53391 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53392 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53393 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53394 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53395 echo $ECHO_N "(cached) $ECHO_C" >&6
53396 else
53400 ac_ext=cc
53401 ac_cpp='$CXXCPP $CPPFLAGS'
53402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53406 cat >conftest.$ac_ext <<_ACEOF
53407 /* confdefs.h. */
53408 _ACEOF
53409 cat confdefs.h >>conftest.$ac_ext
53410 cat >>conftest.$ac_ext <<_ACEOF
53411 /* end confdefs.h. */
53412 #include <math.h>
53413 #ifdef HAVE_IEEEFP_H
53414 #include <ieeefp.h>
53415 #endif
53418 main ()
53420 isnan(0);
53422 return 0;
53424 _ACEOF
53425 rm -f conftest.$ac_objext
53426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53427 (eval $ac_compile) 2>conftest.er1
53428 ac_status=$?
53429 grep -v '^ *+' conftest.er1 >conftest.err
53430 rm -f conftest.er1
53431 cat conftest.err >&5
53432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53433 (exit $ac_status); } &&
53434 { ac_try='test -z "$ac_cxx_werror_flag"
53435 || test ! -s conftest.err'
53436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53437 (eval $ac_try) 2>&5
53438 ac_status=$?
53439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53440 (exit $ac_status); }; } &&
53441 { ac_try='test -s conftest.$ac_objext'
53442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53443 (eval $ac_try) 2>&5
53444 ac_status=$?
53445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53446 (exit $ac_status); }; }; then
53447 glibcxx_cv_func_isnan_use=yes
53448 else
53449 echo "$as_me: failed program was:" >&5
53450 sed 's/^/| /' conftest.$ac_ext >&5
53452 glibcxx_cv_func_isnan_use=no
53454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53455 ac_ext=c
53456 ac_cpp='$CPP $CPPFLAGS'
53457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53466 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53468 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53470 for ac_func in isnan
53472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53473 echo "$as_me:$LINENO: checking for $ac_func" >&5
53474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53475 if eval "test \"\${$as_ac_var+set}\" = set"; then
53476 echo $ECHO_N "(cached) $ECHO_C" >&6
53477 else
53478 if test x$gcc_no_link = xyes; then
53479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53481 { (exit 1); exit 1; }; }
53483 cat >conftest.$ac_ext <<_ACEOF
53484 /* confdefs.h. */
53485 _ACEOF
53486 cat confdefs.h >>conftest.$ac_ext
53487 cat >>conftest.$ac_ext <<_ACEOF
53488 /* end confdefs.h. */
53489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53491 #define $ac_func innocuous_$ac_func
53493 /* System header to define __stub macros and hopefully few prototypes,
53494 which can conflict with char $ac_func (); below.
53495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53496 <limits.h> exists even on freestanding compilers. */
53498 #ifdef __STDC__
53499 # include <limits.h>
53500 #else
53501 # include <assert.h>
53502 #endif
53504 #undef $ac_func
53506 /* Override any gcc2 internal prototype to avoid an error. */
53507 #ifdef __cplusplus
53508 extern "C"
53510 #endif
53511 /* We use char because int might match the return type of a gcc2
53512 builtin and then its argument prototype would still apply. */
53513 char $ac_func ();
53514 /* The GNU C library defines this for functions which it implements
53515 to always fail with ENOSYS. Some functions are actually named
53516 something starting with __ and the normal name is an alias. */
53517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53518 choke me
53519 #else
53520 char (*f) () = $ac_func;
53521 #endif
53522 #ifdef __cplusplus
53524 #endif
53527 main ()
53529 return f != $ac_func;
53531 return 0;
53533 _ACEOF
53534 rm -f conftest.$ac_objext conftest$ac_exeext
53535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53536 (eval $ac_link) 2>conftest.er1
53537 ac_status=$?
53538 grep -v '^ *+' conftest.er1 >conftest.err
53539 rm -f conftest.er1
53540 cat conftest.err >&5
53541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53542 (exit $ac_status); } &&
53543 { ac_try='test -z "$ac_c_werror_flag"
53544 || test ! -s conftest.err'
53545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53546 (eval $ac_try) 2>&5
53547 ac_status=$?
53548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53549 (exit $ac_status); }; } &&
53550 { ac_try='test -s conftest$ac_exeext'
53551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53552 (eval $ac_try) 2>&5
53553 ac_status=$?
53554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53555 (exit $ac_status); }; }; then
53556 eval "$as_ac_var=yes"
53557 else
53558 echo "$as_me: failed program was:" >&5
53559 sed 's/^/| /' conftest.$ac_ext >&5
53561 eval "$as_ac_var=no"
53563 rm -f conftest.err conftest.$ac_objext \
53564 conftest$ac_exeext conftest.$ac_ext
53566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53568 if test `eval echo '${'$as_ac_var'}'` = yes; then
53569 cat >>confdefs.h <<_ACEOF
53570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53571 _ACEOF
53574 done
53576 else
53578 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53579 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53580 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53581 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53582 echo $ECHO_N "(cached) $ECHO_C" >&6
53583 else
53587 ac_ext=cc
53588 ac_cpp='$CXXCPP $CPPFLAGS'
53589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53593 cat >conftest.$ac_ext <<_ACEOF
53594 /* confdefs.h. */
53595 _ACEOF
53596 cat confdefs.h >>conftest.$ac_ext
53597 cat >>conftest.$ac_ext <<_ACEOF
53598 /* end confdefs.h. */
53599 #include <math.h>
53600 #ifdef HAVE_IEEEFP_H
53601 #include <ieeefp.h>
53602 #endif
53605 main ()
53607 _isnan(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__isnan_use=yes
53635 else
53636 echo "$as_me: failed program was:" >&5
53637 sed 's/^/| /' conftest.$ac_ext >&5
53639 glibcxx_cv_func__isnan_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__isnan_use" >&5
53653 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53655 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53657 for ac_func in _isnan
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
53771 echo "$as_me:$LINENO: checking for finite declaration" >&5
53772 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53773 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53774 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53775 echo $ECHO_N "(cached) $ECHO_C" >&6
53776 else
53780 ac_ext=cc
53781 ac_cpp='$CXXCPP $CPPFLAGS'
53782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53786 cat >conftest.$ac_ext <<_ACEOF
53787 /* confdefs.h. */
53788 _ACEOF
53789 cat confdefs.h >>conftest.$ac_ext
53790 cat >>conftest.$ac_ext <<_ACEOF
53791 /* end confdefs.h. */
53792 #include <math.h>
53793 #ifdef HAVE_IEEEFP_H
53794 #include <ieeefp.h>
53795 #endif
53798 main ()
53800 finite(0);
53802 return 0;
53804 _ACEOF
53805 rm -f conftest.$ac_objext
53806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53807 (eval $ac_compile) 2>conftest.er1
53808 ac_status=$?
53809 grep -v '^ *+' conftest.er1 >conftest.err
53810 rm -f conftest.er1
53811 cat conftest.err >&5
53812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53813 (exit $ac_status); } &&
53814 { ac_try='test -z "$ac_cxx_werror_flag"
53815 || test ! -s conftest.err'
53816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53817 (eval $ac_try) 2>&5
53818 ac_status=$?
53819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53820 (exit $ac_status); }; } &&
53821 { ac_try='test -s conftest.$ac_objext'
53822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53823 (eval $ac_try) 2>&5
53824 ac_status=$?
53825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53826 (exit $ac_status); }; }; then
53827 glibcxx_cv_func_finite_use=yes
53828 else
53829 echo "$as_me: failed program was:" >&5
53830 sed 's/^/| /' conftest.$ac_ext >&5
53832 glibcxx_cv_func_finite_use=no
53834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53835 ac_ext=c
53836 ac_cpp='$CPP $CPPFLAGS'
53837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53846 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53848 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53850 for ac_func in finite
53852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53853 echo "$as_me:$LINENO: checking for $ac_func" >&5
53854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53855 if eval "test \"\${$as_ac_var+set}\" = set"; then
53856 echo $ECHO_N "(cached) $ECHO_C" >&6
53857 else
53858 if test x$gcc_no_link = xyes; then
53859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53861 { (exit 1); exit 1; }; }
53863 cat >conftest.$ac_ext <<_ACEOF
53864 /* confdefs.h. */
53865 _ACEOF
53866 cat confdefs.h >>conftest.$ac_ext
53867 cat >>conftest.$ac_ext <<_ACEOF
53868 /* end confdefs.h. */
53869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53871 #define $ac_func innocuous_$ac_func
53873 /* System header to define __stub macros and hopefully few prototypes,
53874 which can conflict with char $ac_func (); below.
53875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53876 <limits.h> exists even on freestanding compilers. */
53878 #ifdef __STDC__
53879 # include <limits.h>
53880 #else
53881 # include <assert.h>
53882 #endif
53884 #undef $ac_func
53886 /* Override any gcc2 internal prototype to avoid an error. */
53887 #ifdef __cplusplus
53888 extern "C"
53890 #endif
53891 /* We use char because int might match the return type of a gcc2
53892 builtin and then its argument prototype would still apply. */
53893 char $ac_func ();
53894 /* The GNU C library defines this for functions which it implements
53895 to always fail with ENOSYS. Some functions are actually named
53896 something starting with __ and the normal name is an alias. */
53897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53898 choke me
53899 #else
53900 char (*f) () = $ac_func;
53901 #endif
53902 #ifdef __cplusplus
53904 #endif
53907 main ()
53909 return f != $ac_func;
53911 return 0;
53913 _ACEOF
53914 rm -f conftest.$ac_objext conftest$ac_exeext
53915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53916 (eval $ac_link) 2>conftest.er1
53917 ac_status=$?
53918 grep -v '^ *+' conftest.er1 >conftest.err
53919 rm -f conftest.er1
53920 cat conftest.err >&5
53921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 (exit $ac_status); } &&
53923 { ac_try='test -z "$ac_c_werror_flag"
53924 || test ! -s conftest.err'
53925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53926 (eval $ac_try) 2>&5
53927 ac_status=$?
53928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53929 (exit $ac_status); }; } &&
53930 { ac_try='test -s conftest$ac_exeext'
53931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53932 (eval $ac_try) 2>&5
53933 ac_status=$?
53934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53935 (exit $ac_status); }; }; then
53936 eval "$as_ac_var=yes"
53937 else
53938 echo "$as_me: failed program was:" >&5
53939 sed 's/^/| /' conftest.$ac_ext >&5
53941 eval "$as_ac_var=no"
53943 rm -f conftest.err conftest.$ac_objext \
53944 conftest$ac_exeext conftest.$ac_ext
53946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53948 if test `eval echo '${'$as_ac_var'}'` = yes; then
53949 cat >>confdefs.h <<_ACEOF
53950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53951 _ACEOF
53954 done
53956 else
53958 echo "$as_me:$LINENO: checking for _finite declaration" >&5
53959 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
53960 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53961 if test "${glibcxx_cv_func__finite_use+set}" = set; then
53962 echo $ECHO_N "(cached) $ECHO_C" >&6
53963 else
53967 ac_ext=cc
53968 ac_cpp='$CXXCPP $CPPFLAGS'
53969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53973 cat >conftest.$ac_ext <<_ACEOF
53974 /* confdefs.h. */
53975 _ACEOF
53976 cat confdefs.h >>conftest.$ac_ext
53977 cat >>conftest.$ac_ext <<_ACEOF
53978 /* end confdefs.h. */
53979 #include <math.h>
53980 #ifdef HAVE_IEEEFP_H
53981 #include <ieeefp.h>
53982 #endif
53985 main ()
53987 _finite(0);
53989 return 0;
53991 _ACEOF
53992 rm -f conftest.$ac_objext
53993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53994 (eval $ac_compile) 2>conftest.er1
53995 ac_status=$?
53996 grep -v '^ *+' conftest.er1 >conftest.err
53997 rm -f conftest.er1
53998 cat conftest.err >&5
53999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54000 (exit $ac_status); } &&
54001 { ac_try='test -z "$ac_cxx_werror_flag"
54002 || test ! -s conftest.err'
54003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54004 (eval $ac_try) 2>&5
54005 ac_status=$?
54006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54007 (exit $ac_status); }; } &&
54008 { ac_try='test -s conftest.$ac_objext'
54009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54010 (eval $ac_try) 2>&5
54011 ac_status=$?
54012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54013 (exit $ac_status); }; }; then
54014 glibcxx_cv_func__finite_use=yes
54015 else
54016 echo "$as_me: failed program was:" >&5
54017 sed 's/^/| /' conftest.$ac_ext >&5
54019 glibcxx_cv_func__finite_use=no
54021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54022 ac_ext=c
54023 ac_cpp='$CPP $CPPFLAGS'
54024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54033 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54035 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54037 for ac_func in _finite
54039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54040 echo "$as_me:$LINENO: checking for $ac_func" >&5
54041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54042 if eval "test \"\${$as_ac_var+set}\" = set"; then
54043 echo $ECHO_N "(cached) $ECHO_C" >&6
54044 else
54045 if test x$gcc_no_link = xyes; then
54046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54048 { (exit 1); exit 1; }; }
54050 cat >conftest.$ac_ext <<_ACEOF
54051 /* confdefs.h. */
54052 _ACEOF
54053 cat confdefs.h >>conftest.$ac_ext
54054 cat >>conftest.$ac_ext <<_ACEOF
54055 /* end confdefs.h. */
54056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54058 #define $ac_func innocuous_$ac_func
54060 /* System header to define __stub macros and hopefully few prototypes,
54061 which can conflict with char $ac_func (); below.
54062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54063 <limits.h> exists even on freestanding compilers. */
54065 #ifdef __STDC__
54066 # include <limits.h>
54067 #else
54068 # include <assert.h>
54069 #endif
54071 #undef $ac_func
54073 /* Override any gcc2 internal prototype to avoid an error. */
54074 #ifdef __cplusplus
54075 extern "C"
54077 #endif
54078 /* We use char because int might match the return type of a gcc2
54079 builtin and then its argument prototype would still apply. */
54080 char $ac_func ();
54081 /* The GNU C library defines this for functions which it implements
54082 to always fail with ENOSYS. Some functions are actually named
54083 something starting with __ and the normal name is an alias. */
54084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54085 choke me
54086 #else
54087 char (*f) () = $ac_func;
54088 #endif
54089 #ifdef __cplusplus
54091 #endif
54094 main ()
54096 return f != $ac_func;
54098 return 0;
54100 _ACEOF
54101 rm -f conftest.$ac_objext conftest$ac_exeext
54102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54103 (eval $ac_link) 2>conftest.er1
54104 ac_status=$?
54105 grep -v '^ *+' conftest.er1 >conftest.err
54106 rm -f conftest.er1
54107 cat conftest.err >&5
54108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54109 (exit $ac_status); } &&
54110 { ac_try='test -z "$ac_c_werror_flag"
54111 || test ! -s conftest.err'
54112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54113 (eval $ac_try) 2>&5
54114 ac_status=$?
54115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54116 (exit $ac_status); }; } &&
54117 { ac_try='test -s conftest$ac_exeext'
54118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54119 (eval $ac_try) 2>&5
54120 ac_status=$?
54121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54122 (exit $ac_status); }; }; then
54123 eval "$as_ac_var=yes"
54124 else
54125 echo "$as_me: failed program was:" >&5
54126 sed 's/^/| /' conftest.$ac_ext >&5
54128 eval "$as_ac_var=no"
54130 rm -f conftest.err conftest.$ac_objext \
54131 conftest$ac_exeext conftest.$ac_ext
54133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54135 if test `eval echo '${'$as_ac_var'}'` = yes; then
54136 cat >>confdefs.h <<_ACEOF
54137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54138 _ACEOF
54141 done
54151 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54152 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54153 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54154 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54155 echo $ECHO_N "(cached) $ECHO_C" >&6
54156 else
54160 ac_ext=cc
54161 ac_cpp='$CXXCPP $CPPFLAGS'
54162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54166 cat >conftest.$ac_ext <<_ACEOF
54167 /* confdefs.h. */
54168 _ACEOF
54169 cat confdefs.h >>conftest.$ac_ext
54170 cat >>conftest.$ac_ext <<_ACEOF
54171 /* end confdefs.h. */
54172 #include <math.h>
54174 main ()
54176 copysign(0, 0);
54178 return 0;
54180 _ACEOF
54181 rm -f conftest.$ac_objext
54182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54183 (eval $ac_compile) 2>conftest.er1
54184 ac_status=$?
54185 grep -v '^ *+' conftest.er1 >conftest.err
54186 rm -f conftest.er1
54187 cat conftest.err >&5
54188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54189 (exit $ac_status); } &&
54190 { ac_try='test -z "$ac_cxx_werror_flag"
54191 || test ! -s conftest.err'
54192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54193 (eval $ac_try) 2>&5
54194 ac_status=$?
54195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54196 (exit $ac_status); }; } &&
54197 { ac_try='test -s conftest.$ac_objext'
54198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54199 (eval $ac_try) 2>&5
54200 ac_status=$?
54201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54202 (exit $ac_status); }; }; then
54203 glibcxx_cv_func_copysign_use=yes
54204 else
54205 echo "$as_me: failed program was:" >&5
54206 sed 's/^/| /' conftest.$ac_ext >&5
54208 glibcxx_cv_func_copysign_use=no
54210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54211 ac_ext=c
54212 ac_cpp='$CPP $CPPFLAGS'
54213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54222 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54224 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54226 for ac_func in copysign
54228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54229 echo "$as_me:$LINENO: checking for $ac_func" >&5
54230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54231 if eval "test \"\${$as_ac_var+set}\" = set"; then
54232 echo $ECHO_N "(cached) $ECHO_C" >&6
54233 else
54234 if test x$gcc_no_link = xyes; then
54235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54237 { (exit 1); exit 1; }; }
54239 cat >conftest.$ac_ext <<_ACEOF
54240 /* confdefs.h. */
54241 _ACEOF
54242 cat confdefs.h >>conftest.$ac_ext
54243 cat >>conftest.$ac_ext <<_ACEOF
54244 /* end confdefs.h. */
54245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54247 #define $ac_func innocuous_$ac_func
54249 /* System header to define __stub macros and hopefully few prototypes,
54250 which can conflict with char $ac_func (); below.
54251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54252 <limits.h> exists even on freestanding compilers. */
54254 #ifdef __STDC__
54255 # include <limits.h>
54256 #else
54257 # include <assert.h>
54258 #endif
54260 #undef $ac_func
54262 /* Override any gcc2 internal prototype to avoid an error. */
54263 #ifdef __cplusplus
54264 extern "C"
54266 #endif
54267 /* We use char because int might match the return type of a gcc2
54268 builtin and then its argument prototype would still apply. */
54269 char $ac_func ();
54270 /* The GNU C library defines this for functions which it implements
54271 to always fail with ENOSYS. Some functions are actually named
54272 something starting with __ and the normal name is an alias. */
54273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54274 choke me
54275 #else
54276 char (*f) () = $ac_func;
54277 #endif
54278 #ifdef __cplusplus
54280 #endif
54283 main ()
54285 return f != $ac_func;
54287 return 0;
54289 _ACEOF
54290 rm -f conftest.$ac_objext conftest$ac_exeext
54291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54292 (eval $ac_link) 2>conftest.er1
54293 ac_status=$?
54294 grep -v '^ *+' conftest.er1 >conftest.err
54295 rm -f conftest.er1
54296 cat conftest.err >&5
54297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54298 (exit $ac_status); } &&
54299 { ac_try='test -z "$ac_c_werror_flag"
54300 || test ! -s conftest.err'
54301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54302 (eval $ac_try) 2>&5
54303 ac_status=$?
54304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54305 (exit $ac_status); }; } &&
54306 { ac_try='test -s conftest$ac_exeext'
54307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54308 (eval $ac_try) 2>&5
54309 ac_status=$?
54310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54311 (exit $ac_status); }; }; then
54312 eval "$as_ac_var=yes"
54313 else
54314 echo "$as_me: failed program was:" >&5
54315 sed 's/^/| /' conftest.$ac_ext >&5
54317 eval "$as_ac_var=no"
54319 rm -f conftest.err conftest.$ac_objext \
54320 conftest$ac_exeext conftest.$ac_ext
54322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54324 if test `eval echo '${'$as_ac_var'}'` = yes; then
54325 cat >>confdefs.h <<_ACEOF
54326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54327 _ACEOF
54330 done
54332 else
54334 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54335 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54336 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54337 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54338 echo $ECHO_N "(cached) $ECHO_C" >&6
54339 else
54343 ac_ext=cc
54344 ac_cpp='$CXXCPP $CPPFLAGS'
54345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54349 cat >conftest.$ac_ext <<_ACEOF
54350 /* confdefs.h. */
54351 _ACEOF
54352 cat confdefs.h >>conftest.$ac_ext
54353 cat >>conftest.$ac_ext <<_ACEOF
54354 /* end confdefs.h. */
54355 #include <math.h>
54357 main ()
54359 _copysign(0, 0);
54361 return 0;
54363 _ACEOF
54364 rm -f conftest.$ac_objext
54365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54366 (eval $ac_compile) 2>conftest.er1
54367 ac_status=$?
54368 grep -v '^ *+' conftest.er1 >conftest.err
54369 rm -f conftest.er1
54370 cat conftest.err >&5
54371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54372 (exit $ac_status); } &&
54373 { ac_try='test -z "$ac_cxx_werror_flag"
54374 || test ! -s conftest.err'
54375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54376 (eval $ac_try) 2>&5
54377 ac_status=$?
54378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54379 (exit $ac_status); }; } &&
54380 { ac_try='test -s conftest.$ac_objext'
54381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54382 (eval $ac_try) 2>&5
54383 ac_status=$?
54384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54385 (exit $ac_status); }; }; then
54386 glibcxx_cv_func__copysign_use=yes
54387 else
54388 echo "$as_me: failed program was:" >&5
54389 sed 's/^/| /' conftest.$ac_ext >&5
54391 glibcxx_cv_func__copysign_use=no
54393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54394 ac_ext=c
54395 ac_cpp='$CPP $CPPFLAGS'
54396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54405 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54407 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54409 for ac_func in _copysign
54411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54412 echo "$as_me:$LINENO: checking for $ac_func" >&5
54413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54414 if eval "test \"\${$as_ac_var+set}\" = set"; then
54415 echo $ECHO_N "(cached) $ECHO_C" >&6
54416 else
54417 if test x$gcc_no_link = xyes; then
54418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54420 { (exit 1); exit 1; }; }
54422 cat >conftest.$ac_ext <<_ACEOF
54423 /* confdefs.h. */
54424 _ACEOF
54425 cat confdefs.h >>conftest.$ac_ext
54426 cat >>conftest.$ac_ext <<_ACEOF
54427 /* end confdefs.h. */
54428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54430 #define $ac_func innocuous_$ac_func
54432 /* System header to define __stub macros and hopefully few prototypes,
54433 which can conflict with char $ac_func (); below.
54434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54435 <limits.h> exists even on freestanding compilers. */
54437 #ifdef __STDC__
54438 # include <limits.h>
54439 #else
54440 # include <assert.h>
54441 #endif
54443 #undef $ac_func
54445 /* Override any gcc2 internal prototype to avoid an error. */
54446 #ifdef __cplusplus
54447 extern "C"
54449 #endif
54450 /* We use char because int might match the return type of a gcc2
54451 builtin and then its argument prototype would still apply. */
54452 char $ac_func ();
54453 /* The GNU C library defines this for functions which it implements
54454 to always fail with ENOSYS. Some functions are actually named
54455 something starting with __ and the normal name is an alias. */
54456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54457 choke me
54458 #else
54459 char (*f) () = $ac_func;
54460 #endif
54461 #ifdef __cplusplus
54463 #endif
54466 main ()
54468 return f != $ac_func;
54470 return 0;
54472 _ACEOF
54473 rm -f conftest.$ac_objext conftest$ac_exeext
54474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54475 (eval $ac_link) 2>conftest.er1
54476 ac_status=$?
54477 grep -v '^ *+' conftest.er1 >conftest.err
54478 rm -f conftest.er1
54479 cat conftest.err >&5
54480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54481 (exit $ac_status); } &&
54482 { ac_try='test -z "$ac_c_werror_flag"
54483 || test ! -s conftest.err'
54484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54485 (eval $ac_try) 2>&5
54486 ac_status=$?
54487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54488 (exit $ac_status); }; } &&
54489 { ac_try='test -s conftest$ac_exeext'
54490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54491 (eval $ac_try) 2>&5
54492 ac_status=$?
54493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54494 (exit $ac_status); }; }; then
54495 eval "$as_ac_var=yes"
54496 else
54497 echo "$as_me: failed program was:" >&5
54498 sed 's/^/| /' conftest.$ac_ext >&5
54500 eval "$as_ac_var=no"
54502 rm -f conftest.err conftest.$ac_objext \
54503 conftest$ac_exeext conftest.$ac_ext
54505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54507 if test `eval echo '${'$as_ac_var'}'` = yes; then
54508 cat >>confdefs.h <<_ACEOF
54509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54510 _ACEOF
54513 done
54523 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54524 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54525 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54526 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54527 echo $ECHO_N "(cached) $ECHO_C" >&6
54528 else
54532 ac_ext=cc
54533 ac_cpp='$CXXCPP $CPPFLAGS'
54534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54538 cat >conftest.$ac_ext <<_ACEOF
54539 /* confdefs.h. */
54540 _ACEOF
54541 cat confdefs.h >>conftest.$ac_ext
54542 cat >>conftest.$ac_ext <<_ACEOF
54543 /* end confdefs.h. */
54544 #include <math.h>
54546 main ()
54548 sincos(0, 0, 0);
54550 return 0;
54552 _ACEOF
54553 rm -f conftest.$ac_objext
54554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54555 (eval $ac_compile) 2>conftest.er1
54556 ac_status=$?
54557 grep -v '^ *+' conftest.er1 >conftest.err
54558 rm -f conftest.er1
54559 cat conftest.err >&5
54560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54561 (exit $ac_status); } &&
54562 { ac_try='test -z "$ac_cxx_werror_flag"
54563 || test ! -s conftest.err'
54564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54565 (eval $ac_try) 2>&5
54566 ac_status=$?
54567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54568 (exit $ac_status); }; } &&
54569 { ac_try='test -s conftest.$ac_objext'
54570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54571 (eval $ac_try) 2>&5
54572 ac_status=$?
54573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54574 (exit $ac_status); }; }; then
54575 glibcxx_cv_func_sincos_use=yes
54576 else
54577 echo "$as_me: failed program was:" >&5
54578 sed 's/^/| /' conftest.$ac_ext >&5
54580 glibcxx_cv_func_sincos_use=no
54582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54583 ac_ext=c
54584 ac_cpp='$CPP $CPPFLAGS'
54585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54594 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54596 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54598 for ac_func in sincos
54600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54601 echo "$as_me:$LINENO: checking for $ac_func" >&5
54602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54603 if eval "test \"\${$as_ac_var+set}\" = set"; then
54604 echo $ECHO_N "(cached) $ECHO_C" >&6
54605 else
54606 if test x$gcc_no_link = xyes; then
54607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54609 { (exit 1); exit 1; }; }
54611 cat >conftest.$ac_ext <<_ACEOF
54612 /* confdefs.h. */
54613 _ACEOF
54614 cat confdefs.h >>conftest.$ac_ext
54615 cat >>conftest.$ac_ext <<_ACEOF
54616 /* end confdefs.h. */
54617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54619 #define $ac_func innocuous_$ac_func
54621 /* System header to define __stub macros and hopefully few prototypes,
54622 which can conflict with char $ac_func (); below.
54623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54624 <limits.h> exists even on freestanding compilers. */
54626 #ifdef __STDC__
54627 # include <limits.h>
54628 #else
54629 # include <assert.h>
54630 #endif
54632 #undef $ac_func
54634 /* Override any gcc2 internal prototype to avoid an error. */
54635 #ifdef __cplusplus
54636 extern "C"
54638 #endif
54639 /* We use char because int might match the return type of a gcc2
54640 builtin and then its argument prototype would still apply. */
54641 char $ac_func ();
54642 /* The GNU C library defines this for functions which it implements
54643 to always fail with ENOSYS. Some functions are actually named
54644 something starting with __ and the normal name is an alias. */
54645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54646 choke me
54647 #else
54648 char (*f) () = $ac_func;
54649 #endif
54650 #ifdef __cplusplus
54652 #endif
54655 main ()
54657 return f != $ac_func;
54659 return 0;
54661 _ACEOF
54662 rm -f conftest.$ac_objext conftest$ac_exeext
54663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54664 (eval $ac_link) 2>conftest.er1
54665 ac_status=$?
54666 grep -v '^ *+' conftest.er1 >conftest.err
54667 rm -f conftest.er1
54668 cat conftest.err >&5
54669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54670 (exit $ac_status); } &&
54671 { ac_try='test -z "$ac_c_werror_flag"
54672 || test ! -s conftest.err'
54673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54674 (eval $ac_try) 2>&5
54675 ac_status=$?
54676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54677 (exit $ac_status); }; } &&
54678 { ac_try='test -s conftest$ac_exeext'
54679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54680 (eval $ac_try) 2>&5
54681 ac_status=$?
54682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54683 (exit $ac_status); }; }; then
54684 eval "$as_ac_var=yes"
54685 else
54686 echo "$as_me: failed program was:" >&5
54687 sed 's/^/| /' conftest.$ac_ext >&5
54689 eval "$as_ac_var=no"
54691 rm -f conftest.err conftest.$ac_objext \
54692 conftest$ac_exeext conftest.$ac_ext
54694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54696 if test `eval echo '${'$as_ac_var'}'` = yes; then
54697 cat >>confdefs.h <<_ACEOF
54698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54699 _ACEOF
54702 done
54704 else
54706 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54707 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54708 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54709 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54710 echo $ECHO_N "(cached) $ECHO_C" >&6
54711 else
54715 ac_ext=cc
54716 ac_cpp='$CXXCPP $CPPFLAGS'
54717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54721 cat >conftest.$ac_ext <<_ACEOF
54722 /* confdefs.h. */
54723 _ACEOF
54724 cat confdefs.h >>conftest.$ac_ext
54725 cat >>conftest.$ac_ext <<_ACEOF
54726 /* end confdefs.h. */
54727 #include <math.h>
54729 main ()
54731 _sincos(0, 0, 0);
54733 return 0;
54735 _ACEOF
54736 rm -f conftest.$ac_objext
54737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54738 (eval $ac_compile) 2>conftest.er1
54739 ac_status=$?
54740 grep -v '^ *+' conftest.er1 >conftest.err
54741 rm -f conftest.er1
54742 cat conftest.err >&5
54743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54744 (exit $ac_status); } &&
54745 { ac_try='test -z "$ac_cxx_werror_flag"
54746 || test ! -s conftest.err'
54747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54748 (eval $ac_try) 2>&5
54749 ac_status=$?
54750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54751 (exit $ac_status); }; } &&
54752 { ac_try='test -s conftest.$ac_objext'
54753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54754 (eval $ac_try) 2>&5
54755 ac_status=$?
54756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54757 (exit $ac_status); }; }; then
54758 glibcxx_cv_func__sincos_use=yes
54759 else
54760 echo "$as_me: failed program was:" >&5
54761 sed 's/^/| /' conftest.$ac_ext >&5
54763 glibcxx_cv_func__sincos_use=no
54765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54766 ac_ext=c
54767 ac_cpp='$CPP $CPPFLAGS'
54768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54777 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54779 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54781 for ac_func in _sincos
54783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54784 echo "$as_me:$LINENO: checking for $ac_func" >&5
54785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54786 if eval "test \"\${$as_ac_var+set}\" = set"; then
54787 echo $ECHO_N "(cached) $ECHO_C" >&6
54788 else
54789 if test x$gcc_no_link = xyes; then
54790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54792 { (exit 1); exit 1; }; }
54794 cat >conftest.$ac_ext <<_ACEOF
54795 /* confdefs.h. */
54796 _ACEOF
54797 cat confdefs.h >>conftest.$ac_ext
54798 cat >>conftest.$ac_ext <<_ACEOF
54799 /* end confdefs.h. */
54800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54802 #define $ac_func innocuous_$ac_func
54804 /* System header to define __stub macros and hopefully few prototypes,
54805 which can conflict with char $ac_func (); below.
54806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54807 <limits.h> exists even on freestanding compilers. */
54809 #ifdef __STDC__
54810 # include <limits.h>
54811 #else
54812 # include <assert.h>
54813 #endif
54815 #undef $ac_func
54817 /* Override any gcc2 internal prototype to avoid an error. */
54818 #ifdef __cplusplus
54819 extern "C"
54821 #endif
54822 /* We use char because int might match the return type of a gcc2
54823 builtin and then its argument prototype would still apply. */
54824 char $ac_func ();
54825 /* The GNU C library defines this for functions which it implements
54826 to always fail with ENOSYS. Some functions are actually named
54827 something starting with __ and the normal name is an alias. */
54828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54829 choke me
54830 #else
54831 char (*f) () = $ac_func;
54832 #endif
54833 #ifdef __cplusplus
54835 #endif
54838 main ()
54840 return f != $ac_func;
54842 return 0;
54844 _ACEOF
54845 rm -f conftest.$ac_objext conftest$ac_exeext
54846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54847 (eval $ac_link) 2>conftest.er1
54848 ac_status=$?
54849 grep -v '^ *+' conftest.er1 >conftest.err
54850 rm -f conftest.er1
54851 cat conftest.err >&5
54852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54853 (exit $ac_status); } &&
54854 { ac_try='test -z "$ac_c_werror_flag"
54855 || test ! -s conftest.err'
54856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54857 (eval $ac_try) 2>&5
54858 ac_status=$?
54859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54860 (exit $ac_status); }; } &&
54861 { ac_try='test -s conftest$ac_exeext'
54862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54863 (eval $ac_try) 2>&5
54864 ac_status=$?
54865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866 (exit $ac_status); }; }; then
54867 eval "$as_ac_var=yes"
54868 else
54869 echo "$as_me: failed program was:" >&5
54870 sed 's/^/| /' conftest.$ac_ext >&5
54872 eval "$as_ac_var=no"
54874 rm -f conftest.err conftest.$ac_objext \
54875 conftest$ac_exeext conftest.$ac_ext
54877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54879 if test `eval echo '${'$as_ac_var'}'` = yes; then
54880 cat >>confdefs.h <<_ACEOF
54881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54882 _ACEOF
54885 done
54895 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54896 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54897 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54898 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54899 echo $ECHO_N "(cached) $ECHO_C" >&6
54900 else
54904 ac_ext=cc
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54910 cat >conftest.$ac_ext <<_ACEOF
54911 /* confdefs.h. */
54912 _ACEOF
54913 cat confdefs.h >>conftest.$ac_ext
54914 cat >>conftest.$ac_ext <<_ACEOF
54915 /* end confdefs.h. */
54916 #include <math.h>
54917 #ifdef HAVE_IEEEFP_H
54918 #include <ieeefp.h>
54919 #endif
54922 main ()
54924 fpclass(0);
54926 return 0;
54928 _ACEOF
54929 rm -f conftest.$ac_objext
54930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54931 (eval $ac_compile) 2>conftest.er1
54932 ac_status=$?
54933 grep -v '^ *+' conftest.er1 >conftest.err
54934 rm -f conftest.er1
54935 cat conftest.err >&5
54936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937 (exit $ac_status); } &&
54938 { ac_try='test -z "$ac_cxx_werror_flag"
54939 || test ! -s conftest.err'
54940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54941 (eval $ac_try) 2>&5
54942 ac_status=$?
54943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54944 (exit $ac_status); }; } &&
54945 { ac_try='test -s conftest.$ac_objext'
54946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54947 (eval $ac_try) 2>&5
54948 ac_status=$?
54949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54950 (exit $ac_status); }; }; then
54951 glibcxx_cv_func_fpclass_use=yes
54952 else
54953 echo "$as_me: failed program was:" >&5
54954 sed 's/^/| /' conftest.$ac_ext >&5
54956 glibcxx_cv_func_fpclass_use=no
54958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54959 ac_ext=c
54960 ac_cpp='$CPP $CPPFLAGS'
54961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
54970 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
54972 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54974 for ac_func in fpclass
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
55080 else
55082 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55083 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55084 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55085 if test "${glibcxx_cv_func__fpclass_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>
55104 #ifdef HAVE_IEEEFP_H
55105 #include <ieeefp.h>
55106 #endif
55109 main ()
55111 _fpclass(0);
55113 return 0;
55115 _ACEOF
55116 rm -f conftest.$ac_objext
55117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55118 (eval $ac_compile) 2>conftest.er1
55119 ac_status=$?
55120 grep -v '^ *+' conftest.er1 >conftest.err
55121 rm -f conftest.er1
55122 cat conftest.err >&5
55123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55124 (exit $ac_status); } &&
55125 { ac_try='test -z "$ac_cxx_werror_flag"
55126 || test ! -s conftest.err'
55127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55128 (eval $ac_try) 2>&5
55129 ac_status=$?
55130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55131 (exit $ac_status); }; } &&
55132 { ac_try='test -s conftest.$ac_objext'
55133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55134 (eval $ac_try) 2>&5
55135 ac_status=$?
55136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55137 (exit $ac_status); }; }; then
55138 glibcxx_cv_func__fpclass_use=yes
55139 else
55140 echo "$as_me: failed program was:" >&5
55141 sed 's/^/| /' conftest.$ac_ext >&5
55143 glibcxx_cv_func__fpclass_use=no
55145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55146 ac_ext=c
55147 ac_cpp='$CPP $CPPFLAGS'
55148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55157 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55159 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55161 for ac_func in _fpclass
55163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55164 echo "$as_me:$LINENO: checking for $ac_func" >&5
55165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55166 if eval "test \"\${$as_ac_var+set}\" = set"; then
55167 echo $ECHO_N "(cached) $ECHO_C" >&6
55168 else
55169 if test x$gcc_no_link = xyes; then
55170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55172 { (exit 1); exit 1; }; }
55174 cat >conftest.$ac_ext <<_ACEOF
55175 /* confdefs.h. */
55176 _ACEOF
55177 cat confdefs.h >>conftest.$ac_ext
55178 cat >>conftest.$ac_ext <<_ACEOF
55179 /* end confdefs.h. */
55180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55182 #define $ac_func innocuous_$ac_func
55184 /* System header to define __stub macros and hopefully few prototypes,
55185 which can conflict with char $ac_func (); below.
55186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55187 <limits.h> exists even on freestanding compilers. */
55189 #ifdef __STDC__
55190 # include <limits.h>
55191 #else
55192 # include <assert.h>
55193 #endif
55195 #undef $ac_func
55197 /* Override any gcc2 internal prototype to avoid an error. */
55198 #ifdef __cplusplus
55199 extern "C"
55201 #endif
55202 /* We use char because int might match the return type of a gcc2
55203 builtin and then its argument prototype would still apply. */
55204 char $ac_func ();
55205 /* The GNU C library defines this for functions which it implements
55206 to always fail with ENOSYS. Some functions are actually named
55207 something starting with __ and the normal name is an alias. */
55208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55209 choke me
55210 #else
55211 char (*f) () = $ac_func;
55212 #endif
55213 #ifdef __cplusplus
55215 #endif
55218 main ()
55220 return f != $ac_func;
55222 return 0;
55224 _ACEOF
55225 rm -f conftest.$ac_objext conftest$ac_exeext
55226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55227 (eval $ac_link) 2>conftest.er1
55228 ac_status=$?
55229 grep -v '^ *+' conftest.er1 >conftest.err
55230 rm -f conftest.er1
55231 cat conftest.err >&5
55232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55233 (exit $ac_status); } &&
55234 { ac_try='test -z "$ac_c_werror_flag"
55235 || test ! -s conftest.err'
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); }; } &&
55241 { ac_try='test -s conftest$ac_exeext'
55242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55243 (eval $ac_try) 2>&5
55244 ac_status=$?
55245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55246 (exit $ac_status); }; }; then
55247 eval "$as_ac_var=yes"
55248 else
55249 echo "$as_me: failed program was:" >&5
55250 sed 's/^/| /' conftest.$ac_ext >&5
55252 eval "$as_ac_var=no"
55254 rm -f conftest.err conftest.$ac_objext \
55255 conftest$ac_exeext conftest.$ac_ext
55257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55259 if test `eval echo '${'$as_ac_var'}'` = yes; then
55260 cat >>confdefs.h <<_ACEOF
55261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55262 _ACEOF
55265 done
55275 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55276 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55277 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55278 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55279 echo $ECHO_N "(cached) $ECHO_C" >&6
55280 else
55284 ac_ext=cc
55285 ac_cpp='$CXXCPP $CPPFLAGS'
55286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290 cat >conftest.$ac_ext <<_ACEOF
55291 /* confdefs.h. */
55292 _ACEOF
55293 cat confdefs.h >>conftest.$ac_ext
55294 cat >>conftest.$ac_ext <<_ACEOF
55295 /* end confdefs.h. */
55296 #include <math.h>
55297 #ifdef HAVE_IEEEFP_H
55298 #include <ieeefp.h>
55299 #endif
55302 main ()
55304 qfpclass(0);
55306 return 0;
55308 _ACEOF
55309 rm -f conftest.$ac_objext
55310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55311 (eval $ac_compile) 2>conftest.er1
55312 ac_status=$?
55313 grep -v '^ *+' conftest.er1 >conftest.err
55314 rm -f conftest.er1
55315 cat conftest.err >&5
55316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55317 (exit $ac_status); } &&
55318 { ac_try='test -z "$ac_cxx_werror_flag"
55319 || test ! -s conftest.err'
55320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55321 (eval $ac_try) 2>&5
55322 ac_status=$?
55323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55324 (exit $ac_status); }; } &&
55325 { ac_try='test -s conftest.$ac_objext'
55326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55327 (eval $ac_try) 2>&5
55328 ac_status=$?
55329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55330 (exit $ac_status); }; }; then
55331 glibcxx_cv_func_qfpclass_use=yes
55332 else
55333 echo "$as_me: failed program was:" >&5
55334 sed 's/^/| /' conftest.$ac_ext >&5
55336 glibcxx_cv_func_qfpclass_use=no
55338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55339 ac_ext=c
55340 ac_cpp='$CPP $CPPFLAGS'
55341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55350 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55352 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55354 for ac_func in qfpclass
55356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55357 echo "$as_me:$LINENO: checking for $ac_func" >&5
55358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55359 if eval "test \"\${$as_ac_var+set}\" = set"; then
55360 echo $ECHO_N "(cached) $ECHO_C" >&6
55361 else
55362 if test x$gcc_no_link = xyes; then
55363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55365 { (exit 1); exit 1; }; }
55367 cat >conftest.$ac_ext <<_ACEOF
55368 /* confdefs.h. */
55369 _ACEOF
55370 cat confdefs.h >>conftest.$ac_ext
55371 cat >>conftest.$ac_ext <<_ACEOF
55372 /* end confdefs.h. */
55373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55375 #define $ac_func innocuous_$ac_func
55377 /* System header to define __stub macros and hopefully few prototypes,
55378 which can conflict with char $ac_func (); below.
55379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55380 <limits.h> exists even on freestanding compilers. */
55382 #ifdef __STDC__
55383 # include <limits.h>
55384 #else
55385 # include <assert.h>
55386 #endif
55388 #undef $ac_func
55390 /* Override any gcc2 internal prototype to avoid an error. */
55391 #ifdef __cplusplus
55392 extern "C"
55394 #endif
55395 /* We use char because int might match the return type of a gcc2
55396 builtin and then its argument prototype would still apply. */
55397 char $ac_func ();
55398 /* The GNU C library defines this for functions which it implements
55399 to always fail with ENOSYS. Some functions are actually named
55400 something starting with __ and the normal name is an alias. */
55401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55402 choke me
55403 #else
55404 char (*f) () = $ac_func;
55405 #endif
55406 #ifdef __cplusplus
55408 #endif
55411 main ()
55413 return f != $ac_func;
55415 return 0;
55417 _ACEOF
55418 rm -f conftest.$ac_objext conftest$ac_exeext
55419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55420 (eval $ac_link) 2>conftest.er1
55421 ac_status=$?
55422 grep -v '^ *+' conftest.er1 >conftest.err
55423 rm -f conftest.er1
55424 cat conftest.err >&5
55425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55426 (exit $ac_status); } &&
55427 { ac_try='test -z "$ac_c_werror_flag"
55428 || test ! -s conftest.err'
55429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55430 (eval $ac_try) 2>&5
55431 ac_status=$?
55432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55433 (exit $ac_status); }; } &&
55434 { ac_try='test -s conftest$ac_exeext'
55435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55436 (eval $ac_try) 2>&5
55437 ac_status=$?
55438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55439 (exit $ac_status); }; }; then
55440 eval "$as_ac_var=yes"
55441 else
55442 echo "$as_me: failed program was:" >&5
55443 sed 's/^/| /' conftest.$ac_ext >&5
55445 eval "$as_ac_var=no"
55447 rm -f conftest.err conftest.$ac_objext \
55448 conftest$ac_exeext conftest.$ac_ext
55450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55452 if test `eval echo '${'$as_ac_var'}'` = yes; then
55453 cat >>confdefs.h <<_ACEOF
55454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55455 _ACEOF
55458 done
55460 else
55462 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55463 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55464 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55465 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55466 echo $ECHO_N "(cached) $ECHO_C" >&6
55467 else
55471 ac_ext=cc
55472 ac_cpp='$CXXCPP $CPPFLAGS'
55473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55477 cat >conftest.$ac_ext <<_ACEOF
55478 /* confdefs.h. */
55479 _ACEOF
55480 cat confdefs.h >>conftest.$ac_ext
55481 cat >>conftest.$ac_ext <<_ACEOF
55482 /* end confdefs.h. */
55483 #include <math.h>
55484 #ifdef HAVE_IEEEFP_H
55485 #include <ieeefp.h>
55486 #endif
55489 main ()
55491 _qfpclass(0);
55493 return 0;
55495 _ACEOF
55496 rm -f conftest.$ac_objext
55497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55498 (eval $ac_compile) 2>conftest.er1
55499 ac_status=$?
55500 grep -v '^ *+' conftest.er1 >conftest.err
55501 rm -f conftest.er1
55502 cat conftest.err >&5
55503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55504 (exit $ac_status); } &&
55505 { ac_try='test -z "$ac_cxx_werror_flag"
55506 || test ! -s conftest.err'
55507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55508 (eval $ac_try) 2>&5
55509 ac_status=$?
55510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55511 (exit $ac_status); }; } &&
55512 { ac_try='test -s conftest.$ac_objext'
55513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55514 (eval $ac_try) 2>&5
55515 ac_status=$?
55516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55517 (exit $ac_status); }; }; then
55518 glibcxx_cv_func__qfpclass_use=yes
55519 else
55520 echo "$as_me: failed program was:" >&5
55521 sed 's/^/| /' conftest.$ac_ext >&5
55523 glibcxx_cv_func__qfpclass_use=no
55525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55526 ac_ext=c
55527 ac_cpp='$CPP $CPPFLAGS'
55528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55537 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55539 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55541 for ac_func in _qfpclass
55543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55544 echo "$as_me:$LINENO: checking for $ac_func" >&5
55545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55546 if eval "test \"\${$as_ac_var+set}\" = set"; then
55547 echo $ECHO_N "(cached) $ECHO_C" >&6
55548 else
55549 if test x$gcc_no_link = xyes; then
55550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55552 { (exit 1); exit 1; }; }
55554 cat >conftest.$ac_ext <<_ACEOF
55555 /* confdefs.h. */
55556 _ACEOF
55557 cat confdefs.h >>conftest.$ac_ext
55558 cat >>conftest.$ac_ext <<_ACEOF
55559 /* end confdefs.h. */
55560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55562 #define $ac_func innocuous_$ac_func
55564 /* System header to define __stub macros and hopefully few prototypes,
55565 which can conflict with char $ac_func (); below.
55566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55567 <limits.h> exists even on freestanding compilers. */
55569 #ifdef __STDC__
55570 # include <limits.h>
55571 #else
55572 # include <assert.h>
55573 #endif
55575 #undef $ac_func
55577 /* Override any gcc2 internal prototype to avoid an error. */
55578 #ifdef __cplusplus
55579 extern "C"
55581 #endif
55582 /* We use char because int might match the return type of a gcc2
55583 builtin and then its argument prototype would still apply. */
55584 char $ac_func ();
55585 /* The GNU C library defines this for functions which it implements
55586 to always fail with ENOSYS. Some functions are actually named
55587 something starting with __ and the normal name is an alias. */
55588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55589 choke me
55590 #else
55591 char (*f) () = $ac_func;
55592 #endif
55593 #ifdef __cplusplus
55595 #endif
55598 main ()
55600 return f != $ac_func;
55602 return 0;
55604 _ACEOF
55605 rm -f conftest.$ac_objext conftest$ac_exeext
55606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55607 (eval $ac_link) 2>conftest.er1
55608 ac_status=$?
55609 grep -v '^ *+' conftest.er1 >conftest.err
55610 rm -f conftest.er1
55611 cat conftest.err >&5
55612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55613 (exit $ac_status); } &&
55614 { ac_try='test -z "$ac_c_werror_flag"
55615 || test ! -s conftest.err'
55616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55617 (eval $ac_try) 2>&5
55618 ac_status=$?
55619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55620 (exit $ac_status); }; } &&
55621 { ac_try='test -s conftest$ac_exeext'
55622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55623 (eval $ac_try) 2>&5
55624 ac_status=$?
55625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55626 (exit $ac_status); }; }; then
55627 eval "$as_ac_var=yes"
55628 else
55629 echo "$as_me: failed program was:" >&5
55630 sed 's/^/| /' conftest.$ac_ext >&5
55632 eval "$as_ac_var=no"
55634 rm -f conftest.err conftest.$ac_objext \
55635 conftest$ac_exeext conftest.$ac_ext
55637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55639 if test `eval echo '${'$as_ac_var'}'` = yes; then
55640 cat >>confdefs.h <<_ACEOF
55641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55642 _ACEOF
55645 done
55655 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55656 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55657 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55658 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55659 echo $ECHO_N "(cached) $ECHO_C" >&6
55660 else
55664 ac_ext=cc
55665 ac_cpp='$CXXCPP $CPPFLAGS'
55666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55670 cat >conftest.$ac_ext <<_ACEOF
55671 /* confdefs.h. */
55672 _ACEOF
55673 cat confdefs.h >>conftest.$ac_ext
55674 cat >>conftest.$ac_ext <<_ACEOF
55675 /* end confdefs.h. */
55676 #include <math.h>
55678 main ()
55680 hypot(0, 0);
55682 return 0;
55684 _ACEOF
55685 rm -f conftest.$ac_objext
55686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55687 (eval $ac_compile) 2>conftest.er1
55688 ac_status=$?
55689 grep -v '^ *+' conftest.er1 >conftest.err
55690 rm -f conftest.er1
55691 cat conftest.err >&5
55692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55693 (exit $ac_status); } &&
55694 { ac_try='test -z "$ac_cxx_werror_flag"
55695 || test ! -s conftest.err'
55696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55697 (eval $ac_try) 2>&5
55698 ac_status=$?
55699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55700 (exit $ac_status); }; } &&
55701 { ac_try='test -s conftest.$ac_objext'
55702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55703 (eval $ac_try) 2>&5
55704 ac_status=$?
55705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55706 (exit $ac_status); }; }; then
55707 glibcxx_cv_func_hypot_use=yes
55708 else
55709 echo "$as_me: failed program was:" >&5
55710 sed 's/^/| /' conftest.$ac_ext >&5
55712 glibcxx_cv_func_hypot_use=no
55714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55715 ac_ext=c
55716 ac_cpp='$CPP $CPPFLAGS'
55717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55726 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55728 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55730 for ac_func in hypot
55732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55733 echo "$as_me:$LINENO: checking for $ac_func" >&5
55734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55735 if eval "test \"\${$as_ac_var+set}\" = set"; then
55736 echo $ECHO_N "(cached) $ECHO_C" >&6
55737 else
55738 if test x$gcc_no_link = xyes; then
55739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55741 { (exit 1); exit 1; }; }
55743 cat >conftest.$ac_ext <<_ACEOF
55744 /* confdefs.h. */
55745 _ACEOF
55746 cat confdefs.h >>conftest.$ac_ext
55747 cat >>conftest.$ac_ext <<_ACEOF
55748 /* end confdefs.h. */
55749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55751 #define $ac_func innocuous_$ac_func
55753 /* System header to define __stub macros and hopefully few prototypes,
55754 which can conflict with char $ac_func (); below.
55755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55756 <limits.h> exists even on freestanding compilers. */
55758 #ifdef __STDC__
55759 # include <limits.h>
55760 #else
55761 # include <assert.h>
55762 #endif
55764 #undef $ac_func
55766 /* Override any gcc2 internal prototype to avoid an error. */
55767 #ifdef __cplusplus
55768 extern "C"
55770 #endif
55771 /* We use char because int might match the return type of a gcc2
55772 builtin and then its argument prototype would still apply. */
55773 char $ac_func ();
55774 /* The GNU C library defines this for functions which it implements
55775 to always fail with ENOSYS. Some functions are actually named
55776 something starting with __ and the normal name is an alias. */
55777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55778 choke me
55779 #else
55780 char (*f) () = $ac_func;
55781 #endif
55782 #ifdef __cplusplus
55784 #endif
55787 main ()
55789 return f != $ac_func;
55791 return 0;
55793 _ACEOF
55794 rm -f conftest.$ac_objext conftest$ac_exeext
55795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55796 (eval $ac_link) 2>conftest.er1
55797 ac_status=$?
55798 grep -v '^ *+' conftest.er1 >conftest.err
55799 rm -f conftest.er1
55800 cat conftest.err >&5
55801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55802 (exit $ac_status); } &&
55803 { ac_try='test -z "$ac_c_werror_flag"
55804 || test ! -s conftest.err'
55805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55806 (eval $ac_try) 2>&5
55807 ac_status=$?
55808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55809 (exit $ac_status); }; } &&
55810 { ac_try='test -s conftest$ac_exeext'
55811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55812 (eval $ac_try) 2>&5
55813 ac_status=$?
55814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55815 (exit $ac_status); }; }; then
55816 eval "$as_ac_var=yes"
55817 else
55818 echo "$as_me: failed program was:" >&5
55819 sed 's/^/| /' conftest.$ac_ext >&5
55821 eval "$as_ac_var=no"
55823 rm -f conftest.err conftest.$ac_objext \
55824 conftest$ac_exeext conftest.$ac_ext
55826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55828 if test `eval echo '${'$as_ac_var'}'` = yes; then
55829 cat >>confdefs.h <<_ACEOF
55830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55831 _ACEOF
55834 done
55836 else
55838 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55839 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55840 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55841 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55842 echo $ECHO_N "(cached) $ECHO_C" >&6
55843 else
55847 ac_ext=cc
55848 ac_cpp='$CXXCPP $CPPFLAGS'
55849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55853 cat >conftest.$ac_ext <<_ACEOF
55854 /* confdefs.h. */
55855 _ACEOF
55856 cat confdefs.h >>conftest.$ac_ext
55857 cat >>conftest.$ac_ext <<_ACEOF
55858 /* end confdefs.h. */
55859 #include <math.h>
55861 main ()
55863 _hypot(0, 0);
55865 return 0;
55867 _ACEOF
55868 rm -f conftest.$ac_objext
55869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55870 (eval $ac_compile) 2>conftest.er1
55871 ac_status=$?
55872 grep -v '^ *+' conftest.er1 >conftest.err
55873 rm -f conftest.er1
55874 cat conftest.err >&5
55875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55876 (exit $ac_status); } &&
55877 { ac_try='test -z "$ac_cxx_werror_flag"
55878 || test ! -s conftest.err'
55879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55880 (eval $ac_try) 2>&5
55881 ac_status=$?
55882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55883 (exit $ac_status); }; } &&
55884 { ac_try='test -s conftest.$ac_objext'
55885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55886 (eval $ac_try) 2>&5
55887 ac_status=$?
55888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55889 (exit $ac_status); }; }; then
55890 glibcxx_cv_func__hypot_use=yes
55891 else
55892 echo "$as_me: failed program was:" >&5
55893 sed 's/^/| /' conftest.$ac_ext >&5
55895 glibcxx_cv_func__hypot_use=no
55897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55898 ac_ext=c
55899 ac_cpp='$CPP $CPPFLAGS'
55900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55909 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55911 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55913 for ac_func in _hypot
55915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55916 echo "$as_me:$LINENO: checking for $ac_func" >&5
55917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55918 if eval "test \"\${$as_ac_var+set}\" = set"; then
55919 echo $ECHO_N "(cached) $ECHO_C" >&6
55920 else
55921 if test x$gcc_no_link = xyes; then
55922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55924 { (exit 1); exit 1; }; }
55926 cat >conftest.$ac_ext <<_ACEOF
55927 /* confdefs.h. */
55928 _ACEOF
55929 cat confdefs.h >>conftest.$ac_ext
55930 cat >>conftest.$ac_ext <<_ACEOF
55931 /* end confdefs.h. */
55932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55934 #define $ac_func innocuous_$ac_func
55936 /* System header to define __stub macros and hopefully few prototypes,
55937 which can conflict with char $ac_func (); below.
55938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55939 <limits.h> exists even on freestanding compilers. */
55941 #ifdef __STDC__
55942 # include <limits.h>
55943 #else
55944 # include <assert.h>
55945 #endif
55947 #undef $ac_func
55949 /* Override any gcc2 internal prototype to avoid an error. */
55950 #ifdef __cplusplus
55951 extern "C"
55953 #endif
55954 /* We use char because int might match the return type of a gcc2
55955 builtin and then its argument prototype would still apply. */
55956 char $ac_func ();
55957 /* The GNU C library defines this for functions which it implements
55958 to always fail with ENOSYS. Some functions are actually named
55959 something starting with __ and the normal name is an alias. */
55960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55961 choke me
55962 #else
55963 char (*f) () = $ac_func;
55964 #endif
55965 #ifdef __cplusplus
55967 #endif
55970 main ()
55972 return f != $ac_func;
55974 return 0;
55976 _ACEOF
55977 rm -f conftest.$ac_objext conftest$ac_exeext
55978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55979 (eval $ac_link) 2>conftest.er1
55980 ac_status=$?
55981 grep -v '^ *+' conftest.er1 >conftest.err
55982 rm -f conftest.er1
55983 cat conftest.err >&5
55984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55985 (exit $ac_status); } &&
55986 { ac_try='test -z "$ac_c_werror_flag"
55987 || test ! -s conftest.err'
55988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55989 (eval $ac_try) 2>&5
55990 ac_status=$?
55991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55992 (exit $ac_status); }; } &&
55993 { ac_try='test -s conftest$ac_exeext'
55994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55995 (eval $ac_try) 2>&5
55996 ac_status=$?
55997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55998 (exit $ac_status); }; }; then
55999 eval "$as_ac_var=yes"
56000 else
56001 echo "$as_me: failed program was:" >&5
56002 sed 's/^/| /' conftest.$ac_ext >&5
56004 eval "$as_ac_var=no"
56006 rm -f conftest.err conftest.$ac_objext \
56007 conftest$ac_exeext conftest.$ac_ext
56009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56011 if test `eval echo '${'$as_ac_var'}'` = yes; then
56012 cat >>confdefs.h <<_ACEOF
56013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56014 _ACEOF
56017 done
56027 echo "$as_me:$LINENO: checking for float trig functions" >&5
56028 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56029 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56030 echo $ECHO_N "(cached) $ECHO_C" >&6
56031 else
56035 ac_ext=cc
56036 ac_cpp='$CXXCPP $CPPFLAGS'
56037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56041 cat >conftest.$ac_ext <<_ACEOF
56042 /* confdefs.h. */
56043 _ACEOF
56044 cat confdefs.h >>conftest.$ac_ext
56045 cat >>conftest.$ac_ext <<_ACEOF
56046 /* end confdefs.h. */
56047 #include <math.h>
56049 main ()
56051 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56053 return 0;
56055 _ACEOF
56056 rm -f conftest.$ac_objext
56057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56058 (eval $ac_compile) 2>conftest.er1
56059 ac_status=$?
56060 grep -v '^ *+' conftest.er1 >conftest.err
56061 rm -f conftest.er1
56062 cat conftest.err >&5
56063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56064 (exit $ac_status); } &&
56065 { ac_try='test -z "$ac_cxx_werror_flag"
56066 || test ! -s conftest.err'
56067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56068 (eval $ac_try) 2>&5
56069 ac_status=$?
56070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56071 (exit $ac_status); }; } &&
56072 { ac_try='test -s conftest.$ac_objext'
56073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56074 (eval $ac_try) 2>&5
56075 ac_status=$?
56076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56077 (exit $ac_status); }; }; then
56078 glibcxx_cv_func_float_trig_use=yes
56079 else
56080 echo "$as_me: failed program was:" >&5
56081 sed 's/^/| /' conftest.$ac_ext >&5
56083 glibcxx_cv_func_float_trig_use=no
56085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56086 ac_ext=c
56087 ac_cpp='$CPP $CPPFLAGS'
56088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56095 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56096 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56106 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56109 echo "$as_me:$LINENO: checking for $ac_func" >&5
56110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56111 if eval "test \"\${$as_ac_var+set}\" = set"; then
56112 echo $ECHO_N "(cached) $ECHO_C" >&6
56113 else
56114 if test x$gcc_no_link = xyes; then
56115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56117 { (exit 1); exit 1; }; }
56119 cat >conftest.$ac_ext <<_ACEOF
56120 /* confdefs.h. */
56121 _ACEOF
56122 cat confdefs.h >>conftest.$ac_ext
56123 cat >>conftest.$ac_ext <<_ACEOF
56124 /* end confdefs.h. */
56125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56127 #define $ac_func innocuous_$ac_func
56129 /* System header to define __stub macros and hopefully few prototypes,
56130 which can conflict with char $ac_func (); below.
56131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56132 <limits.h> exists even on freestanding compilers. */
56134 #ifdef __STDC__
56135 # include <limits.h>
56136 #else
56137 # include <assert.h>
56138 #endif
56140 #undef $ac_func
56142 /* Override any gcc2 internal prototype to avoid an error. */
56143 #ifdef __cplusplus
56144 extern "C"
56146 #endif
56147 /* We use char because int might match the return type of a gcc2
56148 builtin and then its argument prototype would still apply. */
56149 char $ac_func ();
56150 /* The GNU C library defines this for functions which it implements
56151 to always fail with ENOSYS. Some functions are actually named
56152 something starting with __ and the normal name is an alias. */
56153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56154 choke me
56155 #else
56156 char (*f) () = $ac_func;
56157 #endif
56158 #ifdef __cplusplus
56160 #endif
56163 main ()
56165 return f != $ac_func;
56167 return 0;
56169 _ACEOF
56170 rm -f conftest.$ac_objext conftest$ac_exeext
56171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56172 (eval $ac_link) 2>conftest.er1
56173 ac_status=$?
56174 grep -v '^ *+' conftest.er1 >conftest.err
56175 rm -f conftest.er1
56176 cat conftest.err >&5
56177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56178 (exit $ac_status); } &&
56179 { ac_try='test -z "$ac_c_werror_flag"
56180 || test ! -s conftest.err'
56181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56182 (eval $ac_try) 2>&5
56183 ac_status=$?
56184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56185 (exit $ac_status); }; } &&
56186 { ac_try='test -s conftest$ac_exeext'
56187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56188 (eval $ac_try) 2>&5
56189 ac_status=$?
56190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56191 (exit $ac_status); }; }; then
56192 eval "$as_ac_var=yes"
56193 else
56194 echo "$as_me: failed program was:" >&5
56195 sed 's/^/| /' conftest.$ac_ext >&5
56197 eval "$as_ac_var=no"
56199 rm -f conftest.err conftest.$ac_objext \
56200 conftest$ac_exeext conftest.$ac_ext
56202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56204 if test `eval echo '${'$as_ac_var'}'` = yes; then
56205 cat >>confdefs.h <<_ACEOF
56206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56207 _ACEOF
56210 done
56212 else
56213 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56214 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56215 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56216 echo $ECHO_N "(cached) $ECHO_C" >&6
56217 else
56221 ac_ext=cc
56222 ac_cpp='$CXXCPP $CPPFLAGS'
56223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56227 cat >conftest.$ac_ext <<_ACEOF
56228 /* confdefs.h. */
56229 _ACEOF
56230 cat confdefs.h >>conftest.$ac_ext
56231 cat >>conftest.$ac_ext <<_ACEOF
56232 /* end confdefs.h. */
56233 #include <math.h>
56235 main ()
56237 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56239 return 0;
56241 _ACEOF
56242 rm -f conftest.$ac_objext
56243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56244 (eval $ac_compile) 2>conftest.er1
56245 ac_status=$?
56246 grep -v '^ *+' conftest.er1 >conftest.err
56247 rm -f conftest.er1
56248 cat conftest.err >&5
56249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56250 (exit $ac_status); } &&
56251 { ac_try='test -z "$ac_cxx_werror_flag"
56252 || test ! -s conftest.err'
56253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56254 (eval $ac_try) 2>&5
56255 ac_status=$?
56256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56257 (exit $ac_status); }; } &&
56258 { ac_try='test -s conftest.$ac_objext'
56259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56260 (eval $ac_try) 2>&5
56261 ac_status=$?
56262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263 (exit $ac_status); }; }; then
56264 glibcxx_cv_func__float_trig_use=yes
56265 else
56266 echo "$as_me: failed program was:" >&5
56267 sed 's/^/| /' conftest.$ac_ext >&5
56269 glibcxx_cv_func__float_trig_use=no
56271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56272 ac_ext=c
56273 ac_cpp='$CPP $CPPFLAGS'
56274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56281 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56282 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56292 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56295 echo "$as_me:$LINENO: checking for $ac_func" >&5
56296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56297 if eval "test \"\${$as_ac_var+set}\" = set"; then
56298 echo $ECHO_N "(cached) $ECHO_C" >&6
56299 else
56300 if test x$gcc_no_link = xyes; then
56301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56303 { (exit 1); exit 1; }; }
56305 cat >conftest.$ac_ext <<_ACEOF
56306 /* confdefs.h. */
56307 _ACEOF
56308 cat confdefs.h >>conftest.$ac_ext
56309 cat >>conftest.$ac_ext <<_ACEOF
56310 /* end confdefs.h. */
56311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56313 #define $ac_func innocuous_$ac_func
56315 /* System header to define __stub macros and hopefully few prototypes,
56316 which can conflict with char $ac_func (); below.
56317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56318 <limits.h> exists even on freestanding compilers. */
56320 #ifdef __STDC__
56321 # include <limits.h>
56322 #else
56323 # include <assert.h>
56324 #endif
56326 #undef $ac_func
56328 /* Override any gcc2 internal prototype to avoid an error. */
56329 #ifdef __cplusplus
56330 extern "C"
56332 #endif
56333 /* We use char because int might match the return type of a gcc2
56334 builtin and then its argument prototype would still apply. */
56335 char $ac_func ();
56336 /* The GNU C library defines this for functions which it implements
56337 to always fail with ENOSYS. Some functions are actually named
56338 something starting with __ and the normal name is an alias. */
56339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56340 choke me
56341 #else
56342 char (*f) () = $ac_func;
56343 #endif
56344 #ifdef __cplusplus
56346 #endif
56349 main ()
56351 return f != $ac_func;
56353 return 0;
56355 _ACEOF
56356 rm -f conftest.$ac_objext conftest$ac_exeext
56357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56358 (eval $ac_link) 2>conftest.er1
56359 ac_status=$?
56360 grep -v '^ *+' conftest.er1 >conftest.err
56361 rm -f conftest.er1
56362 cat conftest.err >&5
56363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56364 (exit $ac_status); } &&
56365 { ac_try='test -z "$ac_c_werror_flag"
56366 || test ! -s conftest.err'
56367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56368 (eval $ac_try) 2>&5
56369 ac_status=$?
56370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56371 (exit $ac_status); }; } &&
56372 { ac_try='test -s conftest$ac_exeext'
56373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56374 (eval $ac_try) 2>&5
56375 ac_status=$?
56376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56377 (exit $ac_status); }; }; then
56378 eval "$as_ac_var=yes"
56379 else
56380 echo "$as_me: failed program was:" >&5
56381 sed 's/^/| /' conftest.$ac_ext >&5
56383 eval "$as_ac_var=no"
56385 rm -f conftest.err conftest.$ac_objext \
56386 conftest$ac_exeext conftest.$ac_ext
56388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56390 if test `eval echo '${'$as_ac_var'}'` = yes; then
56391 cat >>confdefs.h <<_ACEOF
56392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56393 _ACEOF
56396 done
56414 echo "$as_me:$LINENO: checking for float round functions" >&5
56415 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56416 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56417 echo $ECHO_N "(cached) $ECHO_C" >&6
56418 else
56422 ac_ext=cc
56423 ac_cpp='$CXXCPP $CPPFLAGS'
56424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56428 cat >conftest.$ac_ext <<_ACEOF
56429 /* confdefs.h. */
56430 _ACEOF
56431 cat confdefs.h >>conftest.$ac_ext
56432 cat >>conftest.$ac_ext <<_ACEOF
56433 /* end confdefs.h. */
56434 #include <math.h>
56436 main ()
56438 ceilf (0); floorf (0);
56440 return 0;
56442 _ACEOF
56443 rm -f conftest.$ac_objext
56444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56445 (eval $ac_compile) 2>conftest.er1
56446 ac_status=$?
56447 grep -v '^ *+' conftest.er1 >conftest.err
56448 rm -f conftest.er1
56449 cat conftest.err >&5
56450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56451 (exit $ac_status); } &&
56452 { ac_try='test -z "$ac_cxx_werror_flag"
56453 || test ! -s conftest.err'
56454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56455 (eval $ac_try) 2>&5
56456 ac_status=$?
56457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56458 (exit $ac_status); }; } &&
56459 { ac_try='test -s conftest.$ac_objext'
56460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56461 (eval $ac_try) 2>&5
56462 ac_status=$?
56463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56464 (exit $ac_status); }; }; then
56465 glibcxx_cv_func_float_round_use=yes
56466 else
56467 echo "$as_me: failed program was:" >&5
56468 sed 's/^/| /' conftest.$ac_ext >&5
56470 glibcxx_cv_func_float_round_use=no
56472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56473 ac_ext=c
56474 ac_cpp='$CPP $CPPFLAGS'
56475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56482 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56483 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56486 for ac_func in ceilf floorf
56488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56489 echo "$as_me:$LINENO: checking for $ac_func" >&5
56490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56491 if eval "test \"\${$as_ac_var+set}\" = set"; then
56492 echo $ECHO_N "(cached) $ECHO_C" >&6
56493 else
56494 if test x$gcc_no_link = xyes; then
56495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56497 { (exit 1); exit 1; }; }
56499 cat >conftest.$ac_ext <<_ACEOF
56500 /* confdefs.h. */
56501 _ACEOF
56502 cat confdefs.h >>conftest.$ac_ext
56503 cat >>conftest.$ac_ext <<_ACEOF
56504 /* end confdefs.h. */
56505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56507 #define $ac_func innocuous_$ac_func
56509 /* System header to define __stub macros and hopefully few prototypes,
56510 which can conflict with char $ac_func (); below.
56511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56512 <limits.h> exists even on freestanding compilers. */
56514 #ifdef __STDC__
56515 # include <limits.h>
56516 #else
56517 # include <assert.h>
56518 #endif
56520 #undef $ac_func
56522 /* Override any gcc2 internal prototype to avoid an error. */
56523 #ifdef __cplusplus
56524 extern "C"
56526 #endif
56527 /* We use char because int might match the return type of a gcc2
56528 builtin and then its argument prototype would still apply. */
56529 char $ac_func ();
56530 /* The GNU C library defines this for functions which it implements
56531 to always fail with ENOSYS. Some functions are actually named
56532 something starting with __ and the normal name is an alias. */
56533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56534 choke me
56535 #else
56536 char (*f) () = $ac_func;
56537 #endif
56538 #ifdef __cplusplus
56540 #endif
56543 main ()
56545 return f != $ac_func;
56547 return 0;
56549 _ACEOF
56550 rm -f conftest.$ac_objext conftest$ac_exeext
56551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56552 (eval $ac_link) 2>conftest.er1
56553 ac_status=$?
56554 grep -v '^ *+' conftest.er1 >conftest.err
56555 rm -f conftest.er1
56556 cat conftest.err >&5
56557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56558 (exit $ac_status); } &&
56559 { ac_try='test -z "$ac_c_werror_flag"
56560 || test ! -s conftest.err'
56561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56562 (eval $ac_try) 2>&5
56563 ac_status=$?
56564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56565 (exit $ac_status); }; } &&
56566 { ac_try='test -s conftest$ac_exeext'
56567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56568 (eval $ac_try) 2>&5
56569 ac_status=$?
56570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56571 (exit $ac_status); }; }; then
56572 eval "$as_ac_var=yes"
56573 else
56574 echo "$as_me: failed program was:" >&5
56575 sed 's/^/| /' conftest.$ac_ext >&5
56577 eval "$as_ac_var=no"
56579 rm -f conftest.err conftest.$ac_objext \
56580 conftest$ac_exeext conftest.$ac_ext
56582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56584 if test `eval echo '${'$as_ac_var'}'` = yes; then
56585 cat >>confdefs.h <<_ACEOF
56586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56587 _ACEOF
56590 done
56592 else
56593 echo "$as_me:$LINENO: checking for _float round functions" >&5
56594 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56595 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56596 echo $ECHO_N "(cached) $ECHO_C" >&6
56597 else
56601 ac_ext=cc
56602 ac_cpp='$CXXCPP $CPPFLAGS'
56603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56607 cat >conftest.$ac_ext <<_ACEOF
56608 /* confdefs.h. */
56609 _ACEOF
56610 cat confdefs.h >>conftest.$ac_ext
56611 cat >>conftest.$ac_ext <<_ACEOF
56612 /* end confdefs.h. */
56613 #include <math.h>
56615 main ()
56617 _ceilf (0); _floorf (0);
56619 return 0;
56621 _ACEOF
56622 rm -f conftest.$ac_objext
56623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56624 (eval $ac_compile) 2>conftest.er1
56625 ac_status=$?
56626 grep -v '^ *+' conftest.er1 >conftest.err
56627 rm -f conftest.er1
56628 cat conftest.err >&5
56629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56630 (exit $ac_status); } &&
56631 { ac_try='test -z "$ac_cxx_werror_flag"
56632 || test ! -s conftest.err'
56633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56634 (eval $ac_try) 2>&5
56635 ac_status=$?
56636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56637 (exit $ac_status); }; } &&
56638 { ac_try='test -s conftest.$ac_objext'
56639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56640 (eval $ac_try) 2>&5
56641 ac_status=$?
56642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56643 (exit $ac_status); }; }; then
56644 glibcxx_cv_func__float_round_use=yes
56645 else
56646 echo "$as_me: failed program was:" >&5
56647 sed 's/^/| /' conftest.$ac_ext >&5
56649 glibcxx_cv_func__float_round_use=no
56651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56652 ac_ext=c
56653 ac_cpp='$CPP $CPPFLAGS'
56654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56661 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56662 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56665 for ac_func in _ceilf _floorf
56667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56668 echo "$as_me:$LINENO: checking for $ac_func" >&5
56669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56670 if eval "test \"\${$as_ac_var+set}\" = set"; then
56671 echo $ECHO_N "(cached) $ECHO_C" >&6
56672 else
56673 if test x$gcc_no_link = xyes; then
56674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56676 { (exit 1); exit 1; }; }
56678 cat >conftest.$ac_ext <<_ACEOF
56679 /* confdefs.h. */
56680 _ACEOF
56681 cat confdefs.h >>conftest.$ac_ext
56682 cat >>conftest.$ac_ext <<_ACEOF
56683 /* end confdefs.h. */
56684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56686 #define $ac_func innocuous_$ac_func
56688 /* System header to define __stub macros and hopefully few prototypes,
56689 which can conflict with char $ac_func (); below.
56690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56691 <limits.h> exists even on freestanding compilers. */
56693 #ifdef __STDC__
56694 # include <limits.h>
56695 #else
56696 # include <assert.h>
56697 #endif
56699 #undef $ac_func
56701 /* Override any gcc2 internal prototype to avoid an error. */
56702 #ifdef __cplusplus
56703 extern "C"
56705 #endif
56706 /* We use char because int might match the return type of a gcc2
56707 builtin and then its argument prototype would still apply. */
56708 char $ac_func ();
56709 /* The GNU C library defines this for functions which it implements
56710 to always fail with ENOSYS. Some functions are actually named
56711 something starting with __ and the normal name is an alias. */
56712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56713 choke me
56714 #else
56715 char (*f) () = $ac_func;
56716 #endif
56717 #ifdef __cplusplus
56719 #endif
56722 main ()
56724 return f != $ac_func;
56726 return 0;
56728 _ACEOF
56729 rm -f conftest.$ac_objext conftest$ac_exeext
56730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56731 (eval $ac_link) 2>conftest.er1
56732 ac_status=$?
56733 grep -v '^ *+' conftest.er1 >conftest.err
56734 rm -f conftest.er1
56735 cat conftest.err >&5
56736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56737 (exit $ac_status); } &&
56738 { ac_try='test -z "$ac_c_werror_flag"
56739 || test ! -s conftest.err'
56740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56741 (eval $ac_try) 2>&5
56742 ac_status=$?
56743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56744 (exit $ac_status); }; } &&
56745 { ac_try='test -s conftest$ac_exeext'
56746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56747 (eval $ac_try) 2>&5
56748 ac_status=$?
56749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56750 (exit $ac_status); }; }; then
56751 eval "$as_ac_var=yes"
56752 else
56753 echo "$as_me: failed program was:" >&5
56754 sed 's/^/| /' conftest.$ac_ext >&5
56756 eval "$as_ac_var=no"
56758 rm -f conftest.err conftest.$ac_objext \
56759 conftest$ac_exeext conftest.$ac_ext
56761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56763 if test `eval echo '${'$as_ac_var'}'` = yes; then
56764 cat >>confdefs.h <<_ACEOF
56765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56766 _ACEOF
56769 done
56781 echo "$as_me:$LINENO: checking for expf declaration" >&5
56782 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56783 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56784 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56785 echo $ECHO_N "(cached) $ECHO_C" >&6
56786 else
56790 ac_ext=cc
56791 ac_cpp='$CXXCPP $CPPFLAGS'
56792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56796 cat >conftest.$ac_ext <<_ACEOF
56797 /* confdefs.h. */
56798 _ACEOF
56799 cat confdefs.h >>conftest.$ac_ext
56800 cat >>conftest.$ac_ext <<_ACEOF
56801 /* end confdefs.h. */
56802 #include <math.h>
56803 #ifdef HAVE_IEEEFP_H
56804 #include <ieeefp.h>
56805 #endif
56808 main ()
56810 expf(0);
56812 return 0;
56814 _ACEOF
56815 rm -f conftest.$ac_objext
56816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56817 (eval $ac_compile) 2>conftest.er1
56818 ac_status=$?
56819 grep -v '^ *+' conftest.er1 >conftest.err
56820 rm -f conftest.er1
56821 cat conftest.err >&5
56822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56823 (exit $ac_status); } &&
56824 { ac_try='test -z "$ac_cxx_werror_flag"
56825 || test ! -s conftest.err'
56826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56827 (eval $ac_try) 2>&5
56828 ac_status=$?
56829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56830 (exit $ac_status); }; } &&
56831 { ac_try='test -s conftest.$ac_objext'
56832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56833 (eval $ac_try) 2>&5
56834 ac_status=$?
56835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56836 (exit $ac_status); }; }; then
56837 glibcxx_cv_func_expf_use=yes
56838 else
56839 echo "$as_me: failed program was:" >&5
56840 sed 's/^/| /' conftest.$ac_ext >&5
56842 glibcxx_cv_func_expf_use=no
56844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56845 ac_ext=c
56846 ac_cpp='$CPP $CPPFLAGS'
56847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56855 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56856 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56858 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56860 for ac_func in expf
56862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56863 echo "$as_me:$LINENO: checking for $ac_func" >&5
56864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56865 if eval "test \"\${$as_ac_var+set}\" = set"; then
56866 echo $ECHO_N "(cached) $ECHO_C" >&6
56867 else
56868 if test x$gcc_no_link = xyes; then
56869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56871 { (exit 1); exit 1; }; }
56873 cat >conftest.$ac_ext <<_ACEOF
56874 /* confdefs.h. */
56875 _ACEOF
56876 cat confdefs.h >>conftest.$ac_ext
56877 cat >>conftest.$ac_ext <<_ACEOF
56878 /* end confdefs.h. */
56879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56881 #define $ac_func innocuous_$ac_func
56883 /* System header to define __stub macros and hopefully few prototypes,
56884 which can conflict with char $ac_func (); below.
56885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56886 <limits.h> exists even on freestanding compilers. */
56888 #ifdef __STDC__
56889 # include <limits.h>
56890 #else
56891 # include <assert.h>
56892 #endif
56894 #undef $ac_func
56896 /* Override any gcc2 internal prototype to avoid an error. */
56897 #ifdef __cplusplus
56898 extern "C"
56900 #endif
56901 /* We use char because int might match the return type of a gcc2
56902 builtin and then its argument prototype would still apply. */
56903 char $ac_func ();
56904 /* The GNU C library defines this for functions which it implements
56905 to always fail with ENOSYS. Some functions are actually named
56906 something starting with __ and the normal name is an alias. */
56907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56908 choke me
56909 #else
56910 char (*f) () = $ac_func;
56911 #endif
56912 #ifdef __cplusplus
56914 #endif
56917 main ()
56919 return f != $ac_func;
56921 return 0;
56923 _ACEOF
56924 rm -f conftest.$ac_objext conftest$ac_exeext
56925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56926 (eval $ac_link) 2>conftest.er1
56927 ac_status=$?
56928 grep -v '^ *+' conftest.er1 >conftest.err
56929 rm -f conftest.er1
56930 cat conftest.err >&5
56931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56932 (exit $ac_status); } &&
56933 { ac_try='test -z "$ac_c_werror_flag"
56934 || test ! -s conftest.err'
56935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56936 (eval $ac_try) 2>&5
56937 ac_status=$?
56938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56939 (exit $ac_status); }; } &&
56940 { ac_try='test -s conftest$ac_exeext'
56941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56942 (eval $ac_try) 2>&5
56943 ac_status=$?
56944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56945 (exit $ac_status); }; }; then
56946 eval "$as_ac_var=yes"
56947 else
56948 echo "$as_me: failed program was:" >&5
56949 sed 's/^/| /' conftest.$ac_ext >&5
56951 eval "$as_ac_var=no"
56953 rm -f conftest.err conftest.$ac_objext \
56954 conftest$ac_exeext conftest.$ac_ext
56956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56958 if test `eval echo '${'$as_ac_var'}'` = yes; then
56959 cat >>confdefs.h <<_ACEOF
56960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56961 _ACEOF
56964 done
56966 else
56968 echo "$as_me:$LINENO: checking for _expf declaration" >&5
56969 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
56970 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56971 if test "${glibcxx_cv_func__expf_use+set}" = set; then
56972 echo $ECHO_N "(cached) $ECHO_C" >&6
56973 else
56977 ac_ext=cc
56978 ac_cpp='$CXXCPP $CPPFLAGS'
56979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56983 cat >conftest.$ac_ext <<_ACEOF
56984 /* confdefs.h. */
56985 _ACEOF
56986 cat confdefs.h >>conftest.$ac_ext
56987 cat >>conftest.$ac_ext <<_ACEOF
56988 /* end confdefs.h. */
56989 #include <math.h>
56990 #ifdef HAVE_IEEEFP_H
56991 #include <ieeefp.h>
56992 #endif
56995 main ()
56997 _expf(0);
56999 return 0;
57001 _ACEOF
57002 rm -f conftest.$ac_objext
57003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57004 (eval $ac_compile) 2>conftest.er1
57005 ac_status=$?
57006 grep -v '^ *+' conftest.er1 >conftest.err
57007 rm -f conftest.er1
57008 cat conftest.err >&5
57009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57010 (exit $ac_status); } &&
57011 { ac_try='test -z "$ac_cxx_werror_flag"
57012 || test ! -s conftest.err'
57013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57014 (eval $ac_try) 2>&5
57015 ac_status=$?
57016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57017 (exit $ac_status); }; } &&
57018 { ac_try='test -s conftest.$ac_objext'
57019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57020 (eval $ac_try) 2>&5
57021 ac_status=$?
57022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57023 (exit $ac_status); }; }; then
57024 glibcxx_cv_func__expf_use=yes
57025 else
57026 echo "$as_me: failed program was:" >&5
57027 sed 's/^/| /' conftest.$ac_ext >&5
57029 glibcxx_cv_func__expf_use=no
57031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57032 ac_ext=c
57033 ac_cpp='$CPP $CPPFLAGS'
57034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57043 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57045 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57047 for ac_func in _expf
57049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57050 echo "$as_me:$LINENO: checking for $ac_func" >&5
57051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57052 if eval "test \"\${$as_ac_var+set}\" = set"; then
57053 echo $ECHO_N "(cached) $ECHO_C" >&6
57054 else
57055 if test x$gcc_no_link = xyes; then
57056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57058 { (exit 1); exit 1; }; }
57060 cat >conftest.$ac_ext <<_ACEOF
57061 /* confdefs.h. */
57062 _ACEOF
57063 cat confdefs.h >>conftest.$ac_ext
57064 cat >>conftest.$ac_ext <<_ACEOF
57065 /* end confdefs.h. */
57066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57068 #define $ac_func innocuous_$ac_func
57070 /* System header to define __stub macros and hopefully few prototypes,
57071 which can conflict with char $ac_func (); below.
57072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57073 <limits.h> exists even on freestanding compilers. */
57075 #ifdef __STDC__
57076 # include <limits.h>
57077 #else
57078 # include <assert.h>
57079 #endif
57081 #undef $ac_func
57083 /* Override any gcc2 internal prototype to avoid an error. */
57084 #ifdef __cplusplus
57085 extern "C"
57087 #endif
57088 /* We use char because int might match the return type of a gcc2
57089 builtin and then its argument prototype would still apply. */
57090 char $ac_func ();
57091 /* The GNU C library defines this for functions which it implements
57092 to always fail with ENOSYS. Some functions are actually named
57093 something starting with __ and the normal name is an alias. */
57094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57095 choke me
57096 #else
57097 char (*f) () = $ac_func;
57098 #endif
57099 #ifdef __cplusplus
57101 #endif
57104 main ()
57106 return f != $ac_func;
57108 return 0;
57110 _ACEOF
57111 rm -f conftest.$ac_objext conftest$ac_exeext
57112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57113 (eval $ac_link) 2>conftest.er1
57114 ac_status=$?
57115 grep -v '^ *+' conftest.er1 >conftest.err
57116 rm -f conftest.er1
57117 cat conftest.err >&5
57118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57119 (exit $ac_status); } &&
57120 { ac_try='test -z "$ac_c_werror_flag"
57121 || test ! -s conftest.err'
57122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57123 (eval $ac_try) 2>&5
57124 ac_status=$?
57125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57126 (exit $ac_status); }; } &&
57127 { ac_try='test -s conftest$ac_exeext'
57128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57129 (eval $ac_try) 2>&5
57130 ac_status=$?
57131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57132 (exit $ac_status); }; }; then
57133 eval "$as_ac_var=yes"
57134 else
57135 echo "$as_me: failed program was:" >&5
57136 sed 's/^/| /' conftest.$ac_ext >&5
57138 eval "$as_ac_var=no"
57140 rm -f conftest.err conftest.$ac_objext \
57141 conftest$ac_exeext conftest.$ac_ext
57143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57145 if test `eval echo '${'$as_ac_var'}'` = yes; then
57146 cat >>confdefs.h <<_ACEOF
57147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57148 _ACEOF
57151 done
57161 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57162 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57163 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57164 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57165 echo $ECHO_N "(cached) $ECHO_C" >&6
57166 else
57170 ac_ext=cc
57171 ac_cpp='$CXXCPP $CPPFLAGS'
57172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57176 cat >conftest.$ac_ext <<_ACEOF
57177 /* confdefs.h. */
57178 _ACEOF
57179 cat confdefs.h >>conftest.$ac_ext
57180 cat >>conftest.$ac_ext <<_ACEOF
57181 /* end confdefs.h. */
57182 #include <math.h>
57183 #ifdef HAVE_IEEEFP_H
57184 #include <ieeefp.h>
57185 #endif
57188 main ()
57190 isnanf(0);
57192 return 0;
57194 _ACEOF
57195 rm -f conftest.$ac_objext
57196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57197 (eval $ac_compile) 2>conftest.er1
57198 ac_status=$?
57199 grep -v '^ *+' conftest.er1 >conftest.err
57200 rm -f conftest.er1
57201 cat conftest.err >&5
57202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57203 (exit $ac_status); } &&
57204 { ac_try='test -z "$ac_cxx_werror_flag"
57205 || test ! -s conftest.err'
57206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57207 (eval $ac_try) 2>&5
57208 ac_status=$?
57209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57210 (exit $ac_status); }; } &&
57211 { ac_try='test -s conftest.$ac_objext'
57212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57213 (eval $ac_try) 2>&5
57214 ac_status=$?
57215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57216 (exit $ac_status); }; }; then
57217 glibcxx_cv_func_isnanf_use=yes
57218 else
57219 echo "$as_me: failed program was:" >&5
57220 sed 's/^/| /' conftest.$ac_ext >&5
57222 glibcxx_cv_func_isnanf_use=no
57224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57225 ac_ext=c
57226 ac_cpp='$CPP $CPPFLAGS'
57227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57236 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57238 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57240 for ac_func in isnanf
57242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57243 echo "$as_me:$LINENO: checking for $ac_func" >&5
57244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57245 if eval "test \"\${$as_ac_var+set}\" = set"; then
57246 echo $ECHO_N "(cached) $ECHO_C" >&6
57247 else
57248 if test x$gcc_no_link = xyes; then
57249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57251 { (exit 1); exit 1; }; }
57253 cat >conftest.$ac_ext <<_ACEOF
57254 /* confdefs.h. */
57255 _ACEOF
57256 cat confdefs.h >>conftest.$ac_ext
57257 cat >>conftest.$ac_ext <<_ACEOF
57258 /* end confdefs.h. */
57259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57261 #define $ac_func innocuous_$ac_func
57263 /* System header to define __stub macros and hopefully few prototypes,
57264 which can conflict with char $ac_func (); below.
57265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57266 <limits.h> exists even on freestanding compilers. */
57268 #ifdef __STDC__
57269 # include <limits.h>
57270 #else
57271 # include <assert.h>
57272 #endif
57274 #undef $ac_func
57276 /* Override any gcc2 internal prototype to avoid an error. */
57277 #ifdef __cplusplus
57278 extern "C"
57280 #endif
57281 /* We use char because int might match the return type of a gcc2
57282 builtin and then its argument prototype would still apply. */
57283 char $ac_func ();
57284 /* The GNU C library defines this for functions which it implements
57285 to always fail with ENOSYS. Some functions are actually named
57286 something starting with __ and the normal name is an alias. */
57287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57288 choke me
57289 #else
57290 char (*f) () = $ac_func;
57291 #endif
57292 #ifdef __cplusplus
57294 #endif
57297 main ()
57299 return f != $ac_func;
57301 return 0;
57303 _ACEOF
57304 rm -f conftest.$ac_objext conftest$ac_exeext
57305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57306 (eval $ac_link) 2>conftest.er1
57307 ac_status=$?
57308 grep -v '^ *+' conftest.er1 >conftest.err
57309 rm -f conftest.er1
57310 cat conftest.err >&5
57311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57312 (exit $ac_status); } &&
57313 { ac_try='test -z "$ac_c_werror_flag"
57314 || test ! -s conftest.err'
57315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57316 (eval $ac_try) 2>&5
57317 ac_status=$?
57318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57319 (exit $ac_status); }; } &&
57320 { ac_try='test -s conftest$ac_exeext'
57321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57322 (eval $ac_try) 2>&5
57323 ac_status=$?
57324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57325 (exit $ac_status); }; }; then
57326 eval "$as_ac_var=yes"
57327 else
57328 echo "$as_me: failed program was:" >&5
57329 sed 's/^/| /' conftest.$ac_ext >&5
57331 eval "$as_ac_var=no"
57333 rm -f conftest.err conftest.$ac_objext \
57334 conftest$ac_exeext conftest.$ac_ext
57336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57338 if test `eval echo '${'$as_ac_var'}'` = yes; then
57339 cat >>confdefs.h <<_ACEOF
57340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57341 _ACEOF
57344 done
57346 else
57348 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57349 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57350 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57351 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57352 echo $ECHO_N "(cached) $ECHO_C" >&6
57353 else
57357 ac_ext=cc
57358 ac_cpp='$CXXCPP $CPPFLAGS'
57359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57363 cat >conftest.$ac_ext <<_ACEOF
57364 /* confdefs.h. */
57365 _ACEOF
57366 cat confdefs.h >>conftest.$ac_ext
57367 cat >>conftest.$ac_ext <<_ACEOF
57368 /* end confdefs.h. */
57369 #include <math.h>
57370 #ifdef HAVE_IEEEFP_H
57371 #include <ieeefp.h>
57372 #endif
57375 main ()
57377 _isnanf(0);
57379 return 0;
57381 _ACEOF
57382 rm -f conftest.$ac_objext
57383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57384 (eval $ac_compile) 2>conftest.er1
57385 ac_status=$?
57386 grep -v '^ *+' conftest.er1 >conftest.err
57387 rm -f conftest.er1
57388 cat conftest.err >&5
57389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57390 (exit $ac_status); } &&
57391 { ac_try='test -z "$ac_cxx_werror_flag"
57392 || test ! -s conftest.err'
57393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57394 (eval $ac_try) 2>&5
57395 ac_status=$?
57396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57397 (exit $ac_status); }; } &&
57398 { ac_try='test -s conftest.$ac_objext'
57399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57400 (eval $ac_try) 2>&5
57401 ac_status=$?
57402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57403 (exit $ac_status); }; }; then
57404 glibcxx_cv_func__isnanf_use=yes
57405 else
57406 echo "$as_me: failed program was:" >&5
57407 sed 's/^/| /' conftest.$ac_ext >&5
57409 glibcxx_cv_func__isnanf_use=no
57411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57412 ac_ext=c
57413 ac_cpp='$CPP $CPPFLAGS'
57414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57423 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57425 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57427 for ac_func in _isnanf
57429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57430 echo "$as_me:$LINENO: checking for $ac_func" >&5
57431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57432 if eval "test \"\${$as_ac_var+set}\" = set"; then
57433 echo $ECHO_N "(cached) $ECHO_C" >&6
57434 else
57435 if test x$gcc_no_link = xyes; then
57436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57438 { (exit 1); exit 1; }; }
57440 cat >conftest.$ac_ext <<_ACEOF
57441 /* confdefs.h. */
57442 _ACEOF
57443 cat confdefs.h >>conftest.$ac_ext
57444 cat >>conftest.$ac_ext <<_ACEOF
57445 /* end confdefs.h. */
57446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57448 #define $ac_func innocuous_$ac_func
57450 /* System header to define __stub macros and hopefully few prototypes,
57451 which can conflict with char $ac_func (); below.
57452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57453 <limits.h> exists even on freestanding compilers. */
57455 #ifdef __STDC__
57456 # include <limits.h>
57457 #else
57458 # include <assert.h>
57459 #endif
57461 #undef $ac_func
57463 /* Override any gcc2 internal prototype to avoid an error. */
57464 #ifdef __cplusplus
57465 extern "C"
57467 #endif
57468 /* We use char because int might match the return type of a gcc2
57469 builtin and then its argument prototype would still apply. */
57470 char $ac_func ();
57471 /* The GNU C library defines this for functions which it implements
57472 to always fail with ENOSYS. Some functions are actually named
57473 something starting with __ and the normal name is an alias. */
57474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57475 choke me
57476 #else
57477 char (*f) () = $ac_func;
57478 #endif
57479 #ifdef __cplusplus
57481 #endif
57484 main ()
57486 return f != $ac_func;
57488 return 0;
57490 _ACEOF
57491 rm -f conftest.$ac_objext conftest$ac_exeext
57492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57493 (eval $ac_link) 2>conftest.er1
57494 ac_status=$?
57495 grep -v '^ *+' conftest.er1 >conftest.err
57496 rm -f conftest.er1
57497 cat conftest.err >&5
57498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57499 (exit $ac_status); } &&
57500 { ac_try='test -z "$ac_c_werror_flag"
57501 || test ! -s conftest.err'
57502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57503 (eval $ac_try) 2>&5
57504 ac_status=$?
57505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57506 (exit $ac_status); }; } &&
57507 { ac_try='test -s conftest$ac_exeext'
57508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57509 (eval $ac_try) 2>&5
57510 ac_status=$?
57511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57512 (exit $ac_status); }; }; then
57513 eval "$as_ac_var=yes"
57514 else
57515 echo "$as_me: failed program was:" >&5
57516 sed 's/^/| /' conftest.$ac_ext >&5
57518 eval "$as_ac_var=no"
57520 rm -f conftest.err conftest.$ac_objext \
57521 conftest$ac_exeext conftest.$ac_ext
57523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57525 if test `eval echo '${'$as_ac_var'}'` = yes; then
57526 cat >>confdefs.h <<_ACEOF
57527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57528 _ACEOF
57531 done
57541 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57542 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57543 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57544 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57545 echo $ECHO_N "(cached) $ECHO_C" >&6
57546 else
57550 ac_ext=cc
57551 ac_cpp='$CXXCPP $CPPFLAGS'
57552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57556 cat >conftest.$ac_ext <<_ACEOF
57557 /* confdefs.h. */
57558 _ACEOF
57559 cat confdefs.h >>conftest.$ac_ext
57560 cat >>conftest.$ac_ext <<_ACEOF
57561 /* end confdefs.h. */
57562 #include <math.h>
57563 #ifdef HAVE_IEEEFP_H
57564 #include <ieeefp.h>
57565 #endif
57568 main ()
57570 isinff(0);
57572 return 0;
57574 _ACEOF
57575 rm -f conftest.$ac_objext
57576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57577 (eval $ac_compile) 2>conftest.er1
57578 ac_status=$?
57579 grep -v '^ *+' conftest.er1 >conftest.err
57580 rm -f conftest.er1
57581 cat conftest.err >&5
57582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583 (exit $ac_status); } &&
57584 { ac_try='test -z "$ac_cxx_werror_flag"
57585 || test ! -s conftest.err'
57586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57587 (eval $ac_try) 2>&5
57588 ac_status=$?
57589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57590 (exit $ac_status); }; } &&
57591 { ac_try='test -s conftest.$ac_objext'
57592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57593 (eval $ac_try) 2>&5
57594 ac_status=$?
57595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57596 (exit $ac_status); }; }; then
57597 glibcxx_cv_func_isinff_use=yes
57598 else
57599 echo "$as_me: failed program was:" >&5
57600 sed 's/^/| /' conftest.$ac_ext >&5
57602 glibcxx_cv_func_isinff_use=no
57604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57605 ac_ext=c
57606 ac_cpp='$CPP $CPPFLAGS'
57607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57616 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57618 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57620 for ac_func in isinff
57622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57623 echo "$as_me:$LINENO: checking for $ac_func" >&5
57624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57625 if eval "test \"\${$as_ac_var+set}\" = set"; then
57626 echo $ECHO_N "(cached) $ECHO_C" >&6
57627 else
57628 if test x$gcc_no_link = xyes; then
57629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57631 { (exit 1); exit 1; }; }
57633 cat >conftest.$ac_ext <<_ACEOF
57634 /* confdefs.h. */
57635 _ACEOF
57636 cat confdefs.h >>conftest.$ac_ext
57637 cat >>conftest.$ac_ext <<_ACEOF
57638 /* end confdefs.h. */
57639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57641 #define $ac_func innocuous_$ac_func
57643 /* System header to define __stub macros and hopefully few prototypes,
57644 which can conflict with char $ac_func (); below.
57645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57646 <limits.h> exists even on freestanding compilers. */
57648 #ifdef __STDC__
57649 # include <limits.h>
57650 #else
57651 # include <assert.h>
57652 #endif
57654 #undef $ac_func
57656 /* Override any gcc2 internal prototype to avoid an error. */
57657 #ifdef __cplusplus
57658 extern "C"
57660 #endif
57661 /* We use char because int might match the return type of a gcc2
57662 builtin and then its argument prototype would still apply. */
57663 char $ac_func ();
57664 /* The GNU C library defines this for functions which it implements
57665 to always fail with ENOSYS. Some functions are actually named
57666 something starting with __ and the normal name is an alias. */
57667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57668 choke me
57669 #else
57670 char (*f) () = $ac_func;
57671 #endif
57672 #ifdef __cplusplus
57674 #endif
57677 main ()
57679 return f != $ac_func;
57681 return 0;
57683 _ACEOF
57684 rm -f conftest.$ac_objext conftest$ac_exeext
57685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57686 (eval $ac_link) 2>conftest.er1
57687 ac_status=$?
57688 grep -v '^ *+' conftest.er1 >conftest.err
57689 rm -f conftest.er1
57690 cat conftest.err >&5
57691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57692 (exit $ac_status); } &&
57693 { ac_try='test -z "$ac_c_werror_flag"
57694 || test ! -s conftest.err'
57695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57696 (eval $ac_try) 2>&5
57697 ac_status=$?
57698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57699 (exit $ac_status); }; } &&
57700 { ac_try='test -s conftest$ac_exeext'
57701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57702 (eval $ac_try) 2>&5
57703 ac_status=$?
57704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57705 (exit $ac_status); }; }; then
57706 eval "$as_ac_var=yes"
57707 else
57708 echo "$as_me: failed program was:" >&5
57709 sed 's/^/| /' conftest.$ac_ext >&5
57711 eval "$as_ac_var=no"
57713 rm -f conftest.err conftest.$ac_objext \
57714 conftest$ac_exeext conftest.$ac_ext
57716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57718 if test `eval echo '${'$as_ac_var'}'` = yes; then
57719 cat >>confdefs.h <<_ACEOF
57720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57721 _ACEOF
57724 done
57726 else
57728 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57729 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57730 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57731 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57732 echo $ECHO_N "(cached) $ECHO_C" >&6
57733 else
57737 ac_ext=cc
57738 ac_cpp='$CXXCPP $CPPFLAGS'
57739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57743 cat >conftest.$ac_ext <<_ACEOF
57744 /* confdefs.h. */
57745 _ACEOF
57746 cat confdefs.h >>conftest.$ac_ext
57747 cat >>conftest.$ac_ext <<_ACEOF
57748 /* end confdefs.h. */
57749 #include <math.h>
57750 #ifdef HAVE_IEEEFP_H
57751 #include <ieeefp.h>
57752 #endif
57755 main ()
57757 _isinff(0);
57759 return 0;
57761 _ACEOF
57762 rm -f conftest.$ac_objext
57763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57764 (eval $ac_compile) 2>conftest.er1
57765 ac_status=$?
57766 grep -v '^ *+' conftest.er1 >conftest.err
57767 rm -f conftest.er1
57768 cat conftest.err >&5
57769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57770 (exit $ac_status); } &&
57771 { ac_try='test -z "$ac_cxx_werror_flag"
57772 || test ! -s conftest.err'
57773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57774 (eval $ac_try) 2>&5
57775 ac_status=$?
57776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57777 (exit $ac_status); }; } &&
57778 { ac_try='test -s conftest.$ac_objext'
57779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57780 (eval $ac_try) 2>&5
57781 ac_status=$?
57782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57783 (exit $ac_status); }; }; then
57784 glibcxx_cv_func__isinff_use=yes
57785 else
57786 echo "$as_me: failed program was:" >&5
57787 sed 's/^/| /' conftest.$ac_ext >&5
57789 glibcxx_cv_func__isinff_use=no
57791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57792 ac_ext=c
57793 ac_cpp='$CPP $CPPFLAGS'
57794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57803 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57805 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57807 for ac_func in _isinff
57809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57810 echo "$as_me:$LINENO: checking for $ac_func" >&5
57811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57812 if eval "test \"\${$as_ac_var+set}\" = set"; then
57813 echo $ECHO_N "(cached) $ECHO_C" >&6
57814 else
57815 if test x$gcc_no_link = xyes; then
57816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57818 { (exit 1); exit 1; }; }
57820 cat >conftest.$ac_ext <<_ACEOF
57821 /* confdefs.h. */
57822 _ACEOF
57823 cat confdefs.h >>conftest.$ac_ext
57824 cat >>conftest.$ac_ext <<_ACEOF
57825 /* end confdefs.h. */
57826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57828 #define $ac_func innocuous_$ac_func
57830 /* System header to define __stub macros and hopefully few prototypes,
57831 which can conflict with char $ac_func (); below.
57832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57833 <limits.h> exists even on freestanding compilers. */
57835 #ifdef __STDC__
57836 # include <limits.h>
57837 #else
57838 # include <assert.h>
57839 #endif
57841 #undef $ac_func
57843 /* Override any gcc2 internal prototype to avoid an error. */
57844 #ifdef __cplusplus
57845 extern "C"
57847 #endif
57848 /* We use char because int might match the return type of a gcc2
57849 builtin and then its argument prototype would still apply. */
57850 char $ac_func ();
57851 /* The GNU C library defines this for functions which it implements
57852 to always fail with ENOSYS. Some functions are actually named
57853 something starting with __ and the normal name is an alias. */
57854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57855 choke me
57856 #else
57857 char (*f) () = $ac_func;
57858 #endif
57859 #ifdef __cplusplus
57861 #endif
57864 main ()
57866 return f != $ac_func;
57868 return 0;
57870 _ACEOF
57871 rm -f conftest.$ac_objext conftest$ac_exeext
57872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57873 (eval $ac_link) 2>conftest.er1
57874 ac_status=$?
57875 grep -v '^ *+' conftest.er1 >conftest.err
57876 rm -f conftest.er1
57877 cat conftest.err >&5
57878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57879 (exit $ac_status); } &&
57880 { ac_try='test -z "$ac_c_werror_flag"
57881 || test ! -s conftest.err'
57882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57883 (eval $ac_try) 2>&5
57884 ac_status=$?
57885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57886 (exit $ac_status); }; } &&
57887 { ac_try='test -s conftest$ac_exeext'
57888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57889 (eval $ac_try) 2>&5
57890 ac_status=$?
57891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57892 (exit $ac_status); }; }; then
57893 eval "$as_ac_var=yes"
57894 else
57895 echo "$as_me: failed program was:" >&5
57896 sed 's/^/| /' conftest.$ac_ext >&5
57898 eval "$as_ac_var=no"
57900 rm -f conftest.err conftest.$ac_objext \
57901 conftest$ac_exeext conftest.$ac_ext
57903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57905 if test `eval echo '${'$as_ac_var'}'` = yes; then
57906 cat >>confdefs.h <<_ACEOF
57907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57908 _ACEOF
57911 done
57921 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57922 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57923 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57924 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57925 echo $ECHO_N "(cached) $ECHO_C" >&6
57926 else
57930 ac_ext=cc
57931 ac_cpp='$CXXCPP $CPPFLAGS'
57932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57936 cat >conftest.$ac_ext <<_ACEOF
57937 /* confdefs.h. */
57938 _ACEOF
57939 cat confdefs.h >>conftest.$ac_ext
57940 cat >>conftest.$ac_ext <<_ACEOF
57941 /* end confdefs.h. */
57942 #include <math.h>
57944 main ()
57946 atan2f(0, 0);
57948 return 0;
57950 _ACEOF
57951 rm -f conftest.$ac_objext
57952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57953 (eval $ac_compile) 2>conftest.er1
57954 ac_status=$?
57955 grep -v '^ *+' conftest.er1 >conftest.err
57956 rm -f conftest.er1
57957 cat conftest.err >&5
57958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57959 (exit $ac_status); } &&
57960 { ac_try='test -z "$ac_cxx_werror_flag"
57961 || test ! -s conftest.err'
57962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57963 (eval $ac_try) 2>&5
57964 ac_status=$?
57965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57966 (exit $ac_status); }; } &&
57967 { ac_try='test -s conftest.$ac_objext'
57968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57969 (eval $ac_try) 2>&5
57970 ac_status=$?
57971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57972 (exit $ac_status); }; }; then
57973 glibcxx_cv_func_atan2f_use=yes
57974 else
57975 echo "$as_me: failed program was:" >&5
57976 sed 's/^/| /' conftest.$ac_ext >&5
57978 glibcxx_cv_func_atan2f_use=no
57980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57981 ac_ext=c
57982 ac_cpp='$CPP $CPPFLAGS'
57983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
57992 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
57994 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57996 for ac_func in atan2f
57998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57999 echo "$as_me:$LINENO: checking for $ac_func" >&5
58000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58001 if eval "test \"\${$as_ac_var+set}\" = set"; then
58002 echo $ECHO_N "(cached) $ECHO_C" >&6
58003 else
58004 if test x$gcc_no_link = xyes; then
58005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58007 { (exit 1); exit 1; }; }
58009 cat >conftest.$ac_ext <<_ACEOF
58010 /* confdefs.h. */
58011 _ACEOF
58012 cat confdefs.h >>conftest.$ac_ext
58013 cat >>conftest.$ac_ext <<_ACEOF
58014 /* end confdefs.h. */
58015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58017 #define $ac_func innocuous_$ac_func
58019 /* System header to define __stub macros and hopefully few prototypes,
58020 which can conflict with char $ac_func (); below.
58021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58022 <limits.h> exists even on freestanding compilers. */
58024 #ifdef __STDC__
58025 # include <limits.h>
58026 #else
58027 # include <assert.h>
58028 #endif
58030 #undef $ac_func
58032 /* Override any gcc2 internal prototype to avoid an error. */
58033 #ifdef __cplusplus
58034 extern "C"
58036 #endif
58037 /* We use char because int might match the return type of a gcc2
58038 builtin and then its argument prototype would still apply. */
58039 char $ac_func ();
58040 /* The GNU C library defines this for functions which it implements
58041 to always fail with ENOSYS. Some functions are actually named
58042 something starting with __ and the normal name is an alias. */
58043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58044 choke me
58045 #else
58046 char (*f) () = $ac_func;
58047 #endif
58048 #ifdef __cplusplus
58050 #endif
58053 main ()
58055 return f != $ac_func;
58057 return 0;
58059 _ACEOF
58060 rm -f conftest.$ac_objext conftest$ac_exeext
58061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58062 (eval $ac_link) 2>conftest.er1
58063 ac_status=$?
58064 grep -v '^ *+' conftest.er1 >conftest.err
58065 rm -f conftest.er1
58066 cat conftest.err >&5
58067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58068 (exit $ac_status); } &&
58069 { ac_try='test -z "$ac_c_werror_flag"
58070 || test ! -s conftest.err'
58071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58072 (eval $ac_try) 2>&5
58073 ac_status=$?
58074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58075 (exit $ac_status); }; } &&
58076 { ac_try='test -s conftest$ac_exeext'
58077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58078 (eval $ac_try) 2>&5
58079 ac_status=$?
58080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58081 (exit $ac_status); }; }; then
58082 eval "$as_ac_var=yes"
58083 else
58084 echo "$as_me: failed program was:" >&5
58085 sed 's/^/| /' conftest.$ac_ext >&5
58087 eval "$as_ac_var=no"
58089 rm -f conftest.err conftest.$ac_objext \
58090 conftest$ac_exeext conftest.$ac_ext
58092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58094 if test `eval echo '${'$as_ac_var'}'` = yes; then
58095 cat >>confdefs.h <<_ACEOF
58096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58097 _ACEOF
58100 done
58102 else
58104 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58105 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58106 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58107 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58108 echo $ECHO_N "(cached) $ECHO_C" >&6
58109 else
58113 ac_ext=cc
58114 ac_cpp='$CXXCPP $CPPFLAGS'
58115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58119 cat >conftest.$ac_ext <<_ACEOF
58120 /* confdefs.h. */
58121 _ACEOF
58122 cat confdefs.h >>conftest.$ac_ext
58123 cat >>conftest.$ac_ext <<_ACEOF
58124 /* end confdefs.h. */
58125 #include <math.h>
58127 main ()
58129 _atan2f(0, 0);
58131 return 0;
58133 _ACEOF
58134 rm -f conftest.$ac_objext
58135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58136 (eval $ac_compile) 2>conftest.er1
58137 ac_status=$?
58138 grep -v '^ *+' conftest.er1 >conftest.err
58139 rm -f conftest.er1
58140 cat conftest.err >&5
58141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58142 (exit $ac_status); } &&
58143 { ac_try='test -z "$ac_cxx_werror_flag"
58144 || test ! -s conftest.err'
58145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58146 (eval $ac_try) 2>&5
58147 ac_status=$?
58148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58149 (exit $ac_status); }; } &&
58150 { ac_try='test -s conftest.$ac_objext'
58151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58152 (eval $ac_try) 2>&5
58153 ac_status=$?
58154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58155 (exit $ac_status); }; }; then
58156 glibcxx_cv_func__atan2f_use=yes
58157 else
58158 echo "$as_me: failed program was:" >&5
58159 sed 's/^/| /' conftest.$ac_ext >&5
58161 glibcxx_cv_func__atan2f_use=no
58163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58164 ac_ext=c
58165 ac_cpp='$CPP $CPPFLAGS'
58166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58175 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58177 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58179 for ac_func in _atan2f
58181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58182 echo "$as_me:$LINENO: checking for $ac_func" >&5
58183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58184 if eval "test \"\${$as_ac_var+set}\" = set"; then
58185 echo $ECHO_N "(cached) $ECHO_C" >&6
58186 else
58187 if test x$gcc_no_link = xyes; then
58188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58190 { (exit 1); exit 1; }; }
58192 cat >conftest.$ac_ext <<_ACEOF
58193 /* confdefs.h. */
58194 _ACEOF
58195 cat confdefs.h >>conftest.$ac_ext
58196 cat >>conftest.$ac_ext <<_ACEOF
58197 /* end confdefs.h. */
58198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58200 #define $ac_func innocuous_$ac_func
58202 /* System header to define __stub macros and hopefully few prototypes,
58203 which can conflict with char $ac_func (); below.
58204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58205 <limits.h> exists even on freestanding compilers. */
58207 #ifdef __STDC__
58208 # include <limits.h>
58209 #else
58210 # include <assert.h>
58211 #endif
58213 #undef $ac_func
58215 /* Override any gcc2 internal prototype to avoid an error. */
58216 #ifdef __cplusplus
58217 extern "C"
58219 #endif
58220 /* We use char because int might match the return type of a gcc2
58221 builtin and then its argument prototype would still apply. */
58222 char $ac_func ();
58223 /* The GNU C library defines this for functions which it implements
58224 to always fail with ENOSYS. Some functions are actually named
58225 something starting with __ and the normal name is an alias. */
58226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58227 choke me
58228 #else
58229 char (*f) () = $ac_func;
58230 #endif
58231 #ifdef __cplusplus
58233 #endif
58236 main ()
58238 return f != $ac_func;
58240 return 0;
58242 _ACEOF
58243 rm -f conftest.$ac_objext conftest$ac_exeext
58244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58245 (eval $ac_link) 2>conftest.er1
58246 ac_status=$?
58247 grep -v '^ *+' conftest.er1 >conftest.err
58248 rm -f conftest.er1
58249 cat conftest.err >&5
58250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58251 (exit $ac_status); } &&
58252 { ac_try='test -z "$ac_c_werror_flag"
58253 || test ! -s conftest.err'
58254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58255 (eval $ac_try) 2>&5
58256 ac_status=$?
58257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58258 (exit $ac_status); }; } &&
58259 { ac_try='test -s conftest$ac_exeext'
58260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58261 (eval $ac_try) 2>&5
58262 ac_status=$?
58263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58264 (exit $ac_status); }; }; then
58265 eval "$as_ac_var=yes"
58266 else
58267 echo "$as_me: failed program was:" >&5
58268 sed 's/^/| /' conftest.$ac_ext >&5
58270 eval "$as_ac_var=no"
58272 rm -f conftest.err conftest.$ac_objext \
58273 conftest$ac_exeext conftest.$ac_ext
58275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58277 if test `eval echo '${'$as_ac_var'}'` = yes; then
58278 cat >>confdefs.h <<_ACEOF
58279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58280 _ACEOF
58283 done
58293 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58294 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58295 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58296 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58297 echo $ECHO_N "(cached) $ECHO_C" >&6
58298 else
58302 ac_ext=cc
58303 ac_cpp='$CXXCPP $CPPFLAGS'
58304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58308 cat >conftest.$ac_ext <<_ACEOF
58309 /* confdefs.h. */
58310 _ACEOF
58311 cat confdefs.h >>conftest.$ac_ext
58312 cat >>conftest.$ac_ext <<_ACEOF
58313 /* end confdefs.h. */
58314 #include <math.h>
58315 #ifdef HAVE_IEEEFP_H
58316 #include <ieeefp.h>
58317 #endif
58320 main ()
58322 fabsf(0);
58324 return 0;
58326 _ACEOF
58327 rm -f conftest.$ac_objext
58328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58329 (eval $ac_compile) 2>conftest.er1
58330 ac_status=$?
58331 grep -v '^ *+' conftest.er1 >conftest.err
58332 rm -f conftest.er1
58333 cat conftest.err >&5
58334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58335 (exit $ac_status); } &&
58336 { ac_try='test -z "$ac_cxx_werror_flag"
58337 || test ! -s conftest.err'
58338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58339 (eval $ac_try) 2>&5
58340 ac_status=$?
58341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58342 (exit $ac_status); }; } &&
58343 { ac_try='test -s conftest.$ac_objext'
58344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58345 (eval $ac_try) 2>&5
58346 ac_status=$?
58347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58348 (exit $ac_status); }; }; then
58349 glibcxx_cv_func_fabsf_use=yes
58350 else
58351 echo "$as_me: failed program was:" >&5
58352 sed 's/^/| /' conftest.$ac_ext >&5
58354 glibcxx_cv_func_fabsf_use=no
58356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58357 ac_ext=c
58358 ac_cpp='$CPP $CPPFLAGS'
58359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58368 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58370 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58372 for ac_func in fabsf
58374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58375 echo "$as_me:$LINENO: checking for $ac_func" >&5
58376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58377 if eval "test \"\${$as_ac_var+set}\" = set"; then
58378 echo $ECHO_N "(cached) $ECHO_C" >&6
58379 else
58380 if test x$gcc_no_link = xyes; then
58381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58383 { (exit 1); exit 1; }; }
58385 cat >conftest.$ac_ext <<_ACEOF
58386 /* confdefs.h. */
58387 _ACEOF
58388 cat confdefs.h >>conftest.$ac_ext
58389 cat >>conftest.$ac_ext <<_ACEOF
58390 /* end confdefs.h. */
58391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58393 #define $ac_func innocuous_$ac_func
58395 /* System header to define __stub macros and hopefully few prototypes,
58396 which can conflict with char $ac_func (); below.
58397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58398 <limits.h> exists even on freestanding compilers. */
58400 #ifdef __STDC__
58401 # include <limits.h>
58402 #else
58403 # include <assert.h>
58404 #endif
58406 #undef $ac_func
58408 /* Override any gcc2 internal prototype to avoid an error. */
58409 #ifdef __cplusplus
58410 extern "C"
58412 #endif
58413 /* We use char because int might match the return type of a gcc2
58414 builtin and then its argument prototype would still apply. */
58415 char $ac_func ();
58416 /* The GNU C library defines this for functions which it implements
58417 to always fail with ENOSYS. Some functions are actually named
58418 something starting with __ and the normal name is an alias. */
58419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58420 choke me
58421 #else
58422 char (*f) () = $ac_func;
58423 #endif
58424 #ifdef __cplusplus
58426 #endif
58429 main ()
58431 return f != $ac_func;
58433 return 0;
58435 _ACEOF
58436 rm -f conftest.$ac_objext conftest$ac_exeext
58437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58438 (eval $ac_link) 2>conftest.er1
58439 ac_status=$?
58440 grep -v '^ *+' conftest.er1 >conftest.err
58441 rm -f conftest.er1
58442 cat conftest.err >&5
58443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58444 (exit $ac_status); } &&
58445 { ac_try='test -z "$ac_c_werror_flag"
58446 || test ! -s conftest.err'
58447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58448 (eval $ac_try) 2>&5
58449 ac_status=$?
58450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58451 (exit $ac_status); }; } &&
58452 { ac_try='test -s conftest$ac_exeext'
58453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58454 (eval $ac_try) 2>&5
58455 ac_status=$?
58456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58457 (exit $ac_status); }; }; then
58458 eval "$as_ac_var=yes"
58459 else
58460 echo "$as_me: failed program was:" >&5
58461 sed 's/^/| /' conftest.$ac_ext >&5
58463 eval "$as_ac_var=no"
58465 rm -f conftest.err conftest.$ac_objext \
58466 conftest$ac_exeext conftest.$ac_ext
58468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58470 if test `eval echo '${'$as_ac_var'}'` = yes; then
58471 cat >>confdefs.h <<_ACEOF
58472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58473 _ACEOF
58476 done
58478 else
58480 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58481 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58482 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58483 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58484 echo $ECHO_N "(cached) $ECHO_C" >&6
58485 else
58489 ac_ext=cc
58490 ac_cpp='$CXXCPP $CPPFLAGS'
58491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58495 cat >conftest.$ac_ext <<_ACEOF
58496 /* confdefs.h. */
58497 _ACEOF
58498 cat confdefs.h >>conftest.$ac_ext
58499 cat >>conftest.$ac_ext <<_ACEOF
58500 /* end confdefs.h. */
58501 #include <math.h>
58502 #ifdef HAVE_IEEEFP_H
58503 #include <ieeefp.h>
58504 #endif
58507 main ()
58509 _fabsf(0);
58511 return 0;
58513 _ACEOF
58514 rm -f conftest.$ac_objext
58515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58516 (eval $ac_compile) 2>conftest.er1
58517 ac_status=$?
58518 grep -v '^ *+' conftest.er1 >conftest.err
58519 rm -f conftest.er1
58520 cat conftest.err >&5
58521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58522 (exit $ac_status); } &&
58523 { ac_try='test -z "$ac_cxx_werror_flag"
58524 || test ! -s conftest.err'
58525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58526 (eval $ac_try) 2>&5
58527 ac_status=$?
58528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58529 (exit $ac_status); }; } &&
58530 { ac_try='test -s conftest.$ac_objext'
58531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58532 (eval $ac_try) 2>&5
58533 ac_status=$?
58534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58535 (exit $ac_status); }; }; then
58536 glibcxx_cv_func__fabsf_use=yes
58537 else
58538 echo "$as_me: failed program was:" >&5
58539 sed 's/^/| /' conftest.$ac_ext >&5
58541 glibcxx_cv_func__fabsf_use=no
58543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58544 ac_ext=c
58545 ac_cpp='$CPP $CPPFLAGS'
58546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58555 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58557 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58559 for ac_func in _fabsf
58561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58562 echo "$as_me:$LINENO: checking for $ac_func" >&5
58563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58564 if eval "test \"\${$as_ac_var+set}\" = set"; then
58565 echo $ECHO_N "(cached) $ECHO_C" >&6
58566 else
58567 if test x$gcc_no_link = xyes; then
58568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58570 { (exit 1); exit 1; }; }
58572 cat >conftest.$ac_ext <<_ACEOF
58573 /* confdefs.h. */
58574 _ACEOF
58575 cat confdefs.h >>conftest.$ac_ext
58576 cat >>conftest.$ac_ext <<_ACEOF
58577 /* end confdefs.h. */
58578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58580 #define $ac_func innocuous_$ac_func
58582 /* System header to define __stub macros and hopefully few prototypes,
58583 which can conflict with char $ac_func (); below.
58584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58585 <limits.h> exists even on freestanding compilers. */
58587 #ifdef __STDC__
58588 # include <limits.h>
58589 #else
58590 # include <assert.h>
58591 #endif
58593 #undef $ac_func
58595 /* Override any gcc2 internal prototype to avoid an error. */
58596 #ifdef __cplusplus
58597 extern "C"
58599 #endif
58600 /* We use char because int might match the return type of a gcc2
58601 builtin and then its argument prototype would still apply. */
58602 char $ac_func ();
58603 /* The GNU C library defines this for functions which it implements
58604 to always fail with ENOSYS. Some functions are actually named
58605 something starting with __ and the normal name is an alias. */
58606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58607 choke me
58608 #else
58609 char (*f) () = $ac_func;
58610 #endif
58611 #ifdef __cplusplus
58613 #endif
58616 main ()
58618 return f != $ac_func;
58620 return 0;
58622 _ACEOF
58623 rm -f conftest.$ac_objext conftest$ac_exeext
58624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58625 (eval $ac_link) 2>conftest.er1
58626 ac_status=$?
58627 grep -v '^ *+' conftest.er1 >conftest.err
58628 rm -f conftest.er1
58629 cat conftest.err >&5
58630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58631 (exit $ac_status); } &&
58632 { ac_try='test -z "$ac_c_werror_flag"
58633 || test ! -s conftest.err'
58634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58635 (eval $ac_try) 2>&5
58636 ac_status=$?
58637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58638 (exit $ac_status); }; } &&
58639 { ac_try='test -s conftest$ac_exeext'
58640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58641 (eval $ac_try) 2>&5
58642 ac_status=$?
58643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58644 (exit $ac_status); }; }; then
58645 eval "$as_ac_var=yes"
58646 else
58647 echo "$as_me: failed program was:" >&5
58648 sed 's/^/| /' conftest.$ac_ext >&5
58650 eval "$as_ac_var=no"
58652 rm -f conftest.err conftest.$ac_objext \
58653 conftest$ac_exeext conftest.$ac_ext
58655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58657 if test `eval echo '${'$as_ac_var'}'` = yes; then
58658 cat >>confdefs.h <<_ACEOF
58659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58660 _ACEOF
58663 done
58673 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58674 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58675 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58676 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58677 echo $ECHO_N "(cached) $ECHO_C" >&6
58678 else
58682 ac_ext=cc
58683 ac_cpp='$CXXCPP $CPPFLAGS'
58684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58688 cat >conftest.$ac_ext <<_ACEOF
58689 /* confdefs.h. */
58690 _ACEOF
58691 cat confdefs.h >>conftest.$ac_ext
58692 cat >>conftest.$ac_ext <<_ACEOF
58693 /* end confdefs.h. */
58694 #include <math.h>
58696 main ()
58698 fmodf(0, 0);
58700 return 0;
58702 _ACEOF
58703 rm -f conftest.$ac_objext
58704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58705 (eval $ac_compile) 2>conftest.er1
58706 ac_status=$?
58707 grep -v '^ *+' conftest.er1 >conftest.err
58708 rm -f conftest.er1
58709 cat conftest.err >&5
58710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58711 (exit $ac_status); } &&
58712 { ac_try='test -z "$ac_cxx_werror_flag"
58713 || test ! -s conftest.err'
58714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58715 (eval $ac_try) 2>&5
58716 ac_status=$?
58717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58718 (exit $ac_status); }; } &&
58719 { ac_try='test -s conftest.$ac_objext'
58720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58721 (eval $ac_try) 2>&5
58722 ac_status=$?
58723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58724 (exit $ac_status); }; }; then
58725 glibcxx_cv_func_fmodf_use=yes
58726 else
58727 echo "$as_me: failed program was:" >&5
58728 sed 's/^/| /' conftest.$ac_ext >&5
58730 glibcxx_cv_func_fmodf_use=no
58732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58733 ac_ext=c
58734 ac_cpp='$CPP $CPPFLAGS'
58735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58744 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58746 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58748 for ac_func in fmodf
58750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58751 echo "$as_me:$LINENO: checking for $ac_func" >&5
58752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58753 if eval "test \"\${$as_ac_var+set}\" = set"; then
58754 echo $ECHO_N "(cached) $ECHO_C" >&6
58755 else
58756 if test x$gcc_no_link = xyes; then
58757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58759 { (exit 1); exit 1; }; }
58761 cat >conftest.$ac_ext <<_ACEOF
58762 /* confdefs.h. */
58763 _ACEOF
58764 cat confdefs.h >>conftest.$ac_ext
58765 cat >>conftest.$ac_ext <<_ACEOF
58766 /* end confdefs.h. */
58767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58769 #define $ac_func innocuous_$ac_func
58771 /* System header to define __stub macros and hopefully few prototypes,
58772 which can conflict with char $ac_func (); below.
58773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58774 <limits.h> exists even on freestanding compilers. */
58776 #ifdef __STDC__
58777 # include <limits.h>
58778 #else
58779 # include <assert.h>
58780 #endif
58782 #undef $ac_func
58784 /* Override any gcc2 internal prototype to avoid an error. */
58785 #ifdef __cplusplus
58786 extern "C"
58788 #endif
58789 /* We use char because int might match the return type of a gcc2
58790 builtin and then its argument prototype would still apply. */
58791 char $ac_func ();
58792 /* The GNU C library defines this for functions which it implements
58793 to always fail with ENOSYS. Some functions are actually named
58794 something starting with __ and the normal name is an alias. */
58795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58796 choke me
58797 #else
58798 char (*f) () = $ac_func;
58799 #endif
58800 #ifdef __cplusplus
58802 #endif
58805 main ()
58807 return f != $ac_func;
58809 return 0;
58811 _ACEOF
58812 rm -f conftest.$ac_objext conftest$ac_exeext
58813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58814 (eval $ac_link) 2>conftest.er1
58815 ac_status=$?
58816 grep -v '^ *+' conftest.er1 >conftest.err
58817 rm -f conftest.er1
58818 cat conftest.err >&5
58819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58820 (exit $ac_status); } &&
58821 { ac_try='test -z "$ac_c_werror_flag"
58822 || test ! -s conftest.err'
58823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58824 (eval $ac_try) 2>&5
58825 ac_status=$?
58826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58827 (exit $ac_status); }; } &&
58828 { ac_try='test -s conftest$ac_exeext'
58829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58830 (eval $ac_try) 2>&5
58831 ac_status=$?
58832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58833 (exit $ac_status); }; }; then
58834 eval "$as_ac_var=yes"
58835 else
58836 echo "$as_me: failed program was:" >&5
58837 sed 's/^/| /' conftest.$ac_ext >&5
58839 eval "$as_ac_var=no"
58841 rm -f conftest.err conftest.$ac_objext \
58842 conftest$ac_exeext conftest.$ac_ext
58844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58846 if test `eval echo '${'$as_ac_var'}'` = yes; then
58847 cat >>confdefs.h <<_ACEOF
58848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58849 _ACEOF
58852 done
58854 else
58856 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58857 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58858 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58859 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58860 echo $ECHO_N "(cached) $ECHO_C" >&6
58861 else
58865 ac_ext=cc
58866 ac_cpp='$CXXCPP $CPPFLAGS'
58867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58871 cat >conftest.$ac_ext <<_ACEOF
58872 /* confdefs.h. */
58873 _ACEOF
58874 cat confdefs.h >>conftest.$ac_ext
58875 cat >>conftest.$ac_ext <<_ACEOF
58876 /* end confdefs.h. */
58877 #include <math.h>
58879 main ()
58881 _fmodf(0, 0);
58883 return 0;
58885 _ACEOF
58886 rm -f conftest.$ac_objext
58887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58888 (eval $ac_compile) 2>conftest.er1
58889 ac_status=$?
58890 grep -v '^ *+' conftest.er1 >conftest.err
58891 rm -f conftest.er1
58892 cat conftest.err >&5
58893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58894 (exit $ac_status); } &&
58895 { ac_try='test -z "$ac_cxx_werror_flag"
58896 || test ! -s conftest.err'
58897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58898 (eval $ac_try) 2>&5
58899 ac_status=$?
58900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58901 (exit $ac_status); }; } &&
58902 { ac_try='test -s conftest.$ac_objext'
58903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58904 (eval $ac_try) 2>&5
58905 ac_status=$?
58906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58907 (exit $ac_status); }; }; then
58908 glibcxx_cv_func__fmodf_use=yes
58909 else
58910 echo "$as_me: failed program was:" >&5
58911 sed 's/^/| /' conftest.$ac_ext >&5
58913 glibcxx_cv_func__fmodf_use=no
58915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58916 ac_ext=c
58917 ac_cpp='$CPP $CPPFLAGS'
58918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58927 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58929 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58931 for ac_func in _fmodf
58933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58934 echo "$as_me:$LINENO: checking for $ac_func" >&5
58935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58936 if eval "test \"\${$as_ac_var+set}\" = set"; then
58937 echo $ECHO_N "(cached) $ECHO_C" >&6
58938 else
58939 if test x$gcc_no_link = xyes; then
58940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58942 { (exit 1); exit 1; }; }
58944 cat >conftest.$ac_ext <<_ACEOF
58945 /* confdefs.h. */
58946 _ACEOF
58947 cat confdefs.h >>conftest.$ac_ext
58948 cat >>conftest.$ac_ext <<_ACEOF
58949 /* end confdefs.h. */
58950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58952 #define $ac_func innocuous_$ac_func
58954 /* System header to define __stub macros and hopefully few prototypes,
58955 which can conflict with char $ac_func (); below.
58956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58957 <limits.h> exists even on freestanding compilers. */
58959 #ifdef __STDC__
58960 # include <limits.h>
58961 #else
58962 # include <assert.h>
58963 #endif
58965 #undef $ac_func
58967 /* Override any gcc2 internal prototype to avoid an error. */
58968 #ifdef __cplusplus
58969 extern "C"
58971 #endif
58972 /* We use char because int might match the return type of a gcc2
58973 builtin and then its argument prototype would still apply. */
58974 char $ac_func ();
58975 /* The GNU C library defines this for functions which it implements
58976 to always fail with ENOSYS. Some functions are actually named
58977 something starting with __ and the normal name is an alias. */
58978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58979 choke me
58980 #else
58981 char (*f) () = $ac_func;
58982 #endif
58983 #ifdef __cplusplus
58985 #endif
58988 main ()
58990 return f != $ac_func;
58992 return 0;
58994 _ACEOF
58995 rm -f conftest.$ac_objext conftest$ac_exeext
58996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58997 (eval $ac_link) 2>conftest.er1
58998 ac_status=$?
58999 grep -v '^ *+' conftest.er1 >conftest.err
59000 rm -f conftest.er1
59001 cat conftest.err >&5
59002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59003 (exit $ac_status); } &&
59004 { ac_try='test -z "$ac_c_werror_flag"
59005 || test ! -s conftest.err'
59006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59007 (eval $ac_try) 2>&5
59008 ac_status=$?
59009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59010 (exit $ac_status); }; } &&
59011 { ac_try='test -s conftest$ac_exeext'
59012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59013 (eval $ac_try) 2>&5
59014 ac_status=$?
59015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59016 (exit $ac_status); }; }; then
59017 eval "$as_ac_var=yes"
59018 else
59019 echo "$as_me: failed program was:" >&5
59020 sed 's/^/| /' conftest.$ac_ext >&5
59022 eval "$as_ac_var=no"
59024 rm -f conftest.err conftest.$ac_objext \
59025 conftest$ac_exeext conftest.$ac_ext
59027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59029 if test `eval echo '${'$as_ac_var'}'` = yes; then
59030 cat >>confdefs.h <<_ACEOF
59031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59032 _ACEOF
59035 done
59045 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59046 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59047 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59048 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59049 echo $ECHO_N "(cached) $ECHO_C" >&6
59050 else
59054 ac_ext=cc
59055 ac_cpp='$CXXCPP $CPPFLAGS'
59056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59060 cat >conftest.$ac_ext <<_ACEOF
59061 /* confdefs.h. */
59062 _ACEOF
59063 cat confdefs.h >>conftest.$ac_ext
59064 cat >>conftest.$ac_ext <<_ACEOF
59065 /* end confdefs.h. */
59066 #include <math.h>
59068 main ()
59070 frexpf(0, 0);
59072 return 0;
59074 _ACEOF
59075 rm -f conftest.$ac_objext
59076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59077 (eval $ac_compile) 2>conftest.er1
59078 ac_status=$?
59079 grep -v '^ *+' conftest.er1 >conftest.err
59080 rm -f conftest.er1
59081 cat conftest.err >&5
59082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59083 (exit $ac_status); } &&
59084 { ac_try='test -z "$ac_cxx_werror_flag"
59085 || test ! -s conftest.err'
59086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59087 (eval $ac_try) 2>&5
59088 ac_status=$?
59089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59090 (exit $ac_status); }; } &&
59091 { ac_try='test -s conftest.$ac_objext'
59092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59093 (eval $ac_try) 2>&5
59094 ac_status=$?
59095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59096 (exit $ac_status); }; }; then
59097 glibcxx_cv_func_frexpf_use=yes
59098 else
59099 echo "$as_me: failed program was:" >&5
59100 sed 's/^/| /' conftest.$ac_ext >&5
59102 glibcxx_cv_func_frexpf_use=no
59104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59105 ac_ext=c
59106 ac_cpp='$CPP $CPPFLAGS'
59107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59116 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59118 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59120 for ac_func in frexpf
59122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59123 echo "$as_me:$LINENO: checking for $ac_func" >&5
59124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59125 if eval "test \"\${$as_ac_var+set}\" = set"; then
59126 echo $ECHO_N "(cached) $ECHO_C" >&6
59127 else
59128 if test x$gcc_no_link = xyes; then
59129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59131 { (exit 1); exit 1; }; }
59133 cat >conftest.$ac_ext <<_ACEOF
59134 /* confdefs.h. */
59135 _ACEOF
59136 cat confdefs.h >>conftest.$ac_ext
59137 cat >>conftest.$ac_ext <<_ACEOF
59138 /* end confdefs.h. */
59139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59141 #define $ac_func innocuous_$ac_func
59143 /* System header to define __stub macros and hopefully few prototypes,
59144 which can conflict with char $ac_func (); below.
59145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59146 <limits.h> exists even on freestanding compilers. */
59148 #ifdef __STDC__
59149 # include <limits.h>
59150 #else
59151 # include <assert.h>
59152 #endif
59154 #undef $ac_func
59156 /* Override any gcc2 internal prototype to avoid an error. */
59157 #ifdef __cplusplus
59158 extern "C"
59160 #endif
59161 /* We use char because int might match the return type of a gcc2
59162 builtin and then its argument prototype would still apply. */
59163 char $ac_func ();
59164 /* The GNU C library defines this for functions which it implements
59165 to always fail with ENOSYS. Some functions are actually named
59166 something starting with __ and the normal name is an alias. */
59167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59168 choke me
59169 #else
59170 char (*f) () = $ac_func;
59171 #endif
59172 #ifdef __cplusplus
59174 #endif
59177 main ()
59179 return f != $ac_func;
59181 return 0;
59183 _ACEOF
59184 rm -f conftest.$ac_objext conftest$ac_exeext
59185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59186 (eval $ac_link) 2>conftest.er1
59187 ac_status=$?
59188 grep -v '^ *+' conftest.er1 >conftest.err
59189 rm -f conftest.er1
59190 cat conftest.err >&5
59191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59192 (exit $ac_status); } &&
59193 { ac_try='test -z "$ac_c_werror_flag"
59194 || test ! -s conftest.err'
59195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59196 (eval $ac_try) 2>&5
59197 ac_status=$?
59198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59199 (exit $ac_status); }; } &&
59200 { ac_try='test -s conftest$ac_exeext'
59201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59202 (eval $ac_try) 2>&5
59203 ac_status=$?
59204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59205 (exit $ac_status); }; }; then
59206 eval "$as_ac_var=yes"
59207 else
59208 echo "$as_me: failed program was:" >&5
59209 sed 's/^/| /' conftest.$ac_ext >&5
59211 eval "$as_ac_var=no"
59213 rm -f conftest.err conftest.$ac_objext \
59214 conftest$ac_exeext conftest.$ac_ext
59216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59218 if test `eval echo '${'$as_ac_var'}'` = yes; then
59219 cat >>confdefs.h <<_ACEOF
59220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59221 _ACEOF
59224 done
59226 else
59228 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59229 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59230 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59231 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59232 echo $ECHO_N "(cached) $ECHO_C" >&6
59233 else
59237 ac_ext=cc
59238 ac_cpp='$CXXCPP $CPPFLAGS'
59239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59243 cat >conftest.$ac_ext <<_ACEOF
59244 /* confdefs.h. */
59245 _ACEOF
59246 cat confdefs.h >>conftest.$ac_ext
59247 cat >>conftest.$ac_ext <<_ACEOF
59248 /* end confdefs.h. */
59249 #include <math.h>
59251 main ()
59253 _frexpf(0, 0);
59255 return 0;
59257 _ACEOF
59258 rm -f conftest.$ac_objext
59259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59260 (eval $ac_compile) 2>conftest.er1
59261 ac_status=$?
59262 grep -v '^ *+' conftest.er1 >conftest.err
59263 rm -f conftest.er1
59264 cat conftest.err >&5
59265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59266 (exit $ac_status); } &&
59267 { ac_try='test -z "$ac_cxx_werror_flag"
59268 || test ! -s conftest.err'
59269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59270 (eval $ac_try) 2>&5
59271 ac_status=$?
59272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59273 (exit $ac_status); }; } &&
59274 { ac_try='test -s conftest.$ac_objext'
59275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59276 (eval $ac_try) 2>&5
59277 ac_status=$?
59278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59279 (exit $ac_status); }; }; then
59280 glibcxx_cv_func__frexpf_use=yes
59281 else
59282 echo "$as_me: failed program was:" >&5
59283 sed 's/^/| /' conftest.$ac_ext >&5
59285 glibcxx_cv_func__frexpf_use=no
59287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59288 ac_ext=c
59289 ac_cpp='$CPP $CPPFLAGS'
59290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59299 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59301 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59303 for ac_func in _frexpf
59305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59306 echo "$as_me:$LINENO: checking for $ac_func" >&5
59307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59308 if eval "test \"\${$as_ac_var+set}\" = set"; then
59309 echo $ECHO_N "(cached) $ECHO_C" >&6
59310 else
59311 if test x$gcc_no_link = xyes; then
59312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59314 { (exit 1); exit 1; }; }
59316 cat >conftest.$ac_ext <<_ACEOF
59317 /* confdefs.h. */
59318 _ACEOF
59319 cat confdefs.h >>conftest.$ac_ext
59320 cat >>conftest.$ac_ext <<_ACEOF
59321 /* end confdefs.h. */
59322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59324 #define $ac_func innocuous_$ac_func
59326 /* System header to define __stub macros and hopefully few prototypes,
59327 which can conflict with char $ac_func (); below.
59328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59329 <limits.h> exists even on freestanding compilers. */
59331 #ifdef __STDC__
59332 # include <limits.h>
59333 #else
59334 # include <assert.h>
59335 #endif
59337 #undef $ac_func
59339 /* Override any gcc2 internal prototype to avoid an error. */
59340 #ifdef __cplusplus
59341 extern "C"
59343 #endif
59344 /* We use char because int might match the return type of a gcc2
59345 builtin and then its argument prototype would still apply. */
59346 char $ac_func ();
59347 /* The GNU C library defines this for functions which it implements
59348 to always fail with ENOSYS. Some functions are actually named
59349 something starting with __ and the normal name is an alias. */
59350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59351 choke me
59352 #else
59353 char (*f) () = $ac_func;
59354 #endif
59355 #ifdef __cplusplus
59357 #endif
59360 main ()
59362 return f != $ac_func;
59364 return 0;
59366 _ACEOF
59367 rm -f conftest.$ac_objext conftest$ac_exeext
59368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59369 (eval $ac_link) 2>conftest.er1
59370 ac_status=$?
59371 grep -v '^ *+' conftest.er1 >conftest.err
59372 rm -f conftest.er1
59373 cat conftest.err >&5
59374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59375 (exit $ac_status); } &&
59376 { ac_try='test -z "$ac_c_werror_flag"
59377 || test ! -s conftest.err'
59378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59379 (eval $ac_try) 2>&5
59380 ac_status=$?
59381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59382 (exit $ac_status); }; } &&
59383 { ac_try='test -s conftest$ac_exeext'
59384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59385 (eval $ac_try) 2>&5
59386 ac_status=$?
59387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59388 (exit $ac_status); }; }; then
59389 eval "$as_ac_var=yes"
59390 else
59391 echo "$as_me: failed program was:" >&5
59392 sed 's/^/| /' conftest.$ac_ext >&5
59394 eval "$as_ac_var=no"
59396 rm -f conftest.err conftest.$ac_objext \
59397 conftest$ac_exeext conftest.$ac_ext
59399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59401 if test `eval echo '${'$as_ac_var'}'` = yes; then
59402 cat >>confdefs.h <<_ACEOF
59403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59404 _ACEOF
59407 done
59417 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59418 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59419 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59420 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59421 echo $ECHO_N "(cached) $ECHO_C" >&6
59422 else
59426 ac_ext=cc
59427 ac_cpp='$CXXCPP $CPPFLAGS'
59428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59432 cat >conftest.$ac_ext <<_ACEOF
59433 /* confdefs.h. */
59434 _ACEOF
59435 cat confdefs.h >>conftest.$ac_ext
59436 cat >>conftest.$ac_ext <<_ACEOF
59437 /* end confdefs.h. */
59438 #include <math.h>
59440 main ()
59442 hypotf(0, 0);
59444 return 0;
59446 _ACEOF
59447 rm -f conftest.$ac_objext
59448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59449 (eval $ac_compile) 2>conftest.er1
59450 ac_status=$?
59451 grep -v '^ *+' conftest.er1 >conftest.err
59452 rm -f conftest.er1
59453 cat conftest.err >&5
59454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59455 (exit $ac_status); } &&
59456 { ac_try='test -z "$ac_cxx_werror_flag"
59457 || test ! -s conftest.err'
59458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59459 (eval $ac_try) 2>&5
59460 ac_status=$?
59461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59462 (exit $ac_status); }; } &&
59463 { ac_try='test -s conftest.$ac_objext'
59464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59465 (eval $ac_try) 2>&5
59466 ac_status=$?
59467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59468 (exit $ac_status); }; }; then
59469 glibcxx_cv_func_hypotf_use=yes
59470 else
59471 echo "$as_me: failed program was:" >&5
59472 sed 's/^/| /' conftest.$ac_ext >&5
59474 glibcxx_cv_func_hypotf_use=no
59476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59477 ac_ext=c
59478 ac_cpp='$CPP $CPPFLAGS'
59479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59488 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59490 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59492 for ac_func in hypotf
59494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59495 echo "$as_me:$LINENO: checking for $ac_func" >&5
59496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59497 if eval "test \"\${$as_ac_var+set}\" = set"; then
59498 echo $ECHO_N "(cached) $ECHO_C" >&6
59499 else
59500 if test x$gcc_no_link = xyes; then
59501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59503 { (exit 1); exit 1; }; }
59505 cat >conftest.$ac_ext <<_ACEOF
59506 /* confdefs.h. */
59507 _ACEOF
59508 cat confdefs.h >>conftest.$ac_ext
59509 cat >>conftest.$ac_ext <<_ACEOF
59510 /* end confdefs.h. */
59511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59513 #define $ac_func innocuous_$ac_func
59515 /* System header to define __stub macros and hopefully few prototypes,
59516 which can conflict with char $ac_func (); below.
59517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59518 <limits.h> exists even on freestanding compilers. */
59520 #ifdef __STDC__
59521 # include <limits.h>
59522 #else
59523 # include <assert.h>
59524 #endif
59526 #undef $ac_func
59528 /* Override any gcc2 internal prototype to avoid an error. */
59529 #ifdef __cplusplus
59530 extern "C"
59532 #endif
59533 /* We use char because int might match the return type of a gcc2
59534 builtin and then its argument prototype would still apply. */
59535 char $ac_func ();
59536 /* The GNU C library defines this for functions which it implements
59537 to always fail with ENOSYS. Some functions are actually named
59538 something starting with __ and the normal name is an alias. */
59539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59540 choke me
59541 #else
59542 char (*f) () = $ac_func;
59543 #endif
59544 #ifdef __cplusplus
59546 #endif
59549 main ()
59551 return f != $ac_func;
59553 return 0;
59555 _ACEOF
59556 rm -f conftest.$ac_objext conftest$ac_exeext
59557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59558 (eval $ac_link) 2>conftest.er1
59559 ac_status=$?
59560 grep -v '^ *+' conftest.er1 >conftest.err
59561 rm -f conftest.er1
59562 cat conftest.err >&5
59563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59564 (exit $ac_status); } &&
59565 { ac_try='test -z "$ac_c_werror_flag"
59566 || test ! -s conftest.err'
59567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59568 (eval $ac_try) 2>&5
59569 ac_status=$?
59570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571 (exit $ac_status); }; } &&
59572 { ac_try='test -s conftest$ac_exeext'
59573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59574 (eval $ac_try) 2>&5
59575 ac_status=$?
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); }; }; then
59578 eval "$as_ac_var=yes"
59579 else
59580 echo "$as_me: failed program was:" >&5
59581 sed 's/^/| /' conftest.$ac_ext >&5
59583 eval "$as_ac_var=no"
59585 rm -f conftest.err conftest.$ac_objext \
59586 conftest$ac_exeext conftest.$ac_ext
59588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59590 if test `eval echo '${'$as_ac_var'}'` = yes; then
59591 cat >>confdefs.h <<_ACEOF
59592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59593 _ACEOF
59596 done
59598 else
59600 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59601 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59602 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59603 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59604 echo $ECHO_N "(cached) $ECHO_C" >&6
59605 else
59609 ac_ext=cc
59610 ac_cpp='$CXXCPP $CPPFLAGS'
59611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59615 cat >conftest.$ac_ext <<_ACEOF
59616 /* confdefs.h. */
59617 _ACEOF
59618 cat confdefs.h >>conftest.$ac_ext
59619 cat >>conftest.$ac_ext <<_ACEOF
59620 /* end confdefs.h. */
59621 #include <math.h>
59623 main ()
59625 _hypotf(0, 0);
59627 return 0;
59629 _ACEOF
59630 rm -f conftest.$ac_objext
59631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59632 (eval $ac_compile) 2>conftest.er1
59633 ac_status=$?
59634 grep -v '^ *+' conftest.er1 >conftest.err
59635 rm -f conftest.er1
59636 cat conftest.err >&5
59637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59638 (exit $ac_status); } &&
59639 { ac_try='test -z "$ac_cxx_werror_flag"
59640 || test ! -s conftest.err'
59641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59642 (eval $ac_try) 2>&5
59643 ac_status=$?
59644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59645 (exit $ac_status); }; } &&
59646 { ac_try='test -s conftest.$ac_objext'
59647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59648 (eval $ac_try) 2>&5
59649 ac_status=$?
59650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59651 (exit $ac_status); }; }; then
59652 glibcxx_cv_func__hypotf_use=yes
59653 else
59654 echo "$as_me: failed program was:" >&5
59655 sed 's/^/| /' conftest.$ac_ext >&5
59657 glibcxx_cv_func__hypotf_use=no
59659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59660 ac_ext=c
59661 ac_cpp='$CPP $CPPFLAGS'
59662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59671 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59673 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59675 for ac_func in _hypotf
59677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59678 echo "$as_me:$LINENO: checking for $ac_func" >&5
59679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59680 if eval "test \"\${$as_ac_var+set}\" = set"; then
59681 echo $ECHO_N "(cached) $ECHO_C" >&6
59682 else
59683 if test x$gcc_no_link = xyes; then
59684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59686 { (exit 1); exit 1; }; }
59688 cat >conftest.$ac_ext <<_ACEOF
59689 /* confdefs.h. */
59690 _ACEOF
59691 cat confdefs.h >>conftest.$ac_ext
59692 cat >>conftest.$ac_ext <<_ACEOF
59693 /* end confdefs.h. */
59694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59696 #define $ac_func innocuous_$ac_func
59698 /* System header to define __stub macros and hopefully few prototypes,
59699 which can conflict with char $ac_func (); below.
59700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59701 <limits.h> exists even on freestanding compilers. */
59703 #ifdef __STDC__
59704 # include <limits.h>
59705 #else
59706 # include <assert.h>
59707 #endif
59709 #undef $ac_func
59711 /* Override any gcc2 internal prototype to avoid an error. */
59712 #ifdef __cplusplus
59713 extern "C"
59715 #endif
59716 /* We use char because int might match the return type of a gcc2
59717 builtin and then its argument prototype would still apply. */
59718 char $ac_func ();
59719 /* The GNU C library defines this for functions which it implements
59720 to always fail with ENOSYS. Some functions are actually named
59721 something starting with __ and the normal name is an alias. */
59722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59723 choke me
59724 #else
59725 char (*f) () = $ac_func;
59726 #endif
59727 #ifdef __cplusplus
59729 #endif
59732 main ()
59734 return f != $ac_func;
59736 return 0;
59738 _ACEOF
59739 rm -f conftest.$ac_objext conftest$ac_exeext
59740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59741 (eval $ac_link) 2>conftest.er1
59742 ac_status=$?
59743 grep -v '^ *+' conftest.er1 >conftest.err
59744 rm -f conftest.er1
59745 cat conftest.err >&5
59746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59747 (exit $ac_status); } &&
59748 { ac_try='test -z "$ac_c_werror_flag"
59749 || test ! -s conftest.err'
59750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59751 (eval $ac_try) 2>&5
59752 ac_status=$?
59753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59754 (exit $ac_status); }; } &&
59755 { ac_try='test -s conftest$ac_exeext'
59756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59757 (eval $ac_try) 2>&5
59758 ac_status=$?
59759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59760 (exit $ac_status); }; }; then
59761 eval "$as_ac_var=yes"
59762 else
59763 echo "$as_me: failed program was:" >&5
59764 sed 's/^/| /' conftest.$ac_ext >&5
59766 eval "$as_ac_var=no"
59768 rm -f conftest.err conftest.$ac_objext \
59769 conftest$ac_exeext conftest.$ac_ext
59771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59773 if test `eval echo '${'$as_ac_var'}'` = yes; then
59774 cat >>confdefs.h <<_ACEOF
59775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59776 _ACEOF
59779 done
59789 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59790 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59791 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59792 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59793 echo $ECHO_N "(cached) $ECHO_C" >&6
59794 else
59798 ac_ext=cc
59799 ac_cpp='$CXXCPP $CPPFLAGS'
59800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59804 cat >conftest.$ac_ext <<_ACEOF
59805 /* confdefs.h. */
59806 _ACEOF
59807 cat confdefs.h >>conftest.$ac_ext
59808 cat >>conftest.$ac_ext <<_ACEOF
59809 /* end confdefs.h. */
59810 #include <math.h>
59812 main ()
59814 ldexpf(0, 0);
59816 return 0;
59818 _ACEOF
59819 rm -f conftest.$ac_objext
59820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59821 (eval $ac_compile) 2>conftest.er1
59822 ac_status=$?
59823 grep -v '^ *+' conftest.er1 >conftest.err
59824 rm -f conftest.er1
59825 cat conftest.err >&5
59826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59827 (exit $ac_status); } &&
59828 { ac_try='test -z "$ac_cxx_werror_flag"
59829 || test ! -s conftest.err'
59830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59831 (eval $ac_try) 2>&5
59832 ac_status=$?
59833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59834 (exit $ac_status); }; } &&
59835 { ac_try='test -s conftest.$ac_objext'
59836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59837 (eval $ac_try) 2>&5
59838 ac_status=$?
59839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59840 (exit $ac_status); }; }; then
59841 glibcxx_cv_func_ldexpf_use=yes
59842 else
59843 echo "$as_me: failed program was:" >&5
59844 sed 's/^/| /' conftest.$ac_ext >&5
59846 glibcxx_cv_func_ldexpf_use=no
59848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59849 ac_ext=c
59850 ac_cpp='$CPP $CPPFLAGS'
59851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59860 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59862 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59864 for ac_func in ldexpf
59866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59867 echo "$as_me:$LINENO: checking for $ac_func" >&5
59868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59869 if eval "test \"\${$as_ac_var+set}\" = set"; then
59870 echo $ECHO_N "(cached) $ECHO_C" >&6
59871 else
59872 if test x$gcc_no_link = xyes; then
59873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59875 { (exit 1); exit 1; }; }
59877 cat >conftest.$ac_ext <<_ACEOF
59878 /* confdefs.h. */
59879 _ACEOF
59880 cat confdefs.h >>conftest.$ac_ext
59881 cat >>conftest.$ac_ext <<_ACEOF
59882 /* end confdefs.h. */
59883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59885 #define $ac_func innocuous_$ac_func
59887 /* System header to define __stub macros and hopefully few prototypes,
59888 which can conflict with char $ac_func (); below.
59889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59890 <limits.h> exists even on freestanding compilers. */
59892 #ifdef __STDC__
59893 # include <limits.h>
59894 #else
59895 # include <assert.h>
59896 #endif
59898 #undef $ac_func
59900 /* Override any gcc2 internal prototype to avoid an error. */
59901 #ifdef __cplusplus
59902 extern "C"
59904 #endif
59905 /* We use char because int might match the return type of a gcc2
59906 builtin and then its argument prototype would still apply. */
59907 char $ac_func ();
59908 /* The GNU C library defines this for functions which it implements
59909 to always fail with ENOSYS. Some functions are actually named
59910 something starting with __ and the normal name is an alias. */
59911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59912 choke me
59913 #else
59914 char (*f) () = $ac_func;
59915 #endif
59916 #ifdef __cplusplus
59918 #endif
59921 main ()
59923 return f != $ac_func;
59925 return 0;
59927 _ACEOF
59928 rm -f conftest.$ac_objext conftest$ac_exeext
59929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59930 (eval $ac_link) 2>conftest.er1
59931 ac_status=$?
59932 grep -v '^ *+' conftest.er1 >conftest.err
59933 rm -f conftest.er1
59934 cat conftest.err >&5
59935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59936 (exit $ac_status); } &&
59937 { ac_try='test -z "$ac_c_werror_flag"
59938 || test ! -s conftest.err'
59939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59940 (eval $ac_try) 2>&5
59941 ac_status=$?
59942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59943 (exit $ac_status); }; } &&
59944 { ac_try='test -s conftest$ac_exeext'
59945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59946 (eval $ac_try) 2>&5
59947 ac_status=$?
59948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59949 (exit $ac_status); }; }; then
59950 eval "$as_ac_var=yes"
59951 else
59952 echo "$as_me: failed program was:" >&5
59953 sed 's/^/| /' conftest.$ac_ext >&5
59955 eval "$as_ac_var=no"
59957 rm -f conftest.err conftest.$ac_objext \
59958 conftest$ac_exeext conftest.$ac_ext
59960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59962 if test `eval echo '${'$as_ac_var'}'` = yes; then
59963 cat >>confdefs.h <<_ACEOF
59964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59965 _ACEOF
59968 done
59970 else
59972 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
59973 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
59974 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59975 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
59976 echo $ECHO_N "(cached) $ECHO_C" >&6
59977 else
59981 ac_ext=cc
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987 cat >conftest.$ac_ext <<_ACEOF
59988 /* confdefs.h. */
59989 _ACEOF
59990 cat confdefs.h >>conftest.$ac_ext
59991 cat >>conftest.$ac_ext <<_ACEOF
59992 /* end confdefs.h. */
59993 #include <math.h>
59995 main ()
59997 _ldexpf(0, 0);
59999 return 0;
60001 _ACEOF
60002 rm -f conftest.$ac_objext
60003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60004 (eval $ac_compile) 2>conftest.er1
60005 ac_status=$?
60006 grep -v '^ *+' conftest.er1 >conftest.err
60007 rm -f conftest.er1
60008 cat conftest.err >&5
60009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60010 (exit $ac_status); } &&
60011 { ac_try='test -z "$ac_cxx_werror_flag"
60012 || test ! -s conftest.err'
60013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60014 (eval $ac_try) 2>&5
60015 ac_status=$?
60016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60017 (exit $ac_status); }; } &&
60018 { ac_try='test -s conftest.$ac_objext'
60019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60020 (eval $ac_try) 2>&5
60021 ac_status=$?
60022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60023 (exit $ac_status); }; }; then
60024 glibcxx_cv_func__ldexpf_use=yes
60025 else
60026 echo "$as_me: failed program was:" >&5
60027 sed 's/^/| /' conftest.$ac_ext >&5
60029 glibcxx_cv_func__ldexpf_use=no
60031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60032 ac_ext=c
60033 ac_cpp='$CPP $CPPFLAGS'
60034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60043 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60045 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60047 for ac_func in _ldexpf
60049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60050 echo "$as_me:$LINENO: checking for $ac_func" >&5
60051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60052 if eval "test \"\${$as_ac_var+set}\" = set"; then
60053 echo $ECHO_N "(cached) $ECHO_C" >&6
60054 else
60055 if test x$gcc_no_link = xyes; then
60056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60058 { (exit 1); exit 1; }; }
60060 cat >conftest.$ac_ext <<_ACEOF
60061 /* confdefs.h. */
60062 _ACEOF
60063 cat confdefs.h >>conftest.$ac_ext
60064 cat >>conftest.$ac_ext <<_ACEOF
60065 /* end confdefs.h. */
60066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60068 #define $ac_func innocuous_$ac_func
60070 /* System header to define __stub macros and hopefully few prototypes,
60071 which can conflict with char $ac_func (); below.
60072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60073 <limits.h> exists even on freestanding compilers. */
60075 #ifdef __STDC__
60076 # include <limits.h>
60077 #else
60078 # include <assert.h>
60079 #endif
60081 #undef $ac_func
60083 /* Override any gcc2 internal prototype to avoid an error. */
60084 #ifdef __cplusplus
60085 extern "C"
60087 #endif
60088 /* We use char because int might match the return type of a gcc2
60089 builtin and then its argument prototype would still apply. */
60090 char $ac_func ();
60091 /* The GNU C library defines this for functions which it implements
60092 to always fail with ENOSYS. Some functions are actually named
60093 something starting with __ and the normal name is an alias. */
60094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60095 choke me
60096 #else
60097 char (*f) () = $ac_func;
60098 #endif
60099 #ifdef __cplusplus
60101 #endif
60104 main ()
60106 return f != $ac_func;
60108 return 0;
60110 _ACEOF
60111 rm -f conftest.$ac_objext conftest$ac_exeext
60112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60113 (eval $ac_link) 2>conftest.er1
60114 ac_status=$?
60115 grep -v '^ *+' conftest.er1 >conftest.err
60116 rm -f conftest.er1
60117 cat conftest.err >&5
60118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60119 (exit $ac_status); } &&
60120 { ac_try='test -z "$ac_c_werror_flag"
60121 || test ! -s conftest.err'
60122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60123 (eval $ac_try) 2>&5
60124 ac_status=$?
60125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60126 (exit $ac_status); }; } &&
60127 { ac_try='test -s conftest$ac_exeext'
60128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60129 (eval $ac_try) 2>&5
60130 ac_status=$?
60131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60132 (exit $ac_status); }; }; then
60133 eval "$as_ac_var=yes"
60134 else
60135 echo "$as_me: failed program was:" >&5
60136 sed 's/^/| /' conftest.$ac_ext >&5
60138 eval "$as_ac_var=no"
60140 rm -f conftest.err conftest.$ac_objext \
60141 conftest$ac_exeext conftest.$ac_ext
60143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60145 if test `eval echo '${'$as_ac_var'}'` = yes; then
60146 cat >>confdefs.h <<_ACEOF
60147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60148 _ACEOF
60151 done
60161 echo "$as_me:$LINENO: checking for logf declaration" >&5
60162 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60163 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60164 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60165 echo $ECHO_N "(cached) $ECHO_C" >&6
60166 else
60170 ac_ext=cc
60171 ac_cpp='$CXXCPP $CPPFLAGS'
60172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60176 cat >conftest.$ac_ext <<_ACEOF
60177 /* confdefs.h. */
60178 _ACEOF
60179 cat confdefs.h >>conftest.$ac_ext
60180 cat >>conftest.$ac_ext <<_ACEOF
60181 /* end confdefs.h. */
60182 #include <math.h>
60183 #ifdef HAVE_IEEEFP_H
60184 #include <ieeefp.h>
60185 #endif
60188 main ()
60190 logf(0);
60192 return 0;
60194 _ACEOF
60195 rm -f conftest.$ac_objext
60196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60197 (eval $ac_compile) 2>conftest.er1
60198 ac_status=$?
60199 grep -v '^ *+' conftest.er1 >conftest.err
60200 rm -f conftest.er1
60201 cat conftest.err >&5
60202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203 (exit $ac_status); } &&
60204 { ac_try='test -z "$ac_cxx_werror_flag"
60205 || test ! -s conftest.err'
60206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60207 (eval $ac_try) 2>&5
60208 ac_status=$?
60209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60210 (exit $ac_status); }; } &&
60211 { ac_try='test -s conftest.$ac_objext'
60212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60213 (eval $ac_try) 2>&5
60214 ac_status=$?
60215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60216 (exit $ac_status); }; }; then
60217 glibcxx_cv_func_logf_use=yes
60218 else
60219 echo "$as_me: failed program was:" >&5
60220 sed 's/^/| /' conftest.$ac_ext >&5
60222 glibcxx_cv_func_logf_use=no
60224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60225 ac_ext=c
60226 ac_cpp='$CPP $CPPFLAGS'
60227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60236 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60238 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60240 for ac_func in logf
60242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60243 echo "$as_me:$LINENO: checking for $ac_func" >&5
60244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60245 if eval "test \"\${$as_ac_var+set}\" = set"; then
60246 echo $ECHO_N "(cached) $ECHO_C" >&6
60247 else
60248 if test x$gcc_no_link = xyes; then
60249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60251 { (exit 1); exit 1; }; }
60253 cat >conftest.$ac_ext <<_ACEOF
60254 /* confdefs.h. */
60255 _ACEOF
60256 cat confdefs.h >>conftest.$ac_ext
60257 cat >>conftest.$ac_ext <<_ACEOF
60258 /* end confdefs.h. */
60259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60261 #define $ac_func innocuous_$ac_func
60263 /* System header to define __stub macros and hopefully few prototypes,
60264 which can conflict with char $ac_func (); below.
60265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60266 <limits.h> exists even on freestanding compilers. */
60268 #ifdef __STDC__
60269 # include <limits.h>
60270 #else
60271 # include <assert.h>
60272 #endif
60274 #undef $ac_func
60276 /* Override any gcc2 internal prototype to avoid an error. */
60277 #ifdef __cplusplus
60278 extern "C"
60280 #endif
60281 /* We use char because int might match the return type of a gcc2
60282 builtin and then its argument prototype would still apply. */
60283 char $ac_func ();
60284 /* The GNU C library defines this for functions which it implements
60285 to always fail with ENOSYS. Some functions are actually named
60286 something starting with __ and the normal name is an alias. */
60287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60288 choke me
60289 #else
60290 char (*f) () = $ac_func;
60291 #endif
60292 #ifdef __cplusplus
60294 #endif
60297 main ()
60299 return f != $ac_func;
60301 return 0;
60303 _ACEOF
60304 rm -f conftest.$ac_objext conftest$ac_exeext
60305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60306 (eval $ac_link) 2>conftest.er1
60307 ac_status=$?
60308 grep -v '^ *+' conftest.er1 >conftest.err
60309 rm -f conftest.er1
60310 cat conftest.err >&5
60311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60312 (exit $ac_status); } &&
60313 { ac_try='test -z "$ac_c_werror_flag"
60314 || test ! -s conftest.err'
60315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60316 (eval $ac_try) 2>&5
60317 ac_status=$?
60318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60319 (exit $ac_status); }; } &&
60320 { ac_try='test -s conftest$ac_exeext'
60321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60322 (eval $ac_try) 2>&5
60323 ac_status=$?
60324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60325 (exit $ac_status); }; }; then
60326 eval "$as_ac_var=yes"
60327 else
60328 echo "$as_me: failed program was:" >&5
60329 sed 's/^/| /' conftest.$ac_ext >&5
60331 eval "$as_ac_var=no"
60333 rm -f conftest.err conftest.$ac_objext \
60334 conftest$ac_exeext conftest.$ac_ext
60336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60338 if test `eval echo '${'$as_ac_var'}'` = yes; then
60339 cat >>confdefs.h <<_ACEOF
60340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60341 _ACEOF
60344 done
60346 else
60348 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60349 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60350 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60351 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60352 echo $ECHO_N "(cached) $ECHO_C" >&6
60353 else
60357 ac_ext=cc
60358 ac_cpp='$CXXCPP $CPPFLAGS'
60359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60363 cat >conftest.$ac_ext <<_ACEOF
60364 /* confdefs.h. */
60365 _ACEOF
60366 cat confdefs.h >>conftest.$ac_ext
60367 cat >>conftest.$ac_ext <<_ACEOF
60368 /* end confdefs.h. */
60369 #include <math.h>
60370 #ifdef HAVE_IEEEFP_H
60371 #include <ieeefp.h>
60372 #endif
60375 main ()
60377 _logf(0);
60379 return 0;
60381 _ACEOF
60382 rm -f conftest.$ac_objext
60383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60384 (eval $ac_compile) 2>conftest.er1
60385 ac_status=$?
60386 grep -v '^ *+' conftest.er1 >conftest.err
60387 rm -f conftest.er1
60388 cat conftest.err >&5
60389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60390 (exit $ac_status); } &&
60391 { ac_try='test -z "$ac_cxx_werror_flag"
60392 || test ! -s conftest.err'
60393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60394 (eval $ac_try) 2>&5
60395 ac_status=$?
60396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60397 (exit $ac_status); }; } &&
60398 { ac_try='test -s conftest.$ac_objext'
60399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60400 (eval $ac_try) 2>&5
60401 ac_status=$?
60402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60403 (exit $ac_status); }; }; then
60404 glibcxx_cv_func__logf_use=yes
60405 else
60406 echo "$as_me: failed program was:" >&5
60407 sed 's/^/| /' conftest.$ac_ext >&5
60409 glibcxx_cv_func__logf_use=no
60411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60412 ac_ext=c
60413 ac_cpp='$CPP $CPPFLAGS'
60414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60423 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60425 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60427 for ac_func in _logf
60429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60430 echo "$as_me:$LINENO: checking for $ac_func" >&5
60431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60432 if eval "test \"\${$as_ac_var+set}\" = set"; then
60433 echo $ECHO_N "(cached) $ECHO_C" >&6
60434 else
60435 if test x$gcc_no_link = xyes; then
60436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60438 { (exit 1); exit 1; }; }
60440 cat >conftest.$ac_ext <<_ACEOF
60441 /* confdefs.h. */
60442 _ACEOF
60443 cat confdefs.h >>conftest.$ac_ext
60444 cat >>conftest.$ac_ext <<_ACEOF
60445 /* end confdefs.h. */
60446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60448 #define $ac_func innocuous_$ac_func
60450 /* System header to define __stub macros and hopefully few prototypes,
60451 which can conflict with char $ac_func (); below.
60452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60453 <limits.h> exists even on freestanding compilers. */
60455 #ifdef __STDC__
60456 # include <limits.h>
60457 #else
60458 # include <assert.h>
60459 #endif
60461 #undef $ac_func
60463 /* Override any gcc2 internal prototype to avoid an error. */
60464 #ifdef __cplusplus
60465 extern "C"
60467 #endif
60468 /* We use char because int might match the return type of a gcc2
60469 builtin and then its argument prototype would still apply. */
60470 char $ac_func ();
60471 /* The GNU C library defines this for functions which it implements
60472 to always fail with ENOSYS. Some functions are actually named
60473 something starting with __ and the normal name is an alias. */
60474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60475 choke me
60476 #else
60477 char (*f) () = $ac_func;
60478 #endif
60479 #ifdef __cplusplus
60481 #endif
60484 main ()
60486 return f != $ac_func;
60488 return 0;
60490 _ACEOF
60491 rm -f conftest.$ac_objext conftest$ac_exeext
60492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60493 (eval $ac_link) 2>conftest.er1
60494 ac_status=$?
60495 grep -v '^ *+' conftest.er1 >conftest.err
60496 rm -f conftest.er1
60497 cat conftest.err >&5
60498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60499 (exit $ac_status); } &&
60500 { ac_try='test -z "$ac_c_werror_flag"
60501 || test ! -s conftest.err'
60502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60503 (eval $ac_try) 2>&5
60504 ac_status=$?
60505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60506 (exit $ac_status); }; } &&
60507 { ac_try='test -s conftest$ac_exeext'
60508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60509 (eval $ac_try) 2>&5
60510 ac_status=$?
60511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60512 (exit $ac_status); }; }; then
60513 eval "$as_ac_var=yes"
60514 else
60515 echo "$as_me: failed program was:" >&5
60516 sed 's/^/| /' conftest.$ac_ext >&5
60518 eval "$as_ac_var=no"
60520 rm -f conftest.err conftest.$ac_objext \
60521 conftest$ac_exeext conftest.$ac_ext
60523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60525 if test `eval echo '${'$as_ac_var'}'` = yes; then
60526 cat >>confdefs.h <<_ACEOF
60527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60528 _ACEOF
60531 done
60541 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60542 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60543 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60544 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60545 echo $ECHO_N "(cached) $ECHO_C" >&6
60546 else
60550 ac_ext=cc
60551 ac_cpp='$CXXCPP $CPPFLAGS'
60552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60556 cat >conftest.$ac_ext <<_ACEOF
60557 /* confdefs.h. */
60558 _ACEOF
60559 cat confdefs.h >>conftest.$ac_ext
60560 cat >>conftest.$ac_ext <<_ACEOF
60561 /* end confdefs.h. */
60562 #include <math.h>
60563 #ifdef HAVE_IEEEFP_H
60564 #include <ieeefp.h>
60565 #endif
60568 main ()
60570 log10f(0);
60572 return 0;
60574 _ACEOF
60575 rm -f conftest.$ac_objext
60576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60577 (eval $ac_compile) 2>conftest.er1
60578 ac_status=$?
60579 grep -v '^ *+' conftest.er1 >conftest.err
60580 rm -f conftest.er1
60581 cat conftest.err >&5
60582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60583 (exit $ac_status); } &&
60584 { ac_try='test -z "$ac_cxx_werror_flag"
60585 || test ! -s conftest.err'
60586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60587 (eval $ac_try) 2>&5
60588 ac_status=$?
60589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60590 (exit $ac_status); }; } &&
60591 { ac_try='test -s conftest.$ac_objext'
60592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60593 (eval $ac_try) 2>&5
60594 ac_status=$?
60595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60596 (exit $ac_status); }; }; then
60597 glibcxx_cv_func_log10f_use=yes
60598 else
60599 echo "$as_me: failed program was:" >&5
60600 sed 's/^/| /' conftest.$ac_ext >&5
60602 glibcxx_cv_func_log10f_use=no
60604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60605 ac_ext=c
60606 ac_cpp='$CPP $CPPFLAGS'
60607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60616 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60618 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60620 for ac_func in log10f
60622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60623 echo "$as_me:$LINENO: checking for $ac_func" >&5
60624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60625 if eval "test \"\${$as_ac_var+set}\" = set"; then
60626 echo $ECHO_N "(cached) $ECHO_C" >&6
60627 else
60628 if test x$gcc_no_link = xyes; then
60629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60631 { (exit 1); exit 1; }; }
60633 cat >conftest.$ac_ext <<_ACEOF
60634 /* confdefs.h. */
60635 _ACEOF
60636 cat confdefs.h >>conftest.$ac_ext
60637 cat >>conftest.$ac_ext <<_ACEOF
60638 /* end confdefs.h. */
60639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60641 #define $ac_func innocuous_$ac_func
60643 /* System header to define __stub macros and hopefully few prototypes,
60644 which can conflict with char $ac_func (); below.
60645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60646 <limits.h> exists even on freestanding compilers. */
60648 #ifdef __STDC__
60649 # include <limits.h>
60650 #else
60651 # include <assert.h>
60652 #endif
60654 #undef $ac_func
60656 /* Override any gcc2 internal prototype to avoid an error. */
60657 #ifdef __cplusplus
60658 extern "C"
60660 #endif
60661 /* We use char because int might match the return type of a gcc2
60662 builtin and then its argument prototype would still apply. */
60663 char $ac_func ();
60664 /* The GNU C library defines this for functions which it implements
60665 to always fail with ENOSYS. Some functions are actually named
60666 something starting with __ and the normal name is an alias. */
60667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60668 choke me
60669 #else
60670 char (*f) () = $ac_func;
60671 #endif
60672 #ifdef __cplusplus
60674 #endif
60677 main ()
60679 return f != $ac_func;
60681 return 0;
60683 _ACEOF
60684 rm -f conftest.$ac_objext conftest$ac_exeext
60685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60686 (eval $ac_link) 2>conftest.er1
60687 ac_status=$?
60688 grep -v '^ *+' conftest.er1 >conftest.err
60689 rm -f conftest.er1
60690 cat conftest.err >&5
60691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60692 (exit $ac_status); } &&
60693 { ac_try='test -z "$ac_c_werror_flag"
60694 || test ! -s conftest.err'
60695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60696 (eval $ac_try) 2>&5
60697 ac_status=$?
60698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60699 (exit $ac_status); }; } &&
60700 { ac_try='test -s conftest$ac_exeext'
60701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60702 (eval $ac_try) 2>&5
60703 ac_status=$?
60704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60705 (exit $ac_status); }; }; then
60706 eval "$as_ac_var=yes"
60707 else
60708 echo "$as_me: failed program was:" >&5
60709 sed 's/^/| /' conftest.$ac_ext >&5
60711 eval "$as_ac_var=no"
60713 rm -f conftest.err conftest.$ac_objext \
60714 conftest$ac_exeext conftest.$ac_ext
60716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60718 if test `eval echo '${'$as_ac_var'}'` = yes; then
60719 cat >>confdefs.h <<_ACEOF
60720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60721 _ACEOF
60724 done
60726 else
60728 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60729 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60730 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60731 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60732 echo $ECHO_N "(cached) $ECHO_C" >&6
60733 else
60737 ac_ext=cc
60738 ac_cpp='$CXXCPP $CPPFLAGS'
60739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60743 cat >conftest.$ac_ext <<_ACEOF
60744 /* confdefs.h. */
60745 _ACEOF
60746 cat confdefs.h >>conftest.$ac_ext
60747 cat >>conftest.$ac_ext <<_ACEOF
60748 /* end confdefs.h. */
60749 #include <math.h>
60750 #ifdef HAVE_IEEEFP_H
60751 #include <ieeefp.h>
60752 #endif
60755 main ()
60757 _log10f(0);
60759 return 0;
60761 _ACEOF
60762 rm -f conftest.$ac_objext
60763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60764 (eval $ac_compile) 2>conftest.er1
60765 ac_status=$?
60766 grep -v '^ *+' conftest.er1 >conftest.err
60767 rm -f conftest.er1
60768 cat conftest.err >&5
60769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60770 (exit $ac_status); } &&
60771 { ac_try='test -z "$ac_cxx_werror_flag"
60772 || test ! -s conftest.err'
60773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60774 (eval $ac_try) 2>&5
60775 ac_status=$?
60776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60777 (exit $ac_status); }; } &&
60778 { ac_try='test -s conftest.$ac_objext'
60779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60780 (eval $ac_try) 2>&5
60781 ac_status=$?
60782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60783 (exit $ac_status); }; }; then
60784 glibcxx_cv_func__log10f_use=yes
60785 else
60786 echo "$as_me: failed program was:" >&5
60787 sed 's/^/| /' conftest.$ac_ext >&5
60789 glibcxx_cv_func__log10f_use=no
60791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60792 ac_ext=c
60793 ac_cpp='$CPP $CPPFLAGS'
60794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60803 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60805 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60807 for ac_func in _log10f
60809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60810 echo "$as_me:$LINENO: checking for $ac_func" >&5
60811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60812 if eval "test \"\${$as_ac_var+set}\" = set"; then
60813 echo $ECHO_N "(cached) $ECHO_C" >&6
60814 else
60815 if test x$gcc_no_link = xyes; then
60816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60818 { (exit 1); exit 1; }; }
60820 cat >conftest.$ac_ext <<_ACEOF
60821 /* confdefs.h. */
60822 _ACEOF
60823 cat confdefs.h >>conftest.$ac_ext
60824 cat >>conftest.$ac_ext <<_ACEOF
60825 /* end confdefs.h. */
60826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60828 #define $ac_func innocuous_$ac_func
60830 /* System header to define __stub macros and hopefully few prototypes,
60831 which can conflict with char $ac_func (); below.
60832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60833 <limits.h> exists even on freestanding compilers. */
60835 #ifdef __STDC__
60836 # include <limits.h>
60837 #else
60838 # include <assert.h>
60839 #endif
60841 #undef $ac_func
60843 /* Override any gcc2 internal prototype to avoid an error. */
60844 #ifdef __cplusplus
60845 extern "C"
60847 #endif
60848 /* We use char because int might match the return type of a gcc2
60849 builtin and then its argument prototype would still apply. */
60850 char $ac_func ();
60851 /* The GNU C library defines this for functions which it implements
60852 to always fail with ENOSYS. Some functions are actually named
60853 something starting with __ and the normal name is an alias. */
60854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60855 choke me
60856 #else
60857 char (*f) () = $ac_func;
60858 #endif
60859 #ifdef __cplusplus
60861 #endif
60864 main ()
60866 return f != $ac_func;
60868 return 0;
60870 _ACEOF
60871 rm -f conftest.$ac_objext conftest$ac_exeext
60872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60873 (eval $ac_link) 2>conftest.er1
60874 ac_status=$?
60875 grep -v '^ *+' conftest.er1 >conftest.err
60876 rm -f conftest.er1
60877 cat conftest.err >&5
60878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60879 (exit $ac_status); } &&
60880 { ac_try='test -z "$ac_c_werror_flag"
60881 || test ! -s conftest.err'
60882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60883 (eval $ac_try) 2>&5
60884 ac_status=$?
60885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60886 (exit $ac_status); }; } &&
60887 { ac_try='test -s conftest$ac_exeext'
60888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60889 (eval $ac_try) 2>&5
60890 ac_status=$?
60891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60892 (exit $ac_status); }; }; then
60893 eval "$as_ac_var=yes"
60894 else
60895 echo "$as_me: failed program was:" >&5
60896 sed 's/^/| /' conftest.$ac_ext >&5
60898 eval "$as_ac_var=no"
60900 rm -f conftest.err conftest.$ac_objext \
60901 conftest$ac_exeext conftest.$ac_ext
60903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60905 if test `eval echo '${'$as_ac_var'}'` = yes; then
60906 cat >>confdefs.h <<_ACEOF
60907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60908 _ACEOF
60911 done
60921 echo "$as_me:$LINENO: checking for modff declaration" >&5
60922 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60923 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60924 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60925 echo $ECHO_N "(cached) $ECHO_C" >&6
60926 else
60930 ac_ext=cc
60931 ac_cpp='$CXXCPP $CPPFLAGS'
60932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60936 cat >conftest.$ac_ext <<_ACEOF
60937 /* confdefs.h. */
60938 _ACEOF
60939 cat confdefs.h >>conftest.$ac_ext
60940 cat >>conftest.$ac_ext <<_ACEOF
60941 /* end confdefs.h. */
60942 #include <math.h>
60944 main ()
60946 modff(0, 0);
60948 return 0;
60950 _ACEOF
60951 rm -f conftest.$ac_objext
60952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60953 (eval $ac_compile) 2>conftest.er1
60954 ac_status=$?
60955 grep -v '^ *+' conftest.er1 >conftest.err
60956 rm -f conftest.er1
60957 cat conftest.err >&5
60958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60959 (exit $ac_status); } &&
60960 { ac_try='test -z "$ac_cxx_werror_flag"
60961 || test ! -s conftest.err'
60962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60963 (eval $ac_try) 2>&5
60964 ac_status=$?
60965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60966 (exit $ac_status); }; } &&
60967 { ac_try='test -s conftest.$ac_objext'
60968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60969 (eval $ac_try) 2>&5
60970 ac_status=$?
60971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60972 (exit $ac_status); }; }; then
60973 glibcxx_cv_func_modff_use=yes
60974 else
60975 echo "$as_me: failed program was:" >&5
60976 sed 's/^/| /' conftest.$ac_ext >&5
60978 glibcxx_cv_func_modff_use=no
60980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60981 ac_ext=c
60982 ac_cpp='$CPP $CPPFLAGS'
60983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
60992 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
60994 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60996 for ac_func in modff
60998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60999 echo "$as_me:$LINENO: checking for $ac_func" >&5
61000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61001 if eval "test \"\${$as_ac_var+set}\" = set"; then
61002 echo $ECHO_N "(cached) $ECHO_C" >&6
61003 else
61004 if test x$gcc_no_link = xyes; then
61005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61007 { (exit 1); exit 1; }; }
61009 cat >conftest.$ac_ext <<_ACEOF
61010 /* confdefs.h. */
61011 _ACEOF
61012 cat confdefs.h >>conftest.$ac_ext
61013 cat >>conftest.$ac_ext <<_ACEOF
61014 /* end confdefs.h. */
61015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61017 #define $ac_func innocuous_$ac_func
61019 /* System header to define __stub macros and hopefully few prototypes,
61020 which can conflict with char $ac_func (); below.
61021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61022 <limits.h> exists even on freestanding compilers. */
61024 #ifdef __STDC__
61025 # include <limits.h>
61026 #else
61027 # include <assert.h>
61028 #endif
61030 #undef $ac_func
61032 /* Override any gcc2 internal prototype to avoid an error. */
61033 #ifdef __cplusplus
61034 extern "C"
61036 #endif
61037 /* We use char because int might match the return type of a gcc2
61038 builtin and then its argument prototype would still apply. */
61039 char $ac_func ();
61040 /* The GNU C library defines this for functions which it implements
61041 to always fail with ENOSYS. Some functions are actually named
61042 something starting with __ and the normal name is an alias. */
61043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61044 choke me
61045 #else
61046 char (*f) () = $ac_func;
61047 #endif
61048 #ifdef __cplusplus
61050 #endif
61053 main ()
61055 return f != $ac_func;
61057 return 0;
61059 _ACEOF
61060 rm -f conftest.$ac_objext conftest$ac_exeext
61061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61062 (eval $ac_link) 2>conftest.er1
61063 ac_status=$?
61064 grep -v '^ *+' conftest.er1 >conftest.err
61065 rm -f conftest.er1
61066 cat conftest.err >&5
61067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61068 (exit $ac_status); } &&
61069 { ac_try='test -z "$ac_c_werror_flag"
61070 || test ! -s conftest.err'
61071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61072 (eval $ac_try) 2>&5
61073 ac_status=$?
61074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61075 (exit $ac_status); }; } &&
61076 { ac_try='test -s conftest$ac_exeext'
61077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61078 (eval $ac_try) 2>&5
61079 ac_status=$?
61080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61081 (exit $ac_status); }; }; then
61082 eval "$as_ac_var=yes"
61083 else
61084 echo "$as_me: failed program was:" >&5
61085 sed 's/^/| /' conftest.$ac_ext >&5
61087 eval "$as_ac_var=no"
61089 rm -f conftest.err conftest.$ac_objext \
61090 conftest$ac_exeext conftest.$ac_ext
61092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61094 if test `eval echo '${'$as_ac_var'}'` = yes; then
61095 cat >>confdefs.h <<_ACEOF
61096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61097 _ACEOF
61100 done
61102 else
61104 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61105 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61106 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61107 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61108 echo $ECHO_N "(cached) $ECHO_C" >&6
61109 else
61113 ac_ext=cc
61114 ac_cpp='$CXXCPP $CPPFLAGS'
61115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61119 cat >conftest.$ac_ext <<_ACEOF
61120 /* confdefs.h. */
61121 _ACEOF
61122 cat confdefs.h >>conftest.$ac_ext
61123 cat >>conftest.$ac_ext <<_ACEOF
61124 /* end confdefs.h. */
61125 #include <math.h>
61127 main ()
61129 _modff(0, 0);
61131 return 0;
61133 _ACEOF
61134 rm -f conftest.$ac_objext
61135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61136 (eval $ac_compile) 2>conftest.er1
61137 ac_status=$?
61138 grep -v '^ *+' conftest.er1 >conftest.err
61139 rm -f conftest.er1
61140 cat conftest.err >&5
61141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61142 (exit $ac_status); } &&
61143 { ac_try='test -z "$ac_cxx_werror_flag"
61144 || test ! -s conftest.err'
61145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61146 (eval $ac_try) 2>&5
61147 ac_status=$?
61148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61149 (exit $ac_status); }; } &&
61150 { ac_try='test -s conftest.$ac_objext'
61151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61152 (eval $ac_try) 2>&5
61153 ac_status=$?
61154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61155 (exit $ac_status); }; }; then
61156 glibcxx_cv_func__modff_use=yes
61157 else
61158 echo "$as_me: failed program was:" >&5
61159 sed 's/^/| /' conftest.$ac_ext >&5
61161 glibcxx_cv_func__modff_use=no
61163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61164 ac_ext=c
61165 ac_cpp='$CPP $CPPFLAGS'
61166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61175 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61177 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61179 for ac_func in _modff
61181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61182 echo "$as_me:$LINENO: checking for $ac_func" >&5
61183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61184 if eval "test \"\${$as_ac_var+set}\" = set"; then
61185 echo $ECHO_N "(cached) $ECHO_C" >&6
61186 else
61187 if test x$gcc_no_link = xyes; then
61188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61190 { (exit 1); exit 1; }; }
61192 cat >conftest.$ac_ext <<_ACEOF
61193 /* confdefs.h. */
61194 _ACEOF
61195 cat confdefs.h >>conftest.$ac_ext
61196 cat >>conftest.$ac_ext <<_ACEOF
61197 /* end confdefs.h. */
61198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61200 #define $ac_func innocuous_$ac_func
61202 /* System header to define __stub macros and hopefully few prototypes,
61203 which can conflict with char $ac_func (); below.
61204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61205 <limits.h> exists even on freestanding compilers. */
61207 #ifdef __STDC__
61208 # include <limits.h>
61209 #else
61210 # include <assert.h>
61211 #endif
61213 #undef $ac_func
61215 /* Override any gcc2 internal prototype to avoid an error. */
61216 #ifdef __cplusplus
61217 extern "C"
61219 #endif
61220 /* We use char because int might match the return type of a gcc2
61221 builtin and then its argument prototype would still apply. */
61222 char $ac_func ();
61223 /* The GNU C library defines this for functions which it implements
61224 to always fail with ENOSYS. Some functions are actually named
61225 something starting with __ and the normal name is an alias. */
61226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61227 choke me
61228 #else
61229 char (*f) () = $ac_func;
61230 #endif
61231 #ifdef __cplusplus
61233 #endif
61236 main ()
61238 return f != $ac_func;
61240 return 0;
61242 _ACEOF
61243 rm -f conftest.$ac_objext conftest$ac_exeext
61244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61245 (eval $ac_link) 2>conftest.er1
61246 ac_status=$?
61247 grep -v '^ *+' conftest.er1 >conftest.err
61248 rm -f conftest.er1
61249 cat conftest.err >&5
61250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61251 (exit $ac_status); } &&
61252 { ac_try='test -z "$ac_c_werror_flag"
61253 || test ! -s conftest.err'
61254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61255 (eval $ac_try) 2>&5
61256 ac_status=$?
61257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61258 (exit $ac_status); }; } &&
61259 { ac_try='test -s conftest$ac_exeext'
61260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61261 (eval $ac_try) 2>&5
61262 ac_status=$?
61263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61264 (exit $ac_status); }; }; then
61265 eval "$as_ac_var=yes"
61266 else
61267 echo "$as_me: failed program was:" >&5
61268 sed 's/^/| /' conftest.$ac_ext >&5
61270 eval "$as_ac_var=no"
61272 rm -f conftest.err conftest.$ac_objext \
61273 conftest$ac_exeext conftest.$ac_ext
61275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61277 if test `eval echo '${'$as_ac_var'}'` = yes; then
61278 cat >>confdefs.h <<_ACEOF
61279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61280 _ACEOF
61283 done
61293 echo "$as_me:$LINENO: checking for modf declaration" >&5
61294 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61295 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61296 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61297 echo $ECHO_N "(cached) $ECHO_C" >&6
61298 else
61302 ac_ext=cc
61303 ac_cpp='$CXXCPP $CPPFLAGS'
61304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61308 cat >conftest.$ac_ext <<_ACEOF
61309 /* confdefs.h. */
61310 _ACEOF
61311 cat confdefs.h >>conftest.$ac_ext
61312 cat >>conftest.$ac_ext <<_ACEOF
61313 /* end confdefs.h. */
61314 #include <math.h>
61316 main ()
61318 modf(0, 0);
61320 return 0;
61322 _ACEOF
61323 rm -f conftest.$ac_objext
61324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61325 (eval $ac_compile) 2>conftest.er1
61326 ac_status=$?
61327 grep -v '^ *+' conftest.er1 >conftest.err
61328 rm -f conftest.er1
61329 cat conftest.err >&5
61330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61331 (exit $ac_status); } &&
61332 { ac_try='test -z "$ac_cxx_werror_flag"
61333 || test ! -s conftest.err'
61334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61335 (eval $ac_try) 2>&5
61336 ac_status=$?
61337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61338 (exit $ac_status); }; } &&
61339 { ac_try='test -s conftest.$ac_objext'
61340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61341 (eval $ac_try) 2>&5
61342 ac_status=$?
61343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61344 (exit $ac_status); }; }; then
61345 glibcxx_cv_func_modf_use=yes
61346 else
61347 echo "$as_me: failed program was:" >&5
61348 sed 's/^/| /' conftest.$ac_ext >&5
61350 glibcxx_cv_func_modf_use=no
61352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61353 ac_ext=c
61354 ac_cpp='$CPP $CPPFLAGS'
61355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61364 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61366 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61368 for ac_func in modf
61370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61371 echo "$as_me:$LINENO: checking for $ac_func" >&5
61372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61373 if eval "test \"\${$as_ac_var+set}\" = set"; then
61374 echo $ECHO_N "(cached) $ECHO_C" >&6
61375 else
61376 if test x$gcc_no_link = xyes; then
61377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61379 { (exit 1); exit 1; }; }
61381 cat >conftest.$ac_ext <<_ACEOF
61382 /* confdefs.h. */
61383 _ACEOF
61384 cat confdefs.h >>conftest.$ac_ext
61385 cat >>conftest.$ac_ext <<_ACEOF
61386 /* end confdefs.h. */
61387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61389 #define $ac_func innocuous_$ac_func
61391 /* System header to define __stub macros and hopefully few prototypes,
61392 which can conflict with char $ac_func (); below.
61393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61394 <limits.h> exists even on freestanding compilers. */
61396 #ifdef __STDC__
61397 # include <limits.h>
61398 #else
61399 # include <assert.h>
61400 #endif
61402 #undef $ac_func
61404 /* Override any gcc2 internal prototype to avoid an error. */
61405 #ifdef __cplusplus
61406 extern "C"
61408 #endif
61409 /* We use char because int might match the return type of a gcc2
61410 builtin and then its argument prototype would still apply. */
61411 char $ac_func ();
61412 /* The GNU C library defines this for functions which it implements
61413 to always fail with ENOSYS. Some functions are actually named
61414 something starting with __ and the normal name is an alias. */
61415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61416 choke me
61417 #else
61418 char (*f) () = $ac_func;
61419 #endif
61420 #ifdef __cplusplus
61422 #endif
61425 main ()
61427 return f != $ac_func;
61429 return 0;
61431 _ACEOF
61432 rm -f conftest.$ac_objext conftest$ac_exeext
61433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61434 (eval $ac_link) 2>conftest.er1
61435 ac_status=$?
61436 grep -v '^ *+' conftest.er1 >conftest.err
61437 rm -f conftest.er1
61438 cat conftest.err >&5
61439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61440 (exit $ac_status); } &&
61441 { ac_try='test -z "$ac_c_werror_flag"
61442 || test ! -s conftest.err'
61443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61444 (eval $ac_try) 2>&5
61445 ac_status=$?
61446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61447 (exit $ac_status); }; } &&
61448 { ac_try='test -s conftest$ac_exeext'
61449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61450 (eval $ac_try) 2>&5
61451 ac_status=$?
61452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453 (exit $ac_status); }; }; then
61454 eval "$as_ac_var=yes"
61455 else
61456 echo "$as_me: failed program was:" >&5
61457 sed 's/^/| /' conftest.$ac_ext >&5
61459 eval "$as_ac_var=no"
61461 rm -f conftest.err conftest.$ac_objext \
61462 conftest$ac_exeext conftest.$ac_ext
61464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61466 if test `eval echo '${'$as_ac_var'}'` = yes; then
61467 cat >>confdefs.h <<_ACEOF
61468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61469 _ACEOF
61472 done
61474 else
61476 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61477 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61478 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61479 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61480 echo $ECHO_N "(cached) $ECHO_C" >&6
61481 else
61485 ac_ext=cc
61486 ac_cpp='$CXXCPP $CPPFLAGS'
61487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61491 cat >conftest.$ac_ext <<_ACEOF
61492 /* confdefs.h. */
61493 _ACEOF
61494 cat confdefs.h >>conftest.$ac_ext
61495 cat >>conftest.$ac_ext <<_ACEOF
61496 /* end confdefs.h. */
61497 #include <math.h>
61499 main ()
61501 _modf(0, 0);
61503 return 0;
61505 _ACEOF
61506 rm -f conftest.$ac_objext
61507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61508 (eval $ac_compile) 2>conftest.er1
61509 ac_status=$?
61510 grep -v '^ *+' conftest.er1 >conftest.err
61511 rm -f conftest.er1
61512 cat conftest.err >&5
61513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61514 (exit $ac_status); } &&
61515 { ac_try='test -z "$ac_cxx_werror_flag"
61516 || test ! -s conftest.err'
61517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61518 (eval $ac_try) 2>&5
61519 ac_status=$?
61520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61521 (exit $ac_status); }; } &&
61522 { ac_try='test -s conftest.$ac_objext'
61523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61524 (eval $ac_try) 2>&5
61525 ac_status=$?
61526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61527 (exit $ac_status); }; }; then
61528 glibcxx_cv_func__modf_use=yes
61529 else
61530 echo "$as_me: failed program was:" >&5
61531 sed 's/^/| /' conftest.$ac_ext >&5
61533 glibcxx_cv_func__modf_use=no
61535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61536 ac_ext=c
61537 ac_cpp='$CPP $CPPFLAGS'
61538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61547 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61549 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61551 for ac_func in _modf
61553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61554 echo "$as_me:$LINENO: checking for $ac_func" >&5
61555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61556 if eval "test \"\${$as_ac_var+set}\" = set"; then
61557 echo $ECHO_N "(cached) $ECHO_C" >&6
61558 else
61559 if test x$gcc_no_link = xyes; then
61560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61562 { (exit 1); exit 1; }; }
61564 cat >conftest.$ac_ext <<_ACEOF
61565 /* confdefs.h. */
61566 _ACEOF
61567 cat confdefs.h >>conftest.$ac_ext
61568 cat >>conftest.$ac_ext <<_ACEOF
61569 /* end confdefs.h. */
61570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61572 #define $ac_func innocuous_$ac_func
61574 /* System header to define __stub macros and hopefully few prototypes,
61575 which can conflict with char $ac_func (); below.
61576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61577 <limits.h> exists even on freestanding compilers. */
61579 #ifdef __STDC__
61580 # include <limits.h>
61581 #else
61582 # include <assert.h>
61583 #endif
61585 #undef $ac_func
61587 /* Override any gcc2 internal prototype to avoid an error. */
61588 #ifdef __cplusplus
61589 extern "C"
61591 #endif
61592 /* We use char because int might match the return type of a gcc2
61593 builtin and then its argument prototype would still apply. */
61594 char $ac_func ();
61595 /* The GNU C library defines this for functions which it implements
61596 to always fail with ENOSYS. Some functions are actually named
61597 something starting with __ and the normal name is an alias. */
61598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61599 choke me
61600 #else
61601 char (*f) () = $ac_func;
61602 #endif
61603 #ifdef __cplusplus
61605 #endif
61608 main ()
61610 return f != $ac_func;
61612 return 0;
61614 _ACEOF
61615 rm -f conftest.$ac_objext conftest$ac_exeext
61616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61617 (eval $ac_link) 2>conftest.er1
61618 ac_status=$?
61619 grep -v '^ *+' conftest.er1 >conftest.err
61620 rm -f conftest.er1
61621 cat conftest.err >&5
61622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61623 (exit $ac_status); } &&
61624 { ac_try='test -z "$ac_c_werror_flag"
61625 || test ! -s conftest.err'
61626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61627 (eval $ac_try) 2>&5
61628 ac_status=$?
61629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61630 (exit $ac_status); }; } &&
61631 { ac_try='test -s conftest$ac_exeext'
61632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61633 (eval $ac_try) 2>&5
61634 ac_status=$?
61635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61636 (exit $ac_status); }; }; then
61637 eval "$as_ac_var=yes"
61638 else
61639 echo "$as_me: failed program was:" >&5
61640 sed 's/^/| /' conftest.$ac_ext >&5
61642 eval "$as_ac_var=no"
61644 rm -f conftest.err conftest.$ac_objext \
61645 conftest$ac_exeext conftest.$ac_ext
61647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61649 if test `eval echo '${'$as_ac_var'}'` = yes; then
61650 cat >>confdefs.h <<_ACEOF
61651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61652 _ACEOF
61655 done
61665 echo "$as_me:$LINENO: checking for powf declaration" >&5
61666 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61667 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61668 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61669 echo $ECHO_N "(cached) $ECHO_C" >&6
61670 else
61674 ac_ext=cc
61675 ac_cpp='$CXXCPP $CPPFLAGS'
61676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61680 cat >conftest.$ac_ext <<_ACEOF
61681 /* confdefs.h. */
61682 _ACEOF
61683 cat confdefs.h >>conftest.$ac_ext
61684 cat >>conftest.$ac_ext <<_ACEOF
61685 /* end confdefs.h. */
61686 #include <math.h>
61688 main ()
61690 powf(0, 0);
61692 return 0;
61694 _ACEOF
61695 rm -f conftest.$ac_objext
61696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61697 (eval $ac_compile) 2>conftest.er1
61698 ac_status=$?
61699 grep -v '^ *+' conftest.er1 >conftest.err
61700 rm -f conftest.er1
61701 cat conftest.err >&5
61702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61703 (exit $ac_status); } &&
61704 { ac_try='test -z "$ac_cxx_werror_flag"
61705 || test ! -s conftest.err'
61706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61707 (eval $ac_try) 2>&5
61708 ac_status=$?
61709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61710 (exit $ac_status); }; } &&
61711 { ac_try='test -s conftest.$ac_objext'
61712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61713 (eval $ac_try) 2>&5
61714 ac_status=$?
61715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61716 (exit $ac_status); }; }; then
61717 glibcxx_cv_func_powf_use=yes
61718 else
61719 echo "$as_me: failed program was:" >&5
61720 sed 's/^/| /' conftest.$ac_ext >&5
61722 glibcxx_cv_func_powf_use=no
61724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61725 ac_ext=c
61726 ac_cpp='$CPP $CPPFLAGS'
61727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61736 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61738 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61740 for ac_func in powf
61742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61743 echo "$as_me:$LINENO: checking for $ac_func" >&5
61744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61745 if eval "test \"\${$as_ac_var+set}\" = set"; then
61746 echo $ECHO_N "(cached) $ECHO_C" >&6
61747 else
61748 if test x$gcc_no_link = xyes; then
61749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61751 { (exit 1); exit 1; }; }
61753 cat >conftest.$ac_ext <<_ACEOF
61754 /* confdefs.h. */
61755 _ACEOF
61756 cat confdefs.h >>conftest.$ac_ext
61757 cat >>conftest.$ac_ext <<_ACEOF
61758 /* end confdefs.h. */
61759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61761 #define $ac_func innocuous_$ac_func
61763 /* System header to define __stub macros and hopefully few prototypes,
61764 which can conflict with char $ac_func (); below.
61765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61766 <limits.h> exists even on freestanding compilers. */
61768 #ifdef __STDC__
61769 # include <limits.h>
61770 #else
61771 # include <assert.h>
61772 #endif
61774 #undef $ac_func
61776 /* Override any gcc2 internal prototype to avoid an error. */
61777 #ifdef __cplusplus
61778 extern "C"
61780 #endif
61781 /* We use char because int might match the return type of a gcc2
61782 builtin and then its argument prototype would still apply. */
61783 char $ac_func ();
61784 /* The GNU C library defines this for functions which it implements
61785 to always fail with ENOSYS. Some functions are actually named
61786 something starting with __ and the normal name is an alias. */
61787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61788 choke me
61789 #else
61790 char (*f) () = $ac_func;
61791 #endif
61792 #ifdef __cplusplus
61794 #endif
61797 main ()
61799 return f != $ac_func;
61801 return 0;
61803 _ACEOF
61804 rm -f conftest.$ac_objext conftest$ac_exeext
61805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61806 (eval $ac_link) 2>conftest.er1
61807 ac_status=$?
61808 grep -v '^ *+' conftest.er1 >conftest.err
61809 rm -f conftest.er1
61810 cat conftest.err >&5
61811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812 (exit $ac_status); } &&
61813 { ac_try='test -z "$ac_c_werror_flag"
61814 || test ! -s conftest.err'
61815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61816 (eval $ac_try) 2>&5
61817 ac_status=$?
61818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61819 (exit $ac_status); }; } &&
61820 { ac_try='test -s conftest$ac_exeext'
61821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61822 (eval $ac_try) 2>&5
61823 ac_status=$?
61824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61825 (exit $ac_status); }; }; then
61826 eval "$as_ac_var=yes"
61827 else
61828 echo "$as_me: failed program was:" >&5
61829 sed 's/^/| /' conftest.$ac_ext >&5
61831 eval "$as_ac_var=no"
61833 rm -f conftest.err conftest.$ac_objext \
61834 conftest$ac_exeext conftest.$ac_ext
61836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61838 if test `eval echo '${'$as_ac_var'}'` = yes; then
61839 cat >>confdefs.h <<_ACEOF
61840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61841 _ACEOF
61844 done
61846 else
61848 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61849 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61850 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61851 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61852 echo $ECHO_N "(cached) $ECHO_C" >&6
61853 else
61857 ac_ext=cc
61858 ac_cpp='$CXXCPP $CPPFLAGS'
61859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61863 cat >conftest.$ac_ext <<_ACEOF
61864 /* confdefs.h. */
61865 _ACEOF
61866 cat confdefs.h >>conftest.$ac_ext
61867 cat >>conftest.$ac_ext <<_ACEOF
61868 /* end confdefs.h. */
61869 #include <math.h>
61871 main ()
61873 _powf(0, 0);
61875 return 0;
61877 _ACEOF
61878 rm -f conftest.$ac_objext
61879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61880 (eval $ac_compile) 2>conftest.er1
61881 ac_status=$?
61882 grep -v '^ *+' conftest.er1 >conftest.err
61883 rm -f conftest.er1
61884 cat conftest.err >&5
61885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61886 (exit $ac_status); } &&
61887 { ac_try='test -z "$ac_cxx_werror_flag"
61888 || test ! -s conftest.err'
61889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61890 (eval $ac_try) 2>&5
61891 ac_status=$?
61892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61893 (exit $ac_status); }; } &&
61894 { ac_try='test -s conftest.$ac_objext'
61895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61896 (eval $ac_try) 2>&5
61897 ac_status=$?
61898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61899 (exit $ac_status); }; }; then
61900 glibcxx_cv_func__powf_use=yes
61901 else
61902 echo "$as_me: failed program was:" >&5
61903 sed 's/^/| /' conftest.$ac_ext >&5
61905 glibcxx_cv_func__powf_use=no
61907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61908 ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61919 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61921 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61923 for ac_func in _powf
61925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61926 echo "$as_me:$LINENO: checking for $ac_func" >&5
61927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61928 if eval "test \"\${$as_ac_var+set}\" = set"; then
61929 echo $ECHO_N "(cached) $ECHO_C" >&6
61930 else
61931 if test x$gcc_no_link = xyes; then
61932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61934 { (exit 1); exit 1; }; }
61936 cat >conftest.$ac_ext <<_ACEOF
61937 /* confdefs.h. */
61938 _ACEOF
61939 cat confdefs.h >>conftest.$ac_ext
61940 cat >>conftest.$ac_ext <<_ACEOF
61941 /* end confdefs.h. */
61942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61944 #define $ac_func innocuous_$ac_func
61946 /* System header to define __stub macros and hopefully few prototypes,
61947 which can conflict with char $ac_func (); below.
61948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61949 <limits.h> exists even on freestanding compilers. */
61951 #ifdef __STDC__
61952 # include <limits.h>
61953 #else
61954 # include <assert.h>
61955 #endif
61957 #undef $ac_func
61959 /* Override any gcc2 internal prototype to avoid an error. */
61960 #ifdef __cplusplus
61961 extern "C"
61963 #endif
61964 /* We use char because int might match the return type of a gcc2
61965 builtin and then its argument prototype would still apply. */
61966 char $ac_func ();
61967 /* The GNU C library defines this for functions which it implements
61968 to always fail with ENOSYS. Some functions are actually named
61969 something starting with __ and the normal name is an alias. */
61970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61971 choke me
61972 #else
61973 char (*f) () = $ac_func;
61974 #endif
61975 #ifdef __cplusplus
61977 #endif
61980 main ()
61982 return f != $ac_func;
61984 return 0;
61986 _ACEOF
61987 rm -f conftest.$ac_objext conftest$ac_exeext
61988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61989 (eval $ac_link) 2>conftest.er1
61990 ac_status=$?
61991 grep -v '^ *+' conftest.er1 >conftest.err
61992 rm -f conftest.er1
61993 cat conftest.err >&5
61994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61995 (exit $ac_status); } &&
61996 { ac_try='test -z "$ac_c_werror_flag"
61997 || test ! -s conftest.err'
61998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61999 (eval $ac_try) 2>&5
62000 ac_status=$?
62001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62002 (exit $ac_status); }; } &&
62003 { ac_try='test -s conftest$ac_exeext'
62004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62005 (eval $ac_try) 2>&5
62006 ac_status=$?
62007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62008 (exit $ac_status); }; }; then
62009 eval "$as_ac_var=yes"
62010 else
62011 echo "$as_me: failed program was:" >&5
62012 sed 's/^/| /' conftest.$ac_ext >&5
62014 eval "$as_ac_var=no"
62016 rm -f conftest.err conftest.$ac_objext \
62017 conftest$ac_exeext conftest.$ac_ext
62019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62021 if test `eval echo '${'$as_ac_var'}'` = yes; then
62022 cat >>confdefs.h <<_ACEOF
62023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62024 _ACEOF
62027 done
62037 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62038 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62039 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62040 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62041 echo $ECHO_N "(cached) $ECHO_C" >&6
62042 else
62046 ac_ext=cc
62047 ac_cpp='$CXXCPP $CPPFLAGS'
62048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62052 cat >conftest.$ac_ext <<_ACEOF
62053 /* confdefs.h. */
62054 _ACEOF
62055 cat confdefs.h >>conftest.$ac_ext
62056 cat >>conftest.$ac_ext <<_ACEOF
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 #ifdef HAVE_IEEEFP_H
62060 #include <ieeefp.h>
62061 #endif
62064 main ()
62066 sqrtf(0);
62068 return 0;
62070 _ACEOF
62071 rm -f conftest.$ac_objext
62072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62073 (eval $ac_compile) 2>conftest.er1
62074 ac_status=$?
62075 grep -v '^ *+' conftest.er1 >conftest.err
62076 rm -f conftest.er1
62077 cat conftest.err >&5
62078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079 (exit $ac_status); } &&
62080 { ac_try='test -z "$ac_cxx_werror_flag"
62081 || test ! -s conftest.err'
62082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62083 (eval $ac_try) 2>&5
62084 ac_status=$?
62085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62086 (exit $ac_status); }; } &&
62087 { ac_try='test -s conftest.$ac_objext'
62088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62089 (eval $ac_try) 2>&5
62090 ac_status=$?
62091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62092 (exit $ac_status); }; }; then
62093 glibcxx_cv_func_sqrtf_use=yes
62094 else
62095 echo "$as_me: failed program was:" >&5
62096 sed 's/^/| /' conftest.$ac_ext >&5
62098 glibcxx_cv_func_sqrtf_use=no
62100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62101 ac_ext=c
62102 ac_cpp='$CPP $CPPFLAGS'
62103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62112 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62114 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62116 for ac_func in sqrtf
62118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62119 echo "$as_me:$LINENO: checking for $ac_func" >&5
62120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62121 if eval "test \"\${$as_ac_var+set}\" = set"; then
62122 echo $ECHO_N "(cached) $ECHO_C" >&6
62123 else
62124 if test x$gcc_no_link = xyes; then
62125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62127 { (exit 1); exit 1; }; }
62129 cat >conftest.$ac_ext <<_ACEOF
62130 /* confdefs.h. */
62131 _ACEOF
62132 cat confdefs.h >>conftest.$ac_ext
62133 cat >>conftest.$ac_ext <<_ACEOF
62134 /* end confdefs.h. */
62135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62137 #define $ac_func innocuous_$ac_func
62139 /* System header to define __stub macros and hopefully few prototypes,
62140 which can conflict with char $ac_func (); below.
62141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62142 <limits.h> exists even on freestanding compilers. */
62144 #ifdef __STDC__
62145 # include <limits.h>
62146 #else
62147 # include <assert.h>
62148 #endif
62150 #undef $ac_func
62152 /* Override any gcc2 internal prototype to avoid an error. */
62153 #ifdef __cplusplus
62154 extern "C"
62156 #endif
62157 /* We use char because int might match the return type of a gcc2
62158 builtin and then its argument prototype would still apply. */
62159 char $ac_func ();
62160 /* The GNU C library defines this for functions which it implements
62161 to always fail with ENOSYS. Some functions are actually named
62162 something starting with __ and the normal name is an alias. */
62163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62164 choke me
62165 #else
62166 char (*f) () = $ac_func;
62167 #endif
62168 #ifdef __cplusplus
62170 #endif
62173 main ()
62175 return f != $ac_func;
62177 return 0;
62179 _ACEOF
62180 rm -f conftest.$ac_objext conftest$ac_exeext
62181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62182 (eval $ac_link) 2>conftest.er1
62183 ac_status=$?
62184 grep -v '^ *+' conftest.er1 >conftest.err
62185 rm -f conftest.er1
62186 cat conftest.err >&5
62187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188 (exit $ac_status); } &&
62189 { ac_try='test -z "$ac_c_werror_flag"
62190 || test ! -s conftest.err'
62191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62192 (eval $ac_try) 2>&5
62193 ac_status=$?
62194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62195 (exit $ac_status); }; } &&
62196 { ac_try='test -s conftest$ac_exeext'
62197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62198 (eval $ac_try) 2>&5
62199 ac_status=$?
62200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62201 (exit $ac_status); }; }; then
62202 eval "$as_ac_var=yes"
62203 else
62204 echo "$as_me: failed program was:" >&5
62205 sed 's/^/| /' conftest.$ac_ext >&5
62207 eval "$as_ac_var=no"
62209 rm -f conftest.err conftest.$ac_objext \
62210 conftest$ac_exeext conftest.$ac_ext
62212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62214 if test `eval echo '${'$as_ac_var'}'` = yes; then
62215 cat >>confdefs.h <<_ACEOF
62216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62217 _ACEOF
62220 done
62222 else
62224 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62225 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62226 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62227 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62228 echo $ECHO_N "(cached) $ECHO_C" >&6
62229 else
62233 ac_ext=cc
62234 ac_cpp='$CXXCPP $CPPFLAGS'
62235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62239 cat >conftest.$ac_ext <<_ACEOF
62240 /* confdefs.h. */
62241 _ACEOF
62242 cat confdefs.h >>conftest.$ac_ext
62243 cat >>conftest.$ac_ext <<_ACEOF
62244 /* end confdefs.h. */
62245 #include <math.h>
62246 #ifdef HAVE_IEEEFP_H
62247 #include <ieeefp.h>
62248 #endif
62251 main ()
62253 _sqrtf(0);
62255 return 0;
62257 _ACEOF
62258 rm -f conftest.$ac_objext
62259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62260 (eval $ac_compile) 2>conftest.er1
62261 ac_status=$?
62262 grep -v '^ *+' conftest.er1 >conftest.err
62263 rm -f conftest.er1
62264 cat conftest.err >&5
62265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62266 (exit $ac_status); } &&
62267 { ac_try='test -z "$ac_cxx_werror_flag"
62268 || test ! -s conftest.err'
62269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62270 (eval $ac_try) 2>&5
62271 ac_status=$?
62272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62273 (exit $ac_status); }; } &&
62274 { ac_try='test -s conftest.$ac_objext'
62275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62276 (eval $ac_try) 2>&5
62277 ac_status=$?
62278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62279 (exit $ac_status); }; }; then
62280 glibcxx_cv_func__sqrtf_use=yes
62281 else
62282 echo "$as_me: failed program was:" >&5
62283 sed 's/^/| /' conftest.$ac_ext >&5
62285 glibcxx_cv_func__sqrtf_use=no
62287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62288 ac_ext=c
62289 ac_cpp='$CPP $CPPFLAGS'
62290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62299 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62301 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62303 for ac_func in _sqrtf
62305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62306 echo "$as_me:$LINENO: checking for $ac_func" >&5
62307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62308 if eval "test \"\${$as_ac_var+set}\" = set"; then
62309 echo $ECHO_N "(cached) $ECHO_C" >&6
62310 else
62311 if test x$gcc_no_link = xyes; then
62312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62314 { (exit 1); exit 1; }; }
62316 cat >conftest.$ac_ext <<_ACEOF
62317 /* confdefs.h. */
62318 _ACEOF
62319 cat confdefs.h >>conftest.$ac_ext
62320 cat >>conftest.$ac_ext <<_ACEOF
62321 /* end confdefs.h. */
62322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62324 #define $ac_func innocuous_$ac_func
62326 /* System header to define __stub macros and hopefully few prototypes,
62327 which can conflict with char $ac_func (); below.
62328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62329 <limits.h> exists even on freestanding compilers. */
62331 #ifdef __STDC__
62332 # include <limits.h>
62333 #else
62334 # include <assert.h>
62335 #endif
62337 #undef $ac_func
62339 /* Override any gcc2 internal prototype to avoid an error. */
62340 #ifdef __cplusplus
62341 extern "C"
62343 #endif
62344 /* We use char because int might match the return type of a gcc2
62345 builtin and then its argument prototype would still apply. */
62346 char $ac_func ();
62347 /* The GNU C library defines this for functions which it implements
62348 to always fail with ENOSYS. Some functions are actually named
62349 something starting with __ and the normal name is an alias. */
62350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62351 choke me
62352 #else
62353 char (*f) () = $ac_func;
62354 #endif
62355 #ifdef __cplusplus
62357 #endif
62360 main ()
62362 return f != $ac_func;
62364 return 0;
62366 _ACEOF
62367 rm -f conftest.$ac_objext conftest$ac_exeext
62368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62369 (eval $ac_link) 2>conftest.er1
62370 ac_status=$?
62371 grep -v '^ *+' conftest.er1 >conftest.err
62372 rm -f conftest.er1
62373 cat conftest.err >&5
62374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62375 (exit $ac_status); } &&
62376 { ac_try='test -z "$ac_c_werror_flag"
62377 || test ! -s conftest.err'
62378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62379 (eval $ac_try) 2>&5
62380 ac_status=$?
62381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62382 (exit $ac_status); }; } &&
62383 { ac_try='test -s conftest$ac_exeext'
62384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62385 (eval $ac_try) 2>&5
62386 ac_status=$?
62387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62388 (exit $ac_status); }; }; then
62389 eval "$as_ac_var=yes"
62390 else
62391 echo "$as_me: failed program was:" >&5
62392 sed 's/^/| /' conftest.$ac_ext >&5
62394 eval "$as_ac_var=no"
62396 rm -f conftest.err conftest.$ac_objext \
62397 conftest$ac_exeext conftest.$ac_ext
62399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62401 if test `eval echo '${'$as_ac_var'}'` = yes; then
62402 cat >>confdefs.h <<_ACEOF
62403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62404 _ACEOF
62407 done
62417 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62418 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62419 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62420 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62421 echo $ECHO_N "(cached) $ECHO_C" >&6
62422 else
62426 ac_ext=cc
62427 ac_cpp='$CXXCPP $CPPFLAGS'
62428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62432 cat >conftest.$ac_ext <<_ACEOF
62433 /* confdefs.h. */
62434 _ACEOF
62435 cat confdefs.h >>conftest.$ac_ext
62436 cat >>conftest.$ac_ext <<_ACEOF
62437 /* end confdefs.h. */
62438 #include <math.h>
62440 main ()
62442 sincosf(0, 0, 0);
62444 return 0;
62446 _ACEOF
62447 rm -f conftest.$ac_objext
62448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62449 (eval $ac_compile) 2>conftest.er1
62450 ac_status=$?
62451 grep -v '^ *+' conftest.er1 >conftest.err
62452 rm -f conftest.er1
62453 cat conftest.err >&5
62454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62455 (exit $ac_status); } &&
62456 { ac_try='test -z "$ac_cxx_werror_flag"
62457 || test ! -s conftest.err'
62458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62459 (eval $ac_try) 2>&5
62460 ac_status=$?
62461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62462 (exit $ac_status); }; } &&
62463 { ac_try='test -s conftest.$ac_objext'
62464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62465 (eval $ac_try) 2>&5
62466 ac_status=$?
62467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62468 (exit $ac_status); }; }; then
62469 glibcxx_cv_func_sincosf_use=yes
62470 else
62471 echo "$as_me: failed program was:" >&5
62472 sed 's/^/| /' conftest.$ac_ext >&5
62474 glibcxx_cv_func_sincosf_use=no
62476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62477 ac_ext=c
62478 ac_cpp='$CPP $CPPFLAGS'
62479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62488 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62490 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62492 for ac_func in sincosf
62494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62495 echo "$as_me:$LINENO: checking for $ac_func" >&5
62496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62497 if eval "test \"\${$as_ac_var+set}\" = set"; then
62498 echo $ECHO_N "(cached) $ECHO_C" >&6
62499 else
62500 if test x$gcc_no_link = xyes; then
62501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62503 { (exit 1); exit 1; }; }
62505 cat >conftest.$ac_ext <<_ACEOF
62506 /* confdefs.h. */
62507 _ACEOF
62508 cat confdefs.h >>conftest.$ac_ext
62509 cat >>conftest.$ac_ext <<_ACEOF
62510 /* end confdefs.h. */
62511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62513 #define $ac_func innocuous_$ac_func
62515 /* System header to define __stub macros and hopefully few prototypes,
62516 which can conflict with char $ac_func (); below.
62517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62518 <limits.h> exists even on freestanding compilers. */
62520 #ifdef __STDC__
62521 # include <limits.h>
62522 #else
62523 # include <assert.h>
62524 #endif
62526 #undef $ac_func
62528 /* Override any gcc2 internal prototype to avoid an error. */
62529 #ifdef __cplusplus
62530 extern "C"
62532 #endif
62533 /* We use char because int might match the return type of a gcc2
62534 builtin and then its argument prototype would still apply. */
62535 char $ac_func ();
62536 /* The GNU C library defines this for functions which it implements
62537 to always fail with ENOSYS. Some functions are actually named
62538 something starting with __ and the normal name is an alias. */
62539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62540 choke me
62541 #else
62542 char (*f) () = $ac_func;
62543 #endif
62544 #ifdef __cplusplus
62546 #endif
62549 main ()
62551 return f != $ac_func;
62553 return 0;
62555 _ACEOF
62556 rm -f conftest.$ac_objext conftest$ac_exeext
62557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62558 (eval $ac_link) 2>conftest.er1
62559 ac_status=$?
62560 grep -v '^ *+' conftest.er1 >conftest.err
62561 rm -f conftest.er1
62562 cat conftest.err >&5
62563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62564 (exit $ac_status); } &&
62565 { ac_try='test -z "$ac_c_werror_flag"
62566 || test ! -s conftest.err'
62567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62568 (eval $ac_try) 2>&5
62569 ac_status=$?
62570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62571 (exit $ac_status); }; } &&
62572 { ac_try='test -s conftest$ac_exeext'
62573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62574 (eval $ac_try) 2>&5
62575 ac_status=$?
62576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62577 (exit $ac_status); }; }; then
62578 eval "$as_ac_var=yes"
62579 else
62580 echo "$as_me: failed program was:" >&5
62581 sed 's/^/| /' conftest.$ac_ext >&5
62583 eval "$as_ac_var=no"
62585 rm -f conftest.err conftest.$ac_objext \
62586 conftest$ac_exeext conftest.$ac_ext
62588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62590 if test `eval echo '${'$as_ac_var'}'` = yes; then
62591 cat >>confdefs.h <<_ACEOF
62592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62593 _ACEOF
62596 done
62598 else
62600 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62601 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62602 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62603 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62604 echo $ECHO_N "(cached) $ECHO_C" >&6
62605 else
62609 ac_ext=cc
62610 ac_cpp='$CXXCPP $CPPFLAGS'
62611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62615 cat >conftest.$ac_ext <<_ACEOF
62616 /* confdefs.h. */
62617 _ACEOF
62618 cat confdefs.h >>conftest.$ac_ext
62619 cat >>conftest.$ac_ext <<_ACEOF
62620 /* end confdefs.h. */
62621 #include <math.h>
62623 main ()
62625 _sincosf(0, 0, 0);
62627 return 0;
62629 _ACEOF
62630 rm -f conftest.$ac_objext
62631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62632 (eval $ac_compile) 2>conftest.er1
62633 ac_status=$?
62634 grep -v '^ *+' conftest.er1 >conftest.err
62635 rm -f conftest.er1
62636 cat conftest.err >&5
62637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62638 (exit $ac_status); } &&
62639 { ac_try='test -z "$ac_cxx_werror_flag"
62640 || test ! -s conftest.err'
62641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62642 (eval $ac_try) 2>&5
62643 ac_status=$?
62644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62645 (exit $ac_status); }; } &&
62646 { ac_try='test -s conftest.$ac_objext'
62647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62648 (eval $ac_try) 2>&5
62649 ac_status=$?
62650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62651 (exit $ac_status); }; }; then
62652 glibcxx_cv_func__sincosf_use=yes
62653 else
62654 echo "$as_me: failed program was:" >&5
62655 sed 's/^/| /' conftest.$ac_ext >&5
62657 glibcxx_cv_func__sincosf_use=no
62659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62660 ac_ext=c
62661 ac_cpp='$CPP $CPPFLAGS'
62662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62671 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62673 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62675 for ac_func in _sincosf
62677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62678 echo "$as_me:$LINENO: checking for $ac_func" >&5
62679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62680 if eval "test \"\${$as_ac_var+set}\" = set"; then
62681 echo $ECHO_N "(cached) $ECHO_C" >&6
62682 else
62683 if test x$gcc_no_link = xyes; then
62684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62686 { (exit 1); exit 1; }; }
62688 cat >conftest.$ac_ext <<_ACEOF
62689 /* confdefs.h. */
62690 _ACEOF
62691 cat confdefs.h >>conftest.$ac_ext
62692 cat >>conftest.$ac_ext <<_ACEOF
62693 /* end confdefs.h. */
62694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62696 #define $ac_func innocuous_$ac_func
62698 /* System header to define __stub macros and hopefully few prototypes,
62699 which can conflict with char $ac_func (); below.
62700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62701 <limits.h> exists even on freestanding compilers. */
62703 #ifdef __STDC__
62704 # include <limits.h>
62705 #else
62706 # include <assert.h>
62707 #endif
62709 #undef $ac_func
62711 /* Override any gcc2 internal prototype to avoid an error. */
62712 #ifdef __cplusplus
62713 extern "C"
62715 #endif
62716 /* We use char because int might match the return type of a gcc2
62717 builtin and then its argument prototype would still apply. */
62718 char $ac_func ();
62719 /* The GNU C library defines this for functions which it implements
62720 to always fail with ENOSYS. Some functions are actually named
62721 something starting with __ and the normal name is an alias. */
62722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62723 choke me
62724 #else
62725 char (*f) () = $ac_func;
62726 #endif
62727 #ifdef __cplusplus
62729 #endif
62732 main ()
62734 return f != $ac_func;
62736 return 0;
62738 _ACEOF
62739 rm -f conftest.$ac_objext conftest$ac_exeext
62740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62741 (eval $ac_link) 2>conftest.er1
62742 ac_status=$?
62743 grep -v '^ *+' conftest.er1 >conftest.err
62744 rm -f conftest.er1
62745 cat conftest.err >&5
62746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62747 (exit $ac_status); } &&
62748 { ac_try='test -z "$ac_c_werror_flag"
62749 || test ! -s conftest.err'
62750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62751 (eval $ac_try) 2>&5
62752 ac_status=$?
62753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62754 (exit $ac_status); }; } &&
62755 { ac_try='test -s conftest$ac_exeext'
62756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62757 (eval $ac_try) 2>&5
62758 ac_status=$?
62759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62760 (exit $ac_status); }; }; then
62761 eval "$as_ac_var=yes"
62762 else
62763 echo "$as_me: failed program was:" >&5
62764 sed 's/^/| /' conftest.$ac_ext >&5
62766 eval "$as_ac_var=no"
62768 rm -f conftest.err conftest.$ac_objext \
62769 conftest$ac_exeext conftest.$ac_ext
62771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62773 if test `eval echo '${'$as_ac_var'}'` = yes; then
62774 cat >>confdefs.h <<_ACEOF
62775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62776 _ACEOF
62779 done
62789 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62790 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62791 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62792 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62793 echo $ECHO_N "(cached) $ECHO_C" >&6
62794 else
62798 ac_ext=cc
62799 ac_cpp='$CXXCPP $CPPFLAGS'
62800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62804 cat >conftest.$ac_ext <<_ACEOF
62805 /* confdefs.h. */
62806 _ACEOF
62807 cat confdefs.h >>conftest.$ac_ext
62808 cat >>conftest.$ac_ext <<_ACEOF
62809 /* end confdefs.h. */
62810 #include <math.h>
62811 #ifdef HAVE_IEEEFP_H
62812 #include <ieeefp.h>
62813 #endif
62816 main ()
62818 finitef(0);
62820 return 0;
62822 _ACEOF
62823 rm -f conftest.$ac_objext
62824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62825 (eval $ac_compile) 2>conftest.er1
62826 ac_status=$?
62827 grep -v '^ *+' conftest.er1 >conftest.err
62828 rm -f conftest.er1
62829 cat conftest.err >&5
62830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62831 (exit $ac_status); } &&
62832 { ac_try='test -z "$ac_cxx_werror_flag"
62833 || test ! -s conftest.err'
62834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62835 (eval $ac_try) 2>&5
62836 ac_status=$?
62837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62838 (exit $ac_status); }; } &&
62839 { ac_try='test -s conftest.$ac_objext'
62840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62841 (eval $ac_try) 2>&5
62842 ac_status=$?
62843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62844 (exit $ac_status); }; }; then
62845 glibcxx_cv_func_finitef_use=yes
62846 else
62847 echo "$as_me: failed program was:" >&5
62848 sed 's/^/| /' conftest.$ac_ext >&5
62850 glibcxx_cv_func_finitef_use=no
62852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62853 ac_ext=c
62854 ac_cpp='$CPP $CPPFLAGS'
62855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62864 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62866 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62868 for ac_func in finitef
62870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62871 echo "$as_me:$LINENO: checking for $ac_func" >&5
62872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62873 if eval "test \"\${$as_ac_var+set}\" = set"; then
62874 echo $ECHO_N "(cached) $ECHO_C" >&6
62875 else
62876 if test x$gcc_no_link = xyes; then
62877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62879 { (exit 1); exit 1; }; }
62881 cat >conftest.$ac_ext <<_ACEOF
62882 /* confdefs.h. */
62883 _ACEOF
62884 cat confdefs.h >>conftest.$ac_ext
62885 cat >>conftest.$ac_ext <<_ACEOF
62886 /* end confdefs.h. */
62887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62889 #define $ac_func innocuous_$ac_func
62891 /* System header to define __stub macros and hopefully few prototypes,
62892 which can conflict with char $ac_func (); below.
62893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62894 <limits.h> exists even on freestanding compilers. */
62896 #ifdef __STDC__
62897 # include <limits.h>
62898 #else
62899 # include <assert.h>
62900 #endif
62902 #undef $ac_func
62904 /* Override any gcc2 internal prototype to avoid an error. */
62905 #ifdef __cplusplus
62906 extern "C"
62908 #endif
62909 /* We use char because int might match the return type of a gcc2
62910 builtin and then its argument prototype would still apply. */
62911 char $ac_func ();
62912 /* The GNU C library defines this for functions which it implements
62913 to always fail with ENOSYS. Some functions are actually named
62914 something starting with __ and the normal name is an alias. */
62915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62916 choke me
62917 #else
62918 char (*f) () = $ac_func;
62919 #endif
62920 #ifdef __cplusplus
62922 #endif
62925 main ()
62927 return f != $ac_func;
62929 return 0;
62931 _ACEOF
62932 rm -f conftest.$ac_objext conftest$ac_exeext
62933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62934 (eval $ac_link) 2>conftest.er1
62935 ac_status=$?
62936 grep -v '^ *+' conftest.er1 >conftest.err
62937 rm -f conftest.er1
62938 cat conftest.err >&5
62939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940 (exit $ac_status); } &&
62941 { ac_try='test -z "$ac_c_werror_flag"
62942 || test ! -s conftest.err'
62943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62944 (eval $ac_try) 2>&5
62945 ac_status=$?
62946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62947 (exit $ac_status); }; } &&
62948 { ac_try='test -s conftest$ac_exeext'
62949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62950 (eval $ac_try) 2>&5
62951 ac_status=$?
62952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62953 (exit $ac_status); }; }; then
62954 eval "$as_ac_var=yes"
62955 else
62956 echo "$as_me: failed program was:" >&5
62957 sed 's/^/| /' conftest.$ac_ext >&5
62959 eval "$as_ac_var=no"
62961 rm -f conftest.err conftest.$ac_objext \
62962 conftest$ac_exeext conftest.$ac_ext
62964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62966 if test `eval echo '${'$as_ac_var'}'` = yes; then
62967 cat >>confdefs.h <<_ACEOF
62968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62969 _ACEOF
62972 done
62974 else
62976 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62977 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62978 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62979 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62980 echo $ECHO_N "(cached) $ECHO_C" >&6
62981 else
62985 ac_ext=cc
62986 ac_cpp='$CXXCPP $CPPFLAGS'
62987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62991 cat >conftest.$ac_ext <<_ACEOF
62992 /* confdefs.h. */
62993 _ACEOF
62994 cat confdefs.h >>conftest.$ac_ext
62995 cat >>conftest.$ac_ext <<_ACEOF
62996 /* end confdefs.h. */
62997 #include <math.h>
62998 #ifdef HAVE_IEEEFP_H
62999 #include <ieeefp.h>
63000 #endif
63003 main ()
63005 _finitef(0);
63007 return 0;
63009 _ACEOF
63010 rm -f conftest.$ac_objext
63011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63012 (eval $ac_compile) 2>conftest.er1
63013 ac_status=$?
63014 grep -v '^ *+' conftest.er1 >conftest.err
63015 rm -f conftest.er1
63016 cat conftest.err >&5
63017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63018 (exit $ac_status); } &&
63019 { ac_try='test -z "$ac_cxx_werror_flag"
63020 || test ! -s conftest.err'
63021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63022 (eval $ac_try) 2>&5
63023 ac_status=$?
63024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63025 (exit $ac_status); }; } &&
63026 { ac_try='test -s conftest.$ac_objext'
63027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63028 (eval $ac_try) 2>&5
63029 ac_status=$?
63030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63031 (exit $ac_status); }; }; then
63032 glibcxx_cv_func__finitef_use=yes
63033 else
63034 echo "$as_me: failed program was:" >&5
63035 sed 's/^/| /' conftest.$ac_ext >&5
63037 glibcxx_cv_func__finitef_use=no
63039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63040 ac_ext=c
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63051 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63053 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63055 for ac_func in _finitef
63057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63058 echo "$as_me:$LINENO: checking for $ac_func" >&5
63059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63060 if eval "test \"\${$as_ac_var+set}\" = set"; then
63061 echo $ECHO_N "(cached) $ECHO_C" >&6
63062 else
63063 if test x$gcc_no_link = xyes; then
63064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63066 { (exit 1); exit 1; }; }
63068 cat >conftest.$ac_ext <<_ACEOF
63069 /* confdefs.h. */
63070 _ACEOF
63071 cat confdefs.h >>conftest.$ac_ext
63072 cat >>conftest.$ac_ext <<_ACEOF
63073 /* end confdefs.h. */
63074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63076 #define $ac_func innocuous_$ac_func
63078 /* System header to define __stub macros and hopefully few prototypes,
63079 which can conflict with char $ac_func (); below.
63080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63081 <limits.h> exists even on freestanding compilers. */
63083 #ifdef __STDC__
63084 # include <limits.h>
63085 #else
63086 # include <assert.h>
63087 #endif
63089 #undef $ac_func
63091 /* Override any gcc2 internal prototype to avoid an error. */
63092 #ifdef __cplusplus
63093 extern "C"
63095 #endif
63096 /* We use char because int might match the return type of a gcc2
63097 builtin and then its argument prototype would still apply. */
63098 char $ac_func ();
63099 /* The GNU C library defines this for functions which it implements
63100 to always fail with ENOSYS. Some functions are actually named
63101 something starting with __ and the normal name is an alias. */
63102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63103 choke me
63104 #else
63105 char (*f) () = $ac_func;
63106 #endif
63107 #ifdef __cplusplus
63109 #endif
63112 main ()
63114 return f != $ac_func;
63116 return 0;
63118 _ACEOF
63119 rm -f conftest.$ac_objext conftest$ac_exeext
63120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63121 (eval $ac_link) 2>conftest.er1
63122 ac_status=$?
63123 grep -v '^ *+' conftest.er1 >conftest.err
63124 rm -f conftest.er1
63125 cat conftest.err >&5
63126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63127 (exit $ac_status); } &&
63128 { ac_try='test -z "$ac_c_werror_flag"
63129 || test ! -s conftest.err'
63130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63131 (eval $ac_try) 2>&5
63132 ac_status=$?
63133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63134 (exit $ac_status); }; } &&
63135 { ac_try='test -s conftest$ac_exeext'
63136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63137 (eval $ac_try) 2>&5
63138 ac_status=$?
63139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63140 (exit $ac_status); }; }; then
63141 eval "$as_ac_var=yes"
63142 else
63143 echo "$as_me: failed program was:" >&5
63144 sed 's/^/| /' conftest.$ac_ext >&5
63146 eval "$as_ac_var=no"
63148 rm -f conftest.err conftest.$ac_objext \
63149 conftest$ac_exeext conftest.$ac_ext
63151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63153 if test `eval echo '${'$as_ac_var'}'` = yes; then
63154 cat >>confdefs.h <<_ACEOF
63155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63156 _ACEOF
63159 done
63169 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63170 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63171 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63172 echo $ECHO_N "(cached) $ECHO_C" >&6
63173 else
63177 ac_ext=cc
63178 ac_cpp='$CXXCPP $CPPFLAGS'
63179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63183 cat >conftest.$ac_ext <<_ACEOF
63184 /* confdefs.h. */
63185 _ACEOF
63186 cat confdefs.h >>conftest.$ac_ext
63187 cat >>conftest.$ac_ext <<_ACEOF
63188 /* end confdefs.h. */
63189 #include <math.h>
63191 main ()
63193 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63195 return 0;
63197 _ACEOF
63198 rm -f conftest.$ac_objext
63199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63200 (eval $ac_compile) 2>conftest.er1
63201 ac_status=$?
63202 grep -v '^ *+' conftest.er1 >conftest.err
63203 rm -f conftest.er1
63204 cat conftest.err >&5
63205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63206 (exit $ac_status); } &&
63207 { ac_try='test -z "$ac_cxx_werror_flag"
63208 || test ! -s conftest.err'
63209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63210 (eval $ac_try) 2>&5
63211 ac_status=$?
63212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63213 (exit $ac_status); }; } &&
63214 { ac_try='test -s conftest.$ac_objext'
63215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63216 (eval $ac_try) 2>&5
63217 ac_status=$?
63218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63219 (exit $ac_status); }; }; then
63220 glibcxx_cv_func_long_double_trig_use=yes
63221 else
63222 echo "$as_me: failed program was:" >&5
63223 sed 's/^/| /' conftest.$ac_ext >&5
63225 glibcxx_cv_func_long_double_trig_use=no
63227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63228 ac_ext=c
63229 ac_cpp='$CPP $CPPFLAGS'
63230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63237 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63238 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63248 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63251 echo "$as_me:$LINENO: checking for $ac_func" >&5
63252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63253 if eval "test \"\${$as_ac_var+set}\" = set"; then
63254 echo $ECHO_N "(cached) $ECHO_C" >&6
63255 else
63256 if test x$gcc_no_link = xyes; then
63257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63259 { (exit 1); exit 1; }; }
63261 cat >conftest.$ac_ext <<_ACEOF
63262 /* confdefs.h. */
63263 _ACEOF
63264 cat confdefs.h >>conftest.$ac_ext
63265 cat >>conftest.$ac_ext <<_ACEOF
63266 /* end confdefs.h. */
63267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63269 #define $ac_func innocuous_$ac_func
63271 /* System header to define __stub macros and hopefully few prototypes,
63272 which can conflict with char $ac_func (); below.
63273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63274 <limits.h> exists even on freestanding compilers. */
63276 #ifdef __STDC__
63277 # include <limits.h>
63278 #else
63279 # include <assert.h>
63280 #endif
63282 #undef $ac_func
63284 /* Override any gcc2 internal prototype to avoid an error. */
63285 #ifdef __cplusplus
63286 extern "C"
63288 #endif
63289 /* We use char because int might match the return type of a gcc2
63290 builtin and then its argument prototype would still apply. */
63291 char $ac_func ();
63292 /* The GNU C library defines this for functions which it implements
63293 to always fail with ENOSYS. Some functions are actually named
63294 something starting with __ and the normal name is an alias. */
63295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63296 choke me
63297 #else
63298 char (*f) () = $ac_func;
63299 #endif
63300 #ifdef __cplusplus
63302 #endif
63305 main ()
63307 return f != $ac_func;
63309 return 0;
63311 _ACEOF
63312 rm -f conftest.$ac_objext conftest$ac_exeext
63313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63314 (eval $ac_link) 2>conftest.er1
63315 ac_status=$?
63316 grep -v '^ *+' conftest.er1 >conftest.err
63317 rm -f conftest.er1
63318 cat conftest.err >&5
63319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63320 (exit $ac_status); } &&
63321 { ac_try='test -z "$ac_c_werror_flag"
63322 || test ! -s conftest.err'
63323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63324 (eval $ac_try) 2>&5
63325 ac_status=$?
63326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63327 (exit $ac_status); }; } &&
63328 { ac_try='test -s conftest$ac_exeext'
63329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63330 (eval $ac_try) 2>&5
63331 ac_status=$?
63332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63333 (exit $ac_status); }; }; then
63334 eval "$as_ac_var=yes"
63335 else
63336 echo "$as_me: failed program was:" >&5
63337 sed 's/^/| /' conftest.$ac_ext >&5
63339 eval "$as_ac_var=no"
63341 rm -f conftest.err conftest.$ac_objext \
63342 conftest$ac_exeext conftest.$ac_ext
63344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63346 if test `eval echo '${'$as_ac_var'}'` = yes; then
63347 cat >>confdefs.h <<_ACEOF
63348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63349 _ACEOF
63352 done
63354 else
63355 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63356 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63357 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63358 echo $ECHO_N "(cached) $ECHO_C" >&6
63359 else
63363 ac_ext=cc
63364 ac_cpp='$CXXCPP $CPPFLAGS'
63365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63369 cat >conftest.$ac_ext <<_ACEOF
63370 /* confdefs.h. */
63371 _ACEOF
63372 cat confdefs.h >>conftest.$ac_ext
63373 cat >>conftest.$ac_ext <<_ACEOF
63374 /* end confdefs.h. */
63375 #include <math.h>
63377 main ()
63379 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63381 return 0;
63383 _ACEOF
63384 rm -f conftest.$ac_objext
63385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63386 (eval $ac_compile) 2>conftest.er1
63387 ac_status=$?
63388 grep -v '^ *+' conftest.er1 >conftest.err
63389 rm -f conftest.er1
63390 cat conftest.err >&5
63391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63392 (exit $ac_status); } &&
63393 { ac_try='test -z "$ac_cxx_werror_flag"
63394 || test ! -s conftest.err'
63395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63396 (eval $ac_try) 2>&5
63397 ac_status=$?
63398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63399 (exit $ac_status); }; } &&
63400 { ac_try='test -s conftest.$ac_objext'
63401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63402 (eval $ac_try) 2>&5
63403 ac_status=$?
63404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63405 (exit $ac_status); }; }; then
63406 glibcxx_cv_func__long_double_trig_use=yes
63407 else
63408 echo "$as_me: failed program was:" >&5
63409 sed 's/^/| /' conftest.$ac_ext >&5
63411 glibcxx_cv_func__long_double_trig_use=no
63413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63423 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63424 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63434 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63437 echo "$as_me:$LINENO: checking for $ac_func" >&5
63438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63439 if eval "test \"\${$as_ac_var+set}\" = set"; then
63440 echo $ECHO_N "(cached) $ECHO_C" >&6
63441 else
63442 if test x$gcc_no_link = xyes; then
63443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63445 { (exit 1); exit 1; }; }
63447 cat >conftest.$ac_ext <<_ACEOF
63448 /* confdefs.h. */
63449 _ACEOF
63450 cat confdefs.h >>conftest.$ac_ext
63451 cat >>conftest.$ac_ext <<_ACEOF
63452 /* end confdefs.h. */
63453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63455 #define $ac_func innocuous_$ac_func
63457 /* System header to define __stub macros and hopefully few prototypes,
63458 which can conflict with char $ac_func (); below.
63459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63460 <limits.h> exists even on freestanding compilers. */
63462 #ifdef __STDC__
63463 # include <limits.h>
63464 #else
63465 # include <assert.h>
63466 #endif
63468 #undef $ac_func
63470 /* Override any gcc2 internal prototype to avoid an error. */
63471 #ifdef __cplusplus
63472 extern "C"
63474 #endif
63475 /* We use char because int might match the return type of a gcc2
63476 builtin and then its argument prototype would still apply. */
63477 char $ac_func ();
63478 /* The GNU C library defines this for functions which it implements
63479 to always fail with ENOSYS. Some functions are actually named
63480 something starting with __ and the normal name is an alias. */
63481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63482 choke me
63483 #else
63484 char (*f) () = $ac_func;
63485 #endif
63486 #ifdef __cplusplus
63488 #endif
63491 main ()
63493 return f != $ac_func;
63495 return 0;
63497 _ACEOF
63498 rm -f conftest.$ac_objext conftest$ac_exeext
63499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63500 (eval $ac_link) 2>conftest.er1
63501 ac_status=$?
63502 grep -v '^ *+' conftest.er1 >conftest.err
63503 rm -f conftest.er1
63504 cat conftest.err >&5
63505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506 (exit $ac_status); } &&
63507 { ac_try='test -z "$ac_c_werror_flag"
63508 || test ! -s conftest.err'
63509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63510 (eval $ac_try) 2>&5
63511 ac_status=$?
63512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63513 (exit $ac_status); }; } &&
63514 { ac_try='test -s conftest$ac_exeext'
63515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63516 (eval $ac_try) 2>&5
63517 ac_status=$?
63518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63519 (exit $ac_status); }; }; then
63520 eval "$as_ac_var=yes"
63521 else
63522 echo "$as_me: failed program was:" >&5
63523 sed 's/^/| /' conftest.$ac_ext >&5
63525 eval "$as_ac_var=no"
63527 rm -f conftest.err conftest.$ac_objext \
63528 conftest$ac_exeext conftest.$ac_ext
63530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63532 if test `eval echo '${'$as_ac_var'}'` = yes; then
63533 cat >>confdefs.h <<_ACEOF
63534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63535 _ACEOF
63538 done
63556 echo "$as_me:$LINENO: checking for long double round functions" >&5
63557 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63558 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63559 echo $ECHO_N "(cached) $ECHO_C" >&6
63560 else
63564 ac_ext=cc
63565 ac_cpp='$CXXCPP $CPPFLAGS'
63566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63570 cat >conftest.$ac_ext <<_ACEOF
63571 /* confdefs.h. */
63572 _ACEOF
63573 cat confdefs.h >>conftest.$ac_ext
63574 cat >>conftest.$ac_ext <<_ACEOF
63575 /* end confdefs.h. */
63576 #include <math.h>
63578 main ()
63580 ceill (0); floorl (0);
63582 return 0;
63584 _ACEOF
63585 rm -f conftest.$ac_objext
63586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63587 (eval $ac_compile) 2>conftest.er1
63588 ac_status=$?
63589 grep -v '^ *+' conftest.er1 >conftest.err
63590 rm -f conftest.er1
63591 cat conftest.err >&5
63592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63593 (exit $ac_status); } &&
63594 { ac_try='test -z "$ac_cxx_werror_flag"
63595 || test ! -s conftest.err'
63596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63597 (eval $ac_try) 2>&5
63598 ac_status=$?
63599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63600 (exit $ac_status); }; } &&
63601 { ac_try='test -s conftest.$ac_objext'
63602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63603 (eval $ac_try) 2>&5
63604 ac_status=$?
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); }; }; then
63607 glibcxx_cv_func_long_double_round_use=yes
63608 else
63609 echo "$as_me: failed program was:" >&5
63610 sed 's/^/| /' conftest.$ac_ext >&5
63612 glibcxx_cv_func_long_double_round_use=no
63614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63615 ac_ext=c
63616 ac_cpp='$CPP $CPPFLAGS'
63617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63624 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63625 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63628 for ac_func in ceill floorl
63630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63631 echo "$as_me:$LINENO: checking for $ac_func" >&5
63632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63633 if eval "test \"\${$as_ac_var+set}\" = set"; then
63634 echo $ECHO_N "(cached) $ECHO_C" >&6
63635 else
63636 if test x$gcc_no_link = xyes; then
63637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63639 { (exit 1); exit 1; }; }
63641 cat >conftest.$ac_ext <<_ACEOF
63642 /* confdefs.h. */
63643 _ACEOF
63644 cat confdefs.h >>conftest.$ac_ext
63645 cat >>conftest.$ac_ext <<_ACEOF
63646 /* end confdefs.h. */
63647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63649 #define $ac_func innocuous_$ac_func
63651 /* System header to define __stub macros and hopefully few prototypes,
63652 which can conflict with char $ac_func (); below.
63653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63654 <limits.h> exists even on freestanding compilers. */
63656 #ifdef __STDC__
63657 # include <limits.h>
63658 #else
63659 # include <assert.h>
63660 #endif
63662 #undef $ac_func
63664 /* Override any gcc2 internal prototype to avoid an error. */
63665 #ifdef __cplusplus
63666 extern "C"
63668 #endif
63669 /* We use char because int might match the return type of a gcc2
63670 builtin and then its argument prototype would still apply. */
63671 char $ac_func ();
63672 /* The GNU C library defines this for functions which it implements
63673 to always fail with ENOSYS. Some functions are actually named
63674 something starting with __ and the normal name is an alias. */
63675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63676 choke me
63677 #else
63678 char (*f) () = $ac_func;
63679 #endif
63680 #ifdef __cplusplus
63682 #endif
63685 main ()
63687 return f != $ac_func;
63689 return 0;
63691 _ACEOF
63692 rm -f conftest.$ac_objext conftest$ac_exeext
63693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63694 (eval $ac_link) 2>conftest.er1
63695 ac_status=$?
63696 grep -v '^ *+' conftest.er1 >conftest.err
63697 rm -f conftest.er1
63698 cat conftest.err >&5
63699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63700 (exit $ac_status); } &&
63701 { ac_try='test -z "$ac_c_werror_flag"
63702 || test ! -s conftest.err'
63703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63704 (eval $ac_try) 2>&5
63705 ac_status=$?
63706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63707 (exit $ac_status); }; } &&
63708 { ac_try='test -s conftest$ac_exeext'
63709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63710 (eval $ac_try) 2>&5
63711 ac_status=$?
63712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63713 (exit $ac_status); }; }; then
63714 eval "$as_ac_var=yes"
63715 else
63716 echo "$as_me: failed program was:" >&5
63717 sed 's/^/| /' conftest.$ac_ext >&5
63719 eval "$as_ac_var=no"
63721 rm -f conftest.err conftest.$ac_objext \
63722 conftest$ac_exeext conftest.$ac_ext
63724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63726 if test `eval echo '${'$as_ac_var'}'` = yes; then
63727 cat >>confdefs.h <<_ACEOF
63728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63729 _ACEOF
63732 done
63734 else
63735 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63736 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63737 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63738 echo $ECHO_N "(cached) $ECHO_C" >&6
63739 else
63743 ac_ext=cc
63744 ac_cpp='$CXXCPP $CPPFLAGS'
63745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63749 cat >conftest.$ac_ext <<_ACEOF
63750 /* confdefs.h. */
63751 _ACEOF
63752 cat confdefs.h >>conftest.$ac_ext
63753 cat >>conftest.$ac_ext <<_ACEOF
63754 /* end confdefs.h. */
63755 #include <math.h>
63757 main ()
63759 _ceill (0); _floorl (0);
63761 return 0;
63763 _ACEOF
63764 rm -f conftest.$ac_objext
63765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63766 (eval $ac_compile) 2>conftest.er1
63767 ac_status=$?
63768 grep -v '^ *+' conftest.er1 >conftest.err
63769 rm -f conftest.er1
63770 cat conftest.err >&5
63771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63772 (exit $ac_status); } &&
63773 { ac_try='test -z "$ac_cxx_werror_flag"
63774 || test ! -s conftest.err'
63775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63776 (eval $ac_try) 2>&5
63777 ac_status=$?
63778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63779 (exit $ac_status); }; } &&
63780 { ac_try='test -s conftest.$ac_objext'
63781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63782 (eval $ac_try) 2>&5
63783 ac_status=$?
63784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63785 (exit $ac_status); }; }; then
63786 glibcxx_cv_func__long_double_round_use=yes
63787 else
63788 echo "$as_me: failed program was:" >&5
63789 sed 's/^/| /' conftest.$ac_ext >&5
63791 glibcxx_cv_func__long_double_round_use=no
63793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63794 ac_ext=c
63795 ac_cpp='$CPP $CPPFLAGS'
63796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63803 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63804 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63807 for ac_func in _ceill _floorl
63809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63810 echo "$as_me:$LINENO: checking for $ac_func" >&5
63811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63812 if eval "test \"\${$as_ac_var+set}\" = set"; then
63813 echo $ECHO_N "(cached) $ECHO_C" >&6
63814 else
63815 if test x$gcc_no_link = xyes; then
63816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63818 { (exit 1); exit 1; }; }
63820 cat >conftest.$ac_ext <<_ACEOF
63821 /* confdefs.h. */
63822 _ACEOF
63823 cat confdefs.h >>conftest.$ac_ext
63824 cat >>conftest.$ac_ext <<_ACEOF
63825 /* end confdefs.h. */
63826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63828 #define $ac_func innocuous_$ac_func
63830 /* System header to define __stub macros and hopefully few prototypes,
63831 which can conflict with char $ac_func (); below.
63832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63833 <limits.h> exists even on freestanding compilers. */
63835 #ifdef __STDC__
63836 # include <limits.h>
63837 #else
63838 # include <assert.h>
63839 #endif
63841 #undef $ac_func
63843 /* Override any gcc2 internal prototype to avoid an error. */
63844 #ifdef __cplusplus
63845 extern "C"
63847 #endif
63848 /* We use char because int might match the return type of a gcc2
63849 builtin and then its argument prototype would still apply. */
63850 char $ac_func ();
63851 /* The GNU C library defines this for functions which it implements
63852 to always fail with ENOSYS. Some functions are actually named
63853 something starting with __ and the normal name is an alias. */
63854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63855 choke me
63856 #else
63857 char (*f) () = $ac_func;
63858 #endif
63859 #ifdef __cplusplus
63861 #endif
63864 main ()
63866 return f != $ac_func;
63868 return 0;
63870 _ACEOF
63871 rm -f conftest.$ac_objext conftest$ac_exeext
63872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63873 (eval $ac_link) 2>conftest.er1
63874 ac_status=$?
63875 grep -v '^ *+' conftest.er1 >conftest.err
63876 rm -f conftest.er1
63877 cat conftest.err >&5
63878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63879 (exit $ac_status); } &&
63880 { ac_try='test -z "$ac_c_werror_flag"
63881 || test ! -s conftest.err'
63882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63883 (eval $ac_try) 2>&5
63884 ac_status=$?
63885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63886 (exit $ac_status); }; } &&
63887 { ac_try='test -s conftest$ac_exeext'
63888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63889 (eval $ac_try) 2>&5
63890 ac_status=$?
63891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63892 (exit $ac_status); }; }; then
63893 eval "$as_ac_var=yes"
63894 else
63895 echo "$as_me: failed program was:" >&5
63896 sed 's/^/| /' conftest.$ac_ext >&5
63898 eval "$as_ac_var=no"
63900 rm -f conftest.err conftest.$ac_objext \
63901 conftest$ac_exeext conftest.$ac_ext
63903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63905 if test `eval echo '${'$as_ac_var'}'` = yes; then
63906 cat >>confdefs.h <<_ACEOF
63907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63908 _ACEOF
63911 done
63923 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63924 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63925 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63926 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63927 echo $ECHO_N "(cached) $ECHO_C" >&6
63928 else
63932 ac_ext=cc
63933 ac_cpp='$CXXCPP $CPPFLAGS'
63934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63938 cat >conftest.$ac_ext <<_ACEOF
63939 /* confdefs.h. */
63940 _ACEOF
63941 cat confdefs.h >>conftest.$ac_ext
63942 cat >>conftest.$ac_ext <<_ACEOF
63943 /* end confdefs.h. */
63944 #include <math.h>
63945 #ifdef HAVE_IEEEFP_H
63946 #include <ieeefp.h>
63947 #endif
63950 main ()
63952 isnanl(0);
63954 return 0;
63956 _ACEOF
63957 rm -f conftest.$ac_objext
63958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63959 (eval $ac_compile) 2>conftest.er1
63960 ac_status=$?
63961 grep -v '^ *+' conftest.er1 >conftest.err
63962 rm -f conftest.er1
63963 cat conftest.err >&5
63964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63965 (exit $ac_status); } &&
63966 { ac_try='test -z "$ac_cxx_werror_flag"
63967 || test ! -s conftest.err'
63968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63969 (eval $ac_try) 2>&5
63970 ac_status=$?
63971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63972 (exit $ac_status); }; } &&
63973 { ac_try='test -s conftest.$ac_objext'
63974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63975 (eval $ac_try) 2>&5
63976 ac_status=$?
63977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63978 (exit $ac_status); }; }; then
63979 glibcxx_cv_func_isnanl_use=yes
63980 else
63981 echo "$as_me: failed program was:" >&5
63982 sed 's/^/| /' conftest.$ac_ext >&5
63984 glibcxx_cv_func_isnanl_use=no
63986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63998 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64000 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64002 for ac_func in isnanl
64004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64005 echo "$as_me:$LINENO: checking for $ac_func" >&5
64006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64007 if eval "test \"\${$as_ac_var+set}\" = set"; then
64008 echo $ECHO_N "(cached) $ECHO_C" >&6
64009 else
64010 if test x$gcc_no_link = xyes; then
64011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64013 { (exit 1); exit 1; }; }
64015 cat >conftest.$ac_ext <<_ACEOF
64016 /* confdefs.h. */
64017 _ACEOF
64018 cat confdefs.h >>conftest.$ac_ext
64019 cat >>conftest.$ac_ext <<_ACEOF
64020 /* end confdefs.h. */
64021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64023 #define $ac_func innocuous_$ac_func
64025 /* System header to define __stub macros and hopefully few prototypes,
64026 which can conflict with char $ac_func (); below.
64027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64028 <limits.h> exists even on freestanding compilers. */
64030 #ifdef __STDC__
64031 # include <limits.h>
64032 #else
64033 # include <assert.h>
64034 #endif
64036 #undef $ac_func
64038 /* Override any gcc2 internal prototype to avoid an error. */
64039 #ifdef __cplusplus
64040 extern "C"
64042 #endif
64043 /* We use char because int might match the return type of a gcc2
64044 builtin and then its argument prototype would still apply. */
64045 char $ac_func ();
64046 /* The GNU C library defines this for functions which it implements
64047 to always fail with ENOSYS. Some functions are actually named
64048 something starting with __ and the normal name is an alias. */
64049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64050 choke me
64051 #else
64052 char (*f) () = $ac_func;
64053 #endif
64054 #ifdef __cplusplus
64056 #endif
64059 main ()
64061 return f != $ac_func;
64063 return 0;
64065 _ACEOF
64066 rm -f conftest.$ac_objext conftest$ac_exeext
64067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64068 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
64089 else
64090 echo "$as_me: failed program was:" >&5
64091 sed 's/^/| /' conftest.$ac_ext >&5
64093 eval "$as_ac_var=no"
64095 rm -f conftest.err conftest.$ac_objext \
64096 conftest$ac_exeext conftest.$ac_ext
64098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64100 if test `eval echo '${'$as_ac_var'}'` = yes; then
64101 cat >>confdefs.h <<_ACEOF
64102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64103 _ACEOF
64106 done
64108 else
64110 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64111 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64112 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64113 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64114 echo $ECHO_N "(cached) $ECHO_C" >&6
64115 else
64119 ac_ext=cc
64120 ac_cpp='$CXXCPP $CPPFLAGS'
64121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64125 cat >conftest.$ac_ext <<_ACEOF
64126 /* confdefs.h. */
64127 _ACEOF
64128 cat confdefs.h >>conftest.$ac_ext
64129 cat >>conftest.$ac_ext <<_ACEOF
64130 /* end confdefs.h. */
64131 #include <math.h>
64132 #ifdef HAVE_IEEEFP_H
64133 #include <ieeefp.h>
64134 #endif
64137 main ()
64139 _isnanl(0);
64141 return 0;
64143 _ACEOF
64144 rm -f conftest.$ac_objext
64145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64146 (eval $ac_compile) 2>conftest.er1
64147 ac_status=$?
64148 grep -v '^ *+' conftest.er1 >conftest.err
64149 rm -f conftest.er1
64150 cat conftest.err >&5
64151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64152 (exit $ac_status); } &&
64153 { ac_try='test -z "$ac_cxx_werror_flag"
64154 || test ! -s conftest.err'
64155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64156 (eval $ac_try) 2>&5
64157 ac_status=$?
64158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64159 (exit $ac_status); }; } &&
64160 { ac_try='test -s conftest.$ac_objext'
64161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162 (eval $ac_try) 2>&5
64163 ac_status=$?
64164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165 (exit $ac_status); }; }; then
64166 glibcxx_cv_func__isnanl_use=yes
64167 else
64168 echo "$as_me: failed program was:" >&5
64169 sed 's/^/| /' conftest.$ac_ext >&5
64171 glibcxx_cv_func__isnanl_use=no
64173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64174 ac_ext=c
64175 ac_cpp='$CPP $CPPFLAGS'
64176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64185 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64187 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64189 for ac_func in _isnanl
64191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64192 echo "$as_me:$LINENO: checking for $ac_func" >&5
64193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64194 if eval "test \"\${$as_ac_var+set}\" = set"; then
64195 echo $ECHO_N "(cached) $ECHO_C" >&6
64196 else
64197 if test x$gcc_no_link = xyes; then
64198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64200 { (exit 1); exit 1; }; }
64202 cat >conftest.$ac_ext <<_ACEOF
64203 /* confdefs.h. */
64204 _ACEOF
64205 cat confdefs.h >>conftest.$ac_ext
64206 cat >>conftest.$ac_ext <<_ACEOF
64207 /* end confdefs.h. */
64208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64210 #define $ac_func innocuous_$ac_func
64212 /* System header to define __stub macros and hopefully few prototypes,
64213 which can conflict with char $ac_func (); below.
64214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64215 <limits.h> exists even on freestanding compilers. */
64217 #ifdef __STDC__
64218 # include <limits.h>
64219 #else
64220 # include <assert.h>
64221 #endif
64223 #undef $ac_func
64225 /* Override any gcc2 internal prototype to avoid an error. */
64226 #ifdef __cplusplus
64227 extern "C"
64229 #endif
64230 /* We use char because int might match the return type of a gcc2
64231 builtin and then its argument prototype would still apply. */
64232 char $ac_func ();
64233 /* The GNU C library defines this for functions which it implements
64234 to always fail with ENOSYS. Some functions are actually named
64235 something starting with __ and the normal name is an alias. */
64236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64237 choke me
64238 #else
64239 char (*f) () = $ac_func;
64240 #endif
64241 #ifdef __cplusplus
64243 #endif
64246 main ()
64248 return f != $ac_func;
64250 return 0;
64252 _ACEOF
64253 rm -f conftest.$ac_objext conftest$ac_exeext
64254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64255 (eval $ac_link) 2>conftest.er1
64256 ac_status=$?
64257 grep -v '^ *+' conftest.er1 >conftest.err
64258 rm -f conftest.er1
64259 cat conftest.err >&5
64260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64261 (exit $ac_status); } &&
64262 { ac_try='test -z "$ac_c_werror_flag"
64263 || test ! -s conftest.err'
64264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64265 (eval $ac_try) 2>&5
64266 ac_status=$?
64267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64268 (exit $ac_status); }; } &&
64269 { ac_try='test -s conftest$ac_exeext'
64270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64271 (eval $ac_try) 2>&5
64272 ac_status=$?
64273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64274 (exit $ac_status); }; }; then
64275 eval "$as_ac_var=yes"
64276 else
64277 echo "$as_me: failed program was:" >&5
64278 sed 's/^/| /' conftest.$ac_ext >&5
64280 eval "$as_ac_var=no"
64282 rm -f conftest.err conftest.$ac_objext \
64283 conftest$ac_exeext conftest.$ac_ext
64285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64287 if test `eval echo '${'$as_ac_var'}'` = yes; then
64288 cat >>confdefs.h <<_ACEOF
64289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64290 _ACEOF
64293 done
64303 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64304 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64305 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64306 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64307 echo $ECHO_N "(cached) $ECHO_C" >&6
64308 else
64312 ac_ext=cc
64313 ac_cpp='$CXXCPP $CPPFLAGS'
64314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64318 cat >conftest.$ac_ext <<_ACEOF
64319 /* confdefs.h. */
64320 _ACEOF
64321 cat confdefs.h >>conftest.$ac_ext
64322 cat >>conftest.$ac_ext <<_ACEOF
64323 /* end confdefs.h. */
64324 #include <math.h>
64325 #ifdef HAVE_IEEEFP_H
64326 #include <ieeefp.h>
64327 #endif
64330 main ()
64332 isinfl(0);
64334 return 0;
64336 _ACEOF
64337 rm -f conftest.$ac_objext
64338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64339 (eval $ac_compile) 2>conftest.er1
64340 ac_status=$?
64341 grep -v '^ *+' conftest.er1 >conftest.err
64342 rm -f conftest.er1
64343 cat conftest.err >&5
64344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64345 (exit $ac_status); } &&
64346 { ac_try='test -z "$ac_cxx_werror_flag"
64347 || test ! -s conftest.err'
64348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64349 (eval $ac_try) 2>&5
64350 ac_status=$?
64351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64352 (exit $ac_status); }; } &&
64353 { ac_try='test -s conftest.$ac_objext'
64354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355 (eval $ac_try) 2>&5
64356 ac_status=$?
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); }; }; then
64359 glibcxx_cv_func_isinfl_use=yes
64360 else
64361 echo "$as_me: failed program was:" >&5
64362 sed 's/^/| /' conftest.$ac_ext >&5
64364 glibcxx_cv_func_isinfl_use=no
64366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64367 ac_ext=c
64368 ac_cpp='$CPP $CPPFLAGS'
64369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64378 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64380 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64382 for ac_func in isinfl
64384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64385 echo "$as_me:$LINENO: checking for $ac_func" >&5
64386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64387 if eval "test \"\${$as_ac_var+set}\" = set"; then
64388 echo $ECHO_N "(cached) $ECHO_C" >&6
64389 else
64390 if test x$gcc_no_link = xyes; then
64391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64393 { (exit 1); exit 1; }; }
64395 cat >conftest.$ac_ext <<_ACEOF
64396 /* confdefs.h. */
64397 _ACEOF
64398 cat confdefs.h >>conftest.$ac_ext
64399 cat >>conftest.$ac_ext <<_ACEOF
64400 /* end confdefs.h. */
64401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64403 #define $ac_func innocuous_$ac_func
64405 /* System header to define __stub macros and hopefully few prototypes,
64406 which can conflict with char $ac_func (); below.
64407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64408 <limits.h> exists even on freestanding compilers. */
64410 #ifdef __STDC__
64411 # include <limits.h>
64412 #else
64413 # include <assert.h>
64414 #endif
64416 #undef $ac_func
64418 /* Override any gcc2 internal prototype to avoid an error. */
64419 #ifdef __cplusplus
64420 extern "C"
64422 #endif
64423 /* We use char because int might match the return type of a gcc2
64424 builtin and then its argument prototype would still apply. */
64425 char $ac_func ();
64426 /* The GNU C library defines this for functions which it implements
64427 to always fail with ENOSYS. Some functions are actually named
64428 something starting with __ and the normal name is an alias. */
64429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64430 choke me
64431 #else
64432 char (*f) () = $ac_func;
64433 #endif
64434 #ifdef __cplusplus
64436 #endif
64439 main ()
64441 return f != $ac_func;
64443 return 0;
64445 _ACEOF
64446 rm -f conftest.$ac_objext conftest$ac_exeext
64447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64448 (eval $ac_link) 2>conftest.er1
64449 ac_status=$?
64450 grep -v '^ *+' conftest.er1 >conftest.err
64451 rm -f conftest.er1
64452 cat conftest.err >&5
64453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64454 (exit $ac_status); } &&
64455 { ac_try='test -z "$ac_c_werror_flag"
64456 || test ! -s conftest.err'
64457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64458 (eval $ac_try) 2>&5
64459 ac_status=$?
64460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64461 (exit $ac_status); }; } &&
64462 { ac_try='test -s conftest$ac_exeext'
64463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64464 (eval $ac_try) 2>&5
64465 ac_status=$?
64466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64467 (exit $ac_status); }; }; then
64468 eval "$as_ac_var=yes"
64469 else
64470 echo "$as_me: failed program was:" >&5
64471 sed 's/^/| /' conftest.$ac_ext >&5
64473 eval "$as_ac_var=no"
64475 rm -f conftest.err conftest.$ac_objext \
64476 conftest$ac_exeext conftest.$ac_ext
64478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64480 if test `eval echo '${'$as_ac_var'}'` = yes; then
64481 cat >>confdefs.h <<_ACEOF
64482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64483 _ACEOF
64486 done
64488 else
64490 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64491 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64492 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64493 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64494 echo $ECHO_N "(cached) $ECHO_C" >&6
64495 else
64499 ac_ext=cc
64500 ac_cpp='$CXXCPP $CPPFLAGS'
64501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64505 cat >conftest.$ac_ext <<_ACEOF
64506 /* confdefs.h. */
64507 _ACEOF
64508 cat confdefs.h >>conftest.$ac_ext
64509 cat >>conftest.$ac_ext <<_ACEOF
64510 /* end confdefs.h. */
64511 #include <math.h>
64512 #ifdef HAVE_IEEEFP_H
64513 #include <ieeefp.h>
64514 #endif
64517 main ()
64519 _isinfl(0);
64521 return 0;
64523 _ACEOF
64524 rm -f conftest.$ac_objext
64525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64526 (eval $ac_compile) 2>conftest.er1
64527 ac_status=$?
64528 grep -v '^ *+' conftest.er1 >conftest.err
64529 rm -f conftest.er1
64530 cat conftest.err >&5
64531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64532 (exit $ac_status); } &&
64533 { ac_try='test -z "$ac_cxx_werror_flag"
64534 || test ! -s conftest.err'
64535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64536 (eval $ac_try) 2>&5
64537 ac_status=$?
64538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64539 (exit $ac_status); }; } &&
64540 { ac_try='test -s conftest.$ac_objext'
64541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64542 (eval $ac_try) 2>&5
64543 ac_status=$?
64544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545 (exit $ac_status); }; }; then
64546 glibcxx_cv_func__isinfl_use=yes
64547 else
64548 echo "$as_me: failed program was:" >&5
64549 sed 's/^/| /' conftest.$ac_ext >&5
64551 glibcxx_cv_func__isinfl_use=no
64553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64554 ac_ext=c
64555 ac_cpp='$CPP $CPPFLAGS'
64556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64565 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64567 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64569 for ac_func in _isinfl
64571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64572 echo "$as_me:$LINENO: checking for $ac_func" >&5
64573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64574 if eval "test \"\${$as_ac_var+set}\" = set"; then
64575 echo $ECHO_N "(cached) $ECHO_C" >&6
64576 else
64577 if test x$gcc_no_link = xyes; then
64578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64580 { (exit 1); exit 1; }; }
64582 cat >conftest.$ac_ext <<_ACEOF
64583 /* confdefs.h. */
64584 _ACEOF
64585 cat confdefs.h >>conftest.$ac_ext
64586 cat >>conftest.$ac_ext <<_ACEOF
64587 /* end confdefs.h. */
64588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64590 #define $ac_func innocuous_$ac_func
64592 /* System header to define __stub macros and hopefully few prototypes,
64593 which can conflict with char $ac_func (); below.
64594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64595 <limits.h> exists even on freestanding compilers. */
64597 #ifdef __STDC__
64598 # include <limits.h>
64599 #else
64600 # include <assert.h>
64601 #endif
64603 #undef $ac_func
64605 /* Override any gcc2 internal prototype to avoid an error. */
64606 #ifdef __cplusplus
64607 extern "C"
64609 #endif
64610 /* We use char because int might match the return type of a gcc2
64611 builtin and then its argument prototype would still apply. */
64612 char $ac_func ();
64613 /* The GNU C library defines this for functions which it implements
64614 to always fail with ENOSYS. Some functions are actually named
64615 something starting with __ and the normal name is an alias. */
64616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64617 choke me
64618 #else
64619 char (*f) () = $ac_func;
64620 #endif
64621 #ifdef __cplusplus
64623 #endif
64626 main ()
64628 return f != $ac_func;
64630 return 0;
64632 _ACEOF
64633 rm -f conftest.$ac_objext conftest$ac_exeext
64634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64635 (eval $ac_link) 2>conftest.er1
64636 ac_status=$?
64637 grep -v '^ *+' conftest.er1 >conftest.err
64638 rm -f conftest.er1
64639 cat conftest.err >&5
64640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64641 (exit $ac_status); } &&
64642 { ac_try='test -z "$ac_c_werror_flag"
64643 || test ! -s conftest.err'
64644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64645 (eval $ac_try) 2>&5
64646 ac_status=$?
64647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64648 (exit $ac_status); }; } &&
64649 { ac_try='test -s conftest$ac_exeext'
64650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64651 (eval $ac_try) 2>&5
64652 ac_status=$?
64653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64654 (exit $ac_status); }; }; then
64655 eval "$as_ac_var=yes"
64656 else
64657 echo "$as_me: failed program was:" >&5
64658 sed 's/^/| /' conftest.$ac_ext >&5
64660 eval "$as_ac_var=no"
64662 rm -f conftest.err conftest.$ac_objext \
64663 conftest$ac_exeext conftest.$ac_ext
64665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64667 if test `eval echo '${'$as_ac_var'}'` = yes; then
64668 cat >>confdefs.h <<_ACEOF
64669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64670 _ACEOF
64673 done
64683 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64684 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64685 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64686 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64687 echo $ECHO_N "(cached) $ECHO_C" >&6
64688 else
64692 ac_ext=cc
64693 ac_cpp='$CXXCPP $CPPFLAGS'
64694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64698 cat >conftest.$ac_ext <<_ACEOF
64699 /* confdefs.h. */
64700 _ACEOF
64701 cat confdefs.h >>conftest.$ac_ext
64702 cat >>conftest.$ac_ext <<_ACEOF
64703 /* end confdefs.h. */
64704 #include <math.h>
64706 main ()
64708 copysignl(0, 0);
64710 return 0;
64712 _ACEOF
64713 rm -f conftest.$ac_objext
64714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64715 (eval $ac_compile) 2>conftest.er1
64716 ac_status=$?
64717 grep -v '^ *+' conftest.er1 >conftest.err
64718 rm -f conftest.er1
64719 cat conftest.err >&5
64720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64721 (exit $ac_status); } &&
64722 { ac_try='test -z "$ac_cxx_werror_flag"
64723 || test ! -s conftest.err'
64724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64725 (eval $ac_try) 2>&5
64726 ac_status=$?
64727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64728 (exit $ac_status); }; } &&
64729 { ac_try='test -s conftest.$ac_objext'
64730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64731 (eval $ac_try) 2>&5
64732 ac_status=$?
64733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734 (exit $ac_status); }; }; then
64735 glibcxx_cv_func_copysignl_use=yes
64736 else
64737 echo "$as_me: failed program was:" >&5
64738 sed 's/^/| /' conftest.$ac_ext >&5
64740 glibcxx_cv_func_copysignl_use=no
64742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64743 ac_ext=c
64744 ac_cpp='$CPP $CPPFLAGS'
64745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64754 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64756 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64758 for ac_func in copysignl
64760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64761 echo "$as_me:$LINENO: checking for $ac_func" >&5
64762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64763 if eval "test \"\${$as_ac_var+set}\" = set"; then
64764 echo $ECHO_N "(cached) $ECHO_C" >&6
64765 else
64766 if test x$gcc_no_link = xyes; then
64767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64769 { (exit 1); exit 1; }; }
64771 cat >conftest.$ac_ext <<_ACEOF
64772 /* confdefs.h. */
64773 _ACEOF
64774 cat confdefs.h >>conftest.$ac_ext
64775 cat >>conftest.$ac_ext <<_ACEOF
64776 /* end confdefs.h. */
64777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64779 #define $ac_func innocuous_$ac_func
64781 /* System header to define __stub macros and hopefully few prototypes,
64782 which can conflict with char $ac_func (); below.
64783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64784 <limits.h> exists even on freestanding compilers. */
64786 #ifdef __STDC__
64787 # include <limits.h>
64788 #else
64789 # include <assert.h>
64790 #endif
64792 #undef $ac_func
64794 /* Override any gcc2 internal prototype to avoid an error. */
64795 #ifdef __cplusplus
64796 extern "C"
64798 #endif
64799 /* We use char because int might match the return type of a gcc2
64800 builtin and then its argument prototype would still apply. */
64801 char $ac_func ();
64802 /* The GNU C library defines this for functions which it implements
64803 to always fail with ENOSYS. Some functions are actually named
64804 something starting with __ and the normal name is an alias. */
64805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64806 choke me
64807 #else
64808 char (*f) () = $ac_func;
64809 #endif
64810 #ifdef __cplusplus
64812 #endif
64815 main ()
64817 return f != $ac_func;
64819 return 0;
64821 _ACEOF
64822 rm -f conftest.$ac_objext conftest$ac_exeext
64823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64824 (eval $ac_link) 2>conftest.er1
64825 ac_status=$?
64826 grep -v '^ *+' conftest.er1 >conftest.err
64827 rm -f conftest.er1
64828 cat conftest.err >&5
64829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64830 (exit $ac_status); } &&
64831 { ac_try='test -z "$ac_c_werror_flag"
64832 || test ! -s conftest.err'
64833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64834 (eval $ac_try) 2>&5
64835 ac_status=$?
64836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64837 (exit $ac_status); }; } &&
64838 { ac_try='test -s conftest$ac_exeext'
64839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64840 (eval $ac_try) 2>&5
64841 ac_status=$?
64842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64843 (exit $ac_status); }; }; then
64844 eval "$as_ac_var=yes"
64845 else
64846 echo "$as_me: failed program was:" >&5
64847 sed 's/^/| /' conftest.$ac_ext >&5
64849 eval "$as_ac_var=no"
64851 rm -f conftest.err conftest.$ac_objext \
64852 conftest$ac_exeext conftest.$ac_ext
64854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64856 if test `eval echo '${'$as_ac_var'}'` = yes; then
64857 cat >>confdefs.h <<_ACEOF
64858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64859 _ACEOF
64862 done
64864 else
64866 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64867 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64868 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64869 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64870 echo $ECHO_N "(cached) $ECHO_C" >&6
64871 else
64875 ac_ext=cc
64876 ac_cpp='$CXXCPP $CPPFLAGS'
64877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64881 cat >conftest.$ac_ext <<_ACEOF
64882 /* confdefs.h. */
64883 _ACEOF
64884 cat confdefs.h >>conftest.$ac_ext
64885 cat >>conftest.$ac_ext <<_ACEOF
64886 /* end confdefs.h. */
64887 #include <math.h>
64889 main ()
64891 _copysignl(0, 0);
64893 return 0;
64895 _ACEOF
64896 rm -f conftest.$ac_objext
64897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64898 (eval $ac_compile) 2>conftest.er1
64899 ac_status=$?
64900 grep -v '^ *+' conftest.er1 >conftest.err
64901 rm -f conftest.er1
64902 cat conftest.err >&5
64903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64904 (exit $ac_status); } &&
64905 { ac_try='test -z "$ac_cxx_werror_flag"
64906 || test ! -s conftest.err'
64907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64908 (eval $ac_try) 2>&5
64909 ac_status=$?
64910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64911 (exit $ac_status); }; } &&
64912 { ac_try='test -s conftest.$ac_objext'
64913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64914 (eval $ac_try) 2>&5
64915 ac_status=$?
64916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64917 (exit $ac_status); }; }; then
64918 glibcxx_cv_func__copysignl_use=yes
64919 else
64920 echo "$as_me: failed program was:" >&5
64921 sed 's/^/| /' conftest.$ac_ext >&5
64923 glibcxx_cv_func__copysignl_use=no
64925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64926 ac_ext=c
64927 ac_cpp='$CPP $CPPFLAGS'
64928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64937 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64939 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64941 for ac_func in _copysignl
64943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64944 echo "$as_me:$LINENO: checking for $ac_func" >&5
64945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64946 if eval "test \"\${$as_ac_var+set}\" = set"; then
64947 echo $ECHO_N "(cached) $ECHO_C" >&6
64948 else
64949 if test x$gcc_no_link = xyes; then
64950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64952 { (exit 1); exit 1; }; }
64954 cat >conftest.$ac_ext <<_ACEOF
64955 /* confdefs.h. */
64956 _ACEOF
64957 cat confdefs.h >>conftest.$ac_ext
64958 cat >>conftest.$ac_ext <<_ACEOF
64959 /* end confdefs.h. */
64960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64962 #define $ac_func innocuous_$ac_func
64964 /* System header to define __stub macros and hopefully few prototypes,
64965 which can conflict with char $ac_func (); below.
64966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64967 <limits.h> exists even on freestanding compilers. */
64969 #ifdef __STDC__
64970 # include <limits.h>
64971 #else
64972 # include <assert.h>
64973 #endif
64975 #undef $ac_func
64977 /* Override any gcc2 internal prototype to avoid an error. */
64978 #ifdef __cplusplus
64979 extern "C"
64981 #endif
64982 /* We use char because int might match the return type of a gcc2
64983 builtin and then its argument prototype would still apply. */
64984 char $ac_func ();
64985 /* The GNU C library defines this for functions which it implements
64986 to always fail with ENOSYS. Some functions are actually named
64987 something starting with __ and the normal name is an alias. */
64988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64989 choke me
64990 #else
64991 char (*f) () = $ac_func;
64992 #endif
64993 #ifdef __cplusplus
64995 #endif
64998 main ()
65000 return f != $ac_func;
65002 return 0;
65004 _ACEOF
65005 rm -f conftest.$ac_objext conftest$ac_exeext
65006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65007 (eval $ac_link) 2>conftest.er1
65008 ac_status=$?
65009 grep -v '^ *+' conftest.er1 >conftest.err
65010 rm -f conftest.er1
65011 cat conftest.err >&5
65012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65013 (exit $ac_status); } &&
65014 { ac_try='test -z "$ac_c_werror_flag"
65015 || test ! -s conftest.err'
65016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65017 (eval $ac_try) 2>&5
65018 ac_status=$?
65019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65020 (exit $ac_status); }; } &&
65021 { ac_try='test -s conftest$ac_exeext'
65022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65023 (eval $ac_try) 2>&5
65024 ac_status=$?
65025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65026 (exit $ac_status); }; }; then
65027 eval "$as_ac_var=yes"
65028 else
65029 echo "$as_me: failed program was:" >&5
65030 sed 's/^/| /' conftest.$ac_ext >&5
65032 eval "$as_ac_var=no"
65034 rm -f conftest.err conftest.$ac_objext \
65035 conftest$ac_exeext conftest.$ac_ext
65037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65039 if test `eval echo '${'$as_ac_var'}'` = yes; then
65040 cat >>confdefs.h <<_ACEOF
65041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65042 _ACEOF
65045 done
65055 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65056 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65057 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65058 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65059 echo $ECHO_N "(cached) $ECHO_C" >&6
65060 else
65064 ac_ext=cc
65065 ac_cpp='$CXXCPP $CPPFLAGS'
65066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65070 cat >conftest.$ac_ext <<_ACEOF
65071 /* confdefs.h. */
65072 _ACEOF
65073 cat confdefs.h >>conftest.$ac_ext
65074 cat >>conftest.$ac_ext <<_ACEOF
65075 /* end confdefs.h. */
65076 #include <math.h>
65078 main ()
65080 atan2l(0, 0);
65082 return 0;
65084 _ACEOF
65085 rm -f conftest.$ac_objext
65086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65087 (eval $ac_compile) 2>conftest.er1
65088 ac_status=$?
65089 grep -v '^ *+' conftest.er1 >conftest.err
65090 rm -f conftest.er1
65091 cat conftest.err >&5
65092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65093 (exit $ac_status); } &&
65094 { ac_try='test -z "$ac_cxx_werror_flag"
65095 || test ! -s conftest.err'
65096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65097 (eval $ac_try) 2>&5
65098 ac_status=$?
65099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100 (exit $ac_status); }; } &&
65101 { ac_try='test -s conftest.$ac_objext'
65102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65103 (eval $ac_try) 2>&5
65104 ac_status=$?
65105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65106 (exit $ac_status); }; }; then
65107 glibcxx_cv_func_atan2l_use=yes
65108 else
65109 echo "$as_me: failed program was:" >&5
65110 sed 's/^/| /' conftest.$ac_ext >&5
65112 glibcxx_cv_func_atan2l_use=no
65114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65115 ac_ext=c
65116 ac_cpp='$CPP $CPPFLAGS'
65117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65126 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65128 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65130 for ac_func in atan2l
65132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65133 echo "$as_me:$LINENO: checking for $ac_func" >&5
65134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65135 if eval "test \"\${$as_ac_var+set}\" = set"; then
65136 echo $ECHO_N "(cached) $ECHO_C" >&6
65137 else
65138 if test x$gcc_no_link = xyes; then
65139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65141 { (exit 1); exit 1; }; }
65143 cat >conftest.$ac_ext <<_ACEOF
65144 /* confdefs.h. */
65145 _ACEOF
65146 cat confdefs.h >>conftest.$ac_ext
65147 cat >>conftest.$ac_ext <<_ACEOF
65148 /* end confdefs.h. */
65149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65151 #define $ac_func innocuous_$ac_func
65153 /* System header to define __stub macros and hopefully few prototypes,
65154 which can conflict with char $ac_func (); below.
65155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65156 <limits.h> exists even on freestanding compilers. */
65158 #ifdef __STDC__
65159 # include <limits.h>
65160 #else
65161 # include <assert.h>
65162 #endif
65164 #undef $ac_func
65166 /* Override any gcc2 internal prototype to avoid an error. */
65167 #ifdef __cplusplus
65168 extern "C"
65170 #endif
65171 /* We use char because int might match the return type of a gcc2
65172 builtin and then its argument prototype would still apply. */
65173 char $ac_func ();
65174 /* The GNU C library defines this for functions which it implements
65175 to always fail with ENOSYS. Some functions are actually named
65176 something starting with __ and the normal name is an alias. */
65177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65178 choke me
65179 #else
65180 char (*f) () = $ac_func;
65181 #endif
65182 #ifdef __cplusplus
65184 #endif
65187 main ()
65189 return f != $ac_func;
65191 return 0;
65193 _ACEOF
65194 rm -f conftest.$ac_objext conftest$ac_exeext
65195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65196 (eval $ac_link) 2>conftest.er1
65197 ac_status=$?
65198 grep -v '^ *+' conftest.er1 >conftest.err
65199 rm -f conftest.er1
65200 cat conftest.err >&5
65201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65202 (exit $ac_status); } &&
65203 { ac_try='test -z "$ac_c_werror_flag"
65204 || test ! -s conftest.err'
65205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65206 (eval $ac_try) 2>&5
65207 ac_status=$?
65208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65209 (exit $ac_status); }; } &&
65210 { ac_try='test -s conftest$ac_exeext'
65211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65212 (eval $ac_try) 2>&5
65213 ac_status=$?
65214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65215 (exit $ac_status); }; }; then
65216 eval "$as_ac_var=yes"
65217 else
65218 echo "$as_me: failed program was:" >&5
65219 sed 's/^/| /' conftest.$ac_ext >&5
65221 eval "$as_ac_var=no"
65223 rm -f conftest.err conftest.$ac_objext \
65224 conftest$ac_exeext conftest.$ac_ext
65226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65228 if test `eval echo '${'$as_ac_var'}'` = yes; then
65229 cat >>confdefs.h <<_ACEOF
65230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65231 _ACEOF
65234 done
65236 else
65238 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65239 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65240 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65241 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65242 echo $ECHO_N "(cached) $ECHO_C" >&6
65243 else
65247 ac_ext=cc
65248 ac_cpp='$CXXCPP $CPPFLAGS'
65249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65253 cat >conftest.$ac_ext <<_ACEOF
65254 /* confdefs.h. */
65255 _ACEOF
65256 cat confdefs.h >>conftest.$ac_ext
65257 cat >>conftest.$ac_ext <<_ACEOF
65258 /* end confdefs.h. */
65259 #include <math.h>
65261 main ()
65263 _atan2l(0, 0);
65265 return 0;
65267 _ACEOF
65268 rm -f conftest.$ac_objext
65269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65270 (eval $ac_compile) 2>conftest.er1
65271 ac_status=$?
65272 grep -v '^ *+' conftest.er1 >conftest.err
65273 rm -f conftest.er1
65274 cat conftest.err >&5
65275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65276 (exit $ac_status); } &&
65277 { ac_try='test -z "$ac_cxx_werror_flag"
65278 || test ! -s conftest.err'
65279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65280 (eval $ac_try) 2>&5
65281 ac_status=$?
65282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65283 (exit $ac_status); }; } &&
65284 { ac_try='test -s conftest.$ac_objext'
65285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65286 (eval $ac_try) 2>&5
65287 ac_status=$?
65288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65289 (exit $ac_status); }; }; then
65290 glibcxx_cv_func__atan2l_use=yes
65291 else
65292 echo "$as_me: failed program was:" >&5
65293 sed 's/^/| /' conftest.$ac_ext >&5
65295 glibcxx_cv_func__atan2l_use=no
65297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65298 ac_ext=c
65299 ac_cpp='$CPP $CPPFLAGS'
65300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65309 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65311 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65313 for ac_func in _atan2l
65315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65316 echo "$as_me:$LINENO: checking for $ac_func" >&5
65317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65318 if eval "test \"\${$as_ac_var+set}\" = set"; then
65319 echo $ECHO_N "(cached) $ECHO_C" >&6
65320 else
65321 if test x$gcc_no_link = xyes; then
65322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65324 { (exit 1); exit 1; }; }
65326 cat >conftest.$ac_ext <<_ACEOF
65327 /* confdefs.h. */
65328 _ACEOF
65329 cat confdefs.h >>conftest.$ac_ext
65330 cat >>conftest.$ac_ext <<_ACEOF
65331 /* end confdefs.h. */
65332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65334 #define $ac_func innocuous_$ac_func
65336 /* System header to define __stub macros and hopefully few prototypes,
65337 which can conflict with char $ac_func (); below.
65338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65339 <limits.h> exists even on freestanding compilers. */
65341 #ifdef __STDC__
65342 # include <limits.h>
65343 #else
65344 # include <assert.h>
65345 #endif
65347 #undef $ac_func
65349 /* Override any gcc2 internal prototype to avoid an error. */
65350 #ifdef __cplusplus
65351 extern "C"
65353 #endif
65354 /* We use char because int might match the return type of a gcc2
65355 builtin and then its argument prototype would still apply. */
65356 char $ac_func ();
65357 /* The GNU C library defines this for functions which it implements
65358 to always fail with ENOSYS. Some functions are actually named
65359 something starting with __ and the normal name is an alias. */
65360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65361 choke me
65362 #else
65363 char (*f) () = $ac_func;
65364 #endif
65365 #ifdef __cplusplus
65367 #endif
65370 main ()
65372 return f != $ac_func;
65374 return 0;
65376 _ACEOF
65377 rm -f conftest.$ac_objext conftest$ac_exeext
65378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65379 (eval $ac_link) 2>conftest.er1
65380 ac_status=$?
65381 grep -v '^ *+' conftest.er1 >conftest.err
65382 rm -f conftest.er1
65383 cat conftest.err >&5
65384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65385 (exit $ac_status); } &&
65386 { ac_try='test -z "$ac_c_werror_flag"
65387 || test ! -s conftest.err'
65388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65389 (eval $ac_try) 2>&5
65390 ac_status=$?
65391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65392 (exit $ac_status); }; } &&
65393 { ac_try='test -s conftest$ac_exeext'
65394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65395 (eval $ac_try) 2>&5
65396 ac_status=$?
65397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65398 (exit $ac_status); }; }; then
65399 eval "$as_ac_var=yes"
65400 else
65401 echo "$as_me: failed program was:" >&5
65402 sed 's/^/| /' conftest.$ac_ext >&5
65404 eval "$as_ac_var=no"
65406 rm -f conftest.err conftest.$ac_objext \
65407 conftest$ac_exeext conftest.$ac_ext
65409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65411 if test `eval echo '${'$as_ac_var'}'` = yes; then
65412 cat >>confdefs.h <<_ACEOF
65413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65414 _ACEOF
65417 done
65427 echo "$as_me:$LINENO: checking for expl declaration" >&5
65428 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65429 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65430 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65431 echo $ECHO_N "(cached) $ECHO_C" >&6
65432 else
65436 ac_ext=cc
65437 ac_cpp='$CXXCPP $CPPFLAGS'
65438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65442 cat >conftest.$ac_ext <<_ACEOF
65443 /* confdefs.h. */
65444 _ACEOF
65445 cat confdefs.h >>conftest.$ac_ext
65446 cat >>conftest.$ac_ext <<_ACEOF
65447 /* end confdefs.h. */
65448 #include <math.h>
65449 #ifdef HAVE_IEEEFP_H
65450 #include <ieeefp.h>
65451 #endif
65454 main ()
65456 expl(0);
65458 return 0;
65460 _ACEOF
65461 rm -f conftest.$ac_objext
65462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65463 (eval $ac_compile) 2>conftest.er1
65464 ac_status=$?
65465 grep -v '^ *+' conftest.er1 >conftest.err
65466 rm -f conftest.er1
65467 cat conftest.err >&5
65468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65469 (exit $ac_status); } &&
65470 { ac_try='test -z "$ac_cxx_werror_flag"
65471 || test ! -s conftest.err'
65472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65473 (eval $ac_try) 2>&5
65474 ac_status=$?
65475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65476 (exit $ac_status); }; } &&
65477 { ac_try='test -s conftest.$ac_objext'
65478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65479 (eval $ac_try) 2>&5
65480 ac_status=$?
65481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65482 (exit $ac_status); }; }; then
65483 glibcxx_cv_func_expl_use=yes
65484 else
65485 echo "$as_me: failed program was:" >&5
65486 sed 's/^/| /' conftest.$ac_ext >&5
65488 glibcxx_cv_func_expl_use=no
65490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65491 ac_ext=c
65492 ac_cpp='$CPP $CPPFLAGS'
65493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65502 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65504 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65506 for ac_func in expl
65508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65509 echo "$as_me:$LINENO: checking for $ac_func" >&5
65510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65511 if eval "test \"\${$as_ac_var+set}\" = set"; then
65512 echo $ECHO_N "(cached) $ECHO_C" >&6
65513 else
65514 if test x$gcc_no_link = xyes; then
65515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65517 { (exit 1); exit 1; }; }
65519 cat >conftest.$ac_ext <<_ACEOF
65520 /* confdefs.h. */
65521 _ACEOF
65522 cat confdefs.h >>conftest.$ac_ext
65523 cat >>conftest.$ac_ext <<_ACEOF
65524 /* end confdefs.h. */
65525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65527 #define $ac_func innocuous_$ac_func
65529 /* System header to define __stub macros and hopefully few prototypes,
65530 which can conflict with char $ac_func (); below.
65531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65532 <limits.h> exists even on freestanding compilers. */
65534 #ifdef __STDC__
65535 # include <limits.h>
65536 #else
65537 # include <assert.h>
65538 #endif
65540 #undef $ac_func
65542 /* Override any gcc2 internal prototype to avoid an error. */
65543 #ifdef __cplusplus
65544 extern "C"
65546 #endif
65547 /* We use char because int might match the return type of a gcc2
65548 builtin and then its argument prototype would still apply. */
65549 char $ac_func ();
65550 /* The GNU C library defines this for functions which it implements
65551 to always fail with ENOSYS. Some functions are actually named
65552 something starting with __ and the normal name is an alias. */
65553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65554 choke me
65555 #else
65556 char (*f) () = $ac_func;
65557 #endif
65558 #ifdef __cplusplus
65560 #endif
65563 main ()
65565 return f != $ac_func;
65567 return 0;
65569 _ACEOF
65570 rm -f conftest.$ac_objext conftest$ac_exeext
65571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65572 (eval $ac_link) 2>conftest.er1
65573 ac_status=$?
65574 grep -v '^ *+' conftest.er1 >conftest.err
65575 rm -f conftest.er1
65576 cat conftest.err >&5
65577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65578 (exit $ac_status); } &&
65579 { ac_try='test -z "$ac_c_werror_flag"
65580 || test ! -s conftest.err'
65581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65582 (eval $ac_try) 2>&5
65583 ac_status=$?
65584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65585 (exit $ac_status); }; } &&
65586 { ac_try='test -s conftest$ac_exeext'
65587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65588 (eval $ac_try) 2>&5
65589 ac_status=$?
65590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65591 (exit $ac_status); }; }; then
65592 eval "$as_ac_var=yes"
65593 else
65594 echo "$as_me: failed program was:" >&5
65595 sed 's/^/| /' conftest.$ac_ext >&5
65597 eval "$as_ac_var=no"
65599 rm -f conftest.err conftest.$ac_objext \
65600 conftest$ac_exeext conftest.$ac_ext
65602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65604 if test `eval echo '${'$as_ac_var'}'` = yes; then
65605 cat >>confdefs.h <<_ACEOF
65606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65607 _ACEOF
65610 done
65612 else
65614 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65615 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65616 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65617 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65618 echo $ECHO_N "(cached) $ECHO_C" >&6
65619 else
65623 ac_ext=cc
65624 ac_cpp='$CXXCPP $CPPFLAGS'
65625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65629 cat >conftest.$ac_ext <<_ACEOF
65630 /* confdefs.h. */
65631 _ACEOF
65632 cat confdefs.h >>conftest.$ac_ext
65633 cat >>conftest.$ac_ext <<_ACEOF
65634 /* end confdefs.h. */
65635 #include <math.h>
65636 #ifdef HAVE_IEEEFP_H
65637 #include <ieeefp.h>
65638 #endif
65641 main ()
65643 _expl(0);
65645 return 0;
65647 _ACEOF
65648 rm -f conftest.$ac_objext
65649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65650 (eval $ac_compile) 2>conftest.er1
65651 ac_status=$?
65652 grep -v '^ *+' conftest.er1 >conftest.err
65653 rm -f conftest.er1
65654 cat conftest.err >&5
65655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65656 (exit $ac_status); } &&
65657 { ac_try='test -z "$ac_cxx_werror_flag"
65658 || test ! -s conftest.err'
65659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65660 (eval $ac_try) 2>&5
65661 ac_status=$?
65662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65663 (exit $ac_status); }; } &&
65664 { ac_try='test -s conftest.$ac_objext'
65665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65666 (eval $ac_try) 2>&5
65667 ac_status=$?
65668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65669 (exit $ac_status); }; }; then
65670 glibcxx_cv_func__expl_use=yes
65671 else
65672 echo "$as_me: failed program was:" >&5
65673 sed 's/^/| /' conftest.$ac_ext >&5
65675 glibcxx_cv_func__expl_use=no
65677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65678 ac_ext=c
65679 ac_cpp='$CPP $CPPFLAGS'
65680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65689 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65691 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65693 for ac_func in _expl
65695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65696 echo "$as_me:$LINENO: checking for $ac_func" >&5
65697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65698 if eval "test \"\${$as_ac_var+set}\" = set"; then
65699 echo $ECHO_N "(cached) $ECHO_C" >&6
65700 else
65701 if test x$gcc_no_link = xyes; then
65702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65704 { (exit 1); exit 1; }; }
65706 cat >conftest.$ac_ext <<_ACEOF
65707 /* confdefs.h. */
65708 _ACEOF
65709 cat confdefs.h >>conftest.$ac_ext
65710 cat >>conftest.$ac_ext <<_ACEOF
65711 /* end confdefs.h. */
65712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65714 #define $ac_func innocuous_$ac_func
65716 /* System header to define __stub macros and hopefully few prototypes,
65717 which can conflict with char $ac_func (); below.
65718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65719 <limits.h> exists even on freestanding compilers. */
65721 #ifdef __STDC__
65722 # include <limits.h>
65723 #else
65724 # include <assert.h>
65725 #endif
65727 #undef $ac_func
65729 /* Override any gcc2 internal prototype to avoid an error. */
65730 #ifdef __cplusplus
65731 extern "C"
65733 #endif
65734 /* We use char because int might match the return type of a gcc2
65735 builtin and then its argument prototype would still apply. */
65736 char $ac_func ();
65737 /* The GNU C library defines this for functions which it implements
65738 to always fail with ENOSYS. Some functions are actually named
65739 something starting with __ and the normal name is an alias. */
65740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65741 choke me
65742 #else
65743 char (*f) () = $ac_func;
65744 #endif
65745 #ifdef __cplusplus
65747 #endif
65750 main ()
65752 return f != $ac_func;
65754 return 0;
65756 _ACEOF
65757 rm -f conftest.$ac_objext conftest$ac_exeext
65758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65759 (eval $ac_link) 2>conftest.er1
65760 ac_status=$?
65761 grep -v '^ *+' conftest.er1 >conftest.err
65762 rm -f conftest.er1
65763 cat conftest.err >&5
65764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65765 (exit $ac_status); } &&
65766 { ac_try='test -z "$ac_c_werror_flag"
65767 || test ! -s conftest.err'
65768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65769 (eval $ac_try) 2>&5
65770 ac_status=$?
65771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65772 (exit $ac_status); }; } &&
65773 { ac_try='test -s conftest$ac_exeext'
65774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65775 (eval $ac_try) 2>&5
65776 ac_status=$?
65777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65778 (exit $ac_status); }; }; then
65779 eval "$as_ac_var=yes"
65780 else
65781 echo "$as_me: failed program was:" >&5
65782 sed 's/^/| /' conftest.$ac_ext >&5
65784 eval "$as_ac_var=no"
65786 rm -f conftest.err conftest.$ac_objext \
65787 conftest$ac_exeext conftest.$ac_ext
65789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65791 if test `eval echo '${'$as_ac_var'}'` = yes; then
65792 cat >>confdefs.h <<_ACEOF
65793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65794 _ACEOF
65797 done
65807 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65808 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65809 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65810 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65811 echo $ECHO_N "(cached) $ECHO_C" >&6
65812 else
65816 ac_ext=cc
65817 ac_cpp='$CXXCPP $CPPFLAGS'
65818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65822 cat >conftest.$ac_ext <<_ACEOF
65823 /* confdefs.h. */
65824 _ACEOF
65825 cat confdefs.h >>conftest.$ac_ext
65826 cat >>conftest.$ac_ext <<_ACEOF
65827 /* end confdefs.h. */
65828 #include <math.h>
65829 #ifdef HAVE_IEEEFP_H
65830 #include <ieeefp.h>
65831 #endif
65834 main ()
65836 fabsl(0);
65838 return 0;
65840 _ACEOF
65841 rm -f conftest.$ac_objext
65842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65843 (eval $ac_compile) 2>conftest.er1
65844 ac_status=$?
65845 grep -v '^ *+' conftest.er1 >conftest.err
65846 rm -f conftest.er1
65847 cat conftest.err >&5
65848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65849 (exit $ac_status); } &&
65850 { ac_try='test -z "$ac_cxx_werror_flag"
65851 || test ! -s conftest.err'
65852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65853 (eval $ac_try) 2>&5
65854 ac_status=$?
65855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65856 (exit $ac_status); }; } &&
65857 { ac_try='test -s conftest.$ac_objext'
65858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65859 (eval $ac_try) 2>&5
65860 ac_status=$?
65861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 (exit $ac_status); }; }; then
65863 glibcxx_cv_func_fabsl_use=yes
65864 else
65865 echo "$as_me: failed program was:" >&5
65866 sed 's/^/| /' conftest.$ac_ext >&5
65868 glibcxx_cv_func_fabsl_use=no
65870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65871 ac_ext=c
65872 ac_cpp='$CPP $CPPFLAGS'
65873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65882 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65884 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65886 for ac_func in fabsl
65888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65889 echo "$as_me:$LINENO: checking for $ac_func" >&5
65890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65891 if eval "test \"\${$as_ac_var+set}\" = set"; then
65892 echo $ECHO_N "(cached) $ECHO_C" >&6
65893 else
65894 if test x$gcc_no_link = xyes; then
65895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65897 { (exit 1); exit 1; }; }
65899 cat >conftest.$ac_ext <<_ACEOF
65900 /* confdefs.h. */
65901 _ACEOF
65902 cat confdefs.h >>conftest.$ac_ext
65903 cat >>conftest.$ac_ext <<_ACEOF
65904 /* end confdefs.h. */
65905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65907 #define $ac_func innocuous_$ac_func
65909 /* System header to define __stub macros and hopefully few prototypes,
65910 which can conflict with char $ac_func (); below.
65911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65912 <limits.h> exists even on freestanding compilers. */
65914 #ifdef __STDC__
65915 # include <limits.h>
65916 #else
65917 # include <assert.h>
65918 #endif
65920 #undef $ac_func
65922 /* Override any gcc2 internal prototype to avoid an error. */
65923 #ifdef __cplusplus
65924 extern "C"
65926 #endif
65927 /* We use char because int might match the return type of a gcc2
65928 builtin and then its argument prototype would still apply. */
65929 char $ac_func ();
65930 /* The GNU C library defines this for functions which it implements
65931 to always fail with ENOSYS. Some functions are actually named
65932 something starting with __ and the normal name is an alias. */
65933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65934 choke me
65935 #else
65936 char (*f) () = $ac_func;
65937 #endif
65938 #ifdef __cplusplus
65940 #endif
65943 main ()
65945 return f != $ac_func;
65947 return 0;
65949 _ACEOF
65950 rm -f conftest.$ac_objext conftest$ac_exeext
65951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65952 (eval $ac_link) 2>conftest.er1
65953 ac_status=$?
65954 grep -v '^ *+' conftest.er1 >conftest.err
65955 rm -f conftest.er1
65956 cat conftest.err >&5
65957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65958 (exit $ac_status); } &&
65959 { ac_try='test -z "$ac_c_werror_flag"
65960 || test ! -s conftest.err'
65961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65962 (eval $ac_try) 2>&5
65963 ac_status=$?
65964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65965 (exit $ac_status); }; } &&
65966 { ac_try='test -s conftest$ac_exeext'
65967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65968 (eval $ac_try) 2>&5
65969 ac_status=$?
65970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65971 (exit $ac_status); }; }; then
65972 eval "$as_ac_var=yes"
65973 else
65974 echo "$as_me: failed program was:" >&5
65975 sed 's/^/| /' conftest.$ac_ext >&5
65977 eval "$as_ac_var=no"
65979 rm -f conftest.err conftest.$ac_objext \
65980 conftest$ac_exeext conftest.$ac_ext
65982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65984 if test `eval echo '${'$as_ac_var'}'` = yes; then
65985 cat >>confdefs.h <<_ACEOF
65986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65987 _ACEOF
65990 done
65992 else
65994 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65995 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65996 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65997 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65998 echo $ECHO_N "(cached) $ECHO_C" >&6
65999 else
66003 ac_ext=cc
66004 ac_cpp='$CXXCPP $CPPFLAGS'
66005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66009 cat >conftest.$ac_ext <<_ACEOF
66010 /* confdefs.h. */
66011 _ACEOF
66012 cat confdefs.h >>conftest.$ac_ext
66013 cat >>conftest.$ac_ext <<_ACEOF
66014 /* end confdefs.h. */
66015 #include <math.h>
66016 #ifdef HAVE_IEEEFP_H
66017 #include <ieeefp.h>
66018 #endif
66021 main ()
66023 _fabsl(0);
66025 return 0;
66027 _ACEOF
66028 rm -f conftest.$ac_objext
66029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66030 (eval $ac_compile) 2>conftest.er1
66031 ac_status=$?
66032 grep -v '^ *+' conftest.er1 >conftest.err
66033 rm -f conftest.er1
66034 cat conftest.err >&5
66035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66036 (exit $ac_status); } &&
66037 { ac_try='test -z "$ac_cxx_werror_flag"
66038 || test ! -s conftest.err'
66039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66040 (eval $ac_try) 2>&5
66041 ac_status=$?
66042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66043 (exit $ac_status); }; } &&
66044 { ac_try='test -s conftest.$ac_objext'
66045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66046 (eval $ac_try) 2>&5
66047 ac_status=$?
66048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66049 (exit $ac_status); }; }; then
66050 glibcxx_cv_func__fabsl_use=yes
66051 else
66052 echo "$as_me: failed program was:" >&5
66053 sed 's/^/| /' conftest.$ac_ext >&5
66055 glibcxx_cv_func__fabsl_use=no
66057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66058 ac_ext=c
66059 ac_cpp='$CPP $CPPFLAGS'
66060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66069 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66071 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66073 for ac_func in _fabsl
66075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66076 echo "$as_me:$LINENO: checking for $ac_func" >&5
66077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66078 if eval "test \"\${$as_ac_var+set}\" = set"; then
66079 echo $ECHO_N "(cached) $ECHO_C" >&6
66080 else
66081 if test x$gcc_no_link = xyes; then
66082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66084 { (exit 1); exit 1; }; }
66086 cat >conftest.$ac_ext <<_ACEOF
66087 /* confdefs.h. */
66088 _ACEOF
66089 cat confdefs.h >>conftest.$ac_ext
66090 cat >>conftest.$ac_ext <<_ACEOF
66091 /* end confdefs.h. */
66092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66094 #define $ac_func innocuous_$ac_func
66096 /* System header to define __stub macros and hopefully few prototypes,
66097 which can conflict with char $ac_func (); below.
66098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66099 <limits.h> exists even on freestanding compilers. */
66101 #ifdef __STDC__
66102 # include <limits.h>
66103 #else
66104 # include <assert.h>
66105 #endif
66107 #undef $ac_func
66109 /* Override any gcc2 internal prototype to avoid an error. */
66110 #ifdef __cplusplus
66111 extern "C"
66113 #endif
66114 /* We use char because int might match the return type of a gcc2
66115 builtin and then its argument prototype would still apply. */
66116 char $ac_func ();
66117 /* The GNU C library defines this for functions which it implements
66118 to always fail with ENOSYS. Some functions are actually named
66119 something starting with __ and the normal name is an alias. */
66120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66121 choke me
66122 #else
66123 char (*f) () = $ac_func;
66124 #endif
66125 #ifdef __cplusplus
66127 #endif
66130 main ()
66132 return f != $ac_func;
66134 return 0;
66136 _ACEOF
66137 rm -f conftest.$ac_objext conftest$ac_exeext
66138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66139 (eval $ac_link) 2>conftest.er1
66140 ac_status=$?
66141 grep -v '^ *+' conftest.er1 >conftest.err
66142 rm -f conftest.er1
66143 cat conftest.err >&5
66144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66145 (exit $ac_status); } &&
66146 { ac_try='test -z "$ac_c_werror_flag"
66147 || test ! -s conftest.err'
66148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66149 (eval $ac_try) 2>&5
66150 ac_status=$?
66151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66152 (exit $ac_status); }; } &&
66153 { ac_try='test -s conftest$ac_exeext'
66154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66155 (eval $ac_try) 2>&5
66156 ac_status=$?
66157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66158 (exit $ac_status); }; }; then
66159 eval "$as_ac_var=yes"
66160 else
66161 echo "$as_me: failed program was:" >&5
66162 sed 's/^/| /' conftest.$ac_ext >&5
66164 eval "$as_ac_var=no"
66166 rm -f conftest.err conftest.$ac_objext \
66167 conftest$ac_exeext conftest.$ac_ext
66169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66171 if test `eval echo '${'$as_ac_var'}'` = yes; then
66172 cat >>confdefs.h <<_ACEOF
66173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66174 _ACEOF
66177 done
66187 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66188 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66189 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66190 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66191 echo $ECHO_N "(cached) $ECHO_C" >&6
66192 else
66196 ac_ext=cc
66197 ac_cpp='$CXXCPP $CPPFLAGS'
66198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66202 cat >conftest.$ac_ext <<_ACEOF
66203 /* confdefs.h. */
66204 _ACEOF
66205 cat confdefs.h >>conftest.$ac_ext
66206 cat >>conftest.$ac_ext <<_ACEOF
66207 /* end confdefs.h. */
66208 #include <math.h>
66210 main ()
66212 fmodl(0, 0);
66214 return 0;
66216 _ACEOF
66217 rm -f conftest.$ac_objext
66218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66219 (eval $ac_compile) 2>conftest.er1
66220 ac_status=$?
66221 grep -v '^ *+' conftest.er1 >conftest.err
66222 rm -f conftest.er1
66223 cat conftest.err >&5
66224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66225 (exit $ac_status); } &&
66226 { ac_try='test -z "$ac_cxx_werror_flag"
66227 || test ! -s conftest.err'
66228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66229 (eval $ac_try) 2>&5
66230 ac_status=$?
66231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66232 (exit $ac_status); }; } &&
66233 { ac_try='test -s conftest.$ac_objext'
66234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66235 (eval $ac_try) 2>&5
66236 ac_status=$?
66237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66238 (exit $ac_status); }; }; then
66239 glibcxx_cv_func_fmodl_use=yes
66240 else
66241 echo "$as_me: failed program was:" >&5
66242 sed 's/^/| /' conftest.$ac_ext >&5
66244 glibcxx_cv_func_fmodl_use=no
66246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66247 ac_ext=c
66248 ac_cpp='$CPP $CPPFLAGS'
66249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66258 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66260 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66262 for ac_func in fmodl
66264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66265 echo "$as_me:$LINENO: checking for $ac_func" >&5
66266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66267 if eval "test \"\${$as_ac_var+set}\" = set"; then
66268 echo $ECHO_N "(cached) $ECHO_C" >&6
66269 else
66270 if test x$gcc_no_link = xyes; then
66271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66273 { (exit 1); exit 1; }; }
66275 cat >conftest.$ac_ext <<_ACEOF
66276 /* confdefs.h. */
66277 _ACEOF
66278 cat confdefs.h >>conftest.$ac_ext
66279 cat >>conftest.$ac_ext <<_ACEOF
66280 /* end confdefs.h. */
66281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66283 #define $ac_func innocuous_$ac_func
66285 /* System header to define __stub macros and hopefully few prototypes,
66286 which can conflict with char $ac_func (); below.
66287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66288 <limits.h> exists even on freestanding compilers. */
66290 #ifdef __STDC__
66291 # include <limits.h>
66292 #else
66293 # include <assert.h>
66294 #endif
66296 #undef $ac_func
66298 /* Override any gcc2 internal prototype to avoid an error. */
66299 #ifdef __cplusplus
66300 extern "C"
66302 #endif
66303 /* We use char because int might match the return type of a gcc2
66304 builtin and then its argument prototype would still apply. */
66305 char $ac_func ();
66306 /* The GNU C library defines this for functions which it implements
66307 to always fail with ENOSYS. Some functions are actually named
66308 something starting with __ and the normal name is an alias. */
66309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66310 choke me
66311 #else
66312 char (*f) () = $ac_func;
66313 #endif
66314 #ifdef __cplusplus
66316 #endif
66319 main ()
66321 return f != $ac_func;
66323 return 0;
66325 _ACEOF
66326 rm -f conftest.$ac_objext conftest$ac_exeext
66327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66328 (eval $ac_link) 2>conftest.er1
66329 ac_status=$?
66330 grep -v '^ *+' conftest.er1 >conftest.err
66331 rm -f conftest.er1
66332 cat conftest.err >&5
66333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66334 (exit $ac_status); } &&
66335 { ac_try='test -z "$ac_c_werror_flag"
66336 || test ! -s conftest.err'
66337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66338 (eval $ac_try) 2>&5
66339 ac_status=$?
66340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66341 (exit $ac_status); }; } &&
66342 { ac_try='test -s conftest$ac_exeext'
66343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66344 (eval $ac_try) 2>&5
66345 ac_status=$?
66346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66347 (exit $ac_status); }; }; then
66348 eval "$as_ac_var=yes"
66349 else
66350 echo "$as_me: failed program was:" >&5
66351 sed 's/^/| /' conftest.$ac_ext >&5
66353 eval "$as_ac_var=no"
66355 rm -f conftest.err conftest.$ac_objext \
66356 conftest$ac_exeext conftest.$ac_ext
66358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66360 if test `eval echo '${'$as_ac_var'}'` = yes; then
66361 cat >>confdefs.h <<_ACEOF
66362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66363 _ACEOF
66366 done
66368 else
66370 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66371 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66372 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66373 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66374 echo $ECHO_N "(cached) $ECHO_C" >&6
66375 else
66379 ac_ext=cc
66380 ac_cpp='$CXXCPP $CPPFLAGS'
66381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66385 cat >conftest.$ac_ext <<_ACEOF
66386 /* confdefs.h. */
66387 _ACEOF
66388 cat confdefs.h >>conftest.$ac_ext
66389 cat >>conftest.$ac_ext <<_ACEOF
66390 /* end confdefs.h. */
66391 #include <math.h>
66393 main ()
66395 _fmodl(0, 0);
66397 return 0;
66399 _ACEOF
66400 rm -f conftest.$ac_objext
66401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66402 (eval $ac_compile) 2>conftest.er1
66403 ac_status=$?
66404 grep -v '^ *+' conftest.er1 >conftest.err
66405 rm -f conftest.er1
66406 cat conftest.err >&5
66407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66408 (exit $ac_status); } &&
66409 { ac_try='test -z "$ac_cxx_werror_flag"
66410 || test ! -s conftest.err'
66411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66412 (eval $ac_try) 2>&5
66413 ac_status=$?
66414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66415 (exit $ac_status); }; } &&
66416 { ac_try='test -s conftest.$ac_objext'
66417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66418 (eval $ac_try) 2>&5
66419 ac_status=$?
66420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66421 (exit $ac_status); }; }; then
66422 glibcxx_cv_func__fmodl_use=yes
66423 else
66424 echo "$as_me: failed program was:" >&5
66425 sed 's/^/| /' conftest.$ac_ext >&5
66427 glibcxx_cv_func__fmodl_use=no
66429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66430 ac_ext=c
66431 ac_cpp='$CPP $CPPFLAGS'
66432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66441 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66443 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66445 for ac_func in _fmodl
66447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66448 echo "$as_me:$LINENO: checking for $ac_func" >&5
66449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66450 if eval "test \"\${$as_ac_var+set}\" = set"; then
66451 echo $ECHO_N "(cached) $ECHO_C" >&6
66452 else
66453 if test x$gcc_no_link = xyes; then
66454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66456 { (exit 1); exit 1; }; }
66458 cat >conftest.$ac_ext <<_ACEOF
66459 /* confdefs.h. */
66460 _ACEOF
66461 cat confdefs.h >>conftest.$ac_ext
66462 cat >>conftest.$ac_ext <<_ACEOF
66463 /* end confdefs.h. */
66464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66466 #define $ac_func innocuous_$ac_func
66468 /* System header to define __stub macros and hopefully few prototypes,
66469 which can conflict with char $ac_func (); below.
66470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66471 <limits.h> exists even on freestanding compilers. */
66473 #ifdef __STDC__
66474 # include <limits.h>
66475 #else
66476 # include <assert.h>
66477 #endif
66479 #undef $ac_func
66481 /* Override any gcc2 internal prototype to avoid an error. */
66482 #ifdef __cplusplus
66483 extern "C"
66485 #endif
66486 /* We use char because int might match the return type of a gcc2
66487 builtin and then its argument prototype would still apply. */
66488 char $ac_func ();
66489 /* The GNU C library defines this for functions which it implements
66490 to always fail with ENOSYS. Some functions are actually named
66491 something starting with __ and the normal name is an alias. */
66492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66493 choke me
66494 #else
66495 char (*f) () = $ac_func;
66496 #endif
66497 #ifdef __cplusplus
66499 #endif
66502 main ()
66504 return f != $ac_func;
66506 return 0;
66508 _ACEOF
66509 rm -f conftest.$ac_objext conftest$ac_exeext
66510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66511 (eval $ac_link) 2>conftest.er1
66512 ac_status=$?
66513 grep -v '^ *+' conftest.er1 >conftest.err
66514 rm -f conftest.er1
66515 cat conftest.err >&5
66516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66517 (exit $ac_status); } &&
66518 { ac_try='test -z "$ac_c_werror_flag"
66519 || test ! -s conftest.err'
66520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66521 (eval $ac_try) 2>&5
66522 ac_status=$?
66523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66524 (exit $ac_status); }; } &&
66525 { ac_try='test -s conftest$ac_exeext'
66526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66527 (eval $ac_try) 2>&5
66528 ac_status=$?
66529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66530 (exit $ac_status); }; }; then
66531 eval "$as_ac_var=yes"
66532 else
66533 echo "$as_me: failed program was:" >&5
66534 sed 's/^/| /' conftest.$ac_ext >&5
66536 eval "$as_ac_var=no"
66538 rm -f conftest.err conftest.$ac_objext \
66539 conftest$ac_exeext conftest.$ac_ext
66541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66543 if test `eval echo '${'$as_ac_var'}'` = yes; then
66544 cat >>confdefs.h <<_ACEOF
66545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66546 _ACEOF
66549 done
66559 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66560 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66561 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66562 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66563 echo $ECHO_N "(cached) $ECHO_C" >&6
66564 else
66568 ac_ext=cc
66569 ac_cpp='$CXXCPP $CPPFLAGS'
66570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66574 cat >conftest.$ac_ext <<_ACEOF
66575 /* confdefs.h. */
66576 _ACEOF
66577 cat confdefs.h >>conftest.$ac_ext
66578 cat >>conftest.$ac_ext <<_ACEOF
66579 /* end confdefs.h. */
66580 #include <math.h>
66582 main ()
66584 frexpl(0, 0);
66586 return 0;
66588 _ACEOF
66589 rm -f conftest.$ac_objext
66590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66591 (eval $ac_compile) 2>conftest.er1
66592 ac_status=$?
66593 grep -v '^ *+' conftest.er1 >conftest.err
66594 rm -f conftest.er1
66595 cat conftest.err >&5
66596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66597 (exit $ac_status); } &&
66598 { ac_try='test -z "$ac_cxx_werror_flag"
66599 || test ! -s conftest.err'
66600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66601 (eval $ac_try) 2>&5
66602 ac_status=$?
66603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66604 (exit $ac_status); }; } &&
66605 { ac_try='test -s conftest.$ac_objext'
66606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66607 (eval $ac_try) 2>&5
66608 ac_status=$?
66609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66610 (exit $ac_status); }; }; then
66611 glibcxx_cv_func_frexpl_use=yes
66612 else
66613 echo "$as_me: failed program was:" >&5
66614 sed 's/^/| /' conftest.$ac_ext >&5
66616 glibcxx_cv_func_frexpl_use=no
66618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66619 ac_ext=c
66620 ac_cpp='$CPP $CPPFLAGS'
66621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66630 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66634 for ac_func in frexpl
66636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66637 echo "$as_me:$LINENO: checking for $ac_func" >&5
66638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66639 if eval "test \"\${$as_ac_var+set}\" = set"; then
66640 echo $ECHO_N "(cached) $ECHO_C" >&6
66641 else
66642 if test x$gcc_no_link = xyes; then
66643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66645 { (exit 1); exit 1; }; }
66647 cat >conftest.$ac_ext <<_ACEOF
66648 /* confdefs.h. */
66649 _ACEOF
66650 cat confdefs.h >>conftest.$ac_ext
66651 cat >>conftest.$ac_ext <<_ACEOF
66652 /* end confdefs.h. */
66653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66655 #define $ac_func innocuous_$ac_func
66657 /* System header to define __stub macros and hopefully few prototypes,
66658 which can conflict with char $ac_func (); below.
66659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66660 <limits.h> exists even on freestanding compilers. */
66662 #ifdef __STDC__
66663 # include <limits.h>
66664 #else
66665 # include <assert.h>
66666 #endif
66668 #undef $ac_func
66670 /* Override any gcc2 internal prototype to avoid an error. */
66671 #ifdef __cplusplus
66672 extern "C"
66674 #endif
66675 /* We use char because int might match the return type of a gcc2
66676 builtin and then its argument prototype would still apply. */
66677 char $ac_func ();
66678 /* The GNU C library defines this for functions which it implements
66679 to always fail with ENOSYS. Some functions are actually named
66680 something starting with __ and the normal name is an alias. */
66681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66682 choke me
66683 #else
66684 char (*f) () = $ac_func;
66685 #endif
66686 #ifdef __cplusplus
66688 #endif
66691 main ()
66693 return f != $ac_func;
66695 return 0;
66697 _ACEOF
66698 rm -f conftest.$ac_objext conftest$ac_exeext
66699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66700 (eval $ac_link) 2>conftest.er1
66701 ac_status=$?
66702 grep -v '^ *+' conftest.er1 >conftest.err
66703 rm -f conftest.er1
66704 cat conftest.err >&5
66705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66706 (exit $ac_status); } &&
66707 { ac_try='test -z "$ac_c_werror_flag"
66708 || test ! -s conftest.err'
66709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66710 (eval $ac_try) 2>&5
66711 ac_status=$?
66712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66713 (exit $ac_status); }; } &&
66714 { ac_try='test -s conftest$ac_exeext'
66715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66716 (eval $ac_try) 2>&5
66717 ac_status=$?
66718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66719 (exit $ac_status); }; }; then
66720 eval "$as_ac_var=yes"
66721 else
66722 echo "$as_me: failed program was:" >&5
66723 sed 's/^/| /' conftest.$ac_ext >&5
66725 eval "$as_ac_var=no"
66727 rm -f conftest.err conftest.$ac_objext \
66728 conftest$ac_exeext conftest.$ac_ext
66730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66732 if test `eval echo '${'$as_ac_var'}'` = yes; then
66733 cat >>confdefs.h <<_ACEOF
66734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66735 _ACEOF
66738 done
66740 else
66742 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66743 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66744 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66745 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66746 echo $ECHO_N "(cached) $ECHO_C" >&6
66747 else
66751 ac_ext=cc
66752 ac_cpp='$CXXCPP $CPPFLAGS'
66753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66757 cat >conftest.$ac_ext <<_ACEOF
66758 /* confdefs.h. */
66759 _ACEOF
66760 cat confdefs.h >>conftest.$ac_ext
66761 cat >>conftest.$ac_ext <<_ACEOF
66762 /* end confdefs.h. */
66763 #include <math.h>
66765 main ()
66767 _frexpl(0, 0);
66769 return 0;
66771 _ACEOF
66772 rm -f conftest.$ac_objext
66773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66774 (eval $ac_compile) 2>conftest.er1
66775 ac_status=$?
66776 grep -v '^ *+' conftest.er1 >conftest.err
66777 rm -f conftest.er1
66778 cat conftest.err >&5
66779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66780 (exit $ac_status); } &&
66781 { ac_try='test -z "$ac_cxx_werror_flag"
66782 || test ! -s conftest.err'
66783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66784 (eval $ac_try) 2>&5
66785 ac_status=$?
66786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66787 (exit $ac_status); }; } &&
66788 { ac_try='test -s conftest.$ac_objext'
66789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66790 (eval $ac_try) 2>&5
66791 ac_status=$?
66792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66793 (exit $ac_status); }; }; then
66794 glibcxx_cv_func__frexpl_use=yes
66795 else
66796 echo "$as_me: failed program was:" >&5
66797 sed 's/^/| /' conftest.$ac_ext >&5
66799 glibcxx_cv_func__frexpl_use=no
66801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66802 ac_ext=c
66803 ac_cpp='$CPP $CPPFLAGS'
66804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66813 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66815 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66817 for ac_func in _frexpl
66819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66820 echo "$as_me:$LINENO: checking for $ac_func" >&5
66821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66822 if eval "test \"\${$as_ac_var+set}\" = set"; then
66823 echo $ECHO_N "(cached) $ECHO_C" >&6
66824 else
66825 if test x$gcc_no_link = xyes; then
66826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66828 { (exit 1); exit 1; }; }
66830 cat >conftest.$ac_ext <<_ACEOF
66831 /* confdefs.h. */
66832 _ACEOF
66833 cat confdefs.h >>conftest.$ac_ext
66834 cat >>conftest.$ac_ext <<_ACEOF
66835 /* end confdefs.h. */
66836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66838 #define $ac_func innocuous_$ac_func
66840 /* System header to define __stub macros and hopefully few prototypes,
66841 which can conflict with char $ac_func (); below.
66842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66843 <limits.h> exists even on freestanding compilers. */
66845 #ifdef __STDC__
66846 # include <limits.h>
66847 #else
66848 # include <assert.h>
66849 #endif
66851 #undef $ac_func
66853 /* Override any gcc2 internal prototype to avoid an error. */
66854 #ifdef __cplusplus
66855 extern "C"
66857 #endif
66858 /* We use char because int might match the return type of a gcc2
66859 builtin and then its argument prototype would still apply. */
66860 char $ac_func ();
66861 /* The GNU C library defines this for functions which it implements
66862 to always fail with ENOSYS. Some functions are actually named
66863 something starting with __ and the normal name is an alias. */
66864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66865 choke me
66866 #else
66867 char (*f) () = $ac_func;
66868 #endif
66869 #ifdef __cplusplus
66871 #endif
66874 main ()
66876 return f != $ac_func;
66878 return 0;
66880 _ACEOF
66881 rm -f conftest.$ac_objext conftest$ac_exeext
66882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66883 (eval $ac_link) 2>conftest.er1
66884 ac_status=$?
66885 grep -v '^ *+' conftest.er1 >conftest.err
66886 rm -f conftest.er1
66887 cat conftest.err >&5
66888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66889 (exit $ac_status); } &&
66890 { ac_try='test -z "$ac_c_werror_flag"
66891 || test ! -s conftest.err'
66892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66893 (eval $ac_try) 2>&5
66894 ac_status=$?
66895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66896 (exit $ac_status); }; } &&
66897 { ac_try='test -s conftest$ac_exeext'
66898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66899 (eval $ac_try) 2>&5
66900 ac_status=$?
66901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66902 (exit $ac_status); }; }; then
66903 eval "$as_ac_var=yes"
66904 else
66905 echo "$as_me: failed program was:" >&5
66906 sed 's/^/| /' conftest.$ac_ext >&5
66908 eval "$as_ac_var=no"
66910 rm -f conftest.err conftest.$ac_objext \
66911 conftest$ac_exeext conftest.$ac_ext
66913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66915 if test `eval echo '${'$as_ac_var'}'` = yes; then
66916 cat >>confdefs.h <<_ACEOF
66917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66918 _ACEOF
66921 done
66931 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66932 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66933 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66934 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66935 echo $ECHO_N "(cached) $ECHO_C" >&6
66936 else
66940 ac_ext=cc
66941 ac_cpp='$CXXCPP $CPPFLAGS'
66942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66946 cat >conftest.$ac_ext <<_ACEOF
66947 /* confdefs.h. */
66948 _ACEOF
66949 cat confdefs.h >>conftest.$ac_ext
66950 cat >>conftest.$ac_ext <<_ACEOF
66951 /* end confdefs.h. */
66952 #include <math.h>
66954 main ()
66956 hypotl(0, 0);
66958 return 0;
66960 _ACEOF
66961 rm -f conftest.$ac_objext
66962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66963 (eval $ac_compile) 2>conftest.er1
66964 ac_status=$?
66965 grep -v '^ *+' conftest.er1 >conftest.err
66966 rm -f conftest.er1
66967 cat conftest.err >&5
66968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66969 (exit $ac_status); } &&
66970 { ac_try='test -z "$ac_cxx_werror_flag"
66971 || test ! -s conftest.err'
66972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66973 (eval $ac_try) 2>&5
66974 ac_status=$?
66975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66976 (exit $ac_status); }; } &&
66977 { ac_try='test -s conftest.$ac_objext'
66978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66979 (eval $ac_try) 2>&5
66980 ac_status=$?
66981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66982 (exit $ac_status); }; }; then
66983 glibcxx_cv_func_hypotl_use=yes
66984 else
66985 echo "$as_me: failed program was:" >&5
66986 sed 's/^/| /' conftest.$ac_ext >&5
66988 glibcxx_cv_func_hypotl_use=no
66990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66991 ac_ext=c
66992 ac_cpp='$CPP $CPPFLAGS'
66993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67002 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67004 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67006 for ac_func in hypotl
67008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67009 echo "$as_me:$LINENO: checking for $ac_func" >&5
67010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67011 if eval "test \"\${$as_ac_var+set}\" = set"; then
67012 echo $ECHO_N "(cached) $ECHO_C" >&6
67013 else
67014 if test x$gcc_no_link = xyes; then
67015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67017 { (exit 1); exit 1; }; }
67019 cat >conftest.$ac_ext <<_ACEOF
67020 /* confdefs.h. */
67021 _ACEOF
67022 cat confdefs.h >>conftest.$ac_ext
67023 cat >>conftest.$ac_ext <<_ACEOF
67024 /* end confdefs.h. */
67025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67027 #define $ac_func innocuous_$ac_func
67029 /* System header to define __stub macros and hopefully few prototypes,
67030 which can conflict with char $ac_func (); below.
67031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67032 <limits.h> exists even on freestanding compilers. */
67034 #ifdef __STDC__
67035 # include <limits.h>
67036 #else
67037 # include <assert.h>
67038 #endif
67040 #undef $ac_func
67042 /* Override any gcc2 internal prototype to avoid an error. */
67043 #ifdef __cplusplus
67044 extern "C"
67046 #endif
67047 /* We use char because int might match the return type of a gcc2
67048 builtin and then its argument prototype would still apply. */
67049 char $ac_func ();
67050 /* The GNU C library defines this for functions which it implements
67051 to always fail with ENOSYS. Some functions are actually named
67052 something starting with __ and the normal name is an alias. */
67053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67054 choke me
67055 #else
67056 char (*f) () = $ac_func;
67057 #endif
67058 #ifdef __cplusplus
67060 #endif
67063 main ()
67065 return f != $ac_func;
67067 return 0;
67069 _ACEOF
67070 rm -f conftest.$ac_objext conftest$ac_exeext
67071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67072 (eval $ac_link) 2>conftest.er1
67073 ac_status=$?
67074 grep -v '^ *+' conftest.er1 >conftest.err
67075 rm -f conftest.er1
67076 cat conftest.err >&5
67077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67078 (exit $ac_status); } &&
67079 { ac_try='test -z "$ac_c_werror_flag"
67080 || test ! -s conftest.err'
67081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67082 (eval $ac_try) 2>&5
67083 ac_status=$?
67084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67085 (exit $ac_status); }; } &&
67086 { ac_try='test -s conftest$ac_exeext'
67087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67088 (eval $ac_try) 2>&5
67089 ac_status=$?
67090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67091 (exit $ac_status); }; }; then
67092 eval "$as_ac_var=yes"
67093 else
67094 echo "$as_me: failed program was:" >&5
67095 sed 's/^/| /' conftest.$ac_ext >&5
67097 eval "$as_ac_var=no"
67099 rm -f conftest.err conftest.$ac_objext \
67100 conftest$ac_exeext conftest.$ac_ext
67102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67104 if test `eval echo '${'$as_ac_var'}'` = yes; then
67105 cat >>confdefs.h <<_ACEOF
67106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67107 _ACEOF
67110 done
67112 else
67114 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67115 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67116 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67117 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67118 echo $ECHO_N "(cached) $ECHO_C" >&6
67119 else
67123 ac_ext=cc
67124 ac_cpp='$CXXCPP $CPPFLAGS'
67125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67129 cat >conftest.$ac_ext <<_ACEOF
67130 /* confdefs.h. */
67131 _ACEOF
67132 cat confdefs.h >>conftest.$ac_ext
67133 cat >>conftest.$ac_ext <<_ACEOF
67134 /* end confdefs.h. */
67135 #include <math.h>
67137 main ()
67139 _hypotl(0, 0);
67141 return 0;
67143 _ACEOF
67144 rm -f conftest.$ac_objext
67145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67146 (eval $ac_compile) 2>conftest.er1
67147 ac_status=$?
67148 grep -v '^ *+' conftest.er1 >conftest.err
67149 rm -f conftest.er1
67150 cat conftest.err >&5
67151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67152 (exit $ac_status); } &&
67153 { ac_try='test -z "$ac_cxx_werror_flag"
67154 || test ! -s conftest.err'
67155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67156 (eval $ac_try) 2>&5
67157 ac_status=$?
67158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67159 (exit $ac_status); }; } &&
67160 { ac_try='test -s conftest.$ac_objext'
67161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67162 (eval $ac_try) 2>&5
67163 ac_status=$?
67164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67165 (exit $ac_status); }; }; then
67166 glibcxx_cv_func__hypotl_use=yes
67167 else
67168 echo "$as_me: failed program was:" >&5
67169 sed 's/^/| /' conftest.$ac_ext >&5
67171 glibcxx_cv_func__hypotl_use=no
67173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67174 ac_ext=c
67175 ac_cpp='$CPP $CPPFLAGS'
67176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67185 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67187 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67189 for ac_func in _hypotl
67191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67192 echo "$as_me:$LINENO: checking for $ac_func" >&5
67193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67194 if eval "test \"\${$as_ac_var+set}\" = set"; then
67195 echo $ECHO_N "(cached) $ECHO_C" >&6
67196 else
67197 if test x$gcc_no_link = xyes; then
67198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67200 { (exit 1); exit 1; }; }
67202 cat >conftest.$ac_ext <<_ACEOF
67203 /* confdefs.h. */
67204 _ACEOF
67205 cat confdefs.h >>conftest.$ac_ext
67206 cat >>conftest.$ac_ext <<_ACEOF
67207 /* end confdefs.h. */
67208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67210 #define $ac_func innocuous_$ac_func
67212 /* System header to define __stub macros and hopefully few prototypes,
67213 which can conflict with char $ac_func (); below.
67214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67215 <limits.h> exists even on freestanding compilers. */
67217 #ifdef __STDC__
67218 # include <limits.h>
67219 #else
67220 # include <assert.h>
67221 #endif
67223 #undef $ac_func
67225 /* Override any gcc2 internal prototype to avoid an error. */
67226 #ifdef __cplusplus
67227 extern "C"
67229 #endif
67230 /* We use char because int might match the return type of a gcc2
67231 builtin and then its argument prototype would still apply. */
67232 char $ac_func ();
67233 /* The GNU C library defines this for functions which it implements
67234 to always fail with ENOSYS. Some functions are actually named
67235 something starting with __ and the normal name is an alias. */
67236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67237 choke me
67238 #else
67239 char (*f) () = $ac_func;
67240 #endif
67241 #ifdef __cplusplus
67243 #endif
67246 main ()
67248 return f != $ac_func;
67250 return 0;
67252 _ACEOF
67253 rm -f conftest.$ac_objext conftest$ac_exeext
67254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67255 (eval $ac_link) 2>conftest.er1
67256 ac_status=$?
67257 grep -v '^ *+' conftest.er1 >conftest.err
67258 rm -f conftest.er1
67259 cat conftest.err >&5
67260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67261 (exit $ac_status); } &&
67262 { ac_try='test -z "$ac_c_werror_flag"
67263 || test ! -s conftest.err'
67264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67265 (eval $ac_try) 2>&5
67266 ac_status=$?
67267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67268 (exit $ac_status); }; } &&
67269 { ac_try='test -s conftest$ac_exeext'
67270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67271 (eval $ac_try) 2>&5
67272 ac_status=$?
67273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67274 (exit $ac_status); }; }; then
67275 eval "$as_ac_var=yes"
67276 else
67277 echo "$as_me: failed program was:" >&5
67278 sed 's/^/| /' conftest.$ac_ext >&5
67280 eval "$as_ac_var=no"
67282 rm -f conftest.err conftest.$ac_objext \
67283 conftest$ac_exeext conftest.$ac_ext
67285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67287 if test `eval echo '${'$as_ac_var'}'` = yes; then
67288 cat >>confdefs.h <<_ACEOF
67289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67290 _ACEOF
67293 done
67303 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67304 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67305 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67306 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67307 echo $ECHO_N "(cached) $ECHO_C" >&6
67308 else
67312 ac_ext=cc
67313 ac_cpp='$CXXCPP $CPPFLAGS'
67314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67318 cat >conftest.$ac_ext <<_ACEOF
67319 /* confdefs.h. */
67320 _ACEOF
67321 cat confdefs.h >>conftest.$ac_ext
67322 cat >>conftest.$ac_ext <<_ACEOF
67323 /* end confdefs.h. */
67324 #include <math.h>
67326 main ()
67328 ldexpl(0, 0);
67330 return 0;
67332 _ACEOF
67333 rm -f conftest.$ac_objext
67334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67335 (eval $ac_compile) 2>conftest.er1
67336 ac_status=$?
67337 grep -v '^ *+' conftest.er1 >conftest.err
67338 rm -f conftest.er1
67339 cat conftest.err >&5
67340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67341 (exit $ac_status); } &&
67342 { ac_try='test -z "$ac_cxx_werror_flag"
67343 || test ! -s conftest.err'
67344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67345 (eval $ac_try) 2>&5
67346 ac_status=$?
67347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67348 (exit $ac_status); }; } &&
67349 { ac_try='test -s conftest.$ac_objext'
67350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67351 (eval $ac_try) 2>&5
67352 ac_status=$?
67353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67354 (exit $ac_status); }; }; then
67355 glibcxx_cv_func_ldexpl_use=yes
67356 else
67357 echo "$as_me: failed program was:" >&5
67358 sed 's/^/| /' conftest.$ac_ext >&5
67360 glibcxx_cv_func_ldexpl_use=no
67362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67363 ac_ext=c
67364 ac_cpp='$CPP $CPPFLAGS'
67365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67374 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67376 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67378 for ac_func in ldexpl
67380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67381 echo "$as_me:$LINENO: checking for $ac_func" >&5
67382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67383 if eval "test \"\${$as_ac_var+set}\" = set"; then
67384 echo $ECHO_N "(cached) $ECHO_C" >&6
67385 else
67386 if test x$gcc_no_link = xyes; then
67387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67389 { (exit 1); exit 1; }; }
67391 cat >conftest.$ac_ext <<_ACEOF
67392 /* confdefs.h. */
67393 _ACEOF
67394 cat confdefs.h >>conftest.$ac_ext
67395 cat >>conftest.$ac_ext <<_ACEOF
67396 /* end confdefs.h. */
67397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67399 #define $ac_func innocuous_$ac_func
67401 /* System header to define __stub macros and hopefully few prototypes,
67402 which can conflict with char $ac_func (); below.
67403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67404 <limits.h> exists even on freestanding compilers. */
67406 #ifdef __STDC__
67407 # include <limits.h>
67408 #else
67409 # include <assert.h>
67410 #endif
67412 #undef $ac_func
67414 /* Override any gcc2 internal prototype to avoid an error. */
67415 #ifdef __cplusplus
67416 extern "C"
67418 #endif
67419 /* We use char because int might match the return type of a gcc2
67420 builtin and then its argument prototype would still apply. */
67421 char $ac_func ();
67422 /* The GNU C library defines this for functions which it implements
67423 to always fail with ENOSYS. Some functions are actually named
67424 something starting with __ and the normal name is an alias. */
67425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67426 choke me
67427 #else
67428 char (*f) () = $ac_func;
67429 #endif
67430 #ifdef __cplusplus
67432 #endif
67435 main ()
67437 return f != $ac_func;
67439 return 0;
67441 _ACEOF
67442 rm -f conftest.$ac_objext conftest$ac_exeext
67443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67444 (eval $ac_link) 2>conftest.er1
67445 ac_status=$?
67446 grep -v '^ *+' conftest.er1 >conftest.err
67447 rm -f conftest.er1
67448 cat conftest.err >&5
67449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67450 (exit $ac_status); } &&
67451 { ac_try='test -z "$ac_c_werror_flag"
67452 || test ! -s conftest.err'
67453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67454 (eval $ac_try) 2>&5
67455 ac_status=$?
67456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67457 (exit $ac_status); }; } &&
67458 { ac_try='test -s conftest$ac_exeext'
67459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67460 (eval $ac_try) 2>&5
67461 ac_status=$?
67462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67463 (exit $ac_status); }; }; then
67464 eval "$as_ac_var=yes"
67465 else
67466 echo "$as_me: failed program was:" >&5
67467 sed 's/^/| /' conftest.$ac_ext >&5
67469 eval "$as_ac_var=no"
67471 rm -f conftest.err conftest.$ac_objext \
67472 conftest$ac_exeext conftest.$ac_ext
67474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67476 if test `eval echo '${'$as_ac_var'}'` = yes; then
67477 cat >>confdefs.h <<_ACEOF
67478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67479 _ACEOF
67482 done
67484 else
67486 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67487 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67488 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67489 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67490 echo $ECHO_N "(cached) $ECHO_C" >&6
67491 else
67495 ac_ext=cc
67496 ac_cpp='$CXXCPP $CPPFLAGS'
67497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67501 cat >conftest.$ac_ext <<_ACEOF
67502 /* confdefs.h. */
67503 _ACEOF
67504 cat confdefs.h >>conftest.$ac_ext
67505 cat >>conftest.$ac_ext <<_ACEOF
67506 /* end confdefs.h. */
67507 #include <math.h>
67509 main ()
67511 _ldexpl(0, 0);
67513 return 0;
67515 _ACEOF
67516 rm -f conftest.$ac_objext
67517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67518 (eval $ac_compile) 2>conftest.er1
67519 ac_status=$?
67520 grep -v '^ *+' conftest.er1 >conftest.err
67521 rm -f conftest.er1
67522 cat conftest.err >&5
67523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67524 (exit $ac_status); } &&
67525 { ac_try='test -z "$ac_cxx_werror_flag"
67526 || test ! -s conftest.err'
67527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67528 (eval $ac_try) 2>&5
67529 ac_status=$?
67530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67531 (exit $ac_status); }; } &&
67532 { ac_try='test -s conftest.$ac_objext'
67533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67534 (eval $ac_try) 2>&5
67535 ac_status=$?
67536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67537 (exit $ac_status); }; }; then
67538 glibcxx_cv_func__ldexpl_use=yes
67539 else
67540 echo "$as_me: failed program was:" >&5
67541 sed 's/^/| /' conftest.$ac_ext >&5
67543 glibcxx_cv_func__ldexpl_use=no
67545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67546 ac_ext=c
67547 ac_cpp='$CPP $CPPFLAGS'
67548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67557 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67559 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67561 for ac_func in _ldexpl
67563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67564 echo "$as_me:$LINENO: checking for $ac_func" >&5
67565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67566 if eval "test \"\${$as_ac_var+set}\" = set"; then
67567 echo $ECHO_N "(cached) $ECHO_C" >&6
67568 else
67569 if test x$gcc_no_link = xyes; then
67570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67572 { (exit 1); exit 1; }; }
67574 cat >conftest.$ac_ext <<_ACEOF
67575 /* confdefs.h. */
67576 _ACEOF
67577 cat confdefs.h >>conftest.$ac_ext
67578 cat >>conftest.$ac_ext <<_ACEOF
67579 /* end confdefs.h. */
67580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67582 #define $ac_func innocuous_$ac_func
67584 /* System header to define __stub macros and hopefully few prototypes,
67585 which can conflict with char $ac_func (); below.
67586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67587 <limits.h> exists even on freestanding compilers. */
67589 #ifdef __STDC__
67590 # include <limits.h>
67591 #else
67592 # include <assert.h>
67593 #endif
67595 #undef $ac_func
67597 /* Override any gcc2 internal prototype to avoid an error. */
67598 #ifdef __cplusplus
67599 extern "C"
67601 #endif
67602 /* We use char because int might match the return type of a gcc2
67603 builtin and then its argument prototype would still apply. */
67604 char $ac_func ();
67605 /* The GNU C library defines this for functions which it implements
67606 to always fail with ENOSYS. Some functions are actually named
67607 something starting with __ and the normal name is an alias. */
67608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67609 choke me
67610 #else
67611 char (*f) () = $ac_func;
67612 #endif
67613 #ifdef __cplusplus
67615 #endif
67618 main ()
67620 return f != $ac_func;
67622 return 0;
67624 _ACEOF
67625 rm -f conftest.$ac_objext conftest$ac_exeext
67626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67627 (eval $ac_link) 2>conftest.er1
67628 ac_status=$?
67629 grep -v '^ *+' conftest.er1 >conftest.err
67630 rm -f conftest.er1
67631 cat conftest.err >&5
67632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67633 (exit $ac_status); } &&
67634 { ac_try='test -z "$ac_c_werror_flag"
67635 || test ! -s conftest.err'
67636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67637 (eval $ac_try) 2>&5
67638 ac_status=$?
67639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67640 (exit $ac_status); }; } &&
67641 { ac_try='test -s conftest$ac_exeext'
67642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67643 (eval $ac_try) 2>&5
67644 ac_status=$?
67645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67646 (exit $ac_status); }; }; then
67647 eval "$as_ac_var=yes"
67648 else
67649 echo "$as_me: failed program was:" >&5
67650 sed 's/^/| /' conftest.$ac_ext >&5
67652 eval "$as_ac_var=no"
67654 rm -f conftest.err conftest.$ac_objext \
67655 conftest$ac_exeext conftest.$ac_ext
67657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67659 if test `eval echo '${'$as_ac_var'}'` = yes; then
67660 cat >>confdefs.h <<_ACEOF
67661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67662 _ACEOF
67665 done
67675 echo "$as_me:$LINENO: checking for logl declaration" >&5
67676 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67677 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67678 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67679 echo $ECHO_N "(cached) $ECHO_C" >&6
67680 else
67684 ac_ext=cc
67685 ac_cpp='$CXXCPP $CPPFLAGS'
67686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67690 cat >conftest.$ac_ext <<_ACEOF
67691 /* confdefs.h. */
67692 _ACEOF
67693 cat confdefs.h >>conftest.$ac_ext
67694 cat >>conftest.$ac_ext <<_ACEOF
67695 /* end confdefs.h. */
67696 #include <math.h>
67697 #ifdef HAVE_IEEEFP_H
67698 #include <ieeefp.h>
67699 #endif
67702 main ()
67704 logl(0);
67706 return 0;
67708 _ACEOF
67709 rm -f conftest.$ac_objext
67710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67711 (eval $ac_compile) 2>conftest.er1
67712 ac_status=$?
67713 grep -v '^ *+' conftest.er1 >conftest.err
67714 rm -f conftest.er1
67715 cat conftest.err >&5
67716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717 (exit $ac_status); } &&
67718 { ac_try='test -z "$ac_cxx_werror_flag"
67719 || test ! -s conftest.err'
67720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67721 (eval $ac_try) 2>&5
67722 ac_status=$?
67723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67724 (exit $ac_status); }; } &&
67725 { ac_try='test -s conftest.$ac_objext'
67726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67727 (eval $ac_try) 2>&5
67728 ac_status=$?
67729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67730 (exit $ac_status); }; }; then
67731 glibcxx_cv_func_logl_use=yes
67732 else
67733 echo "$as_me: failed program was:" >&5
67734 sed 's/^/| /' conftest.$ac_ext >&5
67736 glibcxx_cv_func_logl_use=no
67738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67739 ac_ext=c
67740 ac_cpp='$CPP $CPPFLAGS'
67741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67750 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67752 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67754 for ac_func in logl
67756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67757 echo "$as_me:$LINENO: checking for $ac_func" >&5
67758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67759 if eval "test \"\${$as_ac_var+set}\" = set"; then
67760 echo $ECHO_N "(cached) $ECHO_C" >&6
67761 else
67762 if test x$gcc_no_link = xyes; then
67763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67765 { (exit 1); exit 1; }; }
67767 cat >conftest.$ac_ext <<_ACEOF
67768 /* confdefs.h. */
67769 _ACEOF
67770 cat confdefs.h >>conftest.$ac_ext
67771 cat >>conftest.$ac_ext <<_ACEOF
67772 /* end confdefs.h. */
67773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67775 #define $ac_func innocuous_$ac_func
67777 /* System header to define __stub macros and hopefully few prototypes,
67778 which can conflict with char $ac_func (); below.
67779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67780 <limits.h> exists even on freestanding compilers. */
67782 #ifdef __STDC__
67783 # include <limits.h>
67784 #else
67785 # include <assert.h>
67786 #endif
67788 #undef $ac_func
67790 /* Override any gcc2 internal prototype to avoid an error. */
67791 #ifdef __cplusplus
67792 extern "C"
67794 #endif
67795 /* We use char because int might match the return type of a gcc2
67796 builtin and then its argument prototype would still apply. */
67797 char $ac_func ();
67798 /* The GNU C library defines this for functions which it implements
67799 to always fail with ENOSYS. Some functions are actually named
67800 something starting with __ and the normal name is an alias. */
67801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67802 choke me
67803 #else
67804 char (*f) () = $ac_func;
67805 #endif
67806 #ifdef __cplusplus
67808 #endif
67811 main ()
67813 return f != $ac_func;
67815 return 0;
67817 _ACEOF
67818 rm -f conftest.$ac_objext conftest$ac_exeext
67819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67820 (eval $ac_link) 2>conftest.er1
67821 ac_status=$?
67822 grep -v '^ *+' conftest.er1 >conftest.err
67823 rm -f conftest.er1
67824 cat conftest.err >&5
67825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826 (exit $ac_status); } &&
67827 { ac_try='test -z "$ac_c_werror_flag"
67828 || test ! -s conftest.err'
67829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67830 (eval $ac_try) 2>&5
67831 ac_status=$?
67832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67833 (exit $ac_status); }; } &&
67834 { ac_try='test -s conftest$ac_exeext'
67835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67836 (eval $ac_try) 2>&5
67837 ac_status=$?
67838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67839 (exit $ac_status); }; }; then
67840 eval "$as_ac_var=yes"
67841 else
67842 echo "$as_me: failed program was:" >&5
67843 sed 's/^/| /' conftest.$ac_ext >&5
67845 eval "$as_ac_var=no"
67847 rm -f conftest.err conftest.$ac_objext \
67848 conftest$ac_exeext conftest.$ac_ext
67850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67852 if test `eval echo '${'$as_ac_var'}'` = yes; then
67853 cat >>confdefs.h <<_ACEOF
67854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67855 _ACEOF
67858 done
67860 else
67862 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67863 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67864 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67865 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67866 echo $ECHO_N "(cached) $ECHO_C" >&6
67867 else
67871 ac_ext=cc
67872 ac_cpp='$CXXCPP $CPPFLAGS'
67873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67877 cat >conftest.$ac_ext <<_ACEOF
67878 /* confdefs.h. */
67879 _ACEOF
67880 cat confdefs.h >>conftest.$ac_ext
67881 cat >>conftest.$ac_ext <<_ACEOF
67882 /* end confdefs.h. */
67883 #include <math.h>
67884 #ifdef HAVE_IEEEFP_H
67885 #include <ieeefp.h>
67886 #endif
67889 main ()
67891 _logl(0);
67893 return 0;
67895 _ACEOF
67896 rm -f conftest.$ac_objext
67897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67898 (eval $ac_compile) 2>conftest.er1
67899 ac_status=$?
67900 grep -v '^ *+' conftest.er1 >conftest.err
67901 rm -f conftest.er1
67902 cat conftest.err >&5
67903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67904 (exit $ac_status); } &&
67905 { ac_try='test -z "$ac_cxx_werror_flag"
67906 || test ! -s conftest.err'
67907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67908 (eval $ac_try) 2>&5
67909 ac_status=$?
67910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67911 (exit $ac_status); }; } &&
67912 { ac_try='test -s conftest.$ac_objext'
67913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67914 (eval $ac_try) 2>&5
67915 ac_status=$?
67916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67917 (exit $ac_status); }; }; then
67918 glibcxx_cv_func__logl_use=yes
67919 else
67920 echo "$as_me: failed program was:" >&5
67921 sed 's/^/| /' conftest.$ac_ext >&5
67923 glibcxx_cv_func__logl_use=no
67925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67926 ac_ext=c
67927 ac_cpp='$CPP $CPPFLAGS'
67928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67937 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67939 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67941 for ac_func in _logl
67943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67944 echo "$as_me:$LINENO: checking for $ac_func" >&5
67945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67946 if eval "test \"\${$as_ac_var+set}\" = set"; then
67947 echo $ECHO_N "(cached) $ECHO_C" >&6
67948 else
67949 if test x$gcc_no_link = xyes; then
67950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67952 { (exit 1); exit 1; }; }
67954 cat >conftest.$ac_ext <<_ACEOF
67955 /* confdefs.h. */
67956 _ACEOF
67957 cat confdefs.h >>conftest.$ac_ext
67958 cat >>conftest.$ac_ext <<_ACEOF
67959 /* end confdefs.h. */
67960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67962 #define $ac_func innocuous_$ac_func
67964 /* System header to define __stub macros and hopefully few prototypes,
67965 which can conflict with char $ac_func (); below.
67966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67967 <limits.h> exists even on freestanding compilers. */
67969 #ifdef __STDC__
67970 # include <limits.h>
67971 #else
67972 # include <assert.h>
67973 #endif
67975 #undef $ac_func
67977 /* Override any gcc2 internal prototype to avoid an error. */
67978 #ifdef __cplusplus
67979 extern "C"
67981 #endif
67982 /* We use char because int might match the return type of a gcc2
67983 builtin and then its argument prototype would still apply. */
67984 char $ac_func ();
67985 /* The GNU C library defines this for functions which it implements
67986 to always fail with ENOSYS. Some functions are actually named
67987 something starting with __ and the normal name is an alias. */
67988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67989 choke me
67990 #else
67991 char (*f) () = $ac_func;
67992 #endif
67993 #ifdef __cplusplus
67995 #endif
67998 main ()
68000 return f != $ac_func;
68002 return 0;
68004 _ACEOF
68005 rm -f conftest.$ac_objext conftest$ac_exeext
68006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68007 (eval $ac_link) 2>conftest.er1
68008 ac_status=$?
68009 grep -v '^ *+' conftest.er1 >conftest.err
68010 rm -f conftest.er1
68011 cat conftest.err >&5
68012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68013 (exit $ac_status); } &&
68014 { ac_try='test -z "$ac_c_werror_flag"
68015 || test ! -s conftest.err'
68016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68017 (eval $ac_try) 2>&5
68018 ac_status=$?
68019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68020 (exit $ac_status); }; } &&
68021 { ac_try='test -s conftest$ac_exeext'
68022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68023 (eval $ac_try) 2>&5
68024 ac_status=$?
68025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68026 (exit $ac_status); }; }; then
68027 eval "$as_ac_var=yes"
68028 else
68029 echo "$as_me: failed program was:" >&5
68030 sed 's/^/| /' conftest.$ac_ext >&5
68032 eval "$as_ac_var=no"
68034 rm -f conftest.err conftest.$ac_objext \
68035 conftest$ac_exeext conftest.$ac_ext
68037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68039 if test `eval echo '${'$as_ac_var'}'` = yes; then
68040 cat >>confdefs.h <<_ACEOF
68041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68042 _ACEOF
68045 done
68055 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68056 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68057 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68058 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68059 echo $ECHO_N "(cached) $ECHO_C" >&6
68060 else
68064 ac_ext=cc
68065 ac_cpp='$CXXCPP $CPPFLAGS'
68066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68070 cat >conftest.$ac_ext <<_ACEOF
68071 /* confdefs.h. */
68072 _ACEOF
68073 cat confdefs.h >>conftest.$ac_ext
68074 cat >>conftest.$ac_ext <<_ACEOF
68075 /* end confdefs.h. */
68076 #include <math.h>
68077 #ifdef HAVE_IEEEFP_H
68078 #include <ieeefp.h>
68079 #endif
68082 main ()
68084 log10l(0);
68086 return 0;
68088 _ACEOF
68089 rm -f conftest.$ac_objext
68090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68091 (eval $ac_compile) 2>conftest.er1
68092 ac_status=$?
68093 grep -v '^ *+' conftest.er1 >conftest.err
68094 rm -f conftest.er1
68095 cat conftest.err >&5
68096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68097 (exit $ac_status); } &&
68098 { ac_try='test -z "$ac_cxx_werror_flag"
68099 || test ! -s conftest.err'
68100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68101 (eval $ac_try) 2>&5
68102 ac_status=$?
68103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68104 (exit $ac_status); }; } &&
68105 { ac_try='test -s conftest.$ac_objext'
68106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68107 (eval $ac_try) 2>&5
68108 ac_status=$?
68109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68110 (exit $ac_status); }; }; then
68111 glibcxx_cv_func_log10l_use=yes
68112 else
68113 echo "$as_me: failed program was:" >&5
68114 sed 's/^/| /' conftest.$ac_ext >&5
68116 glibcxx_cv_func_log10l_use=no
68118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68119 ac_ext=c
68120 ac_cpp='$CPP $CPPFLAGS'
68121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68130 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68132 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68134 for ac_func in log10l
68136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68137 echo "$as_me:$LINENO: checking for $ac_func" >&5
68138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68139 if eval "test \"\${$as_ac_var+set}\" = set"; then
68140 echo $ECHO_N "(cached) $ECHO_C" >&6
68141 else
68142 if test x$gcc_no_link = xyes; then
68143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68145 { (exit 1); exit 1; }; }
68147 cat >conftest.$ac_ext <<_ACEOF
68148 /* confdefs.h. */
68149 _ACEOF
68150 cat confdefs.h >>conftest.$ac_ext
68151 cat >>conftest.$ac_ext <<_ACEOF
68152 /* end confdefs.h. */
68153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68155 #define $ac_func innocuous_$ac_func
68157 /* System header to define __stub macros and hopefully few prototypes,
68158 which can conflict with char $ac_func (); below.
68159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68160 <limits.h> exists even on freestanding compilers. */
68162 #ifdef __STDC__
68163 # include <limits.h>
68164 #else
68165 # include <assert.h>
68166 #endif
68168 #undef $ac_func
68170 /* Override any gcc2 internal prototype to avoid an error. */
68171 #ifdef __cplusplus
68172 extern "C"
68174 #endif
68175 /* We use char because int might match the return type of a gcc2
68176 builtin and then its argument prototype would still apply. */
68177 char $ac_func ();
68178 /* The GNU C library defines this for functions which it implements
68179 to always fail with ENOSYS. Some functions are actually named
68180 something starting with __ and the normal name is an alias. */
68181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68182 choke me
68183 #else
68184 char (*f) () = $ac_func;
68185 #endif
68186 #ifdef __cplusplus
68188 #endif
68191 main ()
68193 return f != $ac_func;
68195 return 0;
68197 _ACEOF
68198 rm -f conftest.$ac_objext conftest$ac_exeext
68199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68200 (eval $ac_link) 2>conftest.er1
68201 ac_status=$?
68202 grep -v '^ *+' conftest.er1 >conftest.err
68203 rm -f conftest.er1
68204 cat conftest.err >&5
68205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68206 (exit $ac_status); } &&
68207 { ac_try='test -z "$ac_c_werror_flag"
68208 || test ! -s conftest.err'
68209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68210 (eval $ac_try) 2>&5
68211 ac_status=$?
68212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68213 (exit $ac_status); }; } &&
68214 { ac_try='test -s conftest$ac_exeext'
68215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68216 (eval $ac_try) 2>&5
68217 ac_status=$?
68218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68219 (exit $ac_status); }; }; then
68220 eval "$as_ac_var=yes"
68221 else
68222 echo "$as_me: failed program was:" >&5
68223 sed 's/^/| /' conftest.$ac_ext >&5
68225 eval "$as_ac_var=no"
68227 rm -f conftest.err conftest.$ac_objext \
68228 conftest$ac_exeext conftest.$ac_ext
68230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68232 if test `eval echo '${'$as_ac_var'}'` = yes; then
68233 cat >>confdefs.h <<_ACEOF
68234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68235 _ACEOF
68238 done
68240 else
68242 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68243 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68244 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68245 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68246 echo $ECHO_N "(cached) $ECHO_C" >&6
68247 else
68251 ac_ext=cc
68252 ac_cpp='$CXXCPP $CPPFLAGS'
68253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68257 cat >conftest.$ac_ext <<_ACEOF
68258 /* confdefs.h. */
68259 _ACEOF
68260 cat confdefs.h >>conftest.$ac_ext
68261 cat >>conftest.$ac_ext <<_ACEOF
68262 /* end confdefs.h. */
68263 #include <math.h>
68264 #ifdef HAVE_IEEEFP_H
68265 #include <ieeefp.h>
68266 #endif
68269 main ()
68271 _log10l(0);
68273 return 0;
68275 _ACEOF
68276 rm -f conftest.$ac_objext
68277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68278 (eval $ac_compile) 2>conftest.er1
68279 ac_status=$?
68280 grep -v '^ *+' conftest.er1 >conftest.err
68281 rm -f conftest.er1
68282 cat conftest.err >&5
68283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68284 (exit $ac_status); } &&
68285 { ac_try='test -z "$ac_cxx_werror_flag"
68286 || test ! -s conftest.err'
68287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68288 (eval $ac_try) 2>&5
68289 ac_status=$?
68290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68291 (exit $ac_status); }; } &&
68292 { ac_try='test -s conftest.$ac_objext'
68293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68294 (eval $ac_try) 2>&5
68295 ac_status=$?
68296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68297 (exit $ac_status); }; }; then
68298 glibcxx_cv_func__log10l_use=yes
68299 else
68300 echo "$as_me: failed program was:" >&5
68301 sed 's/^/| /' conftest.$ac_ext >&5
68303 glibcxx_cv_func__log10l_use=no
68305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68306 ac_ext=c
68307 ac_cpp='$CPP $CPPFLAGS'
68308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68317 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68319 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68321 for ac_func in _log10l
68323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68324 echo "$as_me:$LINENO: checking for $ac_func" >&5
68325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68326 if eval "test \"\${$as_ac_var+set}\" = set"; then
68327 echo $ECHO_N "(cached) $ECHO_C" >&6
68328 else
68329 if test x$gcc_no_link = xyes; then
68330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68332 { (exit 1); exit 1; }; }
68334 cat >conftest.$ac_ext <<_ACEOF
68335 /* confdefs.h. */
68336 _ACEOF
68337 cat confdefs.h >>conftest.$ac_ext
68338 cat >>conftest.$ac_ext <<_ACEOF
68339 /* end confdefs.h. */
68340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68342 #define $ac_func innocuous_$ac_func
68344 /* System header to define __stub macros and hopefully few prototypes,
68345 which can conflict with char $ac_func (); below.
68346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68347 <limits.h> exists even on freestanding compilers. */
68349 #ifdef __STDC__
68350 # include <limits.h>
68351 #else
68352 # include <assert.h>
68353 #endif
68355 #undef $ac_func
68357 /* Override any gcc2 internal prototype to avoid an error. */
68358 #ifdef __cplusplus
68359 extern "C"
68361 #endif
68362 /* We use char because int might match the return type of a gcc2
68363 builtin and then its argument prototype would still apply. */
68364 char $ac_func ();
68365 /* The GNU C library defines this for functions which it implements
68366 to always fail with ENOSYS. Some functions are actually named
68367 something starting with __ and the normal name is an alias. */
68368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68369 choke me
68370 #else
68371 char (*f) () = $ac_func;
68372 #endif
68373 #ifdef __cplusplus
68375 #endif
68378 main ()
68380 return f != $ac_func;
68382 return 0;
68384 _ACEOF
68385 rm -f conftest.$ac_objext conftest$ac_exeext
68386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68387 (eval $ac_link) 2>conftest.er1
68388 ac_status=$?
68389 grep -v '^ *+' conftest.er1 >conftest.err
68390 rm -f conftest.er1
68391 cat conftest.err >&5
68392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68393 (exit $ac_status); } &&
68394 { ac_try='test -z "$ac_c_werror_flag"
68395 || test ! -s conftest.err'
68396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68397 (eval $ac_try) 2>&5
68398 ac_status=$?
68399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68400 (exit $ac_status); }; } &&
68401 { ac_try='test -s conftest$ac_exeext'
68402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68403 (eval $ac_try) 2>&5
68404 ac_status=$?
68405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68406 (exit $ac_status); }; }; then
68407 eval "$as_ac_var=yes"
68408 else
68409 echo "$as_me: failed program was:" >&5
68410 sed 's/^/| /' conftest.$ac_ext >&5
68412 eval "$as_ac_var=no"
68414 rm -f conftest.err conftest.$ac_objext \
68415 conftest$ac_exeext conftest.$ac_ext
68417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68419 if test `eval echo '${'$as_ac_var'}'` = yes; then
68420 cat >>confdefs.h <<_ACEOF
68421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68422 _ACEOF
68425 done
68435 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68436 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68437 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68438 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68439 echo $ECHO_N "(cached) $ECHO_C" >&6
68440 else
68444 ac_ext=cc
68445 ac_cpp='$CXXCPP $CPPFLAGS'
68446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68450 cat >conftest.$ac_ext <<_ACEOF
68451 /* confdefs.h. */
68452 _ACEOF
68453 cat confdefs.h >>conftest.$ac_ext
68454 cat >>conftest.$ac_ext <<_ACEOF
68455 /* end confdefs.h. */
68456 #include <math.h>
68458 main ()
68460 modfl(0, 0);
68462 return 0;
68464 _ACEOF
68465 rm -f conftest.$ac_objext
68466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68467 (eval $ac_compile) 2>conftest.er1
68468 ac_status=$?
68469 grep -v '^ *+' conftest.er1 >conftest.err
68470 rm -f conftest.er1
68471 cat conftest.err >&5
68472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68473 (exit $ac_status); } &&
68474 { ac_try='test -z "$ac_cxx_werror_flag"
68475 || test ! -s conftest.err'
68476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68477 (eval $ac_try) 2>&5
68478 ac_status=$?
68479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68480 (exit $ac_status); }; } &&
68481 { ac_try='test -s conftest.$ac_objext'
68482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68483 (eval $ac_try) 2>&5
68484 ac_status=$?
68485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68486 (exit $ac_status); }; }; then
68487 glibcxx_cv_func_modfl_use=yes
68488 else
68489 echo "$as_me: failed program was:" >&5
68490 sed 's/^/| /' conftest.$ac_ext >&5
68492 glibcxx_cv_func_modfl_use=no
68494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68495 ac_ext=c
68496 ac_cpp='$CPP $CPPFLAGS'
68497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68506 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68508 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68510 for ac_func in modfl
68512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68513 echo "$as_me:$LINENO: checking for $ac_func" >&5
68514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68515 if eval "test \"\${$as_ac_var+set}\" = set"; then
68516 echo $ECHO_N "(cached) $ECHO_C" >&6
68517 else
68518 if test x$gcc_no_link = xyes; then
68519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68521 { (exit 1); exit 1; }; }
68523 cat >conftest.$ac_ext <<_ACEOF
68524 /* confdefs.h. */
68525 _ACEOF
68526 cat confdefs.h >>conftest.$ac_ext
68527 cat >>conftest.$ac_ext <<_ACEOF
68528 /* end confdefs.h. */
68529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68531 #define $ac_func innocuous_$ac_func
68533 /* System header to define __stub macros and hopefully few prototypes,
68534 which can conflict with char $ac_func (); below.
68535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68536 <limits.h> exists even on freestanding compilers. */
68538 #ifdef __STDC__
68539 # include <limits.h>
68540 #else
68541 # include <assert.h>
68542 #endif
68544 #undef $ac_func
68546 /* Override any gcc2 internal prototype to avoid an error. */
68547 #ifdef __cplusplus
68548 extern "C"
68550 #endif
68551 /* We use char because int might match the return type of a gcc2
68552 builtin and then its argument prototype would still apply. */
68553 char $ac_func ();
68554 /* The GNU C library defines this for functions which it implements
68555 to always fail with ENOSYS. Some functions are actually named
68556 something starting with __ and the normal name is an alias. */
68557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68558 choke me
68559 #else
68560 char (*f) () = $ac_func;
68561 #endif
68562 #ifdef __cplusplus
68564 #endif
68567 main ()
68569 return f != $ac_func;
68571 return 0;
68573 _ACEOF
68574 rm -f conftest.$ac_objext conftest$ac_exeext
68575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68576 (eval $ac_link) 2>conftest.er1
68577 ac_status=$?
68578 grep -v '^ *+' conftest.er1 >conftest.err
68579 rm -f conftest.er1
68580 cat conftest.err >&5
68581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68582 (exit $ac_status); } &&
68583 { ac_try='test -z "$ac_c_werror_flag"
68584 || test ! -s conftest.err'
68585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68586 (eval $ac_try) 2>&5
68587 ac_status=$?
68588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68589 (exit $ac_status); }; } &&
68590 { ac_try='test -s conftest$ac_exeext'
68591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68592 (eval $ac_try) 2>&5
68593 ac_status=$?
68594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68595 (exit $ac_status); }; }; then
68596 eval "$as_ac_var=yes"
68597 else
68598 echo "$as_me: failed program was:" >&5
68599 sed 's/^/| /' conftest.$ac_ext >&5
68601 eval "$as_ac_var=no"
68603 rm -f conftest.err conftest.$ac_objext \
68604 conftest$ac_exeext conftest.$ac_ext
68606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68608 if test `eval echo '${'$as_ac_var'}'` = yes; then
68609 cat >>confdefs.h <<_ACEOF
68610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68611 _ACEOF
68614 done
68616 else
68618 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68619 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68620 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68621 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68622 echo $ECHO_N "(cached) $ECHO_C" >&6
68623 else
68627 ac_ext=cc
68628 ac_cpp='$CXXCPP $CPPFLAGS'
68629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68633 cat >conftest.$ac_ext <<_ACEOF
68634 /* confdefs.h. */
68635 _ACEOF
68636 cat confdefs.h >>conftest.$ac_ext
68637 cat >>conftest.$ac_ext <<_ACEOF
68638 /* end confdefs.h. */
68639 #include <math.h>
68641 main ()
68643 _modfl(0, 0);
68645 return 0;
68647 _ACEOF
68648 rm -f conftest.$ac_objext
68649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68650 (eval $ac_compile) 2>conftest.er1
68651 ac_status=$?
68652 grep -v '^ *+' conftest.er1 >conftest.err
68653 rm -f conftest.er1
68654 cat conftest.err >&5
68655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68656 (exit $ac_status); } &&
68657 { ac_try='test -z "$ac_cxx_werror_flag"
68658 || test ! -s conftest.err'
68659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68660 (eval $ac_try) 2>&5
68661 ac_status=$?
68662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68663 (exit $ac_status); }; } &&
68664 { ac_try='test -s conftest.$ac_objext'
68665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68666 (eval $ac_try) 2>&5
68667 ac_status=$?
68668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68669 (exit $ac_status); }; }; then
68670 glibcxx_cv_func__modfl_use=yes
68671 else
68672 echo "$as_me: failed program was:" >&5
68673 sed 's/^/| /' conftest.$ac_ext >&5
68675 glibcxx_cv_func__modfl_use=no
68677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68678 ac_ext=c
68679 ac_cpp='$CPP $CPPFLAGS'
68680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68689 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68691 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68693 for ac_func in _modfl
68695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68696 echo "$as_me:$LINENO: checking for $ac_func" >&5
68697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68698 if eval "test \"\${$as_ac_var+set}\" = set"; then
68699 echo $ECHO_N "(cached) $ECHO_C" >&6
68700 else
68701 if test x$gcc_no_link = xyes; then
68702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68704 { (exit 1); exit 1; }; }
68706 cat >conftest.$ac_ext <<_ACEOF
68707 /* confdefs.h. */
68708 _ACEOF
68709 cat confdefs.h >>conftest.$ac_ext
68710 cat >>conftest.$ac_ext <<_ACEOF
68711 /* end confdefs.h. */
68712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68714 #define $ac_func innocuous_$ac_func
68716 /* System header to define __stub macros and hopefully few prototypes,
68717 which can conflict with char $ac_func (); below.
68718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68719 <limits.h> exists even on freestanding compilers. */
68721 #ifdef __STDC__
68722 # include <limits.h>
68723 #else
68724 # include <assert.h>
68725 #endif
68727 #undef $ac_func
68729 /* Override any gcc2 internal prototype to avoid an error. */
68730 #ifdef __cplusplus
68731 extern "C"
68733 #endif
68734 /* We use char because int might match the return type of a gcc2
68735 builtin and then its argument prototype would still apply. */
68736 char $ac_func ();
68737 /* The GNU C library defines this for functions which it implements
68738 to always fail with ENOSYS. Some functions are actually named
68739 something starting with __ and the normal name is an alias. */
68740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68741 choke me
68742 #else
68743 char (*f) () = $ac_func;
68744 #endif
68745 #ifdef __cplusplus
68747 #endif
68750 main ()
68752 return f != $ac_func;
68754 return 0;
68756 _ACEOF
68757 rm -f conftest.$ac_objext conftest$ac_exeext
68758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68759 (eval $ac_link) 2>conftest.er1
68760 ac_status=$?
68761 grep -v '^ *+' conftest.er1 >conftest.err
68762 rm -f conftest.er1
68763 cat conftest.err >&5
68764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68765 (exit $ac_status); } &&
68766 { ac_try='test -z "$ac_c_werror_flag"
68767 || test ! -s conftest.err'
68768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68769 (eval $ac_try) 2>&5
68770 ac_status=$?
68771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68772 (exit $ac_status); }; } &&
68773 { ac_try='test -s conftest$ac_exeext'
68774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68775 (eval $ac_try) 2>&5
68776 ac_status=$?
68777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68778 (exit $ac_status); }; }; then
68779 eval "$as_ac_var=yes"
68780 else
68781 echo "$as_me: failed program was:" >&5
68782 sed 's/^/| /' conftest.$ac_ext >&5
68784 eval "$as_ac_var=no"
68786 rm -f conftest.err conftest.$ac_objext \
68787 conftest$ac_exeext conftest.$ac_ext
68789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68791 if test `eval echo '${'$as_ac_var'}'` = yes; then
68792 cat >>confdefs.h <<_ACEOF
68793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68794 _ACEOF
68797 done
68807 echo "$as_me:$LINENO: checking for powl declaration" >&5
68808 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68809 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68810 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68811 echo $ECHO_N "(cached) $ECHO_C" >&6
68812 else
68816 ac_ext=cc
68817 ac_cpp='$CXXCPP $CPPFLAGS'
68818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68822 cat >conftest.$ac_ext <<_ACEOF
68823 /* confdefs.h. */
68824 _ACEOF
68825 cat confdefs.h >>conftest.$ac_ext
68826 cat >>conftest.$ac_ext <<_ACEOF
68827 /* end confdefs.h. */
68828 #include <math.h>
68830 main ()
68832 powl(0, 0);
68834 return 0;
68836 _ACEOF
68837 rm -f conftest.$ac_objext
68838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68839 (eval $ac_compile) 2>conftest.er1
68840 ac_status=$?
68841 grep -v '^ *+' conftest.er1 >conftest.err
68842 rm -f conftest.er1
68843 cat conftest.err >&5
68844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68845 (exit $ac_status); } &&
68846 { ac_try='test -z "$ac_cxx_werror_flag"
68847 || test ! -s conftest.err'
68848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68849 (eval $ac_try) 2>&5
68850 ac_status=$?
68851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68852 (exit $ac_status); }; } &&
68853 { ac_try='test -s conftest.$ac_objext'
68854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68855 (eval $ac_try) 2>&5
68856 ac_status=$?
68857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68858 (exit $ac_status); }; }; then
68859 glibcxx_cv_func_powl_use=yes
68860 else
68861 echo "$as_me: failed program was:" >&5
68862 sed 's/^/| /' conftest.$ac_ext >&5
68864 glibcxx_cv_func_powl_use=no
68866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68867 ac_ext=c
68868 ac_cpp='$CPP $CPPFLAGS'
68869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68877 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68878 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68882 for ac_func in powl
68884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68885 echo "$as_me:$LINENO: checking for $ac_func" >&5
68886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68887 if eval "test \"\${$as_ac_var+set}\" = set"; then
68888 echo $ECHO_N "(cached) $ECHO_C" >&6
68889 else
68890 if test x$gcc_no_link = xyes; then
68891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68893 { (exit 1); exit 1; }; }
68895 cat >conftest.$ac_ext <<_ACEOF
68896 /* confdefs.h. */
68897 _ACEOF
68898 cat confdefs.h >>conftest.$ac_ext
68899 cat >>conftest.$ac_ext <<_ACEOF
68900 /* end confdefs.h. */
68901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68903 #define $ac_func innocuous_$ac_func
68905 /* System header to define __stub macros and hopefully few prototypes,
68906 which can conflict with char $ac_func (); below.
68907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68908 <limits.h> exists even on freestanding compilers. */
68910 #ifdef __STDC__
68911 # include <limits.h>
68912 #else
68913 # include <assert.h>
68914 #endif
68916 #undef $ac_func
68918 /* Override any gcc2 internal prototype to avoid an error. */
68919 #ifdef __cplusplus
68920 extern "C"
68922 #endif
68923 /* We use char because int might match the return type of a gcc2
68924 builtin and then its argument prototype would still apply. */
68925 char $ac_func ();
68926 /* The GNU C library defines this for functions which it implements
68927 to always fail with ENOSYS. Some functions are actually named
68928 something starting with __ and the normal name is an alias. */
68929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68930 choke me
68931 #else
68932 char (*f) () = $ac_func;
68933 #endif
68934 #ifdef __cplusplus
68936 #endif
68939 main ()
68941 return f != $ac_func;
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 eval "$as_ac_var=yes"
68969 else
68970 echo "$as_me: failed program was:" >&5
68971 sed 's/^/| /' conftest.$ac_ext >&5
68973 eval "$as_ac_var=no"
68975 rm -f conftest.err conftest.$ac_objext \
68976 conftest$ac_exeext conftest.$ac_ext
68978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68980 if test `eval echo '${'$as_ac_var'}'` = yes; then
68981 cat >>confdefs.h <<_ACEOF
68982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68983 _ACEOF
68986 done
68988 else
68990 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68991 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68992 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68993 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68994 echo $ECHO_N "(cached) $ECHO_C" >&6
68995 else
68999 ac_ext=cc
69000 ac_cpp='$CXXCPP $CPPFLAGS'
69001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69005 cat >conftest.$ac_ext <<_ACEOF
69006 /* confdefs.h. */
69007 _ACEOF
69008 cat confdefs.h >>conftest.$ac_ext
69009 cat >>conftest.$ac_ext <<_ACEOF
69010 /* end confdefs.h. */
69011 #include <math.h>
69013 main ()
69015 _powl(0, 0);
69017 return 0;
69019 _ACEOF
69020 rm -f conftest.$ac_objext
69021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69022 (eval $ac_compile) 2>conftest.er1
69023 ac_status=$?
69024 grep -v '^ *+' conftest.er1 >conftest.err
69025 rm -f conftest.er1
69026 cat conftest.err >&5
69027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69028 (exit $ac_status); } &&
69029 { ac_try='test -z "$ac_cxx_werror_flag"
69030 || test ! -s conftest.err'
69031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69032 (eval $ac_try) 2>&5
69033 ac_status=$?
69034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69035 (exit $ac_status); }; } &&
69036 { ac_try='test -s conftest.$ac_objext'
69037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69038 (eval $ac_try) 2>&5
69039 ac_status=$?
69040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69041 (exit $ac_status); }; }; then
69042 glibcxx_cv_func__powl_use=yes
69043 else
69044 echo "$as_me: failed program was:" >&5
69045 sed 's/^/| /' conftest.$ac_ext >&5
69047 glibcxx_cv_func__powl_use=no
69049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69050 ac_ext=c
69051 ac_cpp='$CPP $CPPFLAGS'
69052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69060 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69061 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69063 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69065 for ac_func in _powl
69067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69068 echo "$as_me:$LINENO: checking for $ac_func" >&5
69069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69070 if eval "test \"\${$as_ac_var+set}\" = set"; then
69071 echo $ECHO_N "(cached) $ECHO_C" >&6
69072 else
69073 if test x$gcc_no_link = xyes; then
69074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69076 { (exit 1); exit 1; }; }
69078 cat >conftest.$ac_ext <<_ACEOF
69079 /* confdefs.h. */
69080 _ACEOF
69081 cat confdefs.h >>conftest.$ac_ext
69082 cat >>conftest.$ac_ext <<_ACEOF
69083 /* end confdefs.h. */
69084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69086 #define $ac_func innocuous_$ac_func
69088 /* System header to define __stub macros and hopefully few prototypes,
69089 which can conflict with char $ac_func (); below.
69090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69091 <limits.h> exists even on freestanding compilers. */
69093 #ifdef __STDC__
69094 # include <limits.h>
69095 #else
69096 # include <assert.h>
69097 #endif
69099 #undef $ac_func
69101 /* Override any gcc2 internal prototype to avoid an error. */
69102 #ifdef __cplusplus
69103 extern "C"
69105 #endif
69106 /* We use char because int might match the return type of a gcc2
69107 builtin and then its argument prototype would still apply. */
69108 char $ac_func ();
69109 /* The GNU C library defines this for functions which it implements
69110 to always fail with ENOSYS. Some functions are actually named
69111 something starting with __ and the normal name is an alias. */
69112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69113 choke me
69114 #else
69115 char (*f) () = $ac_func;
69116 #endif
69117 #ifdef __cplusplus
69119 #endif
69122 main ()
69124 return f != $ac_func;
69126 return 0;
69128 _ACEOF
69129 rm -f conftest.$ac_objext conftest$ac_exeext
69130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69131 (eval $ac_link) 2>conftest.er1
69132 ac_status=$?
69133 grep -v '^ *+' conftest.er1 >conftest.err
69134 rm -f conftest.er1
69135 cat conftest.err >&5
69136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69137 (exit $ac_status); } &&
69138 { ac_try='test -z "$ac_c_werror_flag"
69139 || test ! -s conftest.err'
69140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69141 (eval $ac_try) 2>&5
69142 ac_status=$?
69143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69144 (exit $ac_status); }; } &&
69145 { ac_try='test -s conftest$ac_exeext'
69146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69147 (eval $ac_try) 2>&5
69148 ac_status=$?
69149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150 (exit $ac_status); }; }; then
69151 eval "$as_ac_var=yes"
69152 else
69153 echo "$as_me: failed program was:" >&5
69154 sed 's/^/| /' conftest.$ac_ext >&5
69156 eval "$as_ac_var=no"
69158 rm -f conftest.err conftest.$ac_objext \
69159 conftest$ac_exeext conftest.$ac_ext
69161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69163 if test `eval echo '${'$as_ac_var'}'` = yes; then
69164 cat >>confdefs.h <<_ACEOF
69165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69166 _ACEOF
69169 done
69179 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69180 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69181 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69182 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69183 echo $ECHO_N "(cached) $ECHO_C" >&6
69184 else
69188 ac_ext=cc
69189 ac_cpp='$CXXCPP $CPPFLAGS'
69190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69194 cat >conftest.$ac_ext <<_ACEOF
69195 /* confdefs.h. */
69196 _ACEOF
69197 cat confdefs.h >>conftest.$ac_ext
69198 cat >>conftest.$ac_ext <<_ACEOF
69199 /* end confdefs.h. */
69200 #include <math.h>
69201 #ifdef HAVE_IEEEFP_H
69202 #include <ieeefp.h>
69203 #endif
69206 main ()
69208 sqrtl(0);
69210 return 0;
69212 _ACEOF
69213 rm -f conftest.$ac_objext
69214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69215 (eval $ac_compile) 2>conftest.er1
69216 ac_status=$?
69217 grep -v '^ *+' conftest.er1 >conftest.err
69218 rm -f conftest.er1
69219 cat conftest.err >&5
69220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221 (exit $ac_status); } &&
69222 { ac_try='test -z "$ac_cxx_werror_flag"
69223 || test ! -s conftest.err'
69224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225 (eval $ac_try) 2>&5
69226 ac_status=$?
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); }; } &&
69229 { ac_try='test -s conftest.$ac_objext'
69230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69231 (eval $ac_try) 2>&5
69232 ac_status=$?
69233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69234 (exit $ac_status); }; }; then
69235 glibcxx_cv_func_sqrtl_use=yes
69236 else
69237 echo "$as_me: failed program was:" >&5
69238 sed 's/^/| /' conftest.$ac_ext >&5
69240 glibcxx_cv_func_sqrtl_use=no
69242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69254 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69256 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69258 for ac_func in sqrtl
69260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69261 echo "$as_me:$LINENO: checking for $ac_func" >&5
69262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69263 if eval "test \"\${$as_ac_var+set}\" = set"; then
69264 echo $ECHO_N "(cached) $ECHO_C" >&6
69265 else
69266 if test x$gcc_no_link = xyes; then
69267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69269 { (exit 1); exit 1; }; }
69271 cat >conftest.$ac_ext <<_ACEOF
69272 /* confdefs.h. */
69273 _ACEOF
69274 cat confdefs.h >>conftest.$ac_ext
69275 cat >>conftest.$ac_ext <<_ACEOF
69276 /* end confdefs.h. */
69277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69279 #define $ac_func innocuous_$ac_func
69281 /* System header to define __stub macros and hopefully few prototypes,
69282 which can conflict with char $ac_func (); below.
69283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69284 <limits.h> exists even on freestanding compilers. */
69286 #ifdef __STDC__
69287 # include <limits.h>
69288 #else
69289 # include <assert.h>
69290 #endif
69292 #undef $ac_func
69294 /* Override any gcc2 internal prototype to avoid an error. */
69295 #ifdef __cplusplus
69296 extern "C"
69298 #endif
69299 /* We use char because int might match the return type of a gcc2
69300 builtin and then its argument prototype would still apply. */
69301 char $ac_func ();
69302 /* The GNU C library defines this for functions which it implements
69303 to always fail with ENOSYS. Some functions are actually named
69304 something starting with __ and the normal name is an alias. */
69305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69306 choke me
69307 #else
69308 char (*f) () = $ac_func;
69309 #endif
69310 #ifdef __cplusplus
69312 #endif
69315 main ()
69317 return f != $ac_func;
69319 return 0;
69321 _ACEOF
69322 rm -f conftest.$ac_objext conftest$ac_exeext
69323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69324 (eval $ac_link) 2>conftest.er1
69325 ac_status=$?
69326 grep -v '^ *+' conftest.er1 >conftest.err
69327 rm -f conftest.er1
69328 cat conftest.err >&5
69329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69330 (exit $ac_status); } &&
69331 { ac_try='test -z "$ac_c_werror_flag"
69332 || test ! -s conftest.err'
69333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69334 (eval $ac_try) 2>&5
69335 ac_status=$?
69336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69337 (exit $ac_status); }; } &&
69338 { ac_try='test -s conftest$ac_exeext'
69339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69340 (eval $ac_try) 2>&5
69341 ac_status=$?
69342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69343 (exit $ac_status); }; }; then
69344 eval "$as_ac_var=yes"
69345 else
69346 echo "$as_me: failed program was:" >&5
69347 sed 's/^/| /' conftest.$ac_ext >&5
69349 eval "$as_ac_var=no"
69351 rm -f conftest.err conftest.$ac_objext \
69352 conftest$ac_exeext conftest.$ac_ext
69354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69356 if test `eval echo '${'$as_ac_var'}'` = yes; then
69357 cat >>confdefs.h <<_ACEOF
69358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69359 _ACEOF
69362 done
69364 else
69366 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69367 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69368 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69369 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69370 echo $ECHO_N "(cached) $ECHO_C" >&6
69371 else
69375 ac_ext=cc
69376 ac_cpp='$CXXCPP $CPPFLAGS'
69377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69381 cat >conftest.$ac_ext <<_ACEOF
69382 /* confdefs.h. */
69383 _ACEOF
69384 cat confdefs.h >>conftest.$ac_ext
69385 cat >>conftest.$ac_ext <<_ACEOF
69386 /* end confdefs.h. */
69387 #include <math.h>
69388 #ifdef HAVE_IEEEFP_H
69389 #include <ieeefp.h>
69390 #endif
69393 main ()
69395 _sqrtl(0);
69397 return 0;
69399 _ACEOF
69400 rm -f conftest.$ac_objext
69401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69402 (eval $ac_compile) 2>conftest.er1
69403 ac_status=$?
69404 grep -v '^ *+' conftest.er1 >conftest.err
69405 rm -f conftest.er1
69406 cat conftest.err >&5
69407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69408 (exit $ac_status); } &&
69409 { ac_try='test -z "$ac_cxx_werror_flag"
69410 || test ! -s conftest.err'
69411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69412 (eval $ac_try) 2>&5
69413 ac_status=$?
69414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69415 (exit $ac_status); }; } &&
69416 { ac_try='test -s conftest.$ac_objext'
69417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69418 (eval $ac_try) 2>&5
69419 ac_status=$?
69420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69421 (exit $ac_status); }; }; then
69422 glibcxx_cv_func__sqrtl_use=yes
69423 else
69424 echo "$as_me: failed program was:" >&5
69425 sed 's/^/| /' conftest.$ac_ext >&5
69427 glibcxx_cv_func__sqrtl_use=no
69429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69430 ac_ext=c
69431 ac_cpp='$CPP $CPPFLAGS'
69432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69441 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69443 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69445 for ac_func in _sqrtl
69447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69448 echo "$as_me:$LINENO: checking for $ac_func" >&5
69449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69450 if eval "test \"\${$as_ac_var+set}\" = set"; then
69451 echo $ECHO_N "(cached) $ECHO_C" >&6
69452 else
69453 if test x$gcc_no_link = xyes; then
69454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69456 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69466 #define $ac_func innocuous_$ac_func
69468 /* System header to define __stub macros and hopefully few prototypes,
69469 which can conflict with char $ac_func (); below.
69470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69471 <limits.h> exists even on freestanding compilers. */
69473 #ifdef __STDC__
69474 # include <limits.h>
69475 #else
69476 # include <assert.h>
69477 #endif
69479 #undef $ac_func
69481 /* Override any gcc2 internal prototype to avoid an error. */
69482 #ifdef __cplusplus
69483 extern "C"
69485 #endif
69486 /* We use char because int might match the return type of a gcc2
69487 builtin and then its argument prototype would still apply. */
69488 char $ac_func ();
69489 /* The GNU C library defines this for functions which it implements
69490 to always fail with ENOSYS. Some functions are actually named
69491 something starting with __ and the normal name is an alias. */
69492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69493 choke me
69494 #else
69495 char (*f) () = $ac_func;
69496 #endif
69497 #ifdef __cplusplus
69499 #endif
69502 main ()
69504 return f != $ac_func;
69506 return 0;
69508 _ACEOF
69509 rm -f conftest.$ac_objext conftest$ac_exeext
69510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69511 (eval $ac_link) 2>conftest.er1
69512 ac_status=$?
69513 grep -v '^ *+' conftest.er1 >conftest.err
69514 rm -f conftest.er1
69515 cat conftest.err >&5
69516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69517 (exit $ac_status); } &&
69518 { ac_try='test -z "$ac_c_werror_flag"
69519 || test ! -s conftest.err'
69520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69521 (eval $ac_try) 2>&5
69522 ac_status=$?
69523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69524 (exit $ac_status); }; } &&
69525 { ac_try='test -s conftest$ac_exeext'
69526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69527 (eval $ac_try) 2>&5
69528 ac_status=$?
69529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69530 (exit $ac_status); }; }; then
69531 eval "$as_ac_var=yes"
69532 else
69533 echo "$as_me: failed program was:" >&5
69534 sed 's/^/| /' conftest.$ac_ext >&5
69536 eval "$as_ac_var=no"
69538 rm -f conftest.err conftest.$ac_objext \
69539 conftest$ac_exeext conftest.$ac_ext
69541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69543 if test `eval echo '${'$as_ac_var'}'` = yes; then
69544 cat >>confdefs.h <<_ACEOF
69545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69546 _ACEOF
69549 done
69559 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69560 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69561 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69562 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69563 echo $ECHO_N "(cached) $ECHO_C" >&6
69564 else
69568 ac_ext=cc
69569 ac_cpp='$CXXCPP $CPPFLAGS'
69570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69574 cat >conftest.$ac_ext <<_ACEOF
69575 /* confdefs.h. */
69576 _ACEOF
69577 cat confdefs.h >>conftest.$ac_ext
69578 cat >>conftest.$ac_ext <<_ACEOF
69579 /* end confdefs.h. */
69580 #include <math.h>
69582 main ()
69584 sincosl(0, 0, 0);
69586 return 0;
69588 _ACEOF
69589 rm -f conftest.$ac_objext
69590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69591 (eval $ac_compile) 2>conftest.er1
69592 ac_status=$?
69593 grep -v '^ *+' conftest.er1 >conftest.err
69594 rm -f conftest.er1
69595 cat conftest.err >&5
69596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69597 (exit $ac_status); } &&
69598 { ac_try='test -z "$ac_cxx_werror_flag"
69599 || test ! -s conftest.err'
69600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69601 (eval $ac_try) 2>&5
69602 ac_status=$?
69603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69604 (exit $ac_status); }; } &&
69605 { ac_try='test -s conftest.$ac_objext'
69606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69607 (eval $ac_try) 2>&5
69608 ac_status=$?
69609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69610 (exit $ac_status); }; }; then
69611 glibcxx_cv_func_sincosl_use=yes
69612 else
69613 echo "$as_me: failed program was:" >&5
69614 sed 's/^/| /' conftest.$ac_ext >&5
69616 glibcxx_cv_func_sincosl_use=no
69618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69619 ac_ext=c
69620 ac_cpp='$CPP $CPPFLAGS'
69621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69630 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69632 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69634 for ac_func in sincosl
69636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69637 echo "$as_me:$LINENO: checking for $ac_func" >&5
69638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69639 if eval "test \"\${$as_ac_var+set}\" = set"; then
69640 echo $ECHO_N "(cached) $ECHO_C" >&6
69641 else
69642 if test x$gcc_no_link = xyes; then
69643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69645 { (exit 1); exit 1; }; }
69647 cat >conftest.$ac_ext <<_ACEOF
69648 /* confdefs.h. */
69649 _ACEOF
69650 cat confdefs.h >>conftest.$ac_ext
69651 cat >>conftest.$ac_ext <<_ACEOF
69652 /* end confdefs.h. */
69653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69655 #define $ac_func innocuous_$ac_func
69657 /* System header to define __stub macros and hopefully few prototypes,
69658 which can conflict with char $ac_func (); below.
69659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69660 <limits.h> exists even on freestanding compilers. */
69662 #ifdef __STDC__
69663 # include <limits.h>
69664 #else
69665 # include <assert.h>
69666 #endif
69668 #undef $ac_func
69670 /* Override any gcc2 internal prototype to avoid an error. */
69671 #ifdef __cplusplus
69672 extern "C"
69674 #endif
69675 /* We use char because int might match the return type of a gcc2
69676 builtin and then its argument prototype would still apply. */
69677 char $ac_func ();
69678 /* The GNU C library defines this for functions which it implements
69679 to always fail with ENOSYS. Some functions are actually named
69680 something starting with __ and the normal name is an alias. */
69681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69682 choke me
69683 #else
69684 char (*f) () = $ac_func;
69685 #endif
69686 #ifdef __cplusplus
69688 #endif
69691 main ()
69693 return f != $ac_func;
69695 return 0;
69697 _ACEOF
69698 rm -f conftest.$ac_objext conftest$ac_exeext
69699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69700 (eval $ac_link) 2>conftest.er1
69701 ac_status=$?
69702 grep -v '^ *+' conftest.er1 >conftest.err
69703 rm -f conftest.er1
69704 cat conftest.err >&5
69705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69706 (exit $ac_status); } &&
69707 { ac_try='test -z "$ac_c_werror_flag"
69708 || test ! -s conftest.err'
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); }; } &&
69714 { ac_try='test -s conftest$ac_exeext'
69715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69716 (eval $ac_try) 2>&5
69717 ac_status=$?
69718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69719 (exit $ac_status); }; }; then
69720 eval "$as_ac_var=yes"
69721 else
69722 echo "$as_me: failed program was:" >&5
69723 sed 's/^/| /' conftest.$ac_ext >&5
69725 eval "$as_ac_var=no"
69727 rm -f conftest.err conftest.$ac_objext \
69728 conftest$ac_exeext conftest.$ac_ext
69730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69732 if test `eval echo '${'$as_ac_var'}'` = yes; then
69733 cat >>confdefs.h <<_ACEOF
69734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69735 _ACEOF
69738 done
69740 else
69742 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69743 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69744 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69745 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69746 echo $ECHO_N "(cached) $ECHO_C" >&6
69747 else
69751 ac_ext=cc
69752 ac_cpp='$CXXCPP $CPPFLAGS'
69753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757 cat >conftest.$ac_ext <<_ACEOF
69758 /* confdefs.h. */
69759 _ACEOF
69760 cat confdefs.h >>conftest.$ac_ext
69761 cat >>conftest.$ac_ext <<_ACEOF
69762 /* end confdefs.h. */
69763 #include <math.h>
69765 main ()
69767 _sincosl(0, 0, 0);
69769 return 0;
69771 _ACEOF
69772 rm -f conftest.$ac_objext
69773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69774 (eval $ac_compile) 2>conftest.er1
69775 ac_status=$?
69776 grep -v '^ *+' conftest.er1 >conftest.err
69777 rm -f conftest.er1
69778 cat conftest.err >&5
69779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69780 (exit $ac_status); } &&
69781 { ac_try='test -z "$ac_cxx_werror_flag"
69782 || test ! -s conftest.err'
69783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69784 (eval $ac_try) 2>&5
69785 ac_status=$?
69786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69787 (exit $ac_status); }; } &&
69788 { ac_try='test -s conftest.$ac_objext'
69789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69790 (eval $ac_try) 2>&5
69791 ac_status=$?
69792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69793 (exit $ac_status); }; }; then
69794 glibcxx_cv_func__sincosl_use=yes
69795 else
69796 echo "$as_me: failed program was:" >&5
69797 sed 's/^/| /' conftest.$ac_ext >&5
69799 glibcxx_cv_func__sincosl_use=no
69801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69802 ac_ext=c
69803 ac_cpp='$CPP $CPPFLAGS'
69804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69813 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69815 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69817 for ac_func in _sincosl
69819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69820 echo "$as_me:$LINENO: checking for $ac_func" >&5
69821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69822 if eval "test \"\${$as_ac_var+set}\" = set"; then
69823 echo $ECHO_N "(cached) $ECHO_C" >&6
69824 else
69825 if test x$gcc_no_link = xyes; then
69826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69828 { (exit 1); exit 1; }; }
69830 cat >conftest.$ac_ext <<_ACEOF
69831 /* confdefs.h. */
69832 _ACEOF
69833 cat confdefs.h >>conftest.$ac_ext
69834 cat >>conftest.$ac_ext <<_ACEOF
69835 /* end confdefs.h. */
69836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69838 #define $ac_func innocuous_$ac_func
69840 /* System header to define __stub macros and hopefully few prototypes,
69841 which can conflict with char $ac_func (); below.
69842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69843 <limits.h> exists even on freestanding compilers. */
69845 #ifdef __STDC__
69846 # include <limits.h>
69847 #else
69848 # include <assert.h>
69849 #endif
69851 #undef $ac_func
69853 /* Override any gcc2 internal prototype to avoid an error. */
69854 #ifdef __cplusplus
69855 extern "C"
69857 #endif
69858 /* We use char because int might match the return type of a gcc2
69859 builtin and then its argument prototype would still apply. */
69860 char $ac_func ();
69861 /* The GNU C library defines this for functions which it implements
69862 to always fail with ENOSYS. Some functions are actually named
69863 something starting with __ and the normal name is an alias. */
69864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69865 choke me
69866 #else
69867 char (*f) () = $ac_func;
69868 #endif
69869 #ifdef __cplusplus
69871 #endif
69874 main ()
69876 return f != $ac_func;
69878 return 0;
69880 _ACEOF
69881 rm -f conftest.$ac_objext conftest$ac_exeext
69882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69883 (eval $ac_link) 2>conftest.er1
69884 ac_status=$?
69885 grep -v '^ *+' conftest.er1 >conftest.err
69886 rm -f conftest.er1
69887 cat conftest.err >&5
69888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69889 (exit $ac_status); } &&
69890 { ac_try='test -z "$ac_c_werror_flag"
69891 || test ! -s conftest.err'
69892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69893 (eval $ac_try) 2>&5
69894 ac_status=$?
69895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69896 (exit $ac_status); }; } &&
69897 { ac_try='test -s conftest$ac_exeext'
69898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69899 (eval $ac_try) 2>&5
69900 ac_status=$?
69901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69902 (exit $ac_status); }; }; then
69903 eval "$as_ac_var=yes"
69904 else
69905 echo "$as_me: failed program was:" >&5
69906 sed 's/^/| /' conftest.$ac_ext >&5
69908 eval "$as_ac_var=no"
69910 rm -f conftest.err conftest.$ac_objext \
69911 conftest$ac_exeext conftest.$ac_ext
69913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69915 if test `eval echo '${'$as_ac_var'}'` = yes; then
69916 cat >>confdefs.h <<_ACEOF
69917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69918 _ACEOF
69921 done
69931 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69932 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69933 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69934 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69935 echo $ECHO_N "(cached) $ECHO_C" >&6
69936 else
69940 ac_ext=cc
69941 ac_cpp='$CXXCPP $CPPFLAGS'
69942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69946 cat >conftest.$ac_ext <<_ACEOF
69947 /* confdefs.h. */
69948 _ACEOF
69949 cat confdefs.h >>conftest.$ac_ext
69950 cat >>conftest.$ac_ext <<_ACEOF
69951 /* end confdefs.h. */
69952 #include <math.h>
69953 #ifdef HAVE_IEEEFP_H
69954 #include <ieeefp.h>
69955 #endif
69958 main ()
69960 finitel(0);
69962 return 0;
69964 _ACEOF
69965 rm -f conftest.$ac_objext
69966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69967 (eval $ac_compile) 2>conftest.er1
69968 ac_status=$?
69969 grep -v '^ *+' conftest.er1 >conftest.err
69970 rm -f conftest.er1
69971 cat conftest.err >&5
69972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69973 (exit $ac_status); } &&
69974 { ac_try='test -z "$ac_cxx_werror_flag"
69975 || test ! -s conftest.err'
69976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69977 (eval $ac_try) 2>&5
69978 ac_status=$?
69979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69980 (exit $ac_status); }; } &&
69981 { ac_try='test -s conftest.$ac_objext'
69982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69983 (eval $ac_try) 2>&5
69984 ac_status=$?
69985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69986 (exit $ac_status); }; }; then
69987 glibcxx_cv_func_finitel_use=yes
69988 else
69989 echo "$as_me: failed program was:" >&5
69990 sed 's/^/| /' conftest.$ac_ext >&5
69992 glibcxx_cv_func_finitel_use=no
69994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69995 ac_ext=c
69996 ac_cpp='$CPP $CPPFLAGS'
69997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70006 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70008 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70010 for ac_func in finitel
70012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70013 echo "$as_me:$LINENO: checking for $ac_func" >&5
70014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70015 if eval "test \"\${$as_ac_var+set}\" = set"; then
70016 echo $ECHO_N "(cached) $ECHO_C" >&6
70017 else
70018 if test x$gcc_no_link = xyes; then
70019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70021 { (exit 1); exit 1; }; }
70023 cat >conftest.$ac_ext <<_ACEOF
70024 /* confdefs.h. */
70025 _ACEOF
70026 cat confdefs.h >>conftest.$ac_ext
70027 cat >>conftest.$ac_ext <<_ACEOF
70028 /* end confdefs.h. */
70029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70031 #define $ac_func innocuous_$ac_func
70033 /* System header to define __stub macros and hopefully few prototypes,
70034 which can conflict with char $ac_func (); below.
70035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70036 <limits.h> exists even on freestanding compilers. */
70038 #ifdef __STDC__
70039 # include <limits.h>
70040 #else
70041 # include <assert.h>
70042 #endif
70044 #undef $ac_func
70046 /* Override any gcc2 internal prototype to avoid an error. */
70047 #ifdef __cplusplus
70048 extern "C"
70050 #endif
70051 /* We use char because int might match the return type of a gcc2
70052 builtin and then its argument prototype would still apply. */
70053 char $ac_func ();
70054 /* The GNU C library defines this for functions which it implements
70055 to always fail with ENOSYS. Some functions are actually named
70056 something starting with __ and the normal name is an alias. */
70057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70058 choke me
70059 #else
70060 char (*f) () = $ac_func;
70061 #endif
70062 #ifdef __cplusplus
70064 #endif
70067 main ()
70069 return f != $ac_func;
70071 return 0;
70073 _ACEOF
70074 rm -f conftest.$ac_objext conftest$ac_exeext
70075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70076 (eval $ac_link) 2>conftest.er1
70077 ac_status=$?
70078 grep -v '^ *+' conftest.er1 >conftest.err
70079 rm -f conftest.er1
70080 cat conftest.err >&5
70081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70082 (exit $ac_status); } &&
70083 { ac_try='test -z "$ac_c_werror_flag"
70084 || test ! -s conftest.err'
70085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70086 (eval $ac_try) 2>&5
70087 ac_status=$?
70088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70089 (exit $ac_status); }; } &&
70090 { ac_try='test -s conftest$ac_exeext'
70091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70092 (eval $ac_try) 2>&5
70093 ac_status=$?
70094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70095 (exit $ac_status); }; }; then
70096 eval "$as_ac_var=yes"
70097 else
70098 echo "$as_me: failed program was:" >&5
70099 sed 's/^/| /' conftest.$ac_ext >&5
70101 eval "$as_ac_var=no"
70103 rm -f conftest.err conftest.$ac_objext \
70104 conftest$ac_exeext conftest.$ac_ext
70106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70108 if test `eval echo '${'$as_ac_var'}'` = yes; then
70109 cat >>confdefs.h <<_ACEOF
70110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70111 _ACEOF
70114 done
70116 else
70118 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70119 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70120 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70121 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70122 echo $ECHO_N "(cached) $ECHO_C" >&6
70123 else
70127 ac_ext=cc
70128 ac_cpp='$CXXCPP $CPPFLAGS'
70129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70133 cat >conftest.$ac_ext <<_ACEOF
70134 /* confdefs.h. */
70135 _ACEOF
70136 cat confdefs.h >>conftest.$ac_ext
70137 cat >>conftest.$ac_ext <<_ACEOF
70138 /* end confdefs.h. */
70139 #include <math.h>
70140 #ifdef HAVE_IEEEFP_H
70141 #include <ieeefp.h>
70142 #endif
70145 main ()
70147 _finitel(0);
70149 return 0;
70151 _ACEOF
70152 rm -f conftest.$ac_objext
70153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70154 (eval $ac_compile) 2>conftest.er1
70155 ac_status=$?
70156 grep -v '^ *+' conftest.er1 >conftest.err
70157 rm -f conftest.er1
70158 cat conftest.err >&5
70159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70160 (exit $ac_status); } &&
70161 { ac_try='test -z "$ac_cxx_werror_flag"
70162 || test ! -s conftest.err'
70163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70164 (eval $ac_try) 2>&5
70165 ac_status=$?
70166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70167 (exit $ac_status); }; } &&
70168 { ac_try='test -s conftest.$ac_objext'
70169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70170 (eval $ac_try) 2>&5
70171 ac_status=$?
70172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70173 (exit $ac_status); }; }; then
70174 glibcxx_cv_func__finitel_use=yes
70175 else
70176 echo "$as_me: failed program was:" >&5
70177 sed 's/^/| /' conftest.$ac_ext >&5
70179 glibcxx_cv_func__finitel_use=no
70181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70182 ac_ext=c
70183 ac_cpp='$CPP $CPPFLAGS'
70184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70192 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70193 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70195 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70197 for ac_func in _finitel
70199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70200 echo "$as_me:$LINENO: checking for $ac_func" >&5
70201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70202 if eval "test \"\${$as_ac_var+set}\" = set"; then
70203 echo $ECHO_N "(cached) $ECHO_C" >&6
70204 else
70205 if test x$gcc_no_link = xyes; then
70206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70208 { (exit 1); exit 1; }; }
70210 cat >conftest.$ac_ext <<_ACEOF
70211 /* confdefs.h. */
70212 _ACEOF
70213 cat confdefs.h >>conftest.$ac_ext
70214 cat >>conftest.$ac_ext <<_ACEOF
70215 /* end confdefs.h. */
70216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70218 #define $ac_func innocuous_$ac_func
70220 /* System header to define __stub macros and hopefully few prototypes,
70221 which can conflict with char $ac_func (); below.
70222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70223 <limits.h> exists even on freestanding compilers. */
70225 #ifdef __STDC__
70226 # include <limits.h>
70227 #else
70228 # include <assert.h>
70229 #endif
70231 #undef $ac_func
70233 /* Override any gcc2 internal prototype to avoid an error. */
70234 #ifdef __cplusplus
70235 extern "C"
70237 #endif
70238 /* We use char because int might match the return type of a gcc2
70239 builtin and then its argument prototype would still apply. */
70240 char $ac_func ();
70241 /* The GNU C library defines this for functions which it implements
70242 to always fail with ENOSYS. Some functions are actually named
70243 something starting with __ and the normal name is an alias. */
70244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70245 choke me
70246 #else
70247 char (*f) () = $ac_func;
70248 #endif
70249 #ifdef __cplusplus
70251 #endif
70254 main ()
70256 return f != $ac_func;
70258 return 0;
70260 _ACEOF
70261 rm -f conftest.$ac_objext conftest$ac_exeext
70262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70263 (eval $ac_link) 2>conftest.er1
70264 ac_status=$?
70265 grep -v '^ *+' conftest.er1 >conftest.err
70266 rm -f conftest.er1
70267 cat conftest.err >&5
70268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70269 (exit $ac_status); } &&
70270 { ac_try='test -z "$ac_c_werror_flag"
70271 || test ! -s conftest.err'
70272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70273 (eval $ac_try) 2>&5
70274 ac_status=$?
70275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70276 (exit $ac_status); }; } &&
70277 { ac_try='test -s conftest$ac_exeext'
70278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70279 (eval $ac_try) 2>&5
70280 ac_status=$?
70281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70282 (exit $ac_status); }; }; then
70283 eval "$as_ac_var=yes"
70284 else
70285 echo "$as_me: failed program was:" >&5
70286 sed 's/^/| /' conftest.$ac_ext >&5
70288 eval "$as_ac_var=no"
70290 rm -f conftest.err conftest.$ac_objext \
70291 conftest$ac_exeext conftest.$ac_ext
70293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70295 if test `eval echo '${'$as_ac_var'}'` = yes; then
70296 cat >>confdefs.h <<_ACEOF
70297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70298 _ACEOF
70301 done
70310 LIBS="$ac_save_LIBS"
70311 CXXFLAGS="$ac_save_CXXFLAGS"
70315 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70316 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70317 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70318 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70319 echo $ECHO_N "(cached) $ECHO_C" >&6
70320 else
70324 ac_ext=cc
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70330 cat >conftest.$ac_ext <<_ACEOF
70331 /* confdefs.h. */
70332 _ACEOF
70333 cat confdefs.h >>conftest.$ac_ext
70334 cat >>conftest.$ac_ext <<_ACEOF
70335 /* end confdefs.h. */
70336 #include <math.h>
70338 main ()
70340 __builtin_abs(0);
70342 return 0;
70344 _ACEOF
70345 rm -f conftest.$ac_objext
70346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70347 (eval $ac_compile) 2>conftest.er1
70348 ac_status=$?
70349 grep -v '^ *+' conftest.er1 >conftest.err
70350 rm -f conftest.er1
70351 cat conftest.err >&5
70352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70353 (exit $ac_status); } &&
70354 { ac_try='test -z "$ac_cxx_werror_flag"
70355 || test ! -s conftest.err'
70356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70357 (eval $ac_try) 2>&5
70358 ac_status=$?
70359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70360 (exit $ac_status); }; } &&
70361 { ac_try='test -s conftest.$ac_objext'
70362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70363 (eval $ac_try) 2>&5
70364 ac_status=$?
70365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70366 (exit $ac_status); }; }; then
70367 glibcxx_cv_func___builtin_abs_use=yes
70368 else
70369 echo "$as_me: failed program was:" >&5
70370 sed 's/^/| /' conftest.$ac_ext >&5
70372 glibcxx_cv_func___builtin_abs_use=no
70374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70385 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70386 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70387 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70388 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70389 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70390 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70391 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70392 echo $ECHO_N "(cached) $ECHO_C" >&6
70393 else
70395 if test x$gcc_no_link = xyes; then
70396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70398 { (exit 1); exit 1; }; }
70400 cat >conftest.$ac_ext <<_ACEOF
70401 /* confdefs.h. */
70402 _ACEOF
70403 cat confdefs.h >>conftest.$ac_ext
70404 cat >>conftest.$ac_ext <<_ACEOF
70405 /* end confdefs.h. */
70406 #include <math.h>
70408 main ()
70410 __builtin_abs(0);
70412 return 0;
70414 _ACEOF
70415 rm -f conftest.$ac_objext conftest$ac_exeext
70416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70417 (eval $ac_link) 2>conftest.er1
70418 ac_status=$?
70419 grep -v '^ *+' conftest.er1 >conftest.err
70420 rm -f conftest.er1
70421 cat conftest.err >&5
70422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70423 (exit $ac_status); } &&
70424 { ac_try='test -z "$ac_c_werror_flag"
70425 || test ! -s conftest.err'
70426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70427 (eval $ac_try) 2>&5
70428 ac_status=$?
70429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70430 (exit $ac_status); }; } &&
70431 { ac_try='test -s conftest$ac_exeext'
70432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70433 (eval $ac_try) 2>&5
70434 ac_status=$?
70435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70436 (exit $ac_status); }; }; then
70437 glibcxx_cv_func___builtin_abs_link=yes
70438 else
70439 echo "$as_me: failed program was:" >&5
70440 sed 's/^/| /' conftest.$ac_ext >&5
70442 glibcxx_cv_func___builtin_abs_link=no
70444 rm -f conftest.err conftest.$ac_objext \
70445 conftest$ac_exeext conftest.$ac_ext
70450 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70451 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70453 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70455 cat >>confdefs.h <<\_ACEOF
70456 #define HAVE___BUILTIN_ABS 1
70457 _ACEOF
70464 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70465 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70466 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70467 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70468 echo $ECHO_N "(cached) $ECHO_C" >&6
70469 else
70473 ac_ext=cc
70474 ac_cpp='$CXXCPP $CPPFLAGS'
70475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70479 cat >conftest.$ac_ext <<_ACEOF
70480 /* confdefs.h. */
70481 _ACEOF
70482 cat confdefs.h >>conftest.$ac_ext
70483 cat >>conftest.$ac_ext <<_ACEOF
70484 /* end confdefs.h. */
70485 #include <math.h>
70487 main ()
70489 __builtin_fabsf(0);
70491 return 0;
70493 _ACEOF
70494 rm -f conftest.$ac_objext
70495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70496 (eval $ac_compile) 2>conftest.er1
70497 ac_status=$?
70498 grep -v '^ *+' conftest.er1 >conftest.err
70499 rm -f conftest.er1
70500 cat conftest.err >&5
70501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70502 (exit $ac_status); } &&
70503 { ac_try='test -z "$ac_cxx_werror_flag"
70504 || test ! -s conftest.err'
70505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70506 (eval $ac_try) 2>&5
70507 ac_status=$?
70508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70509 (exit $ac_status); }; } &&
70510 { ac_try='test -s conftest.$ac_objext'
70511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512 (eval $ac_try) 2>&5
70513 ac_status=$?
70514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515 (exit $ac_status); }; }; then
70516 glibcxx_cv_func___builtin_fabsf_use=yes
70517 else
70518 echo "$as_me: failed program was:" >&5
70519 sed 's/^/| /' conftest.$ac_ext >&5
70521 glibcxx_cv_func___builtin_fabsf_use=no
70523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70524 ac_ext=c
70525 ac_cpp='$CPP $CPPFLAGS'
70526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70534 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70535 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70536 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70537 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70538 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70539 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70540 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70541 echo $ECHO_N "(cached) $ECHO_C" >&6
70542 else
70544 if test x$gcc_no_link = xyes; then
70545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70547 { (exit 1); exit 1; }; }
70549 cat >conftest.$ac_ext <<_ACEOF
70550 /* confdefs.h. */
70551 _ACEOF
70552 cat confdefs.h >>conftest.$ac_ext
70553 cat >>conftest.$ac_ext <<_ACEOF
70554 /* end confdefs.h. */
70555 #include <math.h>
70557 main ()
70559 __builtin_fabsf(0);
70561 return 0;
70563 _ACEOF
70564 rm -f conftest.$ac_objext conftest$ac_exeext
70565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70566 (eval $ac_link) 2>conftest.er1
70567 ac_status=$?
70568 grep -v '^ *+' conftest.er1 >conftest.err
70569 rm -f conftest.er1
70570 cat conftest.err >&5
70571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70572 (exit $ac_status); } &&
70573 { ac_try='test -z "$ac_c_werror_flag"
70574 || test ! -s conftest.err'
70575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70576 (eval $ac_try) 2>&5
70577 ac_status=$?
70578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70579 (exit $ac_status); }; } &&
70580 { ac_try='test -s conftest$ac_exeext'
70581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70582 (eval $ac_try) 2>&5
70583 ac_status=$?
70584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70585 (exit $ac_status); }; }; then
70586 glibcxx_cv_func___builtin_fabsf_link=yes
70587 else
70588 echo "$as_me: failed program was:" >&5
70589 sed 's/^/| /' conftest.$ac_ext >&5
70591 glibcxx_cv_func___builtin_fabsf_link=no
70593 rm -f conftest.err conftest.$ac_objext \
70594 conftest$ac_exeext conftest.$ac_ext
70599 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70600 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70602 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70604 cat >>confdefs.h <<\_ACEOF
70605 #define HAVE___BUILTIN_FABSF 1
70606 _ACEOF
70613 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70614 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70615 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70616 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70617 echo $ECHO_N "(cached) $ECHO_C" >&6
70618 else
70622 ac_ext=cc
70623 ac_cpp='$CXXCPP $CPPFLAGS'
70624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70628 cat >conftest.$ac_ext <<_ACEOF
70629 /* confdefs.h. */
70630 _ACEOF
70631 cat confdefs.h >>conftest.$ac_ext
70632 cat >>conftest.$ac_ext <<_ACEOF
70633 /* end confdefs.h. */
70634 #include <math.h>
70636 main ()
70638 __builtin_fabs(0);
70640 return 0;
70642 _ACEOF
70643 rm -f conftest.$ac_objext
70644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70645 (eval $ac_compile) 2>conftest.er1
70646 ac_status=$?
70647 grep -v '^ *+' conftest.er1 >conftest.err
70648 rm -f conftest.er1
70649 cat conftest.err >&5
70650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70651 (exit $ac_status); } &&
70652 { ac_try='test -z "$ac_cxx_werror_flag"
70653 || test ! -s conftest.err'
70654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70655 (eval $ac_try) 2>&5
70656 ac_status=$?
70657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70658 (exit $ac_status); }; } &&
70659 { ac_try='test -s conftest.$ac_objext'
70660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70661 (eval $ac_try) 2>&5
70662 ac_status=$?
70663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70664 (exit $ac_status); }; }; then
70665 glibcxx_cv_func___builtin_fabs_use=yes
70666 else
70667 echo "$as_me: failed program was:" >&5
70668 sed 's/^/| /' conftest.$ac_ext >&5
70670 glibcxx_cv_func___builtin_fabs_use=no
70672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70673 ac_ext=c
70674 ac_cpp='$CPP $CPPFLAGS'
70675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70683 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70684 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70685 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70686 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70687 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70688 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70689 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70690 echo $ECHO_N "(cached) $ECHO_C" >&6
70691 else
70693 if test x$gcc_no_link = xyes; then
70694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70696 { (exit 1); exit 1; }; }
70698 cat >conftest.$ac_ext <<_ACEOF
70699 /* confdefs.h. */
70700 _ACEOF
70701 cat confdefs.h >>conftest.$ac_ext
70702 cat >>conftest.$ac_ext <<_ACEOF
70703 /* end confdefs.h. */
70704 #include <math.h>
70706 main ()
70708 __builtin_fabs(0);
70710 return 0;
70712 _ACEOF
70713 rm -f conftest.$ac_objext conftest$ac_exeext
70714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70715 (eval $ac_link) 2>conftest.er1
70716 ac_status=$?
70717 grep -v '^ *+' conftest.er1 >conftest.err
70718 rm -f conftest.er1
70719 cat conftest.err >&5
70720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70721 (exit $ac_status); } &&
70722 { ac_try='test -z "$ac_c_werror_flag"
70723 || test ! -s conftest.err'
70724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70725 (eval $ac_try) 2>&5
70726 ac_status=$?
70727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70728 (exit $ac_status); }; } &&
70729 { ac_try='test -s conftest$ac_exeext'
70730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70731 (eval $ac_try) 2>&5
70732 ac_status=$?
70733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70734 (exit $ac_status); }; }; then
70735 glibcxx_cv_func___builtin_fabs_link=yes
70736 else
70737 echo "$as_me: failed program was:" >&5
70738 sed 's/^/| /' conftest.$ac_ext >&5
70740 glibcxx_cv_func___builtin_fabs_link=no
70742 rm -f conftest.err conftest.$ac_objext \
70743 conftest$ac_exeext conftest.$ac_ext
70748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70749 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70751 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70753 cat >>confdefs.h <<\_ACEOF
70754 #define HAVE___BUILTIN_FABS 1
70755 _ACEOF
70762 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70763 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70764 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70765 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70766 echo $ECHO_N "(cached) $ECHO_C" >&6
70767 else
70771 ac_ext=cc
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777 cat >conftest.$ac_ext <<_ACEOF
70778 /* confdefs.h. */
70779 _ACEOF
70780 cat confdefs.h >>conftest.$ac_ext
70781 cat >>conftest.$ac_ext <<_ACEOF
70782 /* end confdefs.h. */
70783 #include <math.h>
70785 main ()
70787 __builtin_fabsl(0);
70789 return 0;
70791 _ACEOF
70792 rm -f conftest.$ac_objext
70793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70794 (eval $ac_compile) 2>conftest.er1
70795 ac_status=$?
70796 grep -v '^ *+' conftest.er1 >conftest.err
70797 rm -f conftest.er1
70798 cat conftest.err >&5
70799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70800 (exit $ac_status); } &&
70801 { ac_try='test -z "$ac_cxx_werror_flag"
70802 || test ! -s conftest.err'
70803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70804 (eval $ac_try) 2>&5
70805 ac_status=$?
70806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70807 (exit $ac_status); }; } &&
70808 { ac_try='test -s conftest.$ac_objext'
70809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70810 (eval $ac_try) 2>&5
70811 ac_status=$?
70812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70813 (exit $ac_status); }; }; then
70814 glibcxx_cv_func___builtin_fabsl_use=yes
70815 else
70816 echo "$as_me: failed program was:" >&5
70817 sed 's/^/| /' conftest.$ac_ext >&5
70819 glibcxx_cv_func___builtin_fabsl_use=no
70821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70822 ac_ext=c
70823 ac_cpp='$CPP $CPPFLAGS'
70824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70832 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70833 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70834 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70835 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70836 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70837 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70838 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70839 echo $ECHO_N "(cached) $ECHO_C" >&6
70840 else
70842 if test x$gcc_no_link = xyes; then
70843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70845 { (exit 1); exit 1; }; }
70847 cat >conftest.$ac_ext <<_ACEOF
70848 /* confdefs.h. */
70849 _ACEOF
70850 cat confdefs.h >>conftest.$ac_ext
70851 cat >>conftest.$ac_ext <<_ACEOF
70852 /* end confdefs.h. */
70853 #include <math.h>
70855 main ()
70857 __builtin_fabsl(0);
70859 return 0;
70861 _ACEOF
70862 rm -f conftest.$ac_objext conftest$ac_exeext
70863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70864 (eval $ac_link) 2>conftest.er1
70865 ac_status=$?
70866 grep -v '^ *+' conftest.er1 >conftest.err
70867 rm -f conftest.er1
70868 cat conftest.err >&5
70869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870 (exit $ac_status); } &&
70871 { ac_try='test -z "$ac_c_werror_flag"
70872 || test ! -s conftest.err'
70873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70874 (eval $ac_try) 2>&5
70875 ac_status=$?
70876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70877 (exit $ac_status); }; } &&
70878 { ac_try='test -s conftest$ac_exeext'
70879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70880 (eval $ac_try) 2>&5
70881 ac_status=$?
70882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70883 (exit $ac_status); }; }; then
70884 glibcxx_cv_func___builtin_fabsl_link=yes
70885 else
70886 echo "$as_me: failed program was:" >&5
70887 sed 's/^/| /' conftest.$ac_ext >&5
70889 glibcxx_cv_func___builtin_fabsl_link=no
70891 rm -f conftest.err conftest.$ac_objext \
70892 conftest$ac_exeext conftest.$ac_ext
70897 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70898 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70900 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70902 cat >>confdefs.h <<\_ACEOF
70903 #define HAVE___BUILTIN_FABSL 1
70904 _ACEOF
70911 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70912 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70913 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70914 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70915 echo $ECHO_N "(cached) $ECHO_C" >&6
70916 else
70920 ac_ext=cc
70921 ac_cpp='$CXXCPP $CPPFLAGS'
70922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70926 cat >conftest.$ac_ext <<_ACEOF
70927 /* confdefs.h. */
70928 _ACEOF
70929 cat confdefs.h >>conftest.$ac_ext
70930 cat >>conftest.$ac_ext <<_ACEOF
70931 /* end confdefs.h. */
70932 #include <math.h>
70934 main ()
70936 __builtin_labs(0);
70938 return 0;
70940 _ACEOF
70941 rm -f conftest.$ac_objext
70942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70943 (eval $ac_compile) 2>conftest.er1
70944 ac_status=$?
70945 grep -v '^ *+' conftest.er1 >conftest.err
70946 rm -f conftest.er1
70947 cat conftest.err >&5
70948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70949 (exit $ac_status); } &&
70950 { ac_try='test -z "$ac_cxx_werror_flag"
70951 || test ! -s conftest.err'
70952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70953 (eval $ac_try) 2>&5
70954 ac_status=$?
70955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70956 (exit $ac_status); }; } &&
70957 { ac_try='test -s conftest.$ac_objext'
70958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70959 (eval $ac_try) 2>&5
70960 ac_status=$?
70961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70962 (exit $ac_status); }; }; then
70963 glibcxx_cv_func___builtin_labs_use=yes
70964 else
70965 echo "$as_me: failed program was:" >&5
70966 sed 's/^/| /' conftest.$ac_ext >&5
70968 glibcxx_cv_func___builtin_labs_use=no
70970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70971 ac_ext=c
70972 ac_cpp='$CPP $CPPFLAGS'
70973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70981 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
70982 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
70983 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
70984 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
70985 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
70986 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
70987 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
70988 echo $ECHO_N "(cached) $ECHO_C" >&6
70989 else
70991 if test x$gcc_no_link = xyes; then
70992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70994 { (exit 1); exit 1; }; }
70996 cat >conftest.$ac_ext <<_ACEOF
70997 /* confdefs.h. */
70998 _ACEOF
70999 cat confdefs.h >>conftest.$ac_ext
71000 cat >>conftest.$ac_ext <<_ACEOF
71001 /* end confdefs.h. */
71002 #include <math.h>
71004 main ()
71006 __builtin_labs(0);
71008 return 0;
71010 _ACEOF
71011 rm -f conftest.$ac_objext conftest$ac_exeext
71012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71013 (eval $ac_link) 2>conftest.er1
71014 ac_status=$?
71015 grep -v '^ *+' conftest.er1 >conftest.err
71016 rm -f conftest.er1
71017 cat conftest.err >&5
71018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71019 (exit $ac_status); } &&
71020 { ac_try='test -z "$ac_c_werror_flag"
71021 || test ! -s conftest.err'
71022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71023 (eval $ac_try) 2>&5
71024 ac_status=$?
71025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71026 (exit $ac_status); }; } &&
71027 { ac_try='test -s conftest$ac_exeext'
71028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71029 (eval $ac_try) 2>&5
71030 ac_status=$?
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); }; }; then
71033 glibcxx_cv_func___builtin_labs_link=yes
71034 else
71035 echo "$as_me: failed program was:" >&5
71036 sed 's/^/| /' conftest.$ac_ext >&5
71038 glibcxx_cv_func___builtin_labs_link=no
71040 rm -f conftest.err conftest.$ac_objext \
71041 conftest$ac_exeext conftest.$ac_ext
71046 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71047 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71049 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71051 cat >>confdefs.h <<\_ACEOF
71052 #define HAVE___BUILTIN_LABS 1
71053 _ACEOF
71061 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71062 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71063 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71064 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71065 echo $ECHO_N "(cached) $ECHO_C" >&6
71066 else
71070 ac_ext=cc
71071 ac_cpp='$CXXCPP $CPPFLAGS'
71072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71076 cat >conftest.$ac_ext <<_ACEOF
71077 /* confdefs.h. */
71078 _ACEOF
71079 cat confdefs.h >>conftest.$ac_ext
71080 cat >>conftest.$ac_ext <<_ACEOF
71081 /* end confdefs.h. */
71082 #include <math.h>
71084 main ()
71086 __builtin_sqrtf(0);
71088 return 0;
71090 _ACEOF
71091 rm -f conftest.$ac_objext
71092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71093 (eval $ac_compile) 2>conftest.er1
71094 ac_status=$?
71095 grep -v '^ *+' conftest.er1 >conftest.err
71096 rm -f conftest.er1
71097 cat conftest.err >&5
71098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71099 (exit $ac_status); } &&
71100 { ac_try='test -z "$ac_cxx_werror_flag"
71101 || test ! -s conftest.err'
71102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71103 (eval $ac_try) 2>&5
71104 ac_status=$?
71105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106 (exit $ac_status); }; } &&
71107 { ac_try='test -s conftest.$ac_objext'
71108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71109 (eval $ac_try) 2>&5
71110 ac_status=$?
71111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71112 (exit $ac_status); }; }; then
71113 glibcxx_cv_func___builtin_sqrtf_use=yes
71114 else
71115 echo "$as_me: failed program was:" >&5
71116 sed 's/^/| /' conftest.$ac_ext >&5
71118 glibcxx_cv_func___builtin_sqrtf_use=no
71120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71121 ac_ext=c
71122 ac_cpp='$CPP $CPPFLAGS'
71123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71132 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71133 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71134 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71135 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71136 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71137 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71138 echo $ECHO_N "(cached) $ECHO_C" >&6
71139 else
71141 if test x$gcc_no_link = xyes; then
71142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71144 { (exit 1); exit 1; }; }
71146 cat >conftest.$ac_ext <<_ACEOF
71147 /* confdefs.h. */
71148 _ACEOF
71149 cat confdefs.h >>conftest.$ac_ext
71150 cat >>conftest.$ac_ext <<_ACEOF
71151 /* end confdefs.h. */
71152 #include <math.h>
71154 main ()
71156 __builtin_sqrtf(0);
71158 return 0;
71160 _ACEOF
71161 rm -f conftest.$ac_objext conftest$ac_exeext
71162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71163 (eval $ac_link) 2>conftest.er1
71164 ac_status=$?
71165 grep -v '^ *+' conftest.er1 >conftest.err
71166 rm -f conftest.er1
71167 cat conftest.err >&5
71168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169 (exit $ac_status); } &&
71170 { ac_try='test -z "$ac_c_werror_flag"
71171 || test ! -s conftest.err'
71172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71173 (eval $ac_try) 2>&5
71174 ac_status=$?
71175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71176 (exit $ac_status); }; } &&
71177 { ac_try='test -s conftest$ac_exeext'
71178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71179 (eval $ac_try) 2>&5
71180 ac_status=$?
71181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71182 (exit $ac_status); }; }; then
71183 glibcxx_cv_func___builtin_sqrtf_link=yes
71184 else
71185 echo "$as_me: failed program was:" >&5
71186 sed 's/^/| /' conftest.$ac_ext >&5
71188 glibcxx_cv_func___builtin_sqrtf_link=no
71190 rm -f conftest.err conftest.$ac_objext \
71191 conftest$ac_exeext conftest.$ac_ext
71196 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71197 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71199 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71201 cat >>confdefs.h <<\_ACEOF
71202 #define HAVE___BUILTIN_SQRTF 1
71203 _ACEOF
71210 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71211 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71212 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71213 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71214 echo $ECHO_N "(cached) $ECHO_C" >&6
71215 else
71219 ac_ext=cc
71220 ac_cpp='$CXXCPP $CPPFLAGS'
71221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71225 cat >conftest.$ac_ext <<_ACEOF
71226 /* confdefs.h. */
71227 _ACEOF
71228 cat confdefs.h >>conftest.$ac_ext
71229 cat >>conftest.$ac_ext <<_ACEOF
71230 /* end confdefs.h. */
71231 #include <math.h>
71233 main ()
71235 __builtin_sqrt(0);
71237 return 0;
71239 _ACEOF
71240 rm -f conftest.$ac_objext
71241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71242 (eval $ac_compile) 2>conftest.er1
71243 ac_status=$?
71244 grep -v '^ *+' conftest.er1 >conftest.err
71245 rm -f conftest.er1
71246 cat conftest.err >&5
71247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248 (exit $ac_status); } &&
71249 { ac_try='test -z "$ac_cxx_werror_flag"
71250 || test ! -s conftest.err'
71251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71252 (eval $ac_try) 2>&5
71253 ac_status=$?
71254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71255 (exit $ac_status); }; } &&
71256 { ac_try='test -s conftest.$ac_objext'
71257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71258 (eval $ac_try) 2>&5
71259 ac_status=$?
71260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71261 (exit $ac_status); }; }; then
71262 glibcxx_cv_func___builtin_sqrt_use=yes
71263 else
71264 echo "$as_me: failed program was:" >&5
71265 sed 's/^/| /' conftest.$ac_ext >&5
71267 glibcxx_cv_func___builtin_sqrt_use=no
71269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71270 ac_ext=c
71271 ac_cpp='$CPP $CPPFLAGS'
71272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71281 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71282 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71283 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71284 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71285 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71286 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71287 echo $ECHO_N "(cached) $ECHO_C" >&6
71288 else
71290 if test x$gcc_no_link = xyes; then
71291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71293 { (exit 1); exit 1; }; }
71295 cat >conftest.$ac_ext <<_ACEOF
71296 /* confdefs.h. */
71297 _ACEOF
71298 cat confdefs.h >>conftest.$ac_ext
71299 cat >>conftest.$ac_ext <<_ACEOF
71300 /* end confdefs.h. */
71301 #include <math.h>
71303 main ()
71305 __builtin_sqrt(0);
71307 return 0;
71309 _ACEOF
71310 rm -f conftest.$ac_objext conftest$ac_exeext
71311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71312 (eval $ac_link) 2>conftest.er1
71313 ac_status=$?
71314 grep -v '^ *+' conftest.er1 >conftest.err
71315 rm -f conftest.er1
71316 cat conftest.err >&5
71317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318 (exit $ac_status); } &&
71319 { ac_try='test -z "$ac_c_werror_flag"
71320 || test ! -s conftest.err'
71321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71322 (eval $ac_try) 2>&5
71323 ac_status=$?
71324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325 (exit $ac_status); }; } &&
71326 { ac_try='test -s conftest$ac_exeext'
71327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71328 (eval $ac_try) 2>&5
71329 ac_status=$?
71330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71331 (exit $ac_status); }; }; then
71332 glibcxx_cv_func___builtin_sqrt_link=yes
71333 else
71334 echo "$as_me: failed program was:" >&5
71335 sed 's/^/| /' conftest.$ac_ext >&5
71337 glibcxx_cv_func___builtin_sqrt_link=no
71339 rm -f conftest.err conftest.$ac_objext \
71340 conftest$ac_exeext conftest.$ac_ext
71345 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71346 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71348 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71350 cat >>confdefs.h <<\_ACEOF
71351 #define HAVE___BUILTIN_SQRT 1
71352 _ACEOF
71359 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71360 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71361 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71362 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71363 echo $ECHO_N "(cached) $ECHO_C" >&6
71364 else
71368 ac_ext=cc
71369 ac_cpp='$CXXCPP $CPPFLAGS'
71370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71374 cat >conftest.$ac_ext <<_ACEOF
71375 /* confdefs.h. */
71376 _ACEOF
71377 cat confdefs.h >>conftest.$ac_ext
71378 cat >>conftest.$ac_ext <<_ACEOF
71379 /* end confdefs.h. */
71380 #include <math.h>
71382 main ()
71384 __builtin_sqrtl(0);
71386 return 0;
71388 _ACEOF
71389 rm -f conftest.$ac_objext
71390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71391 (eval $ac_compile) 2>conftest.er1
71392 ac_status=$?
71393 grep -v '^ *+' conftest.er1 >conftest.err
71394 rm -f conftest.er1
71395 cat conftest.err >&5
71396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71397 (exit $ac_status); } &&
71398 { ac_try='test -z "$ac_cxx_werror_flag"
71399 || test ! -s conftest.err'
71400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71401 (eval $ac_try) 2>&5
71402 ac_status=$?
71403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71404 (exit $ac_status); }; } &&
71405 { ac_try='test -s conftest.$ac_objext'
71406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71407 (eval $ac_try) 2>&5
71408 ac_status=$?
71409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71410 (exit $ac_status); }; }; then
71411 glibcxx_cv_func___builtin_sqrtl_use=yes
71412 else
71413 echo "$as_me: failed program was:" >&5
71414 sed 's/^/| /' conftest.$ac_ext >&5
71416 glibcxx_cv_func___builtin_sqrtl_use=no
71418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71419 ac_ext=c
71420 ac_cpp='$CPP $CPPFLAGS'
71421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71429 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71430 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71431 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71432 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71433 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71434 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71435 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71436 echo $ECHO_N "(cached) $ECHO_C" >&6
71437 else
71439 if test x$gcc_no_link = xyes; then
71440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71442 { (exit 1); exit 1; }; }
71444 cat >conftest.$ac_ext <<_ACEOF
71445 /* confdefs.h. */
71446 _ACEOF
71447 cat confdefs.h >>conftest.$ac_ext
71448 cat >>conftest.$ac_ext <<_ACEOF
71449 /* end confdefs.h. */
71450 #include <math.h>
71452 main ()
71454 __builtin_sqrtl(0);
71456 return 0;
71458 _ACEOF
71459 rm -f conftest.$ac_objext conftest$ac_exeext
71460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71461 (eval $ac_link) 2>conftest.er1
71462 ac_status=$?
71463 grep -v '^ *+' conftest.er1 >conftest.err
71464 rm -f conftest.er1
71465 cat conftest.err >&5
71466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71467 (exit $ac_status); } &&
71468 { ac_try='test -z "$ac_c_werror_flag"
71469 || test ! -s conftest.err'
71470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71471 (eval $ac_try) 2>&5
71472 ac_status=$?
71473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71474 (exit $ac_status); }; } &&
71475 { ac_try='test -s conftest$ac_exeext'
71476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71477 (eval $ac_try) 2>&5
71478 ac_status=$?
71479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71480 (exit $ac_status); }; }; then
71481 glibcxx_cv_func___builtin_sqrtl_link=yes
71482 else
71483 echo "$as_me: failed program was:" >&5
71484 sed 's/^/| /' conftest.$ac_ext >&5
71486 glibcxx_cv_func___builtin_sqrtl_link=no
71488 rm -f conftest.err conftest.$ac_objext \
71489 conftest$ac_exeext conftest.$ac_ext
71494 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71495 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71497 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71499 cat >>confdefs.h <<\_ACEOF
71500 #define HAVE___BUILTIN_SQRTL 1
71501 _ACEOF
71509 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71510 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71511 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71512 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71513 echo $ECHO_N "(cached) $ECHO_C" >&6
71514 else
71518 ac_ext=cc
71519 ac_cpp='$CXXCPP $CPPFLAGS'
71520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71524 cat >conftest.$ac_ext <<_ACEOF
71525 /* confdefs.h. */
71526 _ACEOF
71527 cat confdefs.h >>conftest.$ac_ext
71528 cat >>conftest.$ac_ext <<_ACEOF
71529 /* end confdefs.h. */
71530 #include <math.h>
71532 main ()
71534 __builtin_sinf(0);
71536 return 0;
71538 _ACEOF
71539 rm -f conftest.$ac_objext
71540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71541 (eval $ac_compile) 2>conftest.er1
71542 ac_status=$?
71543 grep -v '^ *+' conftest.er1 >conftest.err
71544 rm -f conftest.er1
71545 cat conftest.err >&5
71546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71547 (exit $ac_status); } &&
71548 { ac_try='test -z "$ac_cxx_werror_flag"
71549 || test ! -s conftest.err'
71550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71551 (eval $ac_try) 2>&5
71552 ac_status=$?
71553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554 (exit $ac_status); }; } &&
71555 { ac_try='test -s conftest.$ac_objext'
71556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71557 (eval $ac_try) 2>&5
71558 ac_status=$?
71559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71560 (exit $ac_status); }; }; then
71561 glibcxx_cv_func___builtin_sinf_use=yes
71562 else
71563 echo "$as_me: failed program was:" >&5
71564 sed 's/^/| /' conftest.$ac_ext >&5
71566 glibcxx_cv_func___builtin_sinf_use=no
71568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71569 ac_ext=c
71570 ac_cpp='$CPP $CPPFLAGS'
71571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71580 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71581 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71582 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71583 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71584 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71585 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71586 echo $ECHO_N "(cached) $ECHO_C" >&6
71587 else
71589 if test x$gcc_no_link = xyes; then
71590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71592 { (exit 1); exit 1; }; }
71594 cat >conftest.$ac_ext <<_ACEOF
71595 /* confdefs.h. */
71596 _ACEOF
71597 cat confdefs.h >>conftest.$ac_ext
71598 cat >>conftest.$ac_ext <<_ACEOF
71599 /* end confdefs.h. */
71600 #include <math.h>
71602 main ()
71604 __builtin_sinf(0);
71606 return 0;
71608 _ACEOF
71609 rm -f conftest.$ac_objext conftest$ac_exeext
71610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71611 (eval $ac_link) 2>conftest.er1
71612 ac_status=$?
71613 grep -v '^ *+' conftest.er1 >conftest.err
71614 rm -f conftest.er1
71615 cat conftest.err >&5
71616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71617 (exit $ac_status); } &&
71618 { ac_try='test -z "$ac_c_werror_flag"
71619 || test ! -s conftest.err'
71620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71621 (eval $ac_try) 2>&5
71622 ac_status=$?
71623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71624 (exit $ac_status); }; } &&
71625 { ac_try='test -s conftest$ac_exeext'
71626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71627 (eval $ac_try) 2>&5
71628 ac_status=$?
71629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71630 (exit $ac_status); }; }; then
71631 glibcxx_cv_func___builtin_sinf_link=yes
71632 else
71633 echo "$as_me: failed program was:" >&5
71634 sed 's/^/| /' conftest.$ac_ext >&5
71636 glibcxx_cv_func___builtin_sinf_link=no
71638 rm -f conftest.err conftest.$ac_objext \
71639 conftest$ac_exeext conftest.$ac_ext
71644 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71645 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71647 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71649 cat >>confdefs.h <<\_ACEOF
71650 #define HAVE___BUILTIN_SINF 1
71651 _ACEOF
71658 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71659 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71660 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71661 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71662 echo $ECHO_N "(cached) $ECHO_C" >&6
71663 else
71667 ac_ext=cc
71668 ac_cpp='$CXXCPP $CPPFLAGS'
71669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71673 cat >conftest.$ac_ext <<_ACEOF
71674 /* confdefs.h. */
71675 _ACEOF
71676 cat confdefs.h >>conftest.$ac_ext
71677 cat >>conftest.$ac_ext <<_ACEOF
71678 /* end confdefs.h. */
71679 #include <math.h>
71681 main ()
71683 __builtin_sin(0);
71685 return 0;
71687 _ACEOF
71688 rm -f conftest.$ac_objext
71689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71690 (eval $ac_compile) 2>conftest.er1
71691 ac_status=$?
71692 grep -v '^ *+' conftest.er1 >conftest.err
71693 rm -f conftest.er1
71694 cat conftest.err >&5
71695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71696 (exit $ac_status); } &&
71697 { ac_try='test -z "$ac_cxx_werror_flag"
71698 || test ! -s conftest.err'
71699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71700 (eval $ac_try) 2>&5
71701 ac_status=$?
71702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71703 (exit $ac_status); }; } &&
71704 { ac_try='test -s conftest.$ac_objext'
71705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71706 (eval $ac_try) 2>&5
71707 ac_status=$?
71708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71709 (exit $ac_status); }; }; then
71710 glibcxx_cv_func___builtin_sin_use=yes
71711 else
71712 echo "$as_me: failed program was:" >&5
71713 sed 's/^/| /' conftest.$ac_ext >&5
71715 glibcxx_cv_func___builtin_sin_use=no
71717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71718 ac_ext=c
71719 ac_cpp='$CPP $CPPFLAGS'
71720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71728 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71729 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71730 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71731 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71732 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71733 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71734 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71735 echo $ECHO_N "(cached) $ECHO_C" >&6
71736 else
71738 if test x$gcc_no_link = xyes; then
71739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71741 { (exit 1); exit 1; }; }
71743 cat >conftest.$ac_ext <<_ACEOF
71744 /* confdefs.h. */
71745 _ACEOF
71746 cat confdefs.h >>conftest.$ac_ext
71747 cat >>conftest.$ac_ext <<_ACEOF
71748 /* end confdefs.h. */
71749 #include <math.h>
71751 main ()
71753 __builtin_sin(0);
71755 return 0;
71757 _ACEOF
71758 rm -f conftest.$ac_objext conftest$ac_exeext
71759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71760 (eval $ac_link) 2>conftest.er1
71761 ac_status=$?
71762 grep -v '^ *+' conftest.er1 >conftest.err
71763 rm -f conftest.er1
71764 cat conftest.err >&5
71765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71766 (exit $ac_status); } &&
71767 { ac_try='test -z "$ac_c_werror_flag"
71768 || test ! -s conftest.err'
71769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71770 (eval $ac_try) 2>&5
71771 ac_status=$?
71772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71773 (exit $ac_status); }; } &&
71774 { ac_try='test -s conftest$ac_exeext'
71775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71776 (eval $ac_try) 2>&5
71777 ac_status=$?
71778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71779 (exit $ac_status); }; }; then
71780 glibcxx_cv_func___builtin_sin_link=yes
71781 else
71782 echo "$as_me: failed program was:" >&5
71783 sed 's/^/| /' conftest.$ac_ext >&5
71785 glibcxx_cv_func___builtin_sin_link=no
71787 rm -f conftest.err conftest.$ac_objext \
71788 conftest$ac_exeext conftest.$ac_ext
71793 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71794 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71796 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71798 cat >>confdefs.h <<\_ACEOF
71799 #define HAVE___BUILTIN_SIN 1
71800 _ACEOF
71807 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71808 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71809 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71810 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71811 echo $ECHO_N "(cached) $ECHO_C" >&6
71812 else
71816 ac_ext=cc
71817 ac_cpp='$CXXCPP $CPPFLAGS'
71818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71822 cat >conftest.$ac_ext <<_ACEOF
71823 /* confdefs.h. */
71824 _ACEOF
71825 cat confdefs.h >>conftest.$ac_ext
71826 cat >>conftest.$ac_ext <<_ACEOF
71827 /* end confdefs.h. */
71828 #include <math.h>
71830 main ()
71832 __builtin_sinl(0);
71834 return 0;
71836 _ACEOF
71837 rm -f conftest.$ac_objext
71838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71839 (eval $ac_compile) 2>conftest.er1
71840 ac_status=$?
71841 grep -v '^ *+' conftest.er1 >conftest.err
71842 rm -f conftest.er1
71843 cat conftest.err >&5
71844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71845 (exit $ac_status); } &&
71846 { ac_try='test -z "$ac_cxx_werror_flag"
71847 || test ! -s conftest.err'
71848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71849 (eval $ac_try) 2>&5
71850 ac_status=$?
71851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71852 (exit $ac_status); }; } &&
71853 { ac_try='test -s conftest.$ac_objext'
71854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71855 (eval $ac_try) 2>&5
71856 ac_status=$?
71857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71858 (exit $ac_status); }; }; then
71859 glibcxx_cv_func___builtin_sinl_use=yes
71860 else
71861 echo "$as_me: failed program was:" >&5
71862 sed 's/^/| /' conftest.$ac_ext >&5
71864 glibcxx_cv_func___builtin_sinl_use=no
71866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71867 ac_ext=c
71868 ac_cpp='$CPP $CPPFLAGS'
71869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71878 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71879 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71880 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71881 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71882 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71883 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71884 echo $ECHO_N "(cached) $ECHO_C" >&6
71885 else
71887 if test x$gcc_no_link = xyes; then
71888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71890 { (exit 1); exit 1; }; }
71892 cat >conftest.$ac_ext <<_ACEOF
71893 /* confdefs.h. */
71894 _ACEOF
71895 cat confdefs.h >>conftest.$ac_ext
71896 cat >>conftest.$ac_ext <<_ACEOF
71897 /* end confdefs.h. */
71898 #include <math.h>
71900 main ()
71902 __builtin_sinl(0);
71904 return 0;
71906 _ACEOF
71907 rm -f conftest.$ac_objext conftest$ac_exeext
71908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71909 (eval $ac_link) 2>conftest.er1
71910 ac_status=$?
71911 grep -v '^ *+' conftest.er1 >conftest.err
71912 rm -f conftest.er1
71913 cat conftest.err >&5
71914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71915 (exit $ac_status); } &&
71916 { ac_try='test -z "$ac_c_werror_flag"
71917 || test ! -s conftest.err'
71918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71919 (eval $ac_try) 2>&5
71920 ac_status=$?
71921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71922 (exit $ac_status); }; } &&
71923 { ac_try='test -s conftest$ac_exeext'
71924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71925 (eval $ac_try) 2>&5
71926 ac_status=$?
71927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71928 (exit $ac_status); }; }; then
71929 glibcxx_cv_func___builtin_sinl_link=yes
71930 else
71931 echo "$as_me: failed program was:" >&5
71932 sed 's/^/| /' conftest.$ac_ext >&5
71934 glibcxx_cv_func___builtin_sinl_link=no
71936 rm -f conftest.err conftest.$ac_objext \
71937 conftest$ac_exeext conftest.$ac_ext
71942 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71943 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71945 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71947 cat >>confdefs.h <<\_ACEOF
71948 #define HAVE___BUILTIN_SINL 1
71949 _ACEOF
71957 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71958 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71959 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71960 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71961 echo $ECHO_N "(cached) $ECHO_C" >&6
71962 else
71966 ac_ext=cc
71967 ac_cpp='$CXXCPP $CPPFLAGS'
71968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71972 cat >conftest.$ac_ext <<_ACEOF
71973 /* confdefs.h. */
71974 _ACEOF
71975 cat confdefs.h >>conftest.$ac_ext
71976 cat >>conftest.$ac_ext <<_ACEOF
71977 /* end confdefs.h. */
71978 #include <math.h>
71980 main ()
71982 __builtin_cosf(0);
71984 return 0;
71986 _ACEOF
71987 rm -f conftest.$ac_objext
71988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71989 (eval $ac_compile) 2>conftest.er1
71990 ac_status=$?
71991 grep -v '^ *+' conftest.er1 >conftest.err
71992 rm -f conftest.er1
71993 cat conftest.err >&5
71994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71995 (exit $ac_status); } &&
71996 { ac_try='test -z "$ac_cxx_werror_flag"
71997 || test ! -s conftest.err'
71998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71999 (eval $ac_try) 2>&5
72000 ac_status=$?
72001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72002 (exit $ac_status); }; } &&
72003 { ac_try='test -s conftest.$ac_objext'
72004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72005 (eval $ac_try) 2>&5
72006 ac_status=$?
72007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72008 (exit $ac_status); }; }; then
72009 glibcxx_cv_func___builtin_cosf_use=yes
72010 else
72011 echo "$as_me: failed program was:" >&5
72012 sed 's/^/| /' conftest.$ac_ext >&5
72014 glibcxx_cv_func___builtin_cosf_use=no
72016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72017 ac_ext=c
72018 ac_cpp='$CPP $CPPFLAGS'
72019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72027 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72028 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72029 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72030 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72031 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72032 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72033 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72034 echo $ECHO_N "(cached) $ECHO_C" >&6
72035 else
72037 if test x$gcc_no_link = xyes; then
72038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72040 { (exit 1); exit 1; }; }
72042 cat >conftest.$ac_ext <<_ACEOF
72043 /* confdefs.h. */
72044 _ACEOF
72045 cat confdefs.h >>conftest.$ac_ext
72046 cat >>conftest.$ac_ext <<_ACEOF
72047 /* end confdefs.h. */
72048 #include <math.h>
72050 main ()
72052 __builtin_cosf(0);
72054 return 0;
72056 _ACEOF
72057 rm -f conftest.$ac_objext conftest$ac_exeext
72058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72059 (eval $ac_link) 2>conftest.er1
72060 ac_status=$?
72061 grep -v '^ *+' conftest.er1 >conftest.err
72062 rm -f conftest.er1
72063 cat conftest.err >&5
72064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72065 (exit $ac_status); } &&
72066 { ac_try='test -z "$ac_c_werror_flag"
72067 || test ! -s conftest.err'
72068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72069 (eval $ac_try) 2>&5
72070 ac_status=$?
72071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72072 (exit $ac_status); }; } &&
72073 { ac_try='test -s conftest$ac_exeext'
72074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72075 (eval $ac_try) 2>&5
72076 ac_status=$?
72077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72078 (exit $ac_status); }; }; then
72079 glibcxx_cv_func___builtin_cosf_link=yes
72080 else
72081 echo "$as_me: failed program was:" >&5
72082 sed 's/^/| /' conftest.$ac_ext >&5
72084 glibcxx_cv_func___builtin_cosf_link=no
72086 rm -f conftest.err conftest.$ac_objext \
72087 conftest$ac_exeext conftest.$ac_ext
72092 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72093 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72095 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72097 cat >>confdefs.h <<\_ACEOF
72098 #define HAVE___BUILTIN_COSF 1
72099 _ACEOF
72106 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72107 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72108 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72109 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72110 echo $ECHO_N "(cached) $ECHO_C" >&6
72111 else
72115 ac_ext=cc
72116 ac_cpp='$CXXCPP $CPPFLAGS'
72117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72121 cat >conftest.$ac_ext <<_ACEOF
72122 /* confdefs.h. */
72123 _ACEOF
72124 cat confdefs.h >>conftest.$ac_ext
72125 cat >>conftest.$ac_ext <<_ACEOF
72126 /* end confdefs.h. */
72127 #include <math.h>
72129 main ()
72131 __builtin_cos(0);
72133 return 0;
72135 _ACEOF
72136 rm -f conftest.$ac_objext
72137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72138 (eval $ac_compile) 2>conftest.er1
72139 ac_status=$?
72140 grep -v '^ *+' conftest.er1 >conftest.err
72141 rm -f conftest.er1
72142 cat conftest.err >&5
72143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72144 (exit $ac_status); } &&
72145 { ac_try='test -z "$ac_cxx_werror_flag"
72146 || test ! -s conftest.err'
72147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72148 (eval $ac_try) 2>&5
72149 ac_status=$?
72150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72151 (exit $ac_status); }; } &&
72152 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
72158 glibcxx_cv_func___builtin_cos_use=yes
72159 else
72160 echo "$as_me: failed program was:" >&5
72161 sed 's/^/| /' conftest.$ac_ext >&5
72163 glibcxx_cv_func___builtin_cos_use=no
72165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72166 ac_ext=c
72167 ac_cpp='$CPP $CPPFLAGS'
72168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72176 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72177 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72178 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72179 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72180 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72181 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72182 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72183 echo $ECHO_N "(cached) $ECHO_C" >&6
72184 else
72186 if test x$gcc_no_link = xyes; then
72187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72189 { (exit 1); exit 1; }; }
72191 cat >conftest.$ac_ext <<_ACEOF
72192 /* confdefs.h. */
72193 _ACEOF
72194 cat confdefs.h >>conftest.$ac_ext
72195 cat >>conftest.$ac_ext <<_ACEOF
72196 /* end confdefs.h. */
72197 #include <math.h>
72199 main ()
72201 __builtin_cos(0);
72203 return 0;
72205 _ACEOF
72206 rm -f conftest.$ac_objext conftest$ac_exeext
72207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72208 (eval $ac_link) 2>conftest.er1
72209 ac_status=$?
72210 grep -v '^ *+' conftest.er1 >conftest.err
72211 rm -f conftest.er1
72212 cat conftest.err >&5
72213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72214 (exit $ac_status); } &&
72215 { ac_try='test -z "$ac_c_werror_flag"
72216 || test ! -s conftest.err'
72217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72218 (eval $ac_try) 2>&5
72219 ac_status=$?
72220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72221 (exit $ac_status); }; } &&
72222 { ac_try='test -s conftest$ac_exeext'
72223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72224 (eval $ac_try) 2>&5
72225 ac_status=$?
72226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72227 (exit $ac_status); }; }; then
72228 glibcxx_cv_func___builtin_cos_link=yes
72229 else
72230 echo "$as_me: failed program was:" >&5
72231 sed 's/^/| /' conftest.$ac_ext >&5
72233 glibcxx_cv_func___builtin_cos_link=no
72235 rm -f conftest.err conftest.$ac_objext \
72236 conftest$ac_exeext conftest.$ac_ext
72241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72242 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72244 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72246 cat >>confdefs.h <<\_ACEOF
72247 #define HAVE___BUILTIN_COS 1
72248 _ACEOF
72255 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72256 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72257 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72258 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72259 echo $ECHO_N "(cached) $ECHO_C" >&6
72260 else
72264 ac_ext=cc
72265 ac_cpp='$CXXCPP $CPPFLAGS'
72266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72270 cat >conftest.$ac_ext <<_ACEOF
72271 /* confdefs.h. */
72272 _ACEOF
72273 cat confdefs.h >>conftest.$ac_ext
72274 cat >>conftest.$ac_ext <<_ACEOF
72275 /* end confdefs.h. */
72276 #include <math.h>
72278 main ()
72280 __builtin_cosl(0);
72282 return 0;
72284 _ACEOF
72285 rm -f conftest.$ac_objext
72286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72287 (eval $ac_compile) 2>conftest.er1
72288 ac_status=$?
72289 grep -v '^ *+' conftest.er1 >conftest.err
72290 rm -f conftest.er1
72291 cat conftest.err >&5
72292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72293 (exit $ac_status); } &&
72294 { ac_try='test -z "$ac_cxx_werror_flag"
72295 || test ! -s conftest.err'
72296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72297 (eval $ac_try) 2>&5
72298 ac_status=$?
72299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72300 (exit $ac_status); }; } &&
72301 { ac_try='test -s conftest.$ac_objext'
72302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72303 (eval $ac_try) 2>&5
72304 ac_status=$?
72305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72306 (exit $ac_status); }; }; then
72307 glibcxx_cv_func___builtin_cosl_use=yes
72308 else
72309 echo "$as_me: failed program was:" >&5
72310 sed 's/^/| /' conftest.$ac_ext >&5
72312 glibcxx_cv_func___builtin_cosl_use=no
72314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72315 ac_ext=c
72316 ac_cpp='$CPP $CPPFLAGS'
72317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72326 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72327 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72328 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72329 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72330 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72331 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72332 echo $ECHO_N "(cached) $ECHO_C" >&6
72333 else
72335 if test x$gcc_no_link = xyes; then
72336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72338 { (exit 1); exit 1; }; }
72340 cat >conftest.$ac_ext <<_ACEOF
72341 /* confdefs.h. */
72342 _ACEOF
72343 cat confdefs.h >>conftest.$ac_ext
72344 cat >>conftest.$ac_ext <<_ACEOF
72345 /* end confdefs.h. */
72346 #include <math.h>
72348 main ()
72350 __builtin_cosl(0);
72352 return 0;
72354 _ACEOF
72355 rm -f conftest.$ac_objext conftest$ac_exeext
72356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72357 (eval $ac_link) 2>conftest.er1
72358 ac_status=$?
72359 grep -v '^ *+' conftest.er1 >conftest.err
72360 rm -f conftest.er1
72361 cat conftest.err >&5
72362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72363 (exit $ac_status); } &&
72364 { ac_try='test -z "$ac_c_werror_flag"
72365 || test ! -s conftest.err'
72366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72367 (eval $ac_try) 2>&5
72368 ac_status=$?
72369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72370 (exit $ac_status); }; } &&
72371 { ac_try='test -s conftest$ac_exeext'
72372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72373 (eval $ac_try) 2>&5
72374 ac_status=$?
72375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72376 (exit $ac_status); }; }; then
72377 glibcxx_cv_func___builtin_cosl_link=yes
72378 else
72379 echo "$as_me: failed program was:" >&5
72380 sed 's/^/| /' conftest.$ac_ext >&5
72382 glibcxx_cv_func___builtin_cosl_link=no
72384 rm -f conftest.err conftest.$ac_objext \
72385 conftest$ac_exeext conftest.$ac_ext
72390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72391 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72393 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72395 cat >>confdefs.h <<\_ACEOF
72396 #define HAVE___BUILTIN_COSL 1
72397 _ACEOF
72406 echo "$as_me:$LINENO: checking for main in -lm" >&5
72407 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72408 if test "${ac_cv_lib_m_main+set}" = set; then
72409 echo $ECHO_N "(cached) $ECHO_C" >&6
72410 else
72411 ac_check_lib_save_LIBS=$LIBS
72412 LIBS="-lm $LIBS"
72413 if test x$gcc_no_link = xyes; then
72414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72416 { (exit 1); exit 1; }; }
72418 cat >conftest.$ac_ext <<_ACEOF
72419 /* confdefs.h. */
72420 _ACEOF
72421 cat confdefs.h >>conftest.$ac_ext
72422 cat >>conftest.$ac_ext <<_ACEOF
72423 /* end confdefs.h. */
72427 main ()
72429 main ();
72431 return 0;
72433 _ACEOF
72434 rm -f conftest.$ac_objext conftest$ac_exeext
72435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72436 (eval $ac_link) 2>conftest.er1
72437 ac_status=$?
72438 grep -v '^ *+' conftest.er1 >conftest.err
72439 rm -f conftest.er1
72440 cat conftest.err >&5
72441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72442 (exit $ac_status); } &&
72443 { ac_try='test -z "$ac_c_werror_flag"
72444 || test ! -s conftest.err'
72445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72446 (eval $ac_try) 2>&5
72447 ac_status=$?
72448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72449 (exit $ac_status); }; } &&
72450 { ac_try='test -s conftest$ac_exeext'
72451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72452 (eval $ac_try) 2>&5
72453 ac_status=$?
72454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72455 (exit $ac_status); }; }; then
72456 ac_cv_lib_m_main=yes
72457 else
72458 echo "$as_me: failed program was:" >&5
72459 sed 's/^/| /' conftest.$ac_ext >&5
72461 ac_cv_lib_m_main=no
72463 rm -f conftest.err conftest.$ac_objext \
72464 conftest$ac_exeext conftest.$ac_ext
72465 LIBS=$ac_check_lib_save_LIBS
72467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72468 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72469 if test $ac_cv_lib_m_main = yes; then
72470 cat >>confdefs.h <<_ACEOF
72471 #define HAVE_LIBM 1
72472 _ACEOF
72474 LIBS="-lm $LIBS"
72479 for ac_func in copysignf
72481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72482 echo "$as_me:$LINENO: checking for $ac_func" >&5
72483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72484 if eval "test \"\${$as_ac_var+set}\" = set"; then
72485 echo $ECHO_N "(cached) $ECHO_C" >&6
72486 else
72487 if test x$gcc_no_link = xyes; then
72488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72490 { (exit 1); exit 1; }; }
72492 cat >conftest.$ac_ext <<_ACEOF
72493 /* confdefs.h. */
72494 _ACEOF
72495 cat confdefs.h >>conftest.$ac_ext
72496 cat >>conftest.$ac_ext <<_ACEOF
72497 /* end confdefs.h. */
72498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72500 #define $ac_func innocuous_$ac_func
72502 /* System header to define __stub macros and hopefully few prototypes,
72503 which can conflict with char $ac_func (); below.
72504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72505 <limits.h> exists even on freestanding compilers. */
72507 #ifdef __STDC__
72508 # include <limits.h>
72509 #else
72510 # include <assert.h>
72511 #endif
72513 #undef $ac_func
72515 /* Override any gcc2 internal prototype to avoid an error. */
72516 #ifdef __cplusplus
72517 extern "C"
72519 #endif
72520 /* We use char because int might match the return type of a gcc2
72521 builtin and then its argument prototype would still apply. */
72522 char $ac_func ();
72523 /* The GNU C library defines this for functions which it implements
72524 to always fail with ENOSYS. Some functions are actually named
72525 something starting with __ and the normal name is an alias. */
72526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72527 choke me
72528 #else
72529 char (*f) () = $ac_func;
72530 #endif
72531 #ifdef __cplusplus
72533 #endif
72536 main ()
72538 return f != $ac_func;
72540 return 0;
72542 _ACEOF
72543 rm -f conftest.$ac_objext conftest$ac_exeext
72544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72545 (eval $ac_link) 2>conftest.er1
72546 ac_status=$?
72547 grep -v '^ *+' conftest.er1 >conftest.err
72548 rm -f conftest.er1
72549 cat conftest.err >&5
72550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72551 (exit $ac_status); } &&
72552 { ac_try='test -z "$ac_c_werror_flag"
72553 || test ! -s conftest.err'
72554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72555 (eval $ac_try) 2>&5
72556 ac_status=$?
72557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72558 (exit $ac_status); }; } &&
72559 { ac_try='test -s conftest$ac_exeext'
72560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72561 (eval $ac_try) 2>&5
72562 ac_status=$?
72563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72564 (exit $ac_status); }; }; then
72565 eval "$as_ac_var=yes"
72566 else
72567 echo "$as_me: failed program was:" >&5
72568 sed 's/^/| /' conftest.$ac_ext >&5
72570 eval "$as_ac_var=no"
72572 rm -f conftest.err conftest.$ac_objext \
72573 conftest$ac_exeext conftest.$ac_ext
72575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72577 if test `eval echo '${'$as_ac_var'}'` = yes; then
72578 cat >>confdefs.h <<_ACEOF
72579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72580 _ACEOF
72582 else
72583 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72585 done
72589 for ac_func in __signbit
72591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72592 echo "$as_me:$LINENO: checking for $ac_func" >&5
72593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72594 if eval "test \"\${$as_ac_var+set}\" = set"; then
72595 echo $ECHO_N "(cached) $ECHO_C" >&6
72596 else
72597 if test x$gcc_no_link = xyes; then
72598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72600 { (exit 1); exit 1; }; }
72602 cat >conftest.$ac_ext <<_ACEOF
72603 /* confdefs.h. */
72604 _ACEOF
72605 cat confdefs.h >>conftest.$ac_ext
72606 cat >>conftest.$ac_ext <<_ACEOF
72607 /* end confdefs.h. */
72608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72610 #define $ac_func innocuous_$ac_func
72612 /* System header to define __stub macros and hopefully few prototypes,
72613 which can conflict with char $ac_func (); below.
72614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72615 <limits.h> exists even on freestanding compilers. */
72617 #ifdef __STDC__
72618 # include <limits.h>
72619 #else
72620 # include <assert.h>
72621 #endif
72623 #undef $ac_func
72625 /* Override any gcc2 internal prototype to avoid an error. */
72626 #ifdef __cplusplus
72627 extern "C"
72629 #endif
72630 /* We use char because int might match the return type of a gcc2
72631 builtin and then its argument prototype would still apply. */
72632 char $ac_func ();
72633 /* The GNU C library defines this for functions which it implements
72634 to always fail with ENOSYS. Some functions are actually named
72635 something starting with __ and the normal name is an alias. */
72636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72637 choke me
72638 #else
72639 char (*f) () = $ac_func;
72640 #endif
72641 #ifdef __cplusplus
72643 #endif
72646 main ()
72648 return f != $ac_func;
72650 return 0;
72652 _ACEOF
72653 rm -f conftest.$ac_objext conftest$ac_exeext
72654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72655 (eval $ac_link) 2>conftest.er1
72656 ac_status=$?
72657 grep -v '^ *+' conftest.er1 >conftest.err
72658 rm -f conftest.er1
72659 cat conftest.err >&5
72660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72661 (exit $ac_status); } &&
72662 { ac_try='test -z "$ac_c_werror_flag"
72663 || test ! -s conftest.err'
72664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72665 (eval $ac_try) 2>&5
72666 ac_status=$?
72667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72668 (exit $ac_status); }; } &&
72669 { ac_try='test -s conftest$ac_exeext'
72670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72671 (eval $ac_try) 2>&5
72672 ac_status=$?
72673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72674 (exit $ac_status); }; }; then
72675 eval "$as_ac_var=yes"
72676 else
72677 echo "$as_me: failed program was:" >&5
72678 sed 's/^/| /' conftest.$ac_ext >&5
72680 eval "$as_ac_var=no"
72682 rm -f conftest.err conftest.$ac_objext \
72683 conftest$ac_exeext conftest.$ac_ext
72685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72687 if test `eval echo '${'$as_ac_var'}'` = yes; then
72688 cat >>confdefs.h <<_ACEOF
72689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72690 _ACEOF
72692 else
72693 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72695 done
72699 for ac_func in __signbitf
72701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72702 echo "$as_me:$LINENO: checking for $ac_func" >&5
72703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72704 if eval "test \"\${$as_ac_var+set}\" = set"; then
72705 echo $ECHO_N "(cached) $ECHO_C" >&6
72706 else
72707 if test x$gcc_no_link = xyes; then
72708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72710 { (exit 1); exit 1; }; }
72712 cat >conftest.$ac_ext <<_ACEOF
72713 /* confdefs.h. */
72714 _ACEOF
72715 cat confdefs.h >>conftest.$ac_ext
72716 cat >>conftest.$ac_ext <<_ACEOF
72717 /* end confdefs.h. */
72718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72720 #define $ac_func innocuous_$ac_func
72722 /* System header to define __stub macros and hopefully few prototypes,
72723 which can conflict with char $ac_func (); below.
72724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72725 <limits.h> exists even on freestanding compilers. */
72727 #ifdef __STDC__
72728 # include <limits.h>
72729 #else
72730 # include <assert.h>
72731 #endif
72733 #undef $ac_func
72735 /* Override any gcc2 internal prototype to avoid an error. */
72736 #ifdef __cplusplus
72737 extern "C"
72739 #endif
72740 /* We use char because int might match the return type of a gcc2
72741 builtin and then its argument prototype would still apply. */
72742 char $ac_func ();
72743 /* The GNU C library defines this for functions which it implements
72744 to always fail with ENOSYS. Some functions are actually named
72745 something starting with __ and the normal name is an alias. */
72746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72747 choke me
72748 #else
72749 char (*f) () = $ac_func;
72750 #endif
72751 #ifdef __cplusplus
72753 #endif
72756 main ()
72758 return f != $ac_func;
72760 return 0;
72762 _ACEOF
72763 rm -f conftest.$ac_objext conftest$ac_exeext
72764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72765 (eval $ac_link) 2>conftest.er1
72766 ac_status=$?
72767 grep -v '^ *+' conftest.er1 >conftest.err
72768 rm -f conftest.er1
72769 cat conftest.err >&5
72770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72771 (exit $ac_status); } &&
72772 { ac_try='test -z "$ac_c_werror_flag"
72773 || test ! -s conftest.err'
72774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72775 (eval $ac_try) 2>&5
72776 ac_status=$?
72777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72778 (exit $ac_status); }; } &&
72779 { ac_try='test -s conftest$ac_exeext'
72780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72781 (eval $ac_try) 2>&5
72782 ac_status=$?
72783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72784 (exit $ac_status); }; }; then
72785 eval "$as_ac_var=yes"
72786 else
72787 echo "$as_me: failed program was:" >&5
72788 sed 's/^/| /' conftest.$ac_ext >&5
72790 eval "$as_ac_var=no"
72792 rm -f conftest.err conftest.$ac_objext \
72793 conftest$ac_exeext conftest.$ac_ext
72795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72797 if test `eval echo '${'$as_ac_var'}'` = yes; then
72798 cat >>confdefs.h <<_ACEOF
72799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72800 _ACEOF
72802 else
72803 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72805 done
72808 if test x$ac_cv_func_copysignl = x"yes"; then
72810 for ac_func in __signbitl
72812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72813 echo "$as_me:$LINENO: checking for $ac_func" >&5
72814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72815 if eval "test \"\${$as_ac_var+set}\" = set"; then
72816 echo $ECHO_N "(cached) $ECHO_C" >&6
72817 else
72818 if test x$gcc_no_link = xyes; then
72819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72821 { (exit 1); exit 1; }; }
72823 cat >conftest.$ac_ext <<_ACEOF
72824 /* confdefs.h. */
72825 _ACEOF
72826 cat confdefs.h >>conftest.$ac_ext
72827 cat >>conftest.$ac_ext <<_ACEOF
72828 /* end confdefs.h. */
72829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72831 #define $ac_func innocuous_$ac_func
72833 /* System header to define __stub macros and hopefully few prototypes,
72834 which can conflict with char $ac_func (); below.
72835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72836 <limits.h> exists even on freestanding compilers. */
72838 #ifdef __STDC__
72839 # include <limits.h>
72840 #else
72841 # include <assert.h>
72842 #endif
72844 #undef $ac_func
72846 /* Override any gcc2 internal prototype to avoid an error. */
72847 #ifdef __cplusplus
72848 extern "C"
72850 #endif
72851 /* We use char because int might match the return type of a gcc2
72852 builtin and then its argument prototype would still apply. */
72853 char $ac_func ();
72854 /* The GNU C library defines this for functions which it implements
72855 to always fail with ENOSYS. Some functions are actually named
72856 something starting with __ and the normal name is an alias. */
72857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72858 choke me
72859 #else
72860 char (*f) () = $ac_func;
72861 #endif
72862 #ifdef __cplusplus
72864 #endif
72867 main ()
72869 return f != $ac_func;
72871 return 0;
72873 _ACEOF
72874 rm -f conftest.$ac_objext conftest$ac_exeext
72875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72876 (eval $ac_link) 2>conftest.er1
72877 ac_status=$?
72878 grep -v '^ *+' conftest.er1 >conftest.err
72879 rm -f conftest.er1
72880 cat conftest.err >&5
72881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72882 (exit $ac_status); } &&
72883 { ac_try='test -z "$ac_c_werror_flag"
72884 || test ! -s conftest.err'
72885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72886 (eval $ac_try) 2>&5
72887 ac_status=$?
72888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72889 (exit $ac_status); }; } &&
72890 { ac_try='test -s conftest$ac_exeext'
72891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72892 (eval $ac_try) 2>&5
72893 ac_status=$?
72894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72895 (exit $ac_status); }; }; then
72896 eval "$as_ac_var=yes"
72897 else
72898 echo "$as_me: failed program was:" >&5
72899 sed 's/^/| /' conftest.$ac_ext >&5
72901 eval "$as_ac_var=no"
72903 rm -f conftest.err conftest.$ac_objext \
72904 conftest$ac_exeext conftest.$ac_ext
72906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72908 if test `eval echo '${'$as_ac_var'}'` = yes; then
72909 cat >>confdefs.h <<_ACEOF
72910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72911 _ACEOF
72913 else
72914 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72916 done
72920 # Used in libmath/Makefile.am.
72921 if test -n "$LIBMATHOBJS"; then
72922 need_libmath=yes
72928 enable_iconv=no
72929 # Only continue checking if the ISO C99 headers exist and support is on.
72930 if test x"$enable_wchar_t" = xyes; then
72932 # Use iconv for wchar_t to char conversions. As such, check for
72933 # X/Open Portability Guide, version 2 features (XPG2).
72934 if test "${ac_cv_header_iconv_h+set}" = set; then
72935 echo "$as_me:$LINENO: checking for iconv.h" >&5
72936 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72937 if test "${ac_cv_header_iconv_h+set}" = set; then
72938 echo $ECHO_N "(cached) $ECHO_C" >&6
72940 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72941 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72942 else
72943 # Is the header compilable?
72944 echo "$as_me:$LINENO: checking iconv.h usability" >&5
72945 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
72946 cat >conftest.$ac_ext <<_ACEOF
72947 /* confdefs.h. */
72948 _ACEOF
72949 cat confdefs.h >>conftest.$ac_ext
72950 cat >>conftest.$ac_ext <<_ACEOF
72951 /* end confdefs.h. */
72952 $ac_includes_default
72953 #include <iconv.h>
72954 _ACEOF
72955 rm -f conftest.$ac_objext
72956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72957 (eval $ac_compile) 2>conftest.er1
72958 ac_status=$?
72959 grep -v '^ *+' conftest.er1 >conftest.err
72960 rm -f conftest.er1
72961 cat conftest.err >&5
72962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72963 (exit $ac_status); } &&
72964 { ac_try='test -z "$ac_c_werror_flag"
72965 || test ! -s conftest.err'
72966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72967 (eval $ac_try) 2>&5
72968 ac_status=$?
72969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970 (exit $ac_status); }; } &&
72971 { ac_try='test -s conftest.$ac_objext'
72972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973 (eval $ac_try) 2>&5
72974 ac_status=$?
72975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976 (exit $ac_status); }; }; then
72977 ac_header_compiler=yes
72978 else
72979 echo "$as_me: failed program was:" >&5
72980 sed 's/^/| /' conftest.$ac_ext >&5
72982 ac_header_compiler=no
72984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72986 echo "${ECHO_T}$ac_header_compiler" >&6
72988 # Is the header present?
72989 echo "$as_me:$LINENO: checking iconv.h presence" >&5
72990 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
72991 cat >conftest.$ac_ext <<_ACEOF
72992 /* confdefs.h. */
72993 _ACEOF
72994 cat confdefs.h >>conftest.$ac_ext
72995 cat >>conftest.$ac_ext <<_ACEOF
72996 /* end confdefs.h. */
72997 #include <iconv.h>
72998 _ACEOF
72999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73001 ac_status=$?
73002 grep -v '^ *+' conftest.er1 >conftest.err
73003 rm -f conftest.er1
73004 cat conftest.err >&5
73005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73006 (exit $ac_status); } >/dev/null; then
73007 if test -s conftest.err; then
73008 ac_cpp_err=$ac_c_preproc_warn_flag
73009 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73010 else
73011 ac_cpp_err=
73013 else
73014 ac_cpp_err=yes
73016 if test -z "$ac_cpp_err"; then
73017 ac_header_preproc=yes
73018 else
73019 echo "$as_me: failed program was:" >&5
73020 sed 's/^/| /' conftest.$ac_ext >&5
73022 ac_header_preproc=no
73024 rm -f conftest.err conftest.$ac_ext
73025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73026 echo "${ECHO_T}$ac_header_preproc" >&6
73028 # So? What about this header?
73029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73030 yes:no: )
73031 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73032 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73033 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73034 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73035 ac_header_preproc=yes
73037 no:yes:* )
73038 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73039 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73040 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73041 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73042 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73043 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73044 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73045 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73046 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73047 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73048 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73049 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73051 cat <<\_ASBOX
73052 ## ----------------------------------------- ##
73053 ## Report this to the package-unused lists. ##
73054 ## ----------------------------------------- ##
73055 _ASBOX
73057 sed "s/^/$as_me: WARNING: /" >&2
73059 esac
73060 echo "$as_me:$LINENO: checking for iconv.h" >&5
73061 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73062 if test "${ac_cv_header_iconv_h+set}" = set; then
73063 echo $ECHO_N "(cached) $ECHO_C" >&6
73064 else
73065 ac_cv_header_iconv_h=$ac_header_preproc
73067 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73068 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73071 if test $ac_cv_header_iconv_h = yes; then
73072 ac_has_iconv_h=yes
73073 else
73074 ac_has_iconv_h=no
73078 if test "${ac_cv_header_langinfo_h+set}" = set; then
73079 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73080 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73081 if test "${ac_cv_header_langinfo_h+set}" = set; then
73082 echo $ECHO_N "(cached) $ECHO_C" >&6
73084 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73085 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73086 else
73087 # Is the header compilable?
73088 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73089 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73090 cat >conftest.$ac_ext <<_ACEOF
73091 /* confdefs.h. */
73092 _ACEOF
73093 cat confdefs.h >>conftest.$ac_ext
73094 cat >>conftest.$ac_ext <<_ACEOF
73095 /* end confdefs.h. */
73096 $ac_includes_default
73097 #include <langinfo.h>
73098 _ACEOF
73099 rm -f conftest.$ac_objext
73100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73101 (eval $ac_compile) 2>conftest.er1
73102 ac_status=$?
73103 grep -v '^ *+' conftest.er1 >conftest.err
73104 rm -f conftest.er1
73105 cat conftest.err >&5
73106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73107 (exit $ac_status); } &&
73108 { ac_try='test -z "$ac_c_werror_flag"
73109 || test ! -s conftest.err'
73110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73111 (eval $ac_try) 2>&5
73112 ac_status=$?
73113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73114 (exit $ac_status); }; } &&
73115 { ac_try='test -s conftest.$ac_objext'
73116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73117 (eval $ac_try) 2>&5
73118 ac_status=$?
73119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73120 (exit $ac_status); }; }; then
73121 ac_header_compiler=yes
73122 else
73123 echo "$as_me: failed program was:" >&5
73124 sed 's/^/| /' conftest.$ac_ext >&5
73126 ac_header_compiler=no
73128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73130 echo "${ECHO_T}$ac_header_compiler" >&6
73132 # Is the header present?
73133 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73134 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73135 cat >conftest.$ac_ext <<_ACEOF
73136 /* confdefs.h. */
73137 _ACEOF
73138 cat confdefs.h >>conftest.$ac_ext
73139 cat >>conftest.$ac_ext <<_ACEOF
73140 /* end confdefs.h. */
73141 #include <langinfo.h>
73142 _ACEOF
73143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73145 ac_status=$?
73146 grep -v '^ *+' conftest.er1 >conftest.err
73147 rm -f conftest.er1
73148 cat conftest.err >&5
73149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73150 (exit $ac_status); } >/dev/null; then
73151 if test -s conftest.err; then
73152 ac_cpp_err=$ac_c_preproc_warn_flag
73153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73154 else
73155 ac_cpp_err=
73157 else
73158 ac_cpp_err=yes
73160 if test -z "$ac_cpp_err"; then
73161 ac_header_preproc=yes
73162 else
73163 echo "$as_me: failed program was:" >&5
73164 sed 's/^/| /' conftest.$ac_ext >&5
73166 ac_header_preproc=no
73168 rm -f conftest.err conftest.$ac_ext
73169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73170 echo "${ECHO_T}$ac_header_preproc" >&6
73172 # So? What about this header?
73173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73174 yes:no: )
73175 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73176 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73177 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73178 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73179 ac_header_preproc=yes
73181 no:yes:* )
73182 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73183 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73184 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73185 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73186 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73187 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73188 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73189 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73190 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73191 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73192 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73193 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73195 cat <<\_ASBOX
73196 ## ----------------------------------------- ##
73197 ## Report this to the package-unused lists. ##
73198 ## ----------------------------------------- ##
73199 _ASBOX
73201 sed "s/^/$as_me: WARNING: /" >&2
73203 esac
73204 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73205 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73206 if test "${ac_cv_header_langinfo_h+set}" = set; then
73207 echo $ECHO_N "(cached) $ECHO_C" >&6
73208 else
73209 ac_cv_header_langinfo_h=$ac_header_preproc
73211 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73212 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73215 if test $ac_cv_header_langinfo_h = yes; then
73216 ac_has_langinfo_h=yes
73217 else
73218 ac_has_langinfo_h=no
73223 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73224 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73225 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73226 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73227 echo $ECHO_N "(cached) $ECHO_C" >&6
73228 else
73229 ac_check_lib_save_LIBS=$LIBS
73230 LIBS="-liconv $LIBS"
73231 if test x$gcc_no_link = xyes; then
73232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73234 { (exit 1); exit 1; }; }
73236 cat >conftest.$ac_ext <<_ACEOF
73237 /* confdefs.h. */
73238 _ACEOF
73239 cat confdefs.h >>conftest.$ac_ext
73240 cat >>conftest.$ac_ext <<_ACEOF
73241 /* end confdefs.h. */
73243 /* Override any gcc2 internal prototype to avoid an error. */
73244 #ifdef __cplusplus
73245 extern "C"
73246 #endif
73247 /* We use char because int might match the return type of a gcc2
73248 builtin and then its argument prototype would still apply. */
73249 char iconv ();
73251 main ()
73253 iconv ();
73255 return 0;
73257 _ACEOF
73258 rm -f conftest.$ac_objext conftest$ac_exeext
73259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73260 (eval $ac_link) 2>conftest.er1
73261 ac_status=$?
73262 grep -v '^ *+' conftest.er1 >conftest.err
73263 rm -f conftest.er1
73264 cat conftest.err >&5
73265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73266 (exit $ac_status); } &&
73267 { ac_try='test -z "$ac_c_werror_flag"
73268 || test ! -s conftest.err'
73269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73270 (eval $ac_try) 2>&5
73271 ac_status=$?
73272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73273 (exit $ac_status); }; } &&
73274 { ac_try='test -s conftest$ac_exeext'
73275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73276 (eval $ac_try) 2>&5
73277 ac_status=$?
73278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73279 (exit $ac_status); }; }; then
73280 ac_cv_lib_iconv_iconv=yes
73281 else
73282 echo "$as_me: failed program was:" >&5
73283 sed 's/^/| /' conftest.$ac_ext >&5
73285 ac_cv_lib_iconv_iconv=no
73287 rm -f conftest.err conftest.$ac_objext \
73288 conftest$ac_exeext conftest.$ac_ext
73289 LIBS=$ac_check_lib_save_LIBS
73291 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73292 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73293 if test $ac_cv_lib_iconv_iconv = yes; then
73294 LIBICONV="-liconv"
73297 ac_save_LIBS="$LIBS"
73298 LIBS="$LIBS $LIBICONV"
73305 for ac_func in iconv_open iconv_close iconv nl_langinfo
73307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73308 echo "$as_me:$LINENO: checking for $ac_func" >&5
73309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73310 if eval "test \"\${$as_ac_var+set}\" = set"; then
73311 echo $ECHO_N "(cached) $ECHO_C" >&6
73312 else
73313 if test x$gcc_no_link = xyes; then
73314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73316 { (exit 1); exit 1; }; }
73318 cat >conftest.$ac_ext <<_ACEOF
73319 /* confdefs.h. */
73320 _ACEOF
73321 cat confdefs.h >>conftest.$ac_ext
73322 cat >>conftest.$ac_ext <<_ACEOF
73323 /* end confdefs.h. */
73324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73326 #define $ac_func innocuous_$ac_func
73328 /* System header to define __stub macros and hopefully few prototypes,
73329 which can conflict with char $ac_func (); below.
73330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73331 <limits.h> exists even on freestanding compilers. */
73333 #ifdef __STDC__
73334 # include <limits.h>
73335 #else
73336 # include <assert.h>
73337 #endif
73339 #undef $ac_func
73341 /* Override any gcc2 internal prototype to avoid an error. */
73342 #ifdef __cplusplus
73343 extern "C"
73345 #endif
73346 /* We use char because int might match the return type of a gcc2
73347 builtin and then its argument prototype would still apply. */
73348 char $ac_func ();
73349 /* The GNU C library defines this for functions which it implements
73350 to always fail with ENOSYS. Some functions are actually named
73351 something starting with __ and the normal name is an alias. */
73352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73353 choke me
73354 #else
73355 char (*f) () = $ac_func;
73356 #endif
73357 #ifdef __cplusplus
73359 #endif
73362 main ()
73364 return f != $ac_func;
73366 return 0;
73368 _ACEOF
73369 rm -f conftest.$ac_objext conftest$ac_exeext
73370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73371 (eval $ac_link) 2>conftest.er1
73372 ac_status=$?
73373 grep -v '^ *+' conftest.er1 >conftest.err
73374 rm -f conftest.er1
73375 cat conftest.err >&5
73376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73377 (exit $ac_status); } &&
73378 { ac_try='test -z "$ac_c_werror_flag"
73379 || test ! -s conftest.err'
73380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73381 (eval $ac_try) 2>&5
73382 ac_status=$?
73383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73384 (exit $ac_status); }; } &&
73385 { ac_try='test -s conftest$ac_exeext'
73386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73387 (eval $ac_try) 2>&5
73388 ac_status=$?
73389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73390 (exit $ac_status); }; }; then
73391 eval "$as_ac_var=yes"
73392 else
73393 echo "$as_me: failed program was:" >&5
73394 sed 's/^/| /' conftest.$ac_ext >&5
73396 eval "$as_ac_var=no"
73398 rm -f conftest.err conftest.$ac_objext \
73399 conftest$ac_exeext conftest.$ac_ext
73401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73403 if test `eval echo '${'$as_ac_var'}'` = yes; then
73404 cat >>confdefs.h <<_ACEOF
73405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73406 _ACEOF
73407 ac_XPG2funcs=yes
73408 else
73409 ac_XPG2funcs=no
73411 done
73414 LIBS="$ac_save_LIBS"
73416 if test x"$ac_has_iconv_h" = xyes &&
73417 test x"$ac_has_langinfo_h" = xyes &&
73418 test x"$ac_XPG2funcs" = xyes;
73419 then
73421 cat >>confdefs.h <<\_ACEOF
73422 #define _GLIBCXX_USE_ICONV 1
73423 _ACEOF
73425 enable_iconv=yes
73428 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73429 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73430 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73431 echo "${ECHO_T}$enable_iconv" >&6
73434 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73435 ac_save_CXXFLAGS="$CXXFLAGS"
73436 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73439 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73440 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73441 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73442 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73443 echo $ECHO_N "(cached) $ECHO_C" >&6
73444 else
73448 ac_ext=cc
73449 ac_cpp='$CXXCPP $CPPFLAGS'
73450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73454 cat >conftest.$ac_ext <<_ACEOF
73455 /* confdefs.h. */
73456 _ACEOF
73457 cat confdefs.h >>conftest.$ac_ext
73458 cat >>conftest.$ac_ext <<_ACEOF
73459 /* end confdefs.h. */
73460 #include <stdlib.h>
73462 main ()
73464 strtold(0, 0);
73466 return 0;
73468 _ACEOF
73469 rm -f conftest.$ac_objext
73470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73471 (eval $ac_compile) 2>conftest.er1
73472 ac_status=$?
73473 grep -v '^ *+' conftest.er1 >conftest.err
73474 rm -f conftest.er1
73475 cat conftest.err >&5
73476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73477 (exit $ac_status); } &&
73478 { ac_try='test -z "$ac_cxx_werror_flag"
73479 || test ! -s conftest.err'
73480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73481 (eval $ac_try) 2>&5
73482 ac_status=$?
73483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73484 (exit $ac_status); }; } &&
73485 { ac_try='test -s conftest.$ac_objext'
73486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73487 (eval $ac_try) 2>&5
73488 ac_status=$?
73489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73490 (exit $ac_status); }; }; then
73491 glibcxx_cv_func_strtold_use=yes
73492 else
73493 echo "$as_me: failed program was:" >&5
73494 sed 's/^/| /' conftest.$ac_ext >&5
73496 glibcxx_cv_func_strtold_use=no
73498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73499 ac_ext=c
73500 ac_cpp='$CPP $CPPFLAGS'
73501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73510 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73511 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73513 for ac_func in strtold
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
73617 done
73625 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73626 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73627 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73628 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73629 echo $ECHO_N "(cached) $ECHO_C" >&6
73630 else
73634 ac_ext=cc
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73640 cat >conftest.$ac_ext <<_ACEOF
73641 /* confdefs.h. */
73642 _ACEOF
73643 cat confdefs.h >>conftest.$ac_ext
73644 cat >>conftest.$ac_ext <<_ACEOF
73645 /* end confdefs.h. */
73646 #include <stdlib.h>
73648 main ()
73650 strtof(0, 0);
73652 return 0;
73654 _ACEOF
73655 rm -f conftest.$ac_objext
73656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73657 (eval $ac_compile) 2>conftest.er1
73658 ac_status=$?
73659 grep -v '^ *+' conftest.er1 >conftest.err
73660 rm -f conftest.er1
73661 cat conftest.err >&5
73662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73663 (exit $ac_status); } &&
73664 { ac_try='test -z "$ac_cxx_werror_flag"
73665 || test ! -s conftest.err'
73666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73667 (eval $ac_try) 2>&5
73668 ac_status=$?
73669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73670 (exit $ac_status); }; } &&
73671 { ac_try='test -s conftest.$ac_objext'
73672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73673 (eval $ac_try) 2>&5
73674 ac_status=$?
73675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73676 (exit $ac_status); }; }; then
73677 glibcxx_cv_func_strtof_use=yes
73678 else
73679 echo "$as_me: failed program was:" >&5
73680 sed 's/^/| /' conftest.$ac_ext >&5
73682 glibcxx_cv_func_strtof_use=no
73684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73685 ac_ext=c
73686 ac_cpp='$CPP $CPPFLAGS'
73687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73696 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73697 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73699 for ac_func in strtof
73701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73702 echo "$as_me:$LINENO: checking for $ac_func" >&5
73703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73704 if eval "test \"\${$as_ac_var+set}\" = set"; then
73705 echo $ECHO_N "(cached) $ECHO_C" >&6
73706 else
73707 if test x$gcc_no_link = xyes; then
73708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73710 { (exit 1); exit 1; }; }
73712 cat >conftest.$ac_ext <<_ACEOF
73713 /* confdefs.h. */
73714 _ACEOF
73715 cat confdefs.h >>conftest.$ac_ext
73716 cat >>conftest.$ac_ext <<_ACEOF
73717 /* end confdefs.h. */
73718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73720 #define $ac_func innocuous_$ac_func
73722 /* System header to define __stub macros and hopefully few prototypes,
73723 which can conflict with char $ac_func (); below.
73724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73725 <limits.h> exists even on freestanding compilers. */
73727 #ifdef __STDC__
73728 # include <limits.h>
73729 #else
73730 # include <assert.h>
73731 #endif
73733 #undef $ac_func
73735 /* Override any gcc2 internal prototype to avoid an error. */
73736 #ifdef __cplusplus
73737 extern "C"
73739 #endif
73740 /* We use char because int might match the return type of a gcc2
73741 builtin and then its argument prototype would still apply. */
73742 char $ac_func ();
73743 /* The GNU C library defines this for functions which it implements
73744 to always fail with ENOSYS. Some functions are actually named
73745 something starting with __ and the normal name is an alias. */
73746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73747 choke me
73748 #else
73749 char (*f) () = $ac_func;
73750 #endif
73751 #ifdef __cplusplus
73753 #endif
73756 main ()
73758 return f != $ac_func;
73760 return 0;
73762 _ACEOF
73763 rm -f conftest.$ac_objext conftest$ac_exeext
73764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73765 (eval $ac_link) 2>conftest.er1
73766 ac_status=$?
73767 grep -v '^ *+' conftest.er1 >conftest.err
73768 rm -f conftest.er1
73769 cat conftest.err >&5
73770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73771 (exit $ac_status); } &&
73772 { ac_try='test -z "$ac_c_werror_flag"
73773 || test ! -s conftest.err'
73774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73775 (eval $ac_try) 2>&5
73776 ac_status=$?
73777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73778 (exit $ac_status); }; } &&
73779 { ac_try='test -s conftest$ac_exeext'
73780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73781 (eval $ac_try) 2>&5
73782 ac_status=$?
73783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73784 (exit $ac_status); }; }; then
73785 eval "$as_ac_var=yes"
73786 else
73787 echo "$as_me: failed program was:" >&5
73788 sed 's/^/| /' conftest.$ac_ext >&5
73790 eval "$as_ac_var=no"
73792 rm -f conftest.err conftest.$ac_objext \
73793 conftest$ac_exeext conftest.$ac_ext
73795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73797 if test `eval echo '${'$as_ac_var'}'` = yes; then
73798 cat >>confdefs.h <<_ACEOF
73799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73800 _ACEOF
73803 done
73811 CXXFLAGS="$ac_save_CXXFLAGS"
73814 if test "${glibcxx_cv_S_ISREG+set}" = set; then
73815 echo $ECHO_N "(cached) $ECHO_C" >&6
73816 else
73818 if test x$gcc_no_link = xyes; then
73819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73821 { (exit 1); exit 1; }; }
73823 cat >conftest.$ac_ext <<_ACEOF
73824 /* confdefs.h. */
73825 _ACEOF
73826 cat confdefs.h >>conftest.$ac_ext
73827 cat >>conftest.$ac_ext <<_ACEOF
73828 /* end confdefs.h. */
73829 #include <sys/stat.h>
73831 main ()
73833 struct stat buffer;
73834 fstat(0, &buffer);
73835 S_ISREG(buffer.st_mode);
73837 return 0;
73839 _ACEOF
73840 rm -f conftest.$ac_objext conftest$ac_exeext
73841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73842 (eval $ac_link) 2>conftest.er1
73843 ac_status=$?
73844 grep -v '^ *+' conftest.er1 >conftest.err
73845 rm -f conftest.er1
73846 cat conftest.err >&5
73847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73848 (exit $ac_status); } &&
73849 { ac_try='test -z "$ac_c_werror_flag"
73850 || test ! -s conftest.err'
73851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73852 (eval $ac_try) 2>&5
73853 ac_status=$?
73854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73855 (exit $ac_status); }; } &&
73856 { ac_try='test -s conftest$ac_exeext'
73857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73858 (eval $ac_try) 2>&5
73859 ac_status=$?
73860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73861 (exit $ac_status); }; }; then
73862 glibcxx_cv_S_ISREG=yes
73863 else
73864 echo "$as_me: failed program was:" >&5
73865 sed 's/^/| /' conftest.$ac_ext >&5
73867 glibcxx_cv_S_ISREG=no
73869 rm -f conftest.err conftest.$ac_objext \
73870 conftest$ac_exeext conftest.$ac_ext
73874 if test "${glibcxx_cv_S_IFREG+set}" = set; then
73875 echo $ECHO_N "(cached) $ECHO_C" >&6
73876 else
73878 if test x$gcc_no_link = xyes; then
73879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73881 { (exit 1); exit 1; }; }
73883 cat >conftest.$ac_ext <<_ACEOF
73884 /* confdefs.h. */
73885 _ACEOF
73886 cat confdefs.h >>conftest.$ac_ext
73887 cat >>conftest.$ac_ext <<_ACEOF
73888 /* end confdefs.h. */
73889 #include <sys/stat.h>
73891 main ()
73893 struct stat buffer;
73894 fstat(0, &buffer);
73895 S_IFREG & buffer.st_mode;
73897 return 0;
73899 _ACEOF
73900 rm -f conftest.$ac_objext conftest$ac_exeext
73901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73902 (eval $ac_link) 2>conftest.er1
73903 ac_status=$?
73904 grep -v '^ *+' conftest.er1 >conftest.err
73905 rm -f conftest.er1
73906 cat conftest.err >&5
73907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73908 (exit $ac_status); } &&
73909 { ac_try='test -z "$ac_c_werror_flag"
73910 || test ! -s conftest.err'
73911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73912 (eval $ac_try) 2>&5
73913 ac_status=$?
73914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73915 (exit $ac_status); }; } &&
73916 { ac_try='test -s conftest$ac_exeext'
73917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73918 (eval $ac_try) 2>&5
73919 ac_status=$?
73920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73921 (exit $ac_status); }; }; then
73922 glibcxx_cv_S_IFREG=yes
73923 else
73924 echo "$as_me: failed program was:" >&5
73925 sed 's/^/| /' conftest.$ac_ext >&5
73927 glibcxx_cv_S_IFREG=no
73929 rm -f conftest.err conftest.$ac_objext \
73930 conftest$ac_exeext conftest.$ac_ext
73934 if test $glibcxx_cv_S_ISREG = yes; then
73936 cat >>confdefs.h <<\_ACEOF
73937 #define HAVE_S_ISREG 1
73938 _ACEOF
73940 elif test $glibcxx_cv_S_IFREG = yes; then
73942 cat >>confdefs.h <<\_ACEOF
73943 #define HAVE_S_IFREG 1
73944 _ACEOF
73948 cat >>confdefs.h <<\_ACEOF
73949 #define HAVE_WRITEV 1
73950 _ACEOF
73954 *-freebsd*)
73971 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73972 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73973 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
73974 sys/time.h unistd.h
73976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73978 echo "$as_me:$LINENO: checking for $ac_header" >&5
73979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73981 echo $ECHO_N "(cached) $ECHO_C" >&6
73983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73985 else
73986 # Is the header compilable?
73987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73989 cat >conftest.$ac_ext <<_ACEOF
73990 /* confdefs.h. */
73991 _ACEOF
73992 cat confdefs.h >>conftest.$ac_ext
73993 cat >>conftest.$ac_ext <<_ACEOF
73994 /* end confdefs.h. */
73995 $ac_includes_default
73996 #include <$ac_header>
73997 _ACEOF
73998 rm -f conftest.$ac_objext
73999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74000 (eval $ac_compile) 2>conftest.er1
74001 ac_status=$?
74002 grep -v '^ *+' conftest.er1 >conftest.err
74003 rm -f conftest.er1
74004 cat conftest.err >&5
74005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74006 (exit $ac_status); } &&
74007 { ac_try='test -z "$ac_c_werror_flag"
74008 || test ! -s conftest.err'
74009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74010 (eval $ac_try) 2>&5
74011 ac_status=$?
74012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74013 (exit $ac_status); }; } &&
74014 { ac_try='test -s conftest.$ac_objext'
74015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74016 (eval $ac_try) 2>&5
74017 ac_status=$?
74018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74019 (exit $ac_status); }; }; then
74020 ac_header_compiler=yes
74021 else
74022 echo "$as_me: failed program was:" >&5
74023 sed 's/^/| /' conftest.$ac_ext >&5
74025 ac_header_compiler=no
74027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74029 echo "${ECHO_T}$ac_header_compiler" >&6
74031 # Is the header present?
74032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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. */
74040 #include <$ac_header>
74041 _ACEOF
74042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74044 ac_status=$?
74045 grep -v '^ *+' conftest.er1 >conftest.err
74046 rm -f conftest.er1
74047 cat conftest.err >&5
74048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74049 (exit $ac_status); } >/dev/null; then
74050 if test -s conftest.err; then
74051 ac_cpp_err=$ac_c_preproc_warn_flag
74052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74053 else
74054 ac_cpp_err=
74056 else
74057 ac_cpp_err=yes
74059 if test -z "$ac_cpp_err"; then
74060 ac_header_preproc=yes
74061 else
74062 echo "$as_me: failed program was:" >&5
74063 sed 's/^/| /' conftest.$ac_ext >&5
74065 ac_header_preproc=no
74067 rm -f conftest.err conftest.$ac_ext
74068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74069 echo "${ECHO_T}$ac_header_preproc" >&6
74071 # So? What about this header?
74072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74073 yes:no: )
74074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74078 ac_header_preproc=yes
74080 no:yes:* )
74081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74094 cat <<\_ASBOX
74095 ## ----------------------------------------- ##
74096 ## Report this to the package-unused lists. ##
74097 ## ----------------------------------------- ##
74098 _ASBOX
74100 sed "s/^/$as_me: WARNING: /" >&2
74102 esac
74103 echo "$as_me:$LINENO: checking for $ac_header" >&5
74104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74106 echo $ECHO_N "(cached) $ECHO_C" >&6
74107 else
74108 eval "$as_ac_Header=\$ac_header_preproc"
74110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74115 cat >>confdefs.h <<_ACEOF
74116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74117 _ACEOF
74121 done
74123 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74126 # If we're not using GNU ld, then there's no point in even trying these
74127 # tests. Check for that first. We should have already tested for gld
74128 # by now (in libtool), but require it now just to be safe...
74129 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74130 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74134 # The name set by libtool depends on the version of libtool. Shame on us
74135 # for depending on an impl detail, but c'est la vie. Older versions used
74136 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74137 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74138 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74139 # set (hence we're using an older libtool), then set it.
74140 if test x${with_gnu_ld+set} != xset; then
74141 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74142 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74143 with_gnu_ld=no
74144 else
74145 with_gnu_ld=$ac_cv_prog_gnu_ld
74149 # Start by getting the version number. I think the libtool test already
74150 # does some of this, but throws away the result.
74152 ldver=`$LD --version 2>/dev/null | head -1 | \
74153 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74155 glibcxx_gnu_ld_version=`echo $ldver | \
74156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74158 # Set --gc-sections.
74159 if test "$with_gnu_ld" = "notbroken"; then
74160 # GNU ld it is! Joy and bunny rabbits!
74162 # All these tests are for C++; save the language and the compiler flags.
74163 # Need to do this so that g++ won't try to link in libstdc++
74164 ac_test_CFLAGS="${CFLAGS+set}"
74165 ac_save_CFLAGS="$CFLAGS"
74166 CFLAGS='-x c++ -Wl,--gc-sections'
74168 # Check for -Wl,--gc-sections
74169 # XXX This test is broken at the moment, as symbols required for linking
74170 # are now in libsupc++ (not built yet). In addition, this test has
74171 # cored on solaris in the past. In addition, --gc-sections doesn't
74172 # really work at the moment (keeps on discarding used sections, first
74173 # .eh_frame and now some of the glibc sections for iconv).
74174 # Bzzzzt. Thanks for playing, maybe next time.
74175 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74176 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74177 if test "$cross_compiling" = yes; then
74178 ac_sectionLDflags=yes
74179 else
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. */
74187 int main(void)
74189 try { throw 1; }
74190 catch (...) { };
74191 return 0;
74194 _ACEOF
74195 rm -f conftest$ac_exeext
74196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74197 (eval $ac_link) 2>&5
74198 ac_status=$?
74199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74202 (eval $ac_try) 2>&5
74203 ac_status=$?
74204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74205 (exit $ac_status); }; }; then
74206 ac_sectionLDflags=yes
74207 else
74208 echo "$as_me: program exited with status $ac_status" >&5
74209 echo "$as_me: failed program was:" >&5
74210 sed 's/^/| /' conftest.$ac_ext >&5
74212 ( exit $ac_status )
74213 ac_sectionLDflags=no
74215 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74217 if test "$ac_test_CFLAGS" = set; then
74218 CFLAGS="$ac_save_CFLAGS"
74219 else
74220 # this is the suspicious part
74221 CFLAGS=''
74223 if test "$ac_sectionLDflags" = "yes"; then
74224 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74226 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74227 echo "${ECHO_T}$ac_sectionLDflags" >&6
74230 # Set linker optimization flags.
74231 if test x"$with_gnu_ld" = x"yes"; then
74232 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74240 echo "$as_me:$LINENO: checking for main in -lm" >&5
74241 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74242 if test "${ac_cv_lib_m_main+set}" = set; then
74243 echo $ECHO_N "(cached) $ECHO_C" >&6
74244 else
74245 ac_check_lib_save_LIBS=$LIBS
74246 LIBS="-lm $LIBS"
74247 if test x$gcc_no_link = xyes; then
74248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74250 { (exit 1); exit 1; }; }
74252 cat >conftest.$ac_ext <<_ACEOF
74253 /* confdefs.h. */
74254 _ACEOF
74255 cat confdefs.h >>conftest.$ac_ext
74256 cat >>conftest.$ac_ext <<_ACEOF
74257 /* end confdefs.h. */
74261 main ()
74263 main ();
74265 return 0;
74267 _ACEOF
74268 rm -f conftest.$ac_objext conftest$ac_exeext
74269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74270 (eval $ac_link) 2>conftest.er1
74271 ac_status=$?
74272 grep -v '^ *+' conftest.er1 >conftest.err
74273 rm -f conftest.er1
74274 cat conftest.err >&5
74275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74276 (exit $ac_status); } &&
74277 { ac_try='test -z "$ac_c_werror_flag"
74278 || test ! -s conftest.err'
74279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74280 (eval $ac_try) 2>&5
74281 ac_status=$?
74282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74283 (exit $ac_status); }; } &&
74284 { ac_try='test -s conftest$ac_exeext'
74285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74286 (eval $ac_try) 2>&5
74287 ac_status=$?
74288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74289 (exit $ac_status); }; }; then
74290 ac_cv_lib_m_main=yes
74291 else
74292 echo "$as_me: failed program was:" >&5
74293 sed 's/^/| /' conftest.$ac_ext >&5
74295 ac_cv_lib_m_main=no
74297 rm -f conftest.err conftest.$ac_objext \
74298 conftest$ac_exeext conftest.$ac_ext
74299 LIBS=$ac_check_lib_save_LIBS
74301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74302 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74303 if test $ac_cv_lib_m_main = yes; then
74304 cat >>confdefs.h <<_ACEOF
74305 #define HAVE_LIBM 1
74306 _ACEOF
74308 LIBS="-lm $LIBS"
74313 for ac_func in copysignf
74315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74316 echo "$as_me:$LINENO: checking for $ac_func" >&5
74317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74318 if eval "test \"\${$as_ac_var+set}\" = set"; then
74319 echo $ECHO_N "(cached) $ECHO_C" >&6
74320 else
74321 if test x$gcc_no_link = xyes; then
74322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74324 { (exit 1); exit 1; }; }
74326 cat >conftest.$ac_ext <<_ACEOF
74327 /* confdefs.h. */
74328 _ACEOF
74329 cat confdefs.h >>conftest.$ac_ext
74330 cat >>conftest.$ac_ext <<_ACEOF
74331 /* end confdefs.h. */
74332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74334 #define $ac_func innocuous_$ac_func
74336 /* System header to define __stub macros and hopefully few prototypes,
74337 which can conflict with char $ac_func (); below.
74338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74339 <limits.h> exists even on freestanding compilers. */
74341 #ifdef __STDC__
74342 # include <limits.h>
74343 #else
74344 # include <assert.h>
74345 #endif
74347 #undef $ac_func
74349 /* Override any gcc2 internal prototype to avoid an error. */
74350 #ifdef __cplusplus
74351 extern "C"
74353 #endif
74354 /* We use char because int might match the return type of a gcc2
74355 builtin and then its argument prototype would still apply. */
74356 char $ac_func ();
74357 /* The GNU C library defines this for functions which it implements
74358 to always fail with ENOSYS. Some functions are actually named
74359 something starting with __ and the normal name is an alias. */
74360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74361 choke me
74362 #else
74363 char (*f) () = $ac_func;
74364 #endif
74365 #ifdef __cplusplus
74367 #endif
74370 main ()
74372 return f != $ac_func;
74374 return 0;
74376 _ACEOF
74377 rm -f conftest.$ac_objext conftest$ac_exeext
74378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74379 (eval $ac_link) 2>conftest.er1
74380 ac_status=$?
74381 grep -v '^ *+' conftest.er1 >conftest.err
74382 rm -f conftest.er1
74383 cat conftest.err >&5
74384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74385 (exit $ac_status); } &&
74386 { ac_try='test -z "$ac_c_werror_flag"
74387 || test ! -s conftest.err'
74388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74389 (eval $ac_try) 2>&5
74390 ac_status=$?
74391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74392 (exit $ac_status); }; } &&
74393 { ac_try='test -s conftest$ac_exeext'
74394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74395 (eval $ac_try) 2>&5
74396 ac_status=$?
74397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74398 (exit $ac_status); }; }; then
74399 eval "$as_ac_var=yes"
74400 else
74401 echo "$as_me: failed program was:" >&5
74402 sed 's/^/| /' conftest.$ac_ext >&5
74404 eval "$as_ac_var=no"
74406 rm -f conftest.err conftest.$ac_objext \
74407 conftest$ac_exeext conftest.$ac_ext
74409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74411 if test `eval echo '${'$as_ac_var'}'` = yes; then
74412 cat >>confdefs.h <<_ACEOF
74413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74414 _ACEOF
74416 else
74417 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74419 done
74423 for ac_func in __signbit
74425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74426 echo "$as_me:$LINENO: checking for $ac_func" >&5
74427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74428 if eval "test \"\${$as_ac_var+set}\" = set"; then
74429 echo $ECHO_N "(cached) $ECHO_C" >&6
74430 else
74431 if test x$gcc_no_link = xyes; then
74432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74434 { (exit 1); exit 1; }; }
74436 cat >conftest.$ac_ext <<_ACEOF
74437 /* confdefs.h. */
74438 _ACEOF
74439 cat confdefs.h >>conftest.$ac_ext
74440 cat >>conftest.$ac_ext <<_ACEOF
74441 /* end confdefs.h. */
74442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74444 #define $ac_func innocuous_$ac_func
74446 /* System header to define __stub macros and hopefully few prototypes,
74447 which can conflict with char $ac_func (); below.
74448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74449 <limits.h> exists even on freestanding compilers. */
74451 #ifdef __STDC__
74452 # include <limits.h>
74453 #else
74454 # include <assert.h>
74455 #endif
74457 #undef $ac_func
74459 /* Override any gcc2 internal prototype to avoid an error. */
74460 #ifdef __cplusplus
74461 extern "C"
74463 #endif
74464 /* We use char because int might match the return type of a gcc2
74465 builtin and then its argument prototype would still apply. */
74466 char $ac_func ();
74467 /* The GNU C library defines this for functions which it implements
74468 to always fail with ENOSYS. Some functions are actually named
74469 something starting with __ and the normal name is an alias. */
74470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74471 choke me
74472 #else
74473 char (*f) () = $ac_func;
74474 #endif
74475 #ifdef __cplusplus
74477 #endif
74480 main ()
74482 return f != $ac_func;
74484 return 0;
74486 _ACEOF
74487 rm -f conftest.$ac_objext conftest$ac_exeext
74488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74489 (eval $ac_link) 2>conftest.er1
74490 ac_status=$?
74491 grep -v '^ *+' conftest.er1 >conftest.err
74492 rm -f conftest.er1
74493 cat conftest.err >&5
74494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74495 (exit $ac_status); } &&
74496 { ac_try='test -z "$ac_c_werror_flag"
74497 || test ! -s conftest.err'
74498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74499 (eval $ac_try) 2>&5
74500 ac_status=$?
74501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74502 (exit $ac_status); }; } &&
74503 { ac_try='test -s conftest$ac_exeext'
74504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74505 (eval $ac_try) 2>&5
74506 ac_status=$?
74507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74508 (exit $ac_status); }; }; then
74509 eval "$as_ac_var=yes"
74510 else
74511 echo "$as_me: failed program was:" >&5
74512 sed 's/^/| /' conftest.$ac_ext >&5
74514 eval "$as_ac_var=no"
74516 rm -f conftest.err conftest.$ac_objext \
74517 conftest$ac_exeext conftest.$ac_ext
74519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74521 if test `eval echo '${'$as_ac_var'}'` = yes; then
74522 cat >>confdefs.h <<_ACEOF
74523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74524 _ACEOF
74526 else
74527 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74529 done
74533 for ac_func in __signbitf
74535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74536 echo "$as_me:$LINENO: checking for $ac_func" >&5
74537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74538 if eval "test \"\${$as_ac_var+set}\" = set"; then
74539 echo $ECHO_N "(cached) $ECHO_C" >&6
74540 else
74541 if test x$gcc_no_link = xyes; then
74542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74544 { (exit 1); exit 1; }; }
74546 cat >conftest.$ac_ext <<_ACEOF
74547 /* confdefs.h. */
74548 _ACEOF
74549 cat confdefs.h >>conftest.$ac_ext
74550 cat >>conftest.$ac_ext <<_ACEOF
74551 /* end confdefs.h. */
74552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74554 #define $ac_func innocuous_$ac_func
74556 /* System header to define __stub macros and hopefully few prototypes,
74557 which can conflict with char $ac_func (); below.
74558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74559 <limits.h> exists even on freestanding compilers. */
74561 #ifdef __STDC__
74562 # include <limits.h>
74563 #else
74564 # include <assert.h>
74565 #endif
74567 #undef $ac_func
74569 /* Override any gcc2 internal prototype to avoid an error. */
74570 #ifdef __cplusplus
74571 extern "C"
74573 #endif
74574 /* We use char because int might match the return type of a gcc2
74575 builtin and then its argument prototype would still apply. */
74576 char $ac_func ();
74577 /* The GNU C library defines this for functions which it implements
74578 to always fail with ENOSYS. Some functions are actually named
74579 something starting with __ and the normal name is an alias. */
74580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74581 choke me
74582 #else
74583 char (*f) () = $ac_func;
74584 #endif
74585 #ifdef __cplusplus
74587 #endif
74590 main ()
74592 return f != $ac_func;
74594 return 0;
74596 _ACEOF
74597 rm -f conftest.$ac_objext conftest$ac_exeext
74598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74599 (eval $ac_link) 2>conftest.er1
74600 ac_status=$?
74601 grep -v '^ *+' conftest.er1 >conftest.err
74602 rm -f conftest.er1
74603 cat conftest.err >&5
74604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74605 (exit $ac_status); } &&
74606 { ac_try='test -z "$ac_c_werror_flag"
74607 || test ! -s conftest.err'
74608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74609 (eval $ac_try) 2>&5
74610 ac_status=$?
74611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74612 (exit $ac_status); }; } &&
74613 { ac_try='test -s conftest$ac_exeext'
74614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74615 (eval $ac_try) 2>&5
74616 ac_status=$?
74617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74618 (exit $ac_status); }; }; then
74619 eval "$as_ac_var=yes"
74620 else
74621 echo "$as_me: failed program was:" >&5
74622 sed 's/^/| /' conftest.$ac_ext >&5
74624 eval "$as_ac_var=no"
74626 rm -f conftest.err conftest.$ac_objext \
74627 conftest$ac_exeext conftest.$ac_ext
74629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74631 if test `eval echo '${'$as_ac_var'}'` = yes; then
74632 cat >>confdefs.h <<_ACEOF
74633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74634 _ACEOF
74636 else
74637 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74639 done
74642 if test x$ac_cv_func_copysignl = x"yes"; then
74644 for ac_func in __signbitl
74646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74647 echo "$as_me:$LINENO: checking for $ac_func" >&5
74648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74649 if eval "test \"\${$as_ac_var+set}\" = set"; then
74650 echo $ECHO_N "(cached) $ECHO_C" >&6
74651 else
74652 if test x$gcc_no_link = xyes; then
74653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74655 { (exit 1); exit 1; }; }
74657 cat >conftest.$ac_ext <<_ACEOF
74658 /* confdefs.h. */
74659 _ACEOF
74660 cat confdefs.h >>conftest.$ac_ext
74661 cat >>conftest.$ac_ext <<_ACEOF
74662 /* end confdefs.h. */
74663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74665 #define $ac_func innocuous_$ac_func
74667 /* System header to define __stub macros and hopefully few prototypes,
74668 which can conflict with char $ac_func (); below.
74669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74670 <limits.h> exists even on freestanding compilers. */
74672 #ifdef __STDC__
74673 # include <limits.h>
74674 #else
74675 # include <assert.h>
74676 #endif
74678 #undef $ac_func
74680 /* Override any gcc2 internal prototype to avoid an error. */
74681 #ifdef __cplusplus
74682 extern "C"
74684 #endif
74685 /* We use char because int might match the return type of a gcc2
74686 builtin and then its argument prototype would still apply. */
74687 char $ac_func ();
74688 /* The GNU C library defines this for functions which it implements
74689 to always fail with ENOSYS. Some functions are actually named
74690 something starting with __ and the normal name is an alias. */
74691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74692 choke me
74693 #else
74694 char (*f) () = $ac_func;
74695 #endif
74696 #ifdef __cplusplus
74698 #endif
74701 main ()
74703 return f != $ac_func;
74705 return 0;
74707 _ACEOF
74708 rm -f conftest.$ac_objext conftest$ac_exeext
74709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74710 (eval $ac_link) 2>conftest.er1
74711 ac_status=$?
74712 grep -v '^ *+' conftest.er1 >conftest.err
74713 rm -f conftest.er1
74714 cat conftest.err >&5
74715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74716 (exit $ac_status); } &&
74717 { ac_try='test -z "$ac_c_werror_flag"
74718 || test ! -s conftest.err'
74719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74720 (eval $ac_try) 2>&5
74721 ac_status=$?
74722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74723 (exit $ac_status); }; } &&
74724 { ac_try='test -s conftest$ac_exeext'
74725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74726 (eval $ac_try) 2>&5
74727 ac_status=$?
74728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74729 (exit $ac_status); }; }; then
74730 eval "$as_ac_var=yes"
74731 else
74732 echo "$as_me: failed program was:" >&5
74733 sed 's/^/| /' conftest.$ac_ext >&5
74735 eval "$as_ac_var=no"
74737 rm -f conftest.err conftest.$ac_objext \
74738 conftest$ac_exeext conftest.$ac_ext
74740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74742 if test `eval echo '${'$as_ac_var'}'` = yes; then
74743 cat >>confdefs.h <<_ACEOF
74744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74745 _ACEOF
74747 else
74748 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74750 done
74754 # Used in libmath/Makefile.am.
74755 if test -n "$LIBMATHOBJS"; then
74756 need_libmath=yes
74762 enable_iconv=no
74763 # Only continue checking if the ISO C99 headers exist and support is on.
74764 if test x"$enable_wchar_t" = xyes; then
74766 # Use iconv for wchar_t to char conversions. As such, check for
74767 # X/Open Portability Guide, version 2 features (XPG2).
74768 if test "${ac_cv_header_iconv_h+set}" = set; then
74769 echo "$as_me:$LINENO: checking for iconv.h" >&5
74770 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74771 if test "${ac_cv_header_iconv_h+set}" = set; then
74772 echo $ECHO_N "(cached) $ECHO_C" >&6
74774 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74775 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74776 else
74777 # Is the header compilable?
74778 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74779 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74780 cat >conftest.$ac_ext <<_ACEOF
74781 /* confdefs.h. */
74782 _ACEOF
74783 cat confdefs.h >>conftest.$ac_ext
74784 cat >>conftest.$ac_ext <<_ACEOF
74785 /* end confdefs.h. */
74786 $ac_includes_default
74787 #include <iconv.h>
74788 _ACEOF
74789 rm -f conftest.$ac_objext
74790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74791 (eval $ac_compile) 2>conftest.er1
74792 ac_status=$?
74793 grep -v '^ *+' conftest.er1 >conftest.err
74794 rm -f conftest.er1
74795 cat conftest.err >&5
74796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74797 (exit $ac_status); } &&
74798 { ac_try='test -z "$ac_c_werror_flag"
74799 || test ! -s conftest.err'
74800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74801 (eval $ac_try) 2>&5
74802 ac_status=$?
74803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74804 (exit $ac_status); }; } &&
74805 { ac_try='test -s conftest.$ac_objext'
74806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74807 (eval $ac_try) 2>&5
74808 ac_status=$?
74809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74810 (exit $ac_status); }; }; then
74811 ac_header_compiler=yes
74812 else
74813 echo "$as_me: failed program was:" >&5
74814 sed 's/^/| /' conftest.$ac_ext >&5
74816 ac_header_compiler=no
74818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74820 echo "${ECHO_T}$ac_header_compiler" >&6
74822 # Is the header present?
74823 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74824 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74825 cat >conftest.$ac_ext <<_ACEOF
74826 /* confdefs.h. */
74827 _ACEOF
74828 cat confdefs.h >>conftest.$ac_ext
74829 cat >>conftest.$ac_ext <<_ACEOF
74830 /* end confdefs.h. */
74831 #include <iconv.h>
74832 _ACEOF
74833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74835 ac_status=$?
74836 grep -v '^ *+' conftest.er1 >conftest.err
74837 rm -f conftest.er1
74838 cat conftest.err >&5
74839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840 (exit $ac_status); } >/dev/null; then
74841 if test -s conftest.err; then
74842 ac_cpp_err=$ac_c_preproc_warn_flag
74843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74844 else
74845 ac_cpp_err=
74847 else
74848 ac_cpp_err=yes
74850 if test -z "$ac_cpp_err"; then
74851 ac_header_preproc=yes
74852 else
74853 echo "$as_me: failed program was:" >&5
74854 sed 's/^/| /' conftest.$ac_ext >&5
74856 ac_header_preproc=no
74858 rm -f conftest.err conftest.$ac_ext
74859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74860 echo "${ECHO_T}$ac_header_preproc" >&6
74862 # So? What about this header?
74863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74864 yes:no: )
74865 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74866 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74867 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74868 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74869 ac_header_preproc=yes
74871 no:yes:* )
74872 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74873 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74874 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74875 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74876 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74877 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74878 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74879 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74880 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74881 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74882 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74883 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74885 cat <<\_ASBOX
74886 ## ----------------------------------------- ##
74887 ## Report this to the package-unused lists. ##
74888 ## ----------------------------------------- ##
74889 _ASBOX
74891 sed "s/^/$as_me: WARNING: /" >&2
74893 esac
74894 echo "$as_me:$LINENO: checking for iconv.h" >&5
74895 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74896 if test "${ac_cv_header_iconv_h+set}" = set; then
74897 echo $ECHO_N "(cached) $ECHO_C" >&6
74898 else
74899 ac_cv_header_iconv_h=$ac_header_preproc
74901 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74902 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74905 if test $ac_cv_header_iconv_h = yes; then
74906 ac_has_iconv_h=yes
74907 else
74908 ac_has_iconv_h=no
74912 if test "${ac_cv_header_langinfo_h+set}" = set; then
74913 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74914 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74915 if test "${ac_cv_header_langinfo_h+set}" = set; then
74916 echo $ECHO_N "(cached) $ECHO_C" >&6
74918 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74919 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74920 else
74921 # Is the header compilable?
74922 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74923 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
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. */
74930 $ac_includes_default
74931 #include <langinfo.h>
74932 _ACEOF
74933 rm -f conftest.$ac_objext
74934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74935 (eval $ac_compile) 2>conftest.er1
74936 ac_status=$?
74937 grep -v '^ *+' conftest.er1 >conftest.err
74938 rm -f conftest.er1
74939 cat conftest.err >&5
74940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74941 (exit $ac_status); } &&
74942 { ac_try='test -z "$ac_c_werror_flag"
74943 || test ! -s conftest.err'
74944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74945 (eval $ac_try) 2>&5
74946 ac_status=$?
74947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74948 (exit $ac_status); }; } &&
74949 { ac_try='test -s conftest.$ac_objext'
74950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74951 (eval $ac_try) 2>&5
74952 ac_status=$?
74953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74954 (exit $ac_status); }; }; then
74955 ac_header_compiler=yes
74956 else
74957 echo "$as_me: failed program was:" >&5
74958 sed 's/^/| /' conftest.$ac_ext >&5
74960 ac_header_compiler=no
74962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74964 echo "${ECHO_T}$ac_header_compiler" >&6
74966 # Is the header present?
74967 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74968 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74969 cat >conftest.$ac_ext <<_ACEOF
74970 /* confdefs.h. */
74971 _ACEOF
74972 cat confdefs.h >>conftest.$ac_ext
74973 cat >>conftest.$ac_ext <<_ACEOF
74974 /* end confdefs.h. */
74975 #include <langinfo.h>
74976 _ACEOF
74977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74979 ac_status=$?
74980 grep -v '^ *+' conftest.er1 >conftest.err
74981 rm -f conftest.er1
74982 cat conftest.err >&5
74983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74984 (exit $ac_status); } >/dev/null; then
74985 if test -s conftest.err; then
74986 ac_cpp_err=$ac_c_preproc_warn_flag
74987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74988 else
74989 ac_cpp_err=
74991 else
74992 ac_cpp_err=yes
74994 if test -z "$ac_cpp_err"; then
74995 ac_header_preproc=yes
74996 else
74997 echo "$as_me: failed program was:" >&5
74998 sed 's/^/| /' conftest.$ac_ext >&5
75000 ac_header_preproc=no
75002 rm -f conftest.err conftest.$ac_ext
75003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75004 echo "${ECHO_T}$ac_header_preproc" >&6
75006 # So? What about this header?
75007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75008 yes:no: )
75009 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75010 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75011 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75012 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75013 ac_header_preproc=yes
75015 no:yes:* )
75016 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75017 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75018 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75019 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75020 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75021 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75022 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75023 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75024 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75025 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75026 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75027 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75029 cat <<\_ASBOX
75030 ## ----------------------------------------- ##
75031 ## Report this to the package-unused lists. ##
75032 ## ----------------------------------------- ##
75033 _ASBOX
75035 sed "s/^/$as_me: WARNING: /" >&2
75037 esac
75038 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75039 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75040 if test "${ac_cv_header_langinfo_h+set}" = set; then
75041 echo $ECHO_N "(cached) $ECHO_C" >&6
75042 else
75043 ac_cv_header_langinfo_h=$ac_header_preproc
75045 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75046 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75049 if test $ac_cv_header_langinfo_h = yes; then
75050 ac_has_langinfo_h=yes
75051 else
75052 ac_has_langinfo_h=no
75057 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75058 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75059 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75060 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75061 echo $ECHO_N "(cached) $ECHO_C" >&6
75062 else
75063 ac_check_lib_save_LIBS=$LIBS
75064 LIBS="-liconv $LIBS"
75065 if test x$gcc_no_link = xyes; then
75066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75068 { (exit 1); exit 1; }; }
75070 cat >conftest.$ac_ext <<_ACEOF
75071 /* confdefs.h. */
75072 _ACEOF
75073 cat confdefs.h >>conftest.$ac_ext
75074 cat >>conftest.$ac_ext <<_ACEOF
75075 /* end confdefs.h. */
75077 /* Override any gcc2 internal prototype to avoid an error. */
75078 #ifdef __cplusplus
75079 extern "C"
75080 #endif
75081 /* We use char because int might match the return type of a gcc2
75082 builtin and then its argument prototype would still apply. */
75083 char iconv ();
75085 main ()
75087 iconv ();
75089 return 0;
75091 _ACEOF
75092 rm -f conftest.$ac_objext conftest$ac_exeext
75093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75094 (eval $ac_link) 2>conftest.er1
75095 ac_status=$?
75096 grep -v '^ *+' conftest.er1 >conftest.err
75097 rm -f conftest.er1
75098 cat conftest.err >&5
75099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75100 (exit $ac_status); } &&
75101 { ac_try='test -z "$ac_c_werror_flag"
75102 || test ! -s conftest.err'
75103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75104 (eval $ac_try) 2>&5
75105 ac_status=$?
75106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75107 (exit $ac_status); }; } &&
75108 { ac_try='test -s conftest$ac_exeext'
75109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75110 (eval $ac_try) 2>&5
75111 ac_status=$?
75112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75113 (exit $ac_status); }; }; then
75114 ac_cv_lib_iconv_iconv=yes
75115 else
75116 echo "$as_me: failed program was:" >&5
75117 sed 's/^/| /' conftest.$ac_ext >&5
75119 ac_cv_lib_iconv_iconv=no
75121 rm -f conftest.err conftest.$ac_objext \
75122 conftest$ac_exeext conftest.$ac_ext
75123 LIBS=$ac_check_lib_save_LIBS
75125 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75126 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75127 if test $ac_cv_lib_iconv_iconv = yes; then
75128 LIBICONV="-liconv"
75131 ac_save_LIBS="$LIBS"
75132 LIBS="$LIBS $LIBICONV"
75139 for ac_func in iconv_open iconv_close iconv nl_langinfo
75141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75142 echo "$as_me:$LINENO: checking for $ac_func" >&5
75143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75144 if eval "test \"\${$as_ac_var+set}\" = set"; then
75145 echo $ECHO_N "(cached) $ECHO_C" >&6
75146 else
75147 if test x$gcc_no_link = xyes; then
75148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75150 { (exit 1); exit 1; }; }
75152 cat >conftest.$ac_ext <<_ACEOF
75153 /* confdefs.h. */
75154 _ACEOF
75155 cat confdefs.h >>conftest.$ac_ext
75156 cat >>conftest.$ac_ext <<_ACEOF
75157 /* end confdefs.h. */
75158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75160 #define $ac_func innocuous_$ac_func
75162 /* System header to define __stub macros and hopefully few prototypes,
75163 which can conflict with char $ac_func (); below.
75164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75165 <limits.h> exists even on freestanding compilers. */
75167 #ifdef __STDC__
75168 # include <limits.h>
75169 #else
75170 # include <assert.h>
75171 #endif
75173 #undef $ac_func
75175 /* Override any gcc2 internal prototype to avoid an error. */
75176 #ifdef __cplusplus
75177 extern "C"
75179 #endif
75180 /* We use char because int might match the return type of a gcc2
75181 builtin and then its argument prototype would still apply. */
75182 char $ac_func ();
75183 /* The GNU C library defines this for functions which it implements
75184 to always fail with ENOSYS. Some functions are actually named
75185 something starting with __ and the normal name is an alias. */
75186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75187 choke me
75188 #else
75189 char (*f) () = $ac_func;
75190 #endif
75191 #ifdef __cplusplus
75193 #endif
75196 main ()
75198 return f != $ac_func;
75200 return 0;
75202 _ACEOF
75203 rm -f conftest.$ac_objext conftest$ac_exeext
75204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75205 (eval $ac_link) 2>conftest.er1
75206 ac_status=$?
75207 grep -v '^ *+' conftest.er1 >conftest.err
75208 rm -f conftest.er1
75209 cat conftest.err >&5
75210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75211 (exit $ac_status); } &&
75212 { ac_try='test -z "$ac_c_werror_flag"
75213 || test ! -s conftest.err'
75214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75215 (eval $ac_try) 2>&5
75216 ac_status=$?
75217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75218 (exit $ac_status); }; } &&
75219 { ac_try='test -s conftest$ac_exeext'
75220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75221 (eval $ac_try) 2>&5
75222 ac_status=$?
75223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75224 (exit $ac_status); }; }; then
75225 eval "$as_ac_var=yes"
75226 else
75227 echo "$as_me: failed program was:" >&5
75228 sed 's/^/| /' conftest.$ac_ext >&5
75230 eval "$as_ac_var=no"
75232 rm -f conftest.err conftest.$ac_objext \
75233 conftest$ac_exeext conftest.$ac_ext
75235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75237 if test `eval echo '${'$as_ac_var'}'` = yes; then
75238 cat >>confdefs.h <<_ACEOF
75239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75240 _ACEOF
75241 ac_XPG2funcs=yes
75242 else
75243 ac_XPG2funcs=no
75245 done
75248 LIBS="$ac_save_LIBS"
75250 if test x"$ac_has_iconv_h" = xyes &&
75251 test x"$ac_has_langinfo_h" = xyes &&
75252 test x"$ac_XPG2funcs" = xyes;
75253 then
75255 cat >>confdefs.h <<\_ACEOF
75256 #define _GLIBCXX_USE_ICONV 1
75257 _ACEOF
75259 enable_iconv=yes
75262 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75263 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75264 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75265 echo "${ECHO_T}$enable_iconv" >&6
75267 cat >>confdefs.h <<\_ACEOF
75268 #define HAVE_LC_MESSAGES 1
75269 _ACEOF
75271 cat >>confdefs.h <<\_ACEOF
75272 #define HAVE_GETPAGESIZE 1
75273 _ACEOF
75275 cat >>confdefs.h <<\_ACEOF
75276 #define HAVE_SETENV 1
75277 _ACEOF
75279 cat >>confdefs.h <<\_ACEOF
75280 #define HAVE_SIGSETJMP 1
75281 _ACEOF
75283 cat >>confdefs.h <<\_ACEOF
75284 #define HAVE_COPYSIGN 1
75285 _ACEOF
75287 cat >>confdefs.h <<\_ACEOF
75288 #define HAVE_COPYSIGNF 1
75289 _ACEOF
75291 cat >>confdefs.h <<\_ACEOF
75292 #define HAVE_FINITEF 1
75293 _ACEOF
75295 cat >>confdefs.h <<\_ACEOF
75296 #define HAVE_FINITE 1
75297 _ACEOF
75299 cat >>confdefs.h <<\_ACEOF
75300 #define HAVE_FREXPF 1
75301 _ACEOF
75303 cat >>confdefs.h <<\_ACEOF
75304 #define HAVE_HYPOT 1
75305 _ACEOF
75307 cat >>confdefs.h <<\_ACEOF
75308 #define HAVE_HYPOTF 1
75309 _ACEOF
75311 cat >>confdefs.h <<\_ACEOF
75312 #define HAVE_ISINF 1
75313 _ACEOF
75315 cat >>confdefs.h <<\_ACEOF
75316 #define HAVE_ISNAN 1
75317 _ACEOF
75319 cat >>confdefs.h <<\_ACEOF
75320 #define HAVE_ISNANF 1
75321 _ACEOF
75324 cat >>confdefs.h <<\_ACEOF
75325 #define HAVE_MMAP 1
75326 _ACEOF
75328 cat >>confdefs.h <<\_ACEOF
75329 #define HAVE_ACOSF 1
75330 _ACEOF
75332 cat >>confdefs.h <<\_ACEOF
75333 #define HAVE_ASINF 1
75334 _ACEOF
75336 cat >>confdefs.h <<\_ACEOF
75337 #define HAVE_ATAN2F 1
75338 _ACEOF
75340 cat >>confdefs.h <<\_ACEOF
75341 #define HAVE_ATANF 1
75342 _ACEOF
75344 cat >>confdefs.h <<\_ACEOF
75345 #define HAVE_CEILF 1
75346 _ACEOF
75348 cat >>confdefs.h <<\_ACEOF
75349 #define HAVE_COPYSIGN 1
75350 _ACEOF
75352 cat >>confdefs.h <<\_ACEOF
75353 #define HAVE_COPYSIGNF 1
75354 _ACEOF
75356 cat >>confdefs.h <<\_ACEOF
75357 #define HAVE_COSF 1
75358 _ACEOF
75360 cat >>confdefs.h <<\_ACEOF
75361 #define HAVE_COSHF 1
75362 _ACEOF
75364 cat >>confdefs.h <<\_ACEOF
75365 #define HAVE_EXPF 1
75366 _ACEOF
75368 cat >>confdefs.h <<\_ACEOF
75369 #define HAVE_FABSF 1
75370 _ACEOF
75372 cat >>confdefs.h <<\_ACEOF
75373 #define HAVE_FLOORF 1
75374 _ACEOF
75376 cat >>confdefs.h <<\_ACEOF
75377 #define HAVE_FMODF 1
75378 _ACEOF
75380 cat >>confdefs.h <<\_ACEOF
75381 #define HAVE_FREXPF 1
75382 _ACEOF
75384 cat >>confdefs.h <<\_ACEOF
75385 #define HAVE_LDEXPF 1
75386 _ACEOF
75388 cat >>confdefs.h <<\_ACEOF
75389 #define HAVE_LOG10F 1
75390 _ACEOF
75392 cat >>confdefs.h <<\_ACEOF
75393 #define HAVE_LOGF 1
75394 _ACEOF
75396 cat >>confdefs.h <<\_ACEOF
75397 #define HAVE_MODFF 1
75398 _ACEOF
75400 cat >>confdefs.h <<\_ACEOF
75401 #define HAVE_POWF 1
75402 _ACEOF
75404 cat >>confdefs.h <<\_ACEOF
75405 #define HAVE_SINF 1
75406 _ACEOF
75408 cat >>confdefs.h <<\_ACEOF
75409 #define HAVE_SINHF 1
75410 _ACEOF
75412 cat >>confdefs.h <<\_ACEOF
75413 #define HAVE_SQRTF 1
75414 _ACEOF
75416 cat >>confdefs.h <<\_ACEOF
75417 #define HAVE_TANF 1
75418 _ACEOF
75420 cat >>confdefs.h <<\_ACEOF
75421 #define HAVE_TANHF 1
75422 _ACEOF
75424 if test x"long_double_math_on_this_cpu" = x"yes"; then
75425 cat >>confdefs.h <<\_ACEOF
75426 #define HAVE_FINITEL 1
75427 _ACEOF
75429 cat >>confdefs.h <<\_ACEOF
75430 #define HAVE_ISINFL 1
75431 _ACEOF
75433 cat >>confdefs.h <<\_ACEOF
75434 #define HAVE_ISNANL 1
75435 _ACEOF
75439 *-hpux*)
75452 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75453 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75454 fp.h locale.h float.h inttypes.h
75456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75458 echo "$as_me:$LINENO: checking for $ac_header" >&5
75459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75461 echo $ECHO_N "(cached) $ECHO_C" >&6
75463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75465 else
75466 # Is the header compilable?
75467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75469 cat >conftest.$ac_ext <<_ACEOF
75470 /* confdefs.h. */
75471 _ACEOF
75472 cat confdefs.h >>conftest.$ac_ext
75473 cat >>conftest.$ac_ext <<_ACEOF
75474 /* end confdefs.h. */
75475 $ac_includes_default
75476 #include <$ac_header>
75477 _ACEOF
75478 rm -f conftest.$ac_objext
75479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75480 (eval $ac_compile) 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_objext'
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_header_compiler=yes
75501 else
75502 echo "$as_me: failed program was:" >&5
75503 sed 's/^/| /' conftest.$ac_ext >&5
75505 ac_header_compiler=no
75507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75509 echo "${ECHO_T}$ac_header_compiler" >&6
75511 # Is the header present?
75512 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75513 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75514 cat >conftest.$ac_ext <<_ACEOF
75515 /* confdefs.h. */
75516 _ACEOF
75517 cat confdefs.h >>conftest.$ac_ext
75518 cat >>conftest.$ac_ext <<_ACEOF
75519 /* end confdefs.h. */
75520 #include <$ac_header>
75521 _ACEOF
75522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75524 ac_status=$?
75525 grep -v '^ *+' conftest.er1 >conftest.err
75526 rm -f conftest.er1
75527 cat conftest.err >&5
75528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75529 (exit $ac_status); } >/dev/null; then
75530 if test -s conftest.err; then
75531 ac_cpp_err=$ac_c_preproc_warn_flag
75532 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75533 else
75534 ac_cpp_err=
75536 else
75537 ac_cpp_err=yes
75539 if test -z "$ac_cpp_err"; then
75540 ac_header_preproc=yes
75541 else
75542 echo "$as_me: failed program was:" >&5
75543 sed 's/^/| /' conftest.$ac_ext >&5
75545 ac_header_preproc=no
75547 rm -f conftest.err conftest.$ac_ext
75548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75549 echo "${ECHO_T}$ac_header_preproc" >&6
75551 # So? What about this header?
75552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75553 yes:no: )
75554 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75557 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75558 ac_header_preproc=yes
75560 no:yes:* )
75561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75565 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75566 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75567 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75568 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75571 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75572 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75574 cat <<\_ASBOX
75575 ## ----------------------------------------- ##
75576 ## Report this to the package-unused lists. ##
75577 ## ----------------------------------------- ##
75578 _ASBOX
75580 sed "s/^/$as_me: WARNING: /" >&2
75582 esac
75583 echo "$as_me:$LINENO: checking for $ac_header" >&5
75584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75586 echo $ECHO_N "(cached) $ECHO_C" >&6
75587 else
75588 eval "$as_ac_Header=\$ac_header_preproc"
75590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75595 cat >>confdefs.h <<_ACEOF
75596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75597 _ACEOF
75601 done
75603 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75606 # If we're not using GNU ld, then there's no point in even trying these
75607 # tests. Check for that first. We should have already tested for gld
75608 # by now (in libtool), but require it now just to be safe...
75609 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75610 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75614 # The name set by libtool depends on the version of libtool. Shame on us
75615 # for depending on an impl detail, but c'est la vie. Older versions used
75616 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75617 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75618 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75619 # set (hence we're using an older libtool), then set it.
75620 if test x${with_gnu_ld+set} != xset; then
75621 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75622 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75623 with_gnu_ld=no
75624 else
75625 with_gnu_ld=$ac_cv_prog_gnu_ld
75629 # Start by getting the version number. I think the libtool test already
75630 # does some of this, but throws away the result.
75632 ldver=`$LD --version 2>/dev/null | head -1 | \
75633 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75635 glibcxx_gnu_ld_version=`echo $ldver | \
75636 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75638 # Set --gc-sections.
75639 if test "$with_gnu_ld" = "notbroken"; then
75640 # GNU ld it is! Joy and bunny rabbits!
75642 # All these tests are for C++; save the language and the compiler flags.
75643 # Need to do this so that g++ won't try to link in libstdc++
75644 ac_test_CFLAGS="${CFLAGS+set}"
75645 ac_save_CFLAGS="$CFLAGS"
75646 CFLAGS='-x c++ -Wl,--gc-sections'
75648 # Check for -Wl,--gc-sections
75649 # XXX This test is broken at the moment, as symbols required for linking
75650 # are now in libsupc++ (not built yet). In addition, this test has
75651 # cored on solaris in the past. In addition, --gc-sections doesn't
75652 # really work at the moment (keeps on discarding used sections, first
75653 # .eh_frame and now some of the glibc sections for iconv).
75654 # Bzzzzt. Thanks for playing, maybe next time.
75655 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75656 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75657 if test "$cross_compiling" = yes; then
75658 ac_sectionLDflags=yes
75659 else
75660 cat >conftest.$ac_ext <<_ACEOF
75661 /* confdefs.h. */
75662 _ACEOF
75663 cat confdefs.h >>conftest.$ac_ext
75664 cat >>conftest.$ac_ext <<_ACEOF
75665 /* end confdefs.h. */
75667 int main(void)
75669 try { throw 1; }
75670 catch (...) { };
75671 return 0;
75674 _ACEOF
75675 rm -f conftest$ac_exeext
75676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75677 (eval $ac_link) 2>&5
75678 ac_status=$?
75679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75682 (eval $ac_try) 2>&5
75683 ac_status=$?
75684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75685 (exit $ac_status); }; }; then
75686 ac_sectionLDflags=yes
75687 else
75688 echo "$as_me: program exited with status $ac_status" >&5
75689 echo "$as_me: failed program was:" >&5
75690 sed 's/^/| /' conftest.$ac_ext >&5
75692 ( exit $ac_status )
75693 ac_sectionLDflags=no
75695 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75697 if test "$ac_test_CFLAGS" = set; then
75698 CFLAGS="$ac_save_CFLAGS"
75699 else
75700 # this is the suspicious part
75701 CFLAGS=''
75703 if test "$ac_sectionLDflags" = "yes"; then
75704 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75706 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75707 echo "${ECHO_T}$ac_sectionLDflags" >&6
75710 # Set linker optimization flags.
75711 if test x"$with_gnu_ld" = x"yes"; then
75712 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75720 echo "$as_me:$LINENO: checking for main in -lm" >&5
75721 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75722 if test "${ac_cv_lib_m_main+set}" = set; then
75723 echo $ECHO_N "(cached) $ECHO_C" >&6
75724 else
75725 ac_check_lib_save_LIBS=$LIBS
75726 LIBS="-lm $LIBS"
75727 if test x$gcc_no_link = xyes; then
75728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75730 { (exit 1); exit 1; }; }
75732 cat >conftest.$ac_ext <<_ACEOF
75733 /* confdefs.h. */
75734 _ACEOF
75735 cat confdefs.h >>conftest.$ac_ext
75736 cat >>conftest.$ac_ext <<_ACEOF
75737 /* end confdefs.h. */
75741 main ()
75743 main ();
75745 return 0;
75747 _ACEOF
75748 rm -f conftest.$ac_objext conftest$ac_exeext
75749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75750 (eval $ac_link) 2>conftest.er1
75751 ac_status=$?
75752 grep -v '^ *+' conftest.er1 >conftest.err
75753 rm -f conftest.er1
75754 cat conftest.err >&5
75755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75756 (exit $ac_status); } &&
75757 { ac_try='test -z "$ac_c_werror_flag"
75758 || test ! -s conftest.err'
75759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75760 (eval $ac_try) 2>&5
75761 ac_status=$?
75762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75763 (exit $ac_status); }; } &&
75764 { ac_try='test -s conftest$ac_exeext'
75765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75766 (eval $ac_try) 2>&5
75767 ac_status=$?
75768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75769 (exit $ac_status); }; }; then
75770 ac_cv_lib_m_main=yes
75771 else
75772 echo "$as_me: failed program was:" >&5
75773 sed 's/^/| /' conftest.$ac_ext >&5
75775 ac_cv_lib_m_main=no
75777 rm -f conftest.err conftest.$ac_objext \
75778 conftest$ac_exeext conftest.$ac_ext
75779 LIBS=$ac_check_lib_save_LIBS
75781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75782 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75783 if test $ac_cv_lib_m_main = yes; then
75784 cat >>confdefs.h <<_ACEOF
75785 #define HAVE_LIBM 1
75786 _ACEOF
75788 LIBS="-lm $LIBS"
75793 for ac_func in copysignf
75795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75796 echo "$as_me:$LINENO: checking for $ac_func" >&5
75797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75798 if eval "test \"\${$as_ac_var+set}\" = set"; then
75799 echo $ECHO_N "(cached) $ECHO_C" >&6
75800 else
75801 if test x$gcc_no_link = xyes; then
75802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75804 { (exit 1); exit 1; }; }
75806 cat >conftest.$ac_ext <<_ACEOF
75807 /* confdefs.h. */
75808 _ACEOF
75809 cat confdefs.h >>conftest.$ac_ext
75810 cat >>conftest.$ac_ext <<_ACEOF
75811 /* end confdefs.h. */
75812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75814 #define $ac_func innocuous_$ac_func
75816 /* System header to define __stub macros and hopefully few prototypes,
75817 which can conflict with char $ac_func (); below.
75818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75819 <limits.h> exists even on freestanding compilers. */
75821 #ifdef __STDC__
75822 # include <limits.h>
75823 #else
75824 # include <assert.h>
75825 #endif
75827 #undef $ac_func
75829 /* Override any gcc2 internal prototype to avoid an error. */
75830 #ifdef __cplusplus
75831 extern "C"
75833 #endif
75834 /* We use char because int might match the return type of a gcc2
75835 builtin and then its argument prototype would still apply. */
75836 char $ac_func ();
75837 /* The GNU C library defines this for functions which it implements
75838 to always fail with ENOSYS. Some functions are actually named
75839 something starting with __ and the normal name is an alias. */
75840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75841 choke me
75842 #else
75843 char (*f) () = $ac_func;
75844 #endif
75845 #ifdef __cplusplus
75847 #endif
75850 main ()
75852 return f != $ac_func;
75854 return 0;
75856 _ACEOF
75857 rm -f conftest.$ac_objext conftest$ac_exeext
75858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75859 (eval $ac_link) 2>conftest.er1
75860 ac_status=$?
75861 grep -v '^ *+' conftest.er1 >conftest.err
75862 rm -f conftest.er1
75863 cat conftest.err >&5
75864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75865 (exit $ac_status); } &&
75866 { ac_try='test -z "$ac_c_werror_flag"
75867 || test ! -s conftest.err'
75868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75869 (eval $ac_try) 2>&5
75870 ac_status=$?
75871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75872 (exit $ac_status); }; } &&
75873 { ac_try='test -s conftest$ac_exeext'
75874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75875 (eval $ac_try) 2>&5
75876 ac_status=$?
75877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878 (exit $ac_status); }; }; then
75879 eval "$as_ac_var=yes"
75880 else
75881 echo "$as_me: failed program was:" >&5
75882 sed 's/^/| /' conftest.$ac_ext >&5
75884 eval "$as_ac_var=no"
75886 rm -f conftest.err conftest.$ac_objext \
75887 conftest$ac_exeext conftest.$ac_ext
75889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75891 if test `eval echo '${'$as_ac_var'}'` = yes; then
75892 cat >>confdefs.h <<_ACEOF
75893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75894 _ACEOF
75896 else
75897 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75899 done
75903 for ac_func in __signbit
75905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75906 echo "$as_me:$LINENO: checking for $ac_func" >&5
75907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75908 if eval "test \"\${$as_ac_var+set}\" = set"; then
75909 echo $ECHO_N "(cached) $ECHO_C" >&6
75910 else
75911 if test x$gcc_no_link = xyes; then
75912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75914 { (exit 1); exit 1; }; }
75916 cat >conftest.$ac_ext <<_ACEOF
75917 /* confdefs.h. */
75918 _ACEOF
75919 cat confdefs.h >>conftest.$ac_ext
75920 cat >>conftest.$ac_ext <<_ACEOF
75921 /* end confdefs.h. */
75922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75924 #define $ac_func innocuous_$ac_func
75926 /* System header to define __stub macros and hopefully few prototypes,
75927 which can conflict with char $ac_func (); below.
75928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75929 <limits.h> exists even on freestanding compilers. */
75931 #ifdef __STDC__
75932 # include <limits.h>
75933 #else
75934 # include <assert.h>
75935 #endif
75937 #undef $ac_func
75939 /* Override any gcc2 internal prototype to avoid an error. */
75940 #ifdef __cplusplus
75941 extern "C"
75943 #endif
75944 /* We use char because int might match the return type of a gcc2
75945 builtin and then its argument prototype would still apply. */
75946 char $ac_func ();
75947 /* The GNU C library defines this for functions which it implements
75948 to always fail with ENOSYS. Some functions are actually named
75949 something starting with __ and the normal name is an alias. */
75950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75951 choke me
75952 #else
75953 char (*f) () = $ac_func;
75954 #endif
75955 #ifdef __cplusplus
75957 #endif
75960 main ()
75962 return f != $ac_func;
75964 return 0;
75966 _ACEOF
75967 rm -f conftest.$ac_objext conftest$ac_exeext
75968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75969 (eval $ac_link) 2>conftest.er1
75970 ac_status=$?
75971 grep -v '^ *+' conftest.er1 >conftest.err
75972 rm -f conftest.er1
75973 cat conftest.err >&5
75974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75975 (exit $ac_status); } &&
75976 { ac_try='test -z "$ac_c_werror_flag"
75977 || test ! -s conftest.err'
75978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75979 (eval $ac_try) 2>&5
75980 ac_status=$?
75981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75982 (exit $ac_status); }; } &&
75983 { ac_try='test -s conftest$ac_exeext'
75984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75985 (eval $ac_try) 2>&5
75986 ac_status=$?
75987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75988 (exit $ac_status); }; }; then
75989 eval "$as_ac_var=yes"
75990 else
75991 echo "$as_me: failed program was:" >&5
75992 sed 's/^/| /' conftest.$ac_ext >&5
75994 eval "$as_ac_var=no"
75996 rm -f conftest.err conftest.$ac_objext \
75997 conftest$ac_exeext conftest.$ac_ext
75999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76001 if test `eval echo '${'$as_ac_var'}'` = yes; then
76002 cat >>confdefs.h <<_ACEOF
76003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76004 _ACEOF
76006 else
76007 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76009 done
76013 for ac_func in __signbitf
76015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76016 echo "$as_me:$LINENO: checking for $ac_func" >&5
76017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76018 if eval "test \"\${$as_ac_var+set}\" = set"; then
76019 echo $ECHO_N "(cached) $ECHO_C" >&6
76020 else
76021 if test x$gcc_no_link = xyes; then
76022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76024 { (exit 1); exit 1; }; }
76026 cat >conftest.$ac_ext <<_ACEOF
76027 /* confdefs.h. */
76028 _ACEOF
76029 cat confdefs.h >>conftest.$ac_ext
76030 cat >>conftest.$ac_ext <<_ACEOF
76031 /* end confdefs.h. */
76032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76034 #define $ac_func innocuous_$ac_func
76036 /* System header to define __stub macros and hopefully few prototypes,
76037 which can conflict with char $ac_func (); below.
76038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76039 <limits.h> exists even on freestanding compilers. */
76041 #ifdef __STDC__
76042 # include <limits.h>
76043 #else
76044 # include <assert.h>
76045 #endif
76047 #undef $ac_func
76049 /* Override any gcc2 internal prototype to avoid an error. */
76050 #ifdef __cplusplus
76051 extern "C"
76053 #endif
76054 /* We use char because int might match the return type of a gcc2
76055 builtin and then its argument prototype would still apply. */
76056 char $ac_func ();
76057 /* The GNU C library defines this for functions which it implements
76058 to always fail with ENOSYS. Some functions are actually named
76059 something starting with __ and the normal name is an alias. */
76060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76061 choke me
76062 #else
76063 char (*f) () = $ac_func;
76064 #endif
76065 #ifdef __cplusplus
76067 #endif
76070 main ()
76072 return f != $ac_func;
76074 return 0;
76076 _ACEOF
76077 rm -f conftest.$ac_objext conftest$ac_exeext
76078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76079 (eval $ac_link) 2>conftest.er1
76080 ac_status=$?
76081 grep -v '^ *+' conftest.er1 >conftest.err
76082 rm -f conftest.er1
76083 cat conftest.err >&5
76084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76085 (exit $ac_status); } &&
76086 { ac_try='test -z "$ac_c_werror_flag"
76087 || test ! -s conftest.err'
76088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76089 (eval $ac_try) 2>&5
76090 ac_status=$?
76091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76092 (exit $ac_status); }; } &&
76093 { ac_try='test -s conftest$ac_exeext'
76094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76095 (eval $ac_try) 2>&5
76096 ac_status=$?
76097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76098 (exit $ac_status); }; }; then
76099 eval "$as_ac_var=yes"
76100 else
76101 echo "$as_me: failed program was:" >&5
76102 sed 's/^/| /' conftest.$ac_ext >&5
76104 eval "$as_ac_var=no"
76106 rm -f conftest.err conftest.$ac_objext \
76107 conftest$ac_exeext conftest.$ac_ext
76109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76111 if test `eval echo '${'$as_ac_var'}'` = yes; then
76112 cat >>confdefs.h <<_ACEOF
76113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76114 _ACEOF
76116 else
76117 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76119 done
76122 if test x$ac_cv_func_copysignl = x"yes"; then
76124 for ac_func in __signbitl
76126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76127 echo "$as_me:$LINENO: checking for $ac_func" >&5
76128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76129 if eval "test \"\${$as_ac_var+set}\" = set"; then
76130 echo $ECHO_N "(cached) $ECHO_C" >&6
76131 else
76132 if test x$gcc_no_link = xyes; then
76133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76135 { (exit 1); exit 1; }; }
76137 cat >conftest.$ac_ext <<_ACEOF
76138 /* confdefs.h. */
76139 _ACEOF
76140 cat confdefs.h >>conftest.$ac_ext
76141 cat >>conftest.$ac_ext <<_ACEOF
76142 /* end confdefs.h. */
76143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76145 #define $ac_func innocuous_$ac_func
76147 /* System header to define __stub macros and hopefully few prototypes,
76148 which can conflict with char $ac_func (); below.
76149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76150 <limits.h> exists even on freestanding compilers. */
76152 #ifdef __STDC__
76153 # include <limits.h>
76154 #else
76155 # include <assert.h>
76156 #endif
76158 #undef $ac_func
76160 /* Override any gcc2 internal prototype to avoid an error. */
76161 #ifdef __cplusplus
76162 extern "C"
76164 #endif
76165 /* We use char because int might match the return type of a gcc2
76166 builtin and then its argument prototype would still apply. */
76167 char $ac_func ();
76168 /* The GNU C library defines this for functions which it implements
76169 to always fail with ENOSYS. Some functions are actually named
76170 something starting with __ and the normal name is an alias. */
76171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76172 choke me
76173 #else
76174 char (*f) () = $ac_func;
76175 #endif
76176 #ifdef __cplusplus
76178 #endif
76181 main ()
76183 return f != $ac_func;
76185 return 0;
76187 _ACEOF
76188 rm -f conftest.$ac_objext conftest$ac_exeext
76189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76190 (eval $ac_link) 2>conftest.er1
76191 ac_status=$?
76192 grep -v '^ *+' conftest.er1 >conftest.err
76193 rm -f conftest.er1
76194 cat conftest.err >&5
76195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76196 (exit $ac_status); } &&
76197 { ac_try='test -z "$ac_c_werror_flag"
76198 || test ! -s conftest.err'
76199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76200 (eval $ac_try) 2>&5
76201 ac_status=$?
76202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76203 (exit $ac_status); }; } &&
76204 { ac_try='test -s conftest$ac_exeext'
76205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76206 (eval $ac_try) 2>&5
76207 ac_status=$?
76208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76209 (exit $ac_status); }; }; then
76210 eval "$as_ac_var=yes"
76211 else
76212 echo "$as_me: failed program was:" >&5
76213 sed 's/^/| /' conftest.$ac_ext >&5
76215 eval "$as_ac_var=no"
76217 rm -f conftest.err conftest.$ac_objext \
76218 conftest$ac_exeext conftest.$ac_ext
76220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76222 if test `eval echo '${'$as_ac_var'}'` = yes; then
76223 cat >>confdefs.h <<_ACEOF
76224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76225 _ACEOF
76227 else
76228 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76230 done
76234 # Used in libmath/Makefile.am.
76235 if test -n "$LIBMATHOBJS"; then
76236 need_libmath=yes
76242 enable_iconv=no
76243 # Only continue checking if the ISO C99 headers exist and support is on.
76244 if test x"$enable_wchar_t" = xyes; then
76246 # Use iconv for wchar_t to char conversions. As such, check for
76247 # X/Open Portability Guide, version 2 features (XPG2).
76248 if test "${ac_cv_header_iconv_h+set}" = set; then
76249 echo "$as_me:$LINENO: checking for iconv.h" >&5
76250 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76251 if test "${ac_cv_header_iconv_h+set}" = set; then
76252 echo $ECHO_N "(cached) $ECHO_C" >&6
76254 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76255 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76256 else
76257 # Is the header compilable?
76258 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76259 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76260 cat >conftest.$ac_ext <<_ACEOF
76261 /* confdefs.h. */
76262 _ACEOF
76263 cat confdefs.h >>conftest.$ac_ext
76264 cat >>conftest.$ac_ext <<_ACEOF
76265 /* end confdefs.h. */
76266 $ac_includes_default
76267 #include <iconv.h>
76268 _ACEOF
76269 rm -f conftest.$ac_objext
76270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76271 (eval $ac_compile) 2>conftest.er1
76272 ac_status=$?
76273 grep -v '^ *+' conftest.er1 >conftest.err
76274 rm -f conftest.er1
76275 cat conftest.err >&5
76276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76277 (exit $ac_status); } &&
76278 { ac_try='test -z "$ac_c_werror_flag"
76279 || test ! -s conftest.err'
76280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76281 (eval $ac_try) 2>&5
76282 ac_status=$?
76283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76284 (exit $ac_status); }; } &&
76285 { ac_try='test -s conftest.$ac_objext'
76286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76287 (eval $ac_try) 2>&5
76288 ac_status=$?
76289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76290 (exit $ac_status); }; }; then
76291 ac_header_compiler=yes
76292 else
76293 echo "$as_me: failed program was:" >&5
76294 sed 's/^/| /' conftest.$ac_ext >&5
76296 ac_header_compiler=no
76298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76300 echo "${ECHO_T}$ac_header_compiler" >&6
76302 # Is the header present?
76303 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76304 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76305 cat >conftest.$ac_ext <<_ACEOF
76306 /* confdefs.h. */
76307 _ACEOF
76308 cat confdefs.h >>conftest.$ac_ext
76309 cat >>conftest.$ac_ext <<_ACEOF
76310 /* end confdefs.h. */
76311 #include <iconv.h>
76312 _ACEOF
76313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76315 ac_status=$?
76316 grep -v '^ *+' conftest.er1 >conftest.err
76317 rm -f conftest.er1
76318 cat conftest.err >&5
76319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76320 (exit $ac_status); } >/dev/null; then
76321 if test -s conftest.err; then
76322 ac_cpp_err=$ac_c_preproc_warn_flag
76323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76324 else
76325 ac_cpp_err=
76327 else
76328 ac_cpp_err=yes
76330 if test -z "$ac_cpp_err"; then
76331 ac_header_preproc=yes
76332 else
76333 echo "$as_me: failed program was:" >&5
76334 sed 's/^/| /' conftest.$ac_ext >&5
76336 ac_header_preproc=no
76338 rm -f conftest.err conftest.$ac_ext
76339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76340 echo "${ECHO_T}$ac_header_preproc" >&6
76342 # So? What about this header?
76343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76344 yes:no: )
76345 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76346 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76347 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76348 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76349 ac_header_preproc=yes
76351 no:yes:* )
76352 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76353 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76354 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76355 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76356 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76357 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76358 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76359 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76360 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76361 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76362 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76363 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76365 cat <<\_ASBOX
76366 ## ----------------------------------------- ##
76367 ## Report this to the package-unused lists. ##
76368 ## ----------------------------------------- ##
76369 _ASBOX
76371 sed "s/^/$as_me: WARNING: /" >&2
76373 esac
76374 echo "$as_me:$LINENO: checking for iconv.h" >&5
76375 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76376 if test "${ac_cv_header_iconv_h+set}" = set; then
76377 echo $ECHO_N "(cached) $ECHO_C" >&6
76378 else
76379 ac_cv_header_iconv_h=$ac_header_preproc
76381 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76382 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76385 if test $ac_cv_header_iconv_h = yes; then
76386 ac_has_iconv_h=yes
76387 else
76388 ac_has_iconv_h=no
76392 if test "${ac_cv_header_langinfo_h+set}" = set; then
76393 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76394 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76395 if test "${ac_cv_header_langinfo_h+set}" = set; then
76396 echo $ECHO_N "(cached) $ECHO_C" >&6
76398 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76399 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76400 else
76401 # Is the header compilable?
76402 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76403 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76404 cat >conftest.$ac_ext <<_ACEOF
76405 /* confdefs.h. */
76406 _ACEOF
76407 cat confdefs.h >>conftest.$ac_ext
76408 cat >>conftest.$ac_ext <<_ACEOF
76409 /* end confdefs.h. */
76410 $ac_includes_default
76411 #include <langinfo.h>
76412 _ACEOF
76413 rm -f conftest.$ac_objext
76414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76415 (eval $ac_compile) 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_objext'
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 ac_header_compiler=yes
76436 else
76437 echo "$as_me: failed program was:" >&5
76438 sed 's/^/| /' conftest.$ac_ext >&5
76440 ac_header_compiler=no
76442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76444 echo "${ECHO_T}$ac_header_compiler" >&6
76446 # Is the header present?
76447 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76448 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76449 cat >conftest.$ac_ext <<_ACEOF
76450 /* confdefs.h. */
76451 _ACEOF
76452 cat confdefs.h >>conftest.$ac_ext
76453 cat >>conftest.$ac_ext <<_ACEOF
76454 /* end confdefs.h. */
76455 #include <langinfo.h>
76456 _ACEOF
76457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76459 ac_status=$?
76460 grep -v '^ *+' conftest.er1 >conftest.err
76461 rm -f conftest.er1
76462 cat conftest.err >&5
76463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76464 (exit $ac_status); } >/dev/null; then
76465 if test -s conftest.err; then
76466 ac_cpp_err=$ac_c_preproc_warn_flag
76467 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76468 else
76469 ac_cpp_err=
76471 else
76472 ac_cpp_err=yes
76474 if test -z "$ac_cpp_err"; then
76475 ac_header_preproc=yes
76476 else
76477 echo "$as_me: failed program was:" >&5
76478 sed 's/^/| /' conftest.$ac_ext >&5
76480 ac_header_preproc=no
76482 rm -f conftest.err conftest.$ac_ext
76483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76484 echo "${ECHO_T}$ac_header_preproc" >&6
76486 # So? What about this header?
76487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76488 yes:no: )
76489 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76490 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76491 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76492 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76493 ac_header_preproc=yes
76495 no:yes:* )
76496 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76497 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76498 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76499 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76500 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76501 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76502 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76503 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76504 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76505 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76506 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76507 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76509 cat <<\_ASBOX
76510 ## ----------------------------------------- ##
76511 ## Report this to the package-unused lists. ##
76512 ## ----------------------------------------- ##
76513 _ASBOX
76515 sed "s/^/$as_me: WARNING: /" >&2
76517 esac
76518 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76519 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76520 if test "${ac_cv_header_langinfo_h+set}" = set; then
76521 echo $ECHO_N "(cached) $ECHO_C" >&6
76522 else
76523 ac_cv_header_langinfo_h=$ac_header_preproc
76525 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76526 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76529 if test $ac_cv_header_langinfo_h = yes; then
76530 ac_has_langinfo_h=yes
76531 else
76532 ac_has_langinfo_h=no
76537 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76538 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76539 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76540 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76541 echo $ECHO_N "(cached) $ECHO_C" >&6
76542 else
76543 ac_check_lib_save_LIBS=$LIBS
76544 LIBS="-liconv $LIBS"
76545 if test x$gcc_no_link = xyes; then
76546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76548 { (exit 1); exit 1; }; }
76550 cat >conftest.$ac_ext <<_ACEOF
76551 /* confdefs.h. */
76552 _ACEOF
76553 cat confdefs.h >>conftest.$ac_ext
76554 cat >>conftest.$ac_ext <<_ACEOF
76555 /* end confdefs.h. */
76557 /* Override any gcc2 internal prototype to avoid an error. */
76558 #ifdef __cplusplus
76559 extern "C"
76560 #endif
76561 /* We use char because int might match the return type of a gcc2
76562 builtin and then its argument prototype would still apply. */
76563 char iconv ();
76565 main ()
76567 iconv ();
76569 return 0;
76571 _ACEOF
76572 rm -f conftest.$ac_objext conftest$ac_exeext
76573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76574 (eval $ac_link) 2>conftest.er1
76575 ac_status=$?
76576 grep -v '^ *+' conftest.er1 >conftest.err
76577 rm -f conftest.er1
76578 cat conftest.err >&5
76579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76580 (exit $ac_status); } &&
76581 { ac_try='test -z "$ac_c_werror_flag"
76582 || test ! -s conftest.err'
76583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76584 (eval $ac_try) 2>&5
76585 ac_status=$?
76586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76587 (exit $ac_status); }; } &&
76588 { ac_try='test -s conftest$ac_exeext'
76589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76590 (eval $ac_try) 2>&5
76591 ac_status=$?
76592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76593 (exit $ac_status); }; }; then
76594 ac_cv_lib_iconv_iconv=yes
76595 else
76596 echo "$as_me: failed program was:" >&5
76597 sed 's/^/| /' conftest.$ac_ext >&5
76599 ac_cv_lib_iconv_iconv=no
76601 rm -f conftest.err conftest.$ac_objext \
76602 conftest$ac_exeext conftest.$ac_ext
76603 LIBS=$ac_check_lib_save_LIBS
76605 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76606 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76607 if test $ac_cv_lib_iconv_iconv = yes; then
76608 LIBICONV="-liconv"
76611 ac_save_LIBS="$LIBS"
76612 LIBS="$LIBS $LIBICONV"
76619 for ac_func in iconv_open iconv_close iconv nl_langinfo
76621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76622 echo "$as_me:$LINENO: checking for $ac_func" >&5
76623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76624 if eval "test \"\${$as_ac_var+set}\" = set"; then
76625 echo $ECHO_N "(cached) $ECHO_C" >&6
76626 else
76627 if test x$gcc_no_link = xyes; then
76628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76630 { (exit 1); exit 1; }; }
76632 cat >conftest.$ac_ext <<_ACEOF
76633 /* confdefs.h. */
76634 _ACEOF
76635 cat confdefs.h >>conftest.$ac_ext
76636 cat >>conftest.$ac_ext <<_ACEOF
76637 /* end confdefs.h. */
76638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76640 #define $ac_func innocuous_$ac_func
76642 /* System header to define __stub macros and hopefully few prototypes,
76643 which can conflict with char $ac_func (); below.
76644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76645 <limits.h> exists even on freestanding compilers. */
76647 #ifdef __STDC__
76648 # include <limits.h>
76649 #else
76650 # include <assert.h>
76651 #endif
76653 #undef $ac_func
76655 /* Override any gcc2 internal prototype to avoid an error. */
76656 #ifdef __cplusplus
76657 extern "C"
76659 #endif
76660 /* We use char because int might match the return type of a gcc2
76661 builtin and then its argument prototype would still apply. */
76662 char $ac_func ();
76663 /* The GNU C library defines this for functions which it implements
76664 to always fail with ENOSYS. Some functions are actually named
76665 something starting with __ and the normal name is an alias. */
76666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76667 choke me
76668 #else
76669 char (*f) () = $ac_func;
76670 #endif
76671 #ifdef __cplusplus
76673 #endif
76676 main ()
76678 return f != $ac_func;
76680 return 0;
76682 _ACEOF
76683 rm -f conftest.$ac_objext conftest$ac_exeext
76684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76685 (eval $ac_link) 2>conftest.er1
76686 ac_status=$?
76687 grep -v '^ *+' conftest.er1 >conftest.err
76688 rm -f conftest.er1
76689 cat conftest.err >&5
76690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76691 (exit $ac_status); } &&
76692 { ac_try='test -z "$ac_c_werror_flag"
76693 || test ! -s conftest.err'
76694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76695 (eval $ac_try) 2>&5
76696 ac_status=$?
76697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76698 (exit $ac_status); }; } &&
76699 { ac_try='test -s conftest$ac_exeext'
76700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76701 (eval $ac_try) 2>&5
76702 ac_status=$?
76703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76704 (exit $ac_status); }; }; then
76705 eval "$as_ac_var=yes"
76706 else
76707 echo "$as_me: failed program was:" >&5
76708 sed 's/^/| /' conftest.$ac_ext >&5
76710 eval "$as_ac_var=no"
76712 rm -f conftest.err conftest.$ac_objext \
76713 conftest$ac_exeext conftest.$ac_ext
76715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76717 if test `eval echo '${'$as_ac_var'}'` = yes; then
76718 cat >>confdefs.h <<_ACEOF
76719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76720 _ACEOF
76721 ac_XPG2funcs=yes
76722 else
76723 ac_XPG2funcs=no
76725 done
76728 LIBS="$ac_save_LIBS"
76730 if test x"$ac_has_iconv_h" = xyes &&
76731 test x"$ac_has_langinfo_h" = xyes &&
76732 test x"$ac_XPG2funcs" = xyes;
76733 then
76735 cat >>confdefs.h <<\_ACEOF
76736 #define _GLIBCXX_USE_ICONV 1
76737 _ACEOF
76739 enable_iconv=yes
76742 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76743 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76744 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76745 echo "${ECHO_T}$enable_iconv" >&6
76747 cat >>confdefs.h <<\_ACEOF
76748 #define HAVE_COPYSIGN 1
76749 _ACEOF
76751 cat >>confdefs.h <<\_ACEOF
76752 #define HAVE_COPYSIGNF 1
76753 _ACEOF
76755 cat >>confdefs.h <<\_ACEOF
76756 #define HAVE_FREXPF 1
76757 _ACEOF
76759 cat >>confdefs.h <<\_ACEOF
76760 #define HAVE_HYPOT 1
76761 _ACEOF
76763 case "$target" in
76764 *-hpux10*)
76765 cat >>confdefs.h <<\_ACEOF
76766 #define HAVE_FINITE 1
76767 _ACEOF
76769 cat >>confdefs.h <<\_ACEOF
76770 #define HAVE_FINITEF 1
76771 _ACEOF
76773 cat >>confdefs.h <<\_ACEOF
76774 #define HAVE_ISINF 1
76775 _ACEOF
76777 cat >>confdefs.h <<\_ACEOF
76778 #define HAVE_ISINFF 1
76779 _ACEOF
76781 cat >>confdefs.h <<\_ACEOF
76782 #define HAVE_ISNAN 1
76783 _ACEOF
76785 cat >>confdefs.h <<\_ACEOF
76786 #define HAVE_ISNANF 1
76787 _ACEOF
76790 esac
76792 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76808 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76809 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76810 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76814 echo "$as_me:$LINENO: checking for $ac_header" >&5
76815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76817 echo $ECHO_N "(cached) $ECHO_C" >&6
76819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76821 else
76822 # Is the header compilable?
76823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76825 cat >conftest.$ac_ext <<_ACEOF
76826 /* confdefs.h. */
76827 _ACEOF
76828 cat confdefs.h >>conftest.$ac_ext
76829 cat >>conftest.$ac_ext <<_ACEOF
76830 /* end confdefs.h. */
76831 $ac_includes_default
76832 #include <$ac_header>
76833 _ACEOF
76834 rm -f conftest.$ac_objext
76835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76836 (eval $ac_compile) 2>conftest.er1
76837 ac_status=$?
76838 grep -v '^ *+' conftest.er1 >conftest.err
76839 rm -f conftest.er1
76840 cat conftest.err >&5
76841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76842 (exit $ac_status); } &&
76843 { ac_try='test -z "$ac_c_werror_flag"
76844 || test ! -s conftest.err'
76845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76846 (eval $ac_try) 2>&5
76847 ac_status=$?
76848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76849 (exit $ac_status); }; } &&
76850 { ac_try='test -s conftest.$ac_objext'
76851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76852 (eval $ac_try) 2>&5
76853 ac_status=$?
76854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76855 (exit $ac_status); }; }; then
76856 ac_header_compiler=yes
76857 else
76858 echo "$as_me: failed program was:" >&5
76859 sed 's/^/| /' conftest.$ac_ext >&5
76861 ac_header_compiler=no
76863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76865 echo "${ECHO_T}$ac_header_compiler" >&6
76867 # Is the header present?
76868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76870 cat >conftest.$ac_ext <<_ACEOF
76871 /* confdefs.h. */
76872 _ACEOF
76873 cat confdefs.h >>conftest.$ac_ext
76874 cat >>conftest.$ac_ext <<_ACEOF
76875 /* end confdefs.h. */
76876 #include <$ac_header>
76877 _ACEOF
76878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76879 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76880 ac_status=$?
76881 grep -v '^ *+' conftest.er1 >conftest.err
76882 rm -f conftest.er1
76883 cat conftest.err >&5
76884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76885 (exit $ac_status); } >/dev/null; then
76886 if test -s conftest.err; then
76887 ac_cpp_err=$ac_c_preproc_warn_flag
76888 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76889 else
76890 ac_cpp_err=
76892 else
76893 ac_cpp_err=yes
76895 if test -z "$ac_cpp_err"; then
76896 ac_header_preproc=yes
76897 else
76898 echo "$as_me: failed program was:" >&5
76899 sed 's/^/| /' conftest.$ac_ext >&5
76901 ac_header_preproc=no
76903 rm -f conftest.err conftest.$ac_ext
76904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76905 echo "${ECHO_T}$ac_header_preproc" >&6
76907 # So? What about this header?
76908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76909 yes:no: )
76910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76914 ac_header_preproc=yes
76916 no:yes:* )
76917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76930 cat <<\_ASBOX
76931 ## ----------------------------------------- ##
76932 ## Report this to the package-unused lists. ##
76933 ## ----------------------------------------- ##
76934 _ASBOX
76936 sed "s/^/$as_me: WARNING: /" >&2
76938 esac
76939 echo "$as_me:$LINENO: checking for $ac_header" >&5
76940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76942 echo $ECHO_N "(cached) $ECHO_C" >&6
76943 else
76944 eval "$as_ac_Header=\$ac_header_preproc"
76946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76951 cat >>confdefs.h <<_ACEOF
76952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76953 _ACEOF
76957 done
76959 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76962 # If we're not using GNU ld, then there's no point in even trying these
76963 # tests. Check for that first. We should have already tested for gld
76964 # by now (in libtool), but require it now just to be safe...
76965 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76966 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76970 # The name set by libtool depends on the version of libtool. Shame on us
76971 # for depending on an impl detail, but c'est la vie. Older versions used
76972 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76973 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76974 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76975 # set (hence we're using an older libtool), then set it.
76976 if test x${with_gnu_ld+set} != xset; then
76977 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76978 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76979 with_gnu_ld=no
76980 else
76981 with_gnu_ld=$ac_cv_prog_gnu_ld
76985 # Start by getting the version number. I think the libtool test already
76986 # does some of this, but throws away the result.
76988 ldver=`$LD --version 2>/dev/null | head -1 | \
76989 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76991 glibcxx_gnu_ld_version=`echo $ldver | \
76992 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76994 # Set --gc-sections.
76995 if test "$with_gnu_ld" = "notbroken"; then
76996 # GNU ld it is! Joy and bunny rabbits!
76998 # All these tests are for C++; save the language and the compiler flags.
76999 # Need to do this so that g++ won't try to link in libstdc++
77000 ac_test_CFLAGS="${CFLAGS+set}"
77001 ac_save_CFLAGS="$CFLAGS"
77002 CFLAGS='-x c++ -Wl,--gc-sections'
77004 # Check for -Wl,--gc-sections
77005 # XXX This test is broken at the moment, as symbols required for linking
77006 # are now in libsupc++ (not built yet). In addition, this test has
77007 # cored on solaris in the past. In addition, --gc-sections doesn't
77008 # really work at the moment (keeps on discarding used sections, first
77009 # .eh_frame and now some of the glibc sections for iconv).
77010 # Bzzzzt. Thanks for playing, maybe next time.
77011 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77012 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77013 if test "$cross_compiling" = yes; then
77014 ac_sectionLDflags=yes
77015 else
77016 cat >conftest.$ac_ext <<_ACEOF
77017 /* confdefs.h. */
77018 _ACEOF
77019 cat confdefs.h >>conftest.$ac_ext
77020 cat >>conftest.$ac_ext <<_ACEOF
77021 /* end confdefs.h. */
77023 int main(void)
77025 try { throw 1; }
77026 catch (...) { };
77027 return 0;
77030 _ACEOF
77031 rm -f conftest$ac_exeext
77032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77033 (eval $ac_link) 2>&5
77034 ac_status=$?
77035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77038 (eval $ac_try) 2>&5
77039 ac_status=$?
77040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77041 (exit $ac_status); }; }; then
77042 ac_sectionLDflags=yes
77043 else
77044 echo "$as_me: program exited with status $ac_status" >&5
77045 echo "$as_me: failed program was:" >&5
77046 sed 's/^/| /' conftest.$ac_ext >&5
77048 ( exit $ac_status )
77049 ac_sectionLDflags=no
77051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77053 if test "$ac_test_CFLAGS" = set; then
77054 CFLAGS="$ac_save_CFLAGS"
77055 else
77056 # this is the suspicious part
77057 CFLAGS=''
77059 if test "$ac_sectionLDflags" = "yes"; then
77060 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77062 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77063 echo "${ECHO_T}$ac_sectionLDflags" >&6
77066 # Set linker optimization flags.
77067 if test x"$with_gnu_ld" = x"yes"; then
77068 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77076 echo "$as_me:$LINENO: checking for main in -lm" >&5
77077 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77078 if test "${ac_cv_lib_m_main+set}" = set; then
77079 echo $ECHO_N "(cached) $ECHO_C" >&6
77080 else
77081 ac_check_lib_save_LIBS=$LIBS
77082 LIBS="-lm $LIBS"
77083 if test x$gcc_no_link = xyes; then
77084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77086 { (exit 1); exit 1; }; }
77088 cat >conftest.$ac_ext <<_ACEOF
77089 /* confdefs.h. */
77090 _ACEOF
77091 cat confdefs.h >>conftest.$ac_ext
77092 cat >>conftest.$ac_ext <<_ACEOF
77093 /* end confdefs.h. */
77097 main ()
77099 main ();
77101 return 0;
77103 _ACEOF
77104 rm -f conftest.$ac_objext conftest$ac_exeext
77105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77106 (eval $ac_link) 2>conftest.er1
77107 ac_status=$?
77108 grep -v '^ *+' conftest.er1 >conftest.err
77109 rm -f conftest.er1
77110 cat conftest.err >&5
77111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77112 (exit $ac_status); } &&
77113 { ac_try='test -z "$ac_c_werror_flag"
77114 || test ! -s conftest.err'
77115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77116 (eval $ac_try) 2>&5
77117 ac_status=$?
77118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77119 (exit $ac_status); }; } &&
77120 { ac_try='test -s conftest$ac_exeext'
77121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77122 (eval $ac_try) 2>&5
77123 ac_status=$?
77124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77125 (exit $ac_status); }; }; then
77126 ac_cv_lib_m_main=yes
77127 else
77128 echo "$as_me: failed program was:" >&5
77129 sed 's/^/| /' conftest.$ac_ext >&5
77131 ac_cv_lib_m_main=no
77133 rm -f conftest.err conftest.$ac_objext \
77134 conftest$ac_exeext conftest.$ac_ext
77135 LIBS=$ac_check_lib_save_LIBS
77137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77138 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77139 if test $ac_cv_lib_m_main = yes; then
77140 cat >>confdefs.h <<_ACEOF
77141 #define HAVE_LIBM 1
77142 _ACEOF
77144 LIBS="-lm $LIBS"
77149 for ac_func in copysignf
77151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77152 echo "$as_me:$LINENO: checking for $ac_func" >&5
77153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77154 if eval "test \"\${$as_ac_var+set}\" = set"; then
77155 echo $ECHO_N "(cached) $ECHO_C" >&6
77156 else
77157 if test x$gcc_no_link = xyes; then
77158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77160 { (exit 1); exit 1; }; }
77162 cat >conftest.$ac_ext <<_ACEOF
77163 /* confdefs.h. */
77164 _ACEOF
77165 cat confdefs.h >>conftest.$ac_ext
77166 cat >>conftest.$ac_ext <<_ACEOF
77167 /* end confdefs.h. */
77168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77170 #define $ac_func innocuous_$ac_func
77172 /* System header to define __stub macros and hopefully few prototypes,
77173 which can conflict with char $ac_func (); below.
77174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77175 <limits.h> exists even on freestanding compilers. */
77177 #ifdef __STDC__
77178 # include <limits.h>
77179 #else
77180 # include <assert.h>
77181 #endif
77183 #undef $ac_func
77185 /* Override any gcc2 internal prototype to avoid an error. */
77186 #ifdef __cplusplus
77187 extern "C"
77189 #endif
77190 /* We use char because int might match the return type of a gcc2
77191 builtin and then its argument prototype would still apply. */
77192 char $ac_func ();
77193 /* The GNU C library defines this for functions which it implements
77194 to always fail with ENOSYS. Some functions are actually named
77195 something starting with __ and the normal name is an alias. */
77196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77197 choke me
77198 #else
77199 char (*f) () = $ac_func;
77200 #endif
77201 #ifdef __cplusplus
77203 #endif
77206 main ()
77208 return f != $ac_func;
77210 return 0;
77212 _ACEOF
77213 rm -f conftest.$ac_objext conftest$ac_exeext
77214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77215 (eval $ac_link) 2>conftest.er1
77216 ac_status=$?
77217 grep -v '^ *+' conftest.er1 >conftest.err
77218 rm -f conftest.er1
77219 cat conftest.err >&5
77220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77221 (exit $ac_status); } &&
77222 { ac_try='test -z "$ac_c_werror_flag"
77223 || test ! -s conftest.err'
77224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77225 (eval $ac_try) 2>&5
77226 ac_status=$?
77227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77228 (exit $ac_status); }; } &&
77229 { ac_try='test -s conftest$ac_exeext'
77230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77231 (eval $ac_try) 2>&5
77232 ac_status=$?
77233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77234 (exit $ac_status); }; }; then
77235 eval "$as_ac_var=yes"
77236 else
77237 echo "$as_me: failed program was:" >&5
77238 sed 's/^/| /' conftest.$ac_ext >&5
77240 eval "$as_ac_var=no"
77242 rm -f conftest.err conftest.$ac_objext \
77243 conftest$ac_exeext conftest.$ac_ext
77245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77247 if test `eval echo '${'$as_ac_var'}'` = yes; then
77248 cat >>confdefs.h <<_ACEOF
77249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77250 _ACEOF
77252 else
77253 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77255 done
77259 for ac_func in __signbit
77261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77262 echo "$as_me:$LINENO: checking for $ac_func" >&5
77263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77264 if eval "test \"\${$as_ac_var+set}\" = set"; then
77265 echo $ECHO_N "(cached) $ECHO_C" >&6
77266 else
77267 if test x$gcc_no_link = xyes; then
77268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77270 { (exit 1); exit 1; }; }
77272 cat >conftest.$ac_ext <<_ACEOF
77273 /* confdefs.h. */
77274 _ACEOF
77275 cat confdefs.h >>conftest.$ac_ext
77276 cat >>conftest.$ac_ext <<_ACEOF
77277 /* end confdefs.h. */
77278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77280 #define $ac_func innocuous_$ac_func
77282 /* System header to define __stub macros and hopefully few prototypes,
77283 which can conflict with char $ac_func (); below.
77284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77285 <limits.h> exists even on freestanding compilers. */
77287 #ifdef __STDC__
77288 # include <limits.h>
77289 #else
77290 # include <assert.h>
77291 #endif
77293 #undef $ac_func
77295 /* Override any gcc2 internal prototype to avoid an error. */
77296 #ifdef __cplusplus
77297 extern "C"
77299 #endif
77300 /* We use char because int might match the return type of a gcc2
77301 builtin and then its argument prototype would still apply. */
77302 char $ac_func ();
77303 /* The GNU C library defines this for functions which it implements
77304 to always fail with ENOSYS. Some functions are actually named
77305 something starting with __ and the normal name is an alias. */
77306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77307 choke me
77308 #else
77309 char (*f) () = $ac_func;
77310 #endif
77311 #ifdef __cplusplus
77313 #endif
77316 main ()
77318 return f != $ac_func;
77320 return 0;
77322 _ACEOF
77323 rm -f conftest.$ac_objext conftest$ac_exeext
77324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77325 (eval $ac_link) 2>conftest.er1
77326 ac_status=$?
77327 grep -v '^ *+' conftest.er1 >conftest.err
77328 rm -f conftest.er1
77329 cat conftest.err >&5
77330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77331 (exit $ac_status); } &&
77332 { ac_try='test -z "$ac_c_werror_flag"
77333 || test ! -s conftest.err'
77334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77335 (eval $ac_try) 2>&5
77336 ac_status=$?
77337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77338 (exit $ac_status); }; } &&
77339 { ac_try='test -s conftest$ac_exeext'
77340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77341 (eval $ac_try) 2>&5
77342 ac_status=$?
77343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77344 (exit $ac_status); }; }; then
77345 eval "$as_ac_var=yes"
77346 else
77347 echo "$as_me: failed program was:" >&5
77348 sed 's/^/| /' conftest.$ac_ext >&5
77350 eval "$as_ac_var=no"
77352 rm -f conftest.err conftest.$ac_objext \
77353 conftest$ac_exeext conftest.$ac_ext
77355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77357 if test `eval echo '${'$as_ac_var'}'` = yes; then
77358 cat >>confdefs.h <<_ACEOF
77359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77360 _ACEOF
77362 else
77363 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77365 done
77369 for ac_func in __signbitf
77371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77372 echo "$as_me:$LINENO: checking for $ac_func" >&5
77373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77374 if eval "test \"\${$as_ac_var+set}\" = set"; then
77375 echo $ECHO_N "(cached) $ECHO_C" >&6
77376 else
77377 if test x$gcc_no_link = xyes; then
77378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77380 { (exit 1); exit 1; }; }
77382 cat >conftest.$ac_ext <<_ACEOF
77383 /* confdefs.h. */
77384 _ACEOF
77385 cat confdefs.h >>conftest.$ac_ext
77386 cat >>conftest.$ac_ext <<_ACEOF
77387 /* end confdefs.h. */
77388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77390 #define $ac_func innocuous_$ac_func
77392 /* System header to define __stub macros and hopefully few prototypes,
77393 which can conflict with char $ac_func (); below.
77394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77395 <limits.h> exists even on freestanding compilers. */
77397 #ifdef __STDC__
77398 # include <limits.h>
77399 #else
77400 # include <assert.h>
77401 #endif
77403 #undef $ac_func
77405 /* Override any gcc2 internal prototype to avoid an error. */
77406 #ifdef __cplusplus
77407 extern "C"
77409 #endif
77410 /* We use char because int might match the return type of a gcc2
77411 builtin and then its argument prototype would still apply. */
77412 char $ac_func ();
77413 /* The GNU C library defines this for functions which it implements
77414 to always fail with ENOSYS. Some functions are actually named
77415 something starting with __ and the normal name is an alias. */
77416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77417 choke me
77418 #else
77419 char (*f) () = $ac_func;
77420 #endif
77421 #ifdef __cplusplus
77423 #endif
77426 main ()
77428 return f != $ac_func;
77430 return 0;
77432 _ACEOF
77433 rm -f conftest.$ac_objext conftest$ac_exeext
77434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77435 (eval $ac_link) 2>conftest.er1
77436 ac_status=$?
77437 grep -v '^ *+' conftest.er1 >conftest.err
77438 rm -f conftest.er1
77439 cat conftest.err >&5
77440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77441 (exit $ac_status); } &&
77442 { ac_try='test -z "$ac_c_werror_flag"
77443 || test ! -s conftest.err'
77444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77445 (eval $ac_try) 2>&5
77446 ac_status=$?
77447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77448 (exit $ac_status); }; } &&
77449 { ac_try='test -s conftest$ac_exeext'
77450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77451 (eval $ac_try) 2>&5
77452 ac_status=$?
77453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454 (exit $ac_status); }; }; then
77455 eval "$as_ac_var=yes"
77456 else
77457 echo "$as_me: failed program was:" >&5
77458 sed 's/^/| /' conftest.$ac_ext >&5
77460 eval "$as_ac_var=no"
77462 rm -f conftest.err conftest.$ac_objext \
77463 conftest$ac_exeext conftest.$ac_ext
77465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77467 if test `eval echo '${'$as_ac_var'}'` = yes; then
77468 cat >>confdefs.h <<_ACEOF
77469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77470 _ACEOF
77472 else
77473 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77475 done
77478 if test x$ac_cv_func_copysignl = x"yes"; then
77480 for ac_func in __signbitl
77482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77483 echo "$as_me:$LINENO: checking for $ac_func" >&5
77484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77485 if eval "test \"\${$as_ac_var+set}\" = set"; then
77486 echo $ECHO_N "(cached) $ECHO_C" >&6
77487 else
77488 if test x$gcc_no_link = xyes; then
77489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77491 { (exit 1); exit 1; }; }
77493 cat >conftest.$ac_ext <<_ACEOF
77494 /* confdefs.h. */
77495 _ACEOF
77496 cat confdefs.h >>conftest.$ac_ext
77497 cat >>conftest.$ac_ext <<_ACEOF
77498 /* end confdefs.h. */
77499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77501 #define $ac_func innocuous_$ac_func
77503 /* System header to define __stub macros and hopefully few prototypes,
77504 which can conflict with char $ac_func (); below.
77505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77506 <limits.h> exists even on freestanding compilers. */
77508 #ifdef __STDC__
77509 # include <limits.h>
77510 #else
77511 # include <assert.h>
77512 #endif
77514 #undef $ac_func
77516 /* Override any gcc2 internal prototype to avoid an error. */
77517 #ifdef __cplusplus
77518 extern "C"
77520 #endif
77521 /* We use char because int might match the return type of a gcc2
77522 builtin and then its argument prototype would still apply. */
77523 char $ac_func ();
77524 /* The GNU C library defines this for functions which it implements
77525 to always fail with ENOSYS. Some functions are actually named
77526 something starting with __ and the normal name is an alias. */
77527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77528 choke me
77529 #else
77530 char (*f) () = $ac_func;
77531 #endif
77532 #ifdef __cplusplus
77534 #endif
77537 main ()
77539 return f != $ac_func;
77541 return 0;
77543 _ACEOF
77544 rm -f conftest.$ac_objext conftest$ac_exeext
77545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77546 (eval $ac_link) 2>conftest.er1
77547 ac_status=$?
77548 grep -v '^ *+' conftest.er1 >conftest.err
77549 rm -f conftest.er1
77550 cat conftest.err >&5
77551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77552 (exit $ac_status); } &&
77553 { ac_try='test -z "$ac_c_werror_flag"
77554 || test ! -s conftest.err'
77555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77556 (eval $ac_try) 2>&5
77557 ac_status=$?
77558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77559 (exit $ac_status); }; } &&
77560 { ac_try='test -s conftest$ac_exeext'
77561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77562 (eval $ac_try) 2>&5
77563 ac_status=$?
77564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77565 (exit $ac_status); }; }; then
77566 eval "$as_ac_var=yes"
77567 else
77568 echo "$as_me: failed program was:" >&5
77569 sed 's/^/| /' conftest.$ac_ext >&5
77571 eval "$as_ac_var=no"
77573 rm -f conftest.err conftest.$ac_objext \
77574 conftest$ac_exeext conftest.$ac_ext
77576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77578 if test `eval echo '${'$as_ac_var'}'` = yes; then
77579 cat >>confdefs.h <<_ACEOF
77580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77581 _ACEOF
77583 else
77584 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77586 done
77590 # Used in libmath/Makefile.am.
77591 if test -n "$LIBMATHOBJS"; then
77592 need_libmath=yes
77598 enable_iconv=no
77599 # Only continue checking if the ISO C99 headers exist and support is on.
77600 if test x"$enable_wchar_t" = xyes; then
77602 # Use iconv for wchar_t to char conversions. As such, check for
77603 # X/Open Portability Guide, version 2 features (XPG2).
77604 if test "${ac_cv_header_iconv_h+set}" = set; then
77605 echo "$as_me:$LINENO: checking for iconv.h" >&5
77606 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77607 if test "${ac_cv_header_iconv_h+set}" = set; then
77608 echo $ECHO_N "(cached) $ECHO_C" >&6
77610 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77611 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77612 else
77613 # Is the header compilable?
77614 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77615 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77616 cat >conftest.$ac_ext <<_ACEOF
77617 /* confdefs.h. */
77618 _ACEOF
77619 cat confdefs.h >>conftest.$ac_ext
77620 cat >>conftest.$ac_ext <<_ACEOF
77621 /* end confdefs.h. */
77622 $ac_includes_default
77623 #include <iconv.h>
77624 _ACEOF
77625 rm -f conftest.$ac_objext
77626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77627 (eval $ac_compile) 2>conftest.er1
77628 ac_status=$?
77629 grep -v '^ *+' conftest.er1 >conftest.err
77630 rm -f conftest.er1
77631 cat conftest.err >&5
77632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77633 (exit $ac_status); } &&
77634 { ac_try='test -z "$ac_c_werror_flag"
77635 || test ! -s conftest.err'
77636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77637 (eval $ac_try) 2>&5
77638 ac_status=$?
77639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77640 (exit $ac_status); }; } &&
77641 { ac_try='test -s conftest.$ac_objext'
77642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77643 (eval $ac_try) 2>&5
77644 ac_status=$?
77645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646 (exit $ac_status); }; }; then
77647 ac_header_compiler=yes
77648 else
77649 echo "$as_me: failed program was:" >&5
77650 sed 's/^/| /' conftest.$ac_ext >&5
77652 ac_header_compiler=no
77654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77656 echo "${ECHO_T}$ac_header_compiler" >&6
77658 # Is the header present?
77659 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77660 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77661 cat >conftest.$ac_ext <<_ACEOF
77662 /* confdefs.h. */
77663 _ACEOF
77664 cat confdefs.h >>conftest.$ac_ext
77665 cat >>conftest.$ac_ext <<_ACEOF
77666 /* end confdefs.h. */
77667 #include <iconv.h>
77668 _ACEOF
77669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77671 ac_status=$?
77672 grep -v '^ *+' conftest.er1 >conftest.err
77673 rm -f conftest.er1
77674 cat conftest.err >&5
77675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77676 (exit $ac_status); } >/dev/null; then
77677 if test -s conftest.err; then
77678 ac_cpp_err=$ac_c_preproc_warn_flag
77679 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77680 else
77681 ac_cpp_err=
77683 else
77684 ac_cpp_err=yes
77686 if test -z "$ac_cpp_err"; then
77687 ac_header_preproc=yes
77688 else
77689 echo "$as_me: failed program was:" >&5
77690 sed 's/^/| /' conftest.$ac_ext >&5
77692 ac_header_preproc=no
77694 rm -f conftest.err conftest.$ac_ext
77695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77696 echo "${ECHO_T}$ac_header_preproc" >&6
77698 # So? What about this header?
77699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77700 yes:no: )
77701 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77702 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77703 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77704 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77705 ac_header_preproc=yes
77707 no:yes:* )
77708 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77709 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77710 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77711 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77712 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77713 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77714 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77715 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77716 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77717 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77718 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77719 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77721 cat <<\_ASBOX
77722 ## ----------------------------------------- ##
77723 ## Report this to the package-unused lists. ##
77724 ## ----------------------------------------- ##
77725 _ASBOX
77727 sed "s/^/$as_me: WARNING: /" >&2
77729 esac
77730 echo "$as_me:$LINENO: checking for iconv.h" >&5
77731 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77732 if test "${ac_cv_header_iconv_h+set}" = set; then
77733 echo $ECHO_N "(cached) $ECHO_C" >&6
77734 else
77735 ac_cv_header_iconv_h=$ac_header_preproc
77737 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77738 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77741 if test $ac_cv_header_iconv_h = yes; then
77742 ac_has_iconv_h=yes
77743 else
77744 ac_has_iconv_h=no
77748 if test "${ac_cv_header_langinfo_h+set}" = set; then
77749 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77750 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77751 if test "${ac_cv_header_langinfo_h+set}" = set; then
77752 echo $ECHO_N "(cached) $ECHO_C" >&6
77754 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77755 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77756 else
77757 # Is the header compilable?
77758 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77759 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77760 cat >conftest.$ac_ext <<_ACEOF
77761 /* confdefs.h. */
77762 _ACEOF
77763 cat confdefs.h >>conftest.$ac_ext
77764 cat >>conftest.$ac_ext <<_ACEOF
77765 /* end confdefs.h. */
77766 $ac_includes_default
77767 #include <langinfo.h>
77768 _ACEOF
77769 rm -f conftest.$ac_objext
77770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77771 (eval $ac_compile) 2>conftest.er1
77772 ac_status=$?
77773 grep -v '^ *+' conftest.er1 >conftest.err
77774 rm -f conftest.er1
77775 cat conftest.err >&5
77776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77777 (exit $ac_status); } &&
77778 { ac_try='test -z "$ac_c_werror_flag"
77779 || test ! -s conftest.err'
77780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77781 (eval $ac_try) 2>&5
77782 ac_status=$?
77783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77784 (exit $ac_status); }; } &&
77785 { ac_try='test -s conftest.$ac_objext'
77786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77787 (eval $ac_try) 2>&5
77788 ac_status=$?
77789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77790 (exit $ac_status); }; }; then
77791 ac_header_compiler=yes
77792 else
77793 echo "$as_me: failed program was:" >&5
77794 sed 's/^/| /' conftest.$ac_ext >&5
77796 ac_header_compiler=no
77798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77800 echo "${ECHO_T}$ac_header_compiler" >&6
77802 # Is the header present?
77803 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77804 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77805 cat >conftest.$ac_ext <<_ACEOF
77806 /* confdefs.h. */
77807 _ACEOF
77808 cat confdefs.h >>conftest.$ac_ext
77809 cat >>conftest.$ac_ext <<_ACEOF
77810 /* end confdefs.h. */
77811 #include <langinfo.h>
77812 _ACEOF
77813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77815 ac_status=$?
77816 grep -v '^ *+' conftest.er1 >conftest.err
77817 rm -f conftest.er1
77818 cat conftest.err >&5
77819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820 (exit $ac_status); } >/dev/null; then
77821 if test -s conftest.err; then
77822 ac_cpp_err=$ac_c_preproc_warn_flag
77823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77824 else
77825 ac_cpp_err=
77827 else
77828 ac_cpp_err=yes
77830 if test -z "$ac_cpp_err"; then
77831 ac_header_preproc=yes
77832 else
77833 echo "$as_me: failed program was:" >&5
77834 sed 's/^/| /' conftest.$ac_ext >&5
77836 ac_header_preproc=no
77838 rm -f conftest.err conftest.$ac_ext
77839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77840 echo "${ECHO_T}$ac_header_preproc" >&6
77842 # So? What about this header?
77843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77844 yes:no: )
77845 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77846 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77847 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77848 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77849 ac_header_preproc=yes
77851 no:yes:* )
77852 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77853 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77854 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77855 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77856 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77857 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77858 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77859 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77860 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77861 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77862 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77863 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77865 cat <<\_ASBOX
77866 ## ----------------------------------------- ##
77867 ## Report this to the package-unused lists. ##
77868 ## ----------------------------------------- ##
77869 _ASBOX
77871 sed "s/^/$as_me: WARNING: /" >&2
77873 esac
77874 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77875 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77876 if test "${ac_cv_header_langinfo_h+set}" = set; then
77877 echo $ECHO_N "(cached) $ECHO_C" >&6
77878 else
77879 ac_cv_header_langinfo_h=$ac_header_preproc
77881 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77882 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77885 if test $ac_cv_header_langinfo_h = yes; then
77886 ac_has_langinfo_h=yes
77887 else
77888 ac_has_langinfo_h=no
77893 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77894 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77895 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77896 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77897 echo $ECHO_N "(cached) $ECHO_C" >&6
77898 else
77899 ac_check_lib_save_LIBS=$LIBS
77900 LIBS="-liconv $LIBS"
77901 if test x$gcc_no_link = xyes; then
77902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77904 { (exit 1); exit 1; }; }
77906 cat >conftest.$ac_ext <<_ACEOF
77907 /* confdefs.h. */
77908 _ACEOF
77909 cat confdefs.h >>conftest.$ac_ext
77910 cat >>conftest.$ac_ext <<_ACEOF
77911 /* end confdefs.h. */
77913 /* Override any gcc2 internal prototype to avoid an error. */
77914 #ifdef __cplusplus
77915 extern "C"
77916 #endif
77917 /* We use char because int might match the return type of a gcc2
77918 builtin and then its argument prototype would still apply. */
77919 char iconv ();
77921 main ()
77923 iconv ();
77925 return 0;
77927 _ACEOF
77928 rm -f conftest.$ac_objext conftest$ac_exeext
77929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77930 (eval $ac_link) 2>conftest.er1
77931 ac_status=$?
77932 grep -v '^ *+' conftest.er1 >conftest.err
77933 rm -f conftest.er1
77934 cat conftest.err >&5
77935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77936 (exit $ac_status); } &&
77937 { ac_try='test -z "$ac_c_werror_flag"
77938 || test ! -s conftest.err'
77939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77940 (eval $ac_try) 2>&5
77941 ac_status=$?
77942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77943 (exit $ac_status); }; } &&
77944 { ac_try='test -s conftest$ac_exeext'
77945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77946 (eval $ac_try) 2>&5
77947 ac_status=$?
77948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77949 (exit $ac_status); }; }; then
77950 ac_cv_lib_iconv_iconv=yes
77951 else
77952 echo "$as_me: failed program was:" >&5
77953 sed 's/^/| /' conftest.$ac_ext >&5
77955 ac_cv_lib_iconv_iconv=no
77957 rm -f conftest.err conftest.$ac_objext \
77958 conftest$ac_exeext conftest.$ac_ext
77959 LIBS=$ac_check_lib_save_LIBS
77961 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77962 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77963 if test $ac_cv_lib_iconv_iconv = yes; then
77964 LIBICONV="-liconv"
77967 ac_save_LIBS="$LIBS"
77968 LIBS="$LIBS $LIBICONV"
77975 for ac_func in iconv_open iconv_close iconv nl_langinfo
77977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77978 echo "$as_me:$LINENO: checking for $ac_func" >&5
77979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77980 if eval "test \"\${$as_ac_var+set}\" = set"; then
77981 echo $ECHO_N "(cached) $ECHO_C" >&6
77982 else
77983 if test x$gcc_no_link = xyes; then
77984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77986 { (exit 1); exit 1; }; }
77988 cat >conftest.$ac_ext <<_ACEOF
77989 /* confdefs.h. */
77990 _ACEOF
77991 cat confdefs.h >>conftest.$ac_ext
77992 cat >>conftest.$ac_ext <<_ACEOF
77993 /* end confdefs.h. */
77994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77996 #define $ac_func innocuous_$ac_func
77998 /* System header to define __stub macros and hopefully few prototypes,
77999 which can conflict with char $ac_func (); below.
78000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78001 <limits.h> exists even on freestanding compilers. */
78003 #ifdef __STDC__
78004 # include <limits.h>
78005 #else
78006 # include <assert.h>
78007 #endif
78009 #undef $ac_func
78011 /* Override any gcc2 internal prototype to avoid an error. */
78012 #ifdef __cplusplus
78013 extern "C"
78015 #endif
78016 /* We use char because int might match the return type of a gcc2
78017 builtin and then its argument prototype would still apply. */
78018 char $ac_func ();
78019 /* The GNU C library defines this for functions which it implements
78020 to always fail with ENOSYS. Some functions are actually named
78021 something starting with __ and the normal name is an alias. */
78022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78023 choke me
78024 #else
78025 char (*f) () = $ac_func;
78026 #endif
78027 #ifdef __cplusplus
78029 #endif
78032 main ()
78034 return f != $ac_func;
78036 return 0;
78038 _ACEOF
78039 rm -f conftest.$ac_objext conftest$ac_exeext
78040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78041 (eval $ac_link) 2>conftest.er1
78042 ac_status=$?
78043 grep -v '^ *+' conftest.er1 >conftest.err
78044 rm -f conftest.er1
78045 cat conftest.err >&5
78046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78047 (exit $ac_status); } &&
78048 { ac_try='test -z "$ac_c_werror_flag"
78049 || test ! -s conftest.err'
78050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78051 (eval $ac_try) 2>&5
78052 ac_status=$?
78053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78054 (exit $ac_status); }; } &&
78055 { ac_try='test -s conftest$ac_exeext'
78056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78057 (eval $ac_try) 2>&5
78058 ac_status=$?
78059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78060 (exit $ac_status); }; }; then
78061 eval "$as_ac_var=yes"
78062 else
78063 echo "$as_me: failed program was:" >&5
78064 sed 's/^/| /' conftest.$ac_ext >&5
78066 eval "$as_ac_var=no"
78068 rm -f conftest.err conftest.$ac_objext \
78069 conftest$ac_exeext conftest.$ac_ext
78071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78073 if test `eval echo '${'$as_ac_var'}'` = yes; then
78074 cat >>confdefs.h <<_ACEOF
78075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78076 _ACEOF
78077 ac_XPG2funcs=yes
78078 else
78079 ac_XPG2funcs=no
78081 done
78084 LIBS="$ac_save_LIBS"
78086 if test x"$ac_has_iconv_h" = xyes &&
78087 test x"$ac_has_langinfo_h" = xyes &&
78088 test x"$ac_XPG2funcs" = xyes;
78089 then
78091 cat >>confdefs.h <<\_ACEOF
78092 #define _GLIBCXX_USE_ICONV 1
78093 _ACEOF
78095 enable_iconv=yes
78098 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78099 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78100 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78101 echo "${ECHO_T}$enable_iconv" >&6
78104 # For LFS.
78105 cat >>confdefs.h <<\_ACEOF
78106 #define HAVE_INT64_T 1
78107 _ACEOF
78109 case "$target" in
78110 *-uclinux*)
78111 # Don't enable LFS with uClibc
78114 cat >>confdefs.h <<\_ACEOF
78115 #define _GLIBCXX_USE_LFS 1
78116 _ACEOF
78118 esac
78120 # For showmanyc_helper().
78123 for ac_header in sys/ioctl.h sys/filio.h
78125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78127 echo "$as_me:$LINENO: checking for $ac_header" >&5
78128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78130 echo $ECHO_N "(cached) $ECHO_C" >&6
78132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78134 else
78135 # Is the header compilable?
78136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78138 cat >conftest.$ac_ext <<_ACEOF
78139 /* confdefs.h. */
78140 _ACEOF
78141 cat confdefs.h >>conftest.$ac_ext
78142 cat >>conftest.$ac_ext <<_ACEOF
78143 /* end confdefs.h. */
78144 $ac_includes_default
78145 #include <$ac_header>
78146 _ACEOF
78147 rm -f conftest.$ac_objext
78148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78149 (eval $ac_compile) 2>conftest.er1
78150 ac_status=$?
78151 grep -v '^ *+' conftest.er1 >conftest.err
78152 rm -f conftest.er1
78153 cat conftest.err >&5
78154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78155 (exit $ac_status); } &&
78156 { ac_try='test -z "$ac_c_werror_flag"
78157 || test ! -s conftest.err'
78158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78159 (eval $ac_try) 2>&5
78160 ac_status=$?
78161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78162 (exit $ac_status); }; } &&
78163 { ac_try='test -s conftest.$ac_objext'
78164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78165 (eval $ac_try) 2>&5
78166 ac_status=$?
78167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78168 (exit $ac_status); }; }; then
78169 ac_header_compiler=yes
78170 else
78171 echo "$as_me: failed program was:" >&5
78172 sed 's/^/| /' conftest.$ac_ext >&5
78174 ac_header_compiler=no
78176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78178 echo "${ECHO_T}$ac_header_compiler" >&6
78180 # Is the header present?
78181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78183 cat >conftest.$ac_ext <<_ACEOF
78184 /* confdefs.h. */
78185 _ACEOF
78186 cat confdefs.h >>conftest.$ac_ext
78187 cat >>conftest.$ac_ext <<_ACEOF
78188 /* end confdefs.h. */
78189 #include <$ac_header>
78190 _ACEOF
78191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78193 ac_status=$?
78194 grep -v '^ *+' conftest.er1 >conftest.err
78195 rm -f conftest.er1
78196 cat conftest.err >&5
78197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78198 (exit $ac_status); } >/dev/null; then
78199 if test -s conftest.err; then
78200 ac_cpp_err=$ac_c_preproc_warn_flag
78201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78202 else
78203 ac_cpp_err=
78205 else
78206 ac_cpp_err=yes
78208 if test -z "$ac_cpp_err"; then
78209 ac_header_preproc=yes
78210 else
78211 echo "$as_me: failed program was:" >&5
78212 sed 's/^/| /' conftest.$ac_ext >&5
78214 ac_header_preproc=no
78216 rm -f conftest.err conftest.$ac_ext
78217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78218 echo "${ECHO_T}$ac_header_preproc" >&6
78220 # So? What about this header?
78221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78222 yes:no: )
78223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78227 ac_header_preproc=yes
78229 no:yes:* )
78230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78243 cat <<\_ASBOX
78244 ## ----------------------------------------- ##
78245 ## Report this to the package-unused lists. ##
78246 ## ----------------------------------------- ##
78247 _ASBOX
78249 sed "s/^/$as_me: WARNING: /" >&2
78251 esac
78252 echo "$as_me:$LINENO: checking for $ac_header" >&5
78253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78255 echo $ECHO_N "(cached) $ECHO_C" >&6
78256 else
78257 eval "$as_ac_Header=\$ac_header_preproc"
78259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78264 cat >>confdefs.h <<_ACEOF
78265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78266 _ACEOF
78270 done
78273 if test "${glibcxx_cv_POLL+set}" = set; then
78274 echo $ECHO_N "(cached) $ECHO_C" >&6
78275 else
78277 if test x$gcc_no_link = xyes; then
78278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78280 { (exit 1); exit 1; }; }
78282 cat >conftest.$ac_ext <<_ACEOF
78283 /* confdefs.h. */
78284 _ACEOF
78285 cat confdefs.h >>conftest.$ac_ext
78286 cat >>conftest.$ac_ext <<_ACEOF
78287 /* end confdefs.h. */
78288 #include <poll.h>
78290 main ()
78292 struct pollfd pfd[1];
78293 pfd[0].events = POLLIN;
78294 poll(pfd, 1, 0);
78296 return 0;
78298 _ACEOF
78299 rm -f conftest.$ac_objext conftest$ac_exeext
78300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78301 (eval $ac_link) 2>conftest.er1
78302 ac_status=$?
78303 grep -v '^ *+' conftest.er1 >conftest.err
78304 rm -f conftest.er1
78305 cat conftest.err >&5
78306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78307 (exit $ac_status); } &&
78308 { ac_try='test -z "$ac_c_werror_flag"
78309 || test ! -s conftest.err'
78310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78311 (eval $ac_try) 2>&5
78312 ac_status=$?
78313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78314 (exit $ac_status); }; } &&
78315 { ac_try='test -s conftest$ac_exeext'
78316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78317 (eval $ac_try) 2>&5
78318 ac_status=$?
78319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78320 (exit $ac_status); }; }; then
78321 glibcxx_cv_POLL=yes
78322 else
78323 echo "$as_me: failed program was:" >&5
78324 sed 's/^/| /' conftest.$ac_ext >&5
78326 glibcxx_cv_POLL=no
78328 rm -f conftest.err conftest.$ac_objext \
78329 conftest$ac_exeext conftest.$ac_ext
78333 if test $glibcxx_cv_POLL = yes; then
78335 cat >>confdefs.h <<\_ACEOF
78336 #define HAVE_POLL 1
78337 _ACEOF
78342 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78343 echo $ECHO_N "(cached) $ECHO_C" >&6
78344 else
78346 if test x$gcc_no_link = xyes; then
78347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78349 { (exit 1); exit 1; }; }
78351 cat >conftest.$ac_ext <<_ACEOF
78352 /* confdefs.h. */
78353 _ACEOF
78354 cat confdefs.h >>conftest.$ac_ext
78355 cat >>conftest.$ac_ext <<_ACEOF
78356 /* end confdefs.h. */
78357 #include <sys/stat.h>
78359 main ()
78361 struct stat buffer;
78362 fstat(0, &buffer);
78363 S_ISREG(buffer.st_mode);
78365 return 0;
78367 _ACEOF
78368 rm -f conftest.$ac_objext conftest$ac_exeext
78369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78370 (eval $ac_link) 2>conftest.er1
78371 ac_status=$?
78372 grep -v '^ *+' conftest.er1 >conftest.err
78373 rm -f conftest.er1
78374 cat conftest.err >&5
78375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78376 (exit $ac_status); } &&
78377 { ac_try='test -z "$ac_c_werror_flag"
78378 || test ! -s conftest.err'
78379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78380 (eval $ac_try) 2>&5
78381 ac_status=$?
78382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78383 (exit $ac_status); }; } &&
78384 { ac_try='test -s conftest$ac_exeext'
78385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78386 (eval $ac_try) 2>&5
78387 ac_status=$?
78388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389 (exit $ac_status); }; }; then
78390 glibcxx_cv_S_ISREG=yes
78391 else
78392 echo "$as_me: failed program was:" >&5
78393 sed 's/^/| /' conftest.$ac_ext >&5
78395 glibcxx_cv_S_ISREG=no
78397 rm -f conftest.err conftest.$ac_objext \
78398 conftest$ac_exeext conftest.$ac_ext
78402 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78403 echo $ECHO_N "(cached) $ECHO_C" >&6
78404 else
78406 if test x$gcc_no_link = xyes; then
78407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78409 { (exit 1); exit 1; }; }
78411 cat >conftest.$ac_ext <<_ACEOF
78412 /* confdefs.h. */
78413 _ACEOF
78414 cat confdefs.h >>conftest.$ac_ext
78415 cat >>conftest.$ac_ext <<_ACEOF
78416 /* end confdefs.h. */
78417 #include <sys/stat.h>
78419 main ()
78421 struct stat buffer;
78422 fstat(0, &buffer);
78423 S_IFREG & buffer.st_mode;
78425 return 0;
78427 _ACEOF
78428 rm -f conftest.$ac_objext conftest$ac_exeext
78429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78430 (eval $ac_link) 2>conftest.er1
78431 ac_status=$?
78432 grep -v '^ *+' conftest.er1 >conftest.err
78433 rm -f conftest.er1
78434 cat conftest.err >&5
78435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78436 (exit $ac_status); } &&
78437 { ac_try='test -z "$ac_c_werror_flag"
78438 || test ! -s conftest.err'
78439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78440 (eval $ac_try) 2>&5
78441 ac_status=$?
78442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78443 (exit $ac_status); }; } &&
78444 { ac_try='test -s conftest$ac_exeext'
78445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78446 (eval $ac_try) 2>&5
78447 ac_status=$?
78448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449 (exit $ac_status); }; }; then
78450 glibcxx_cv_S_IFREG=yes
78451 else
78452 echo "$as_me: failed program was:" >&5
78453 sed 's/^/| /' conftest.$ac_ext >&5
78455 glibcxx_cv_S_IFREG=no
78457 rm -f conftest.err conftest.$ac_objext \
78458 conftest$ac_exeext conftest.$ac_ext
78462 if test $glibcxx_cv_S_ISREG = yes; then
78464 cat >>confdefs.h <<\_ACEOF
78465 #define HAVE_S_ISREG 1
78466 _ACEOF
78468 elif test $glibcxx_cv_S_IFREG = yes; then
78470 cat >>confdefs.h <<\_ACEOF
78471 #define HAVE_S_IFREG 1
78472 _ACEOF
78477 # For xsputn_2().
78479 for ac_header in sys/uio.h
78481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78483 echo "$as_me:$LINENO: checking for $ac_header" >&5
78484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78486 echo $ECHO_N "(cached) $ECHO_C" >&6
78488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78490 else
78491 # Is the header compilable?
78492 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78494 cat >conftest.$ac_ext <<_ACEOF
78495 /* confdefs.h. */
78496 _ACEOF
78497 cat confdefs.h >>conftest.$ac_ext
78498 cat >>conftest.$ac_ext <<_ACEOF
78499 /* end confdefs.h. */
78500 $ac_includes_default
78501 #include <$ac_header>
78502 _ACEOF
78503 rm -f conftest.$ac_objext
78504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78505 (eval $ac_compile) 2>conftest.er1
78506 ac_status=$?
78507 grep -v '^ *+' conftest.er1 >conftest.err
78508 rm -f conftest.er1
78509 cat conftest.err >&5
78510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78511 (exit $ac_status); } &&
78512 { ac_try='test -z "$ac_c_werror_flag"
78513 || test ! -s conftest.err'
78514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78515 (eval $ac_try) 2>&5
78516 ac_status=$?
78517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78518 (exit $ac_status); }; } &&
78519 { ac_try='test -s conftest.$ac_objext'
78520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78521 (eval $ac_try) 2>&5
78522 ac_status=$?
78523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78524 (exit $ac_status); }; }; then
78525 ac_header_compiler=yes
78526 else
78527 echo "$as_me: failed program was:" >&5
78528 sed 's/^/| /' conftest.$ac_ext >&5
78530 ac_header_compiler=no
78532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78534 echo "${ECHO_T}$ac_header_compiler" >&6
78536 # Is the header present?
78537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78539 cat >conftest.$ac_ext <<_ACEOF
78540 /* confdefs.h. */
78541 _ACEOF
78542 cat confdefs.h >>conftest.$ac_ext
78543 cat >>conftest.$ac_ext <<_ACEOF
78544 /* end confdefs.h. */
78545 #include <$ac_header>
78546 _ACEOF
78547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78549 ac_status=$?
78550 grep -v '^ *+' conftest.er1 >conftest.err
78551 rm -f conftest.er1
78552 cat conftest.err >&5
78553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78554 (exit $ac_status); } >/dev/null; then
78555 if test -s conftest.err; then
78556 ac_cpp_err=$ac_c_preproc_warn_flag
78557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78558 else
78559 ac_cpp_err=
78561 else
78562 ac_cpp_err=yes
78564 if test -z "$ac_cpp_err"; then
78565 ac_header_preproc=yes
78566 else
78567 echo "$as_me: failed program was:" >&5
78568 sed 's/^/| /' conftest.$ac_ext >&5
78570 ac_header_preproc=no
78572 rm -f conftest.err conftest.$ac_ext
78573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78574 echo "${ECHO_T}$ac_header_preproc" >&6
78576 # So? What about this header?
78577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78578 yes:no: )
78579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78583 ac_header_preproc=yes
78585 no:yes:* )
78586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78599 cat <<\_ASBOX
78600 ## ----------------------------------------- ##
78601 ## Report this to the package-unused lists. ##
78602 ## ----------------------------------------- ##
78603 _ASBOX
78605 sed "s/^/$as_me: WARNING: /" >&2
78607 esac
78608 echo "$as_me:$LINENO: checking for $ac_header" >&5
78609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78611 echo $ECHO_N "(cached) $ECHO_C" >&6
78612 else
78613 eval "$as_ac_Header=\$ac_header_preproc"
78615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78620 cat >>confdefs.h <<_ACEOF
78621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78622 _ACEOF
78626 done
78629 if test "${glibcxx_cv_WRITEV+set}" = set; then
78630 echo $ECHO_N "(cached) $ECHO_C" >&6
78631 else
78633 if test x$gcc_no_link = xyes; then
78634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78636 { (exit 1); exit 1; }; }
78638 cat >conftest.$ac_ext <<_ACEOF
78639 /* confdefs.h. */
78640 _ACEOF
78641 cat confdefs.h >>conftest.$ac_ext
78642 cat >>conftest.$ac_ext <<_ACEOF
78643 /* end confdefs.h. */
78644 #include <sys/uio.h>
78646 main ()
78648 struct iovec iov[2];
78649 writev(0, iov, 0);
78651 return 0;
78653 _ACEOF
78654 rm -f conftest.$ac_objext conftest$ac_exeext
78655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78656 (eval $ac_link) 2>conftest.er1
78657 ac_status=$?
78658 grep -v '^ *+' conftest.er1 >conftest.err
78659 rm -f conftest.er1
78660 cat conftest.err >&5
78661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78662 (exit $ac_status); } &&
78663 { ac_try='test -z "$ac_c_werror_flag"
78664 || test ! -s conftest.err'
78665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78666 (eval $ac_try) 2>&5
78667 ac_status=$?
78668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78669 (exit $ac_status); }; } &&
78670 { ac_try='test -s conftest$ac_exeext'
78671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78672 (eval $ac_try) 2>&5
78673 ac_status=$?
78674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78675 (exit $ac_status); }; }; then
78676 glibcxx_cv_WRITEV=yes
78677 else
78678 echo "$as_me: failed program was:" >&5
78679 sed 's/^/| /' conftest.$ac_ext >&5
78681 glibcxx_cv_WRITEV=no
78683 rm -f conftest.err conftest.$ac_objext \
78684 conftest$ac_exeext conftest.$ac_ext
78688 if test $glibcxx_cv_WRITEV = yes; then
78690 cat >>confdefs.h <<\_ACEOF
78691 #define HAVE_WRITEV 1
78692 _ACEOF
78697 cat >>confdefs.h <<\_ACEOF
78698 #define HAVE_ACOSF 1
78699 _ACEOF
78701 cat >>confdefs.h <<\_ACEOF
78702 #define HAVE_ASINF 1
78703 _ACEOF
78705 cat >>confdefs.h <<\_ACEOF
78706 #define HAVE_ATANF 1
78707 _ACEOF
78709 cat >>confdefs.h <<\_ACEOF
78710 #define HAVE_ATAN2F 1
78711 _ACEOF
78713 cat >>confdefs.h <<\_ACEOF
78714 #define HAVE_CEILF 1
78715 _ACEOF
78717 cat >>confdefs.h <<\_ACEOF
78718 #define HAVE_COPYSIGN 1
78719 _ACEOF
78721 cat >>confdefs.h <<\_ACEOF
78722 #define HAVE_COPYSIGNF 1
78723 _ACEOF
78725 cat >>confdefs.h <<\_ACEOF
78726 #define HAVE_COSF 1
78727 _ACEOF
78729 cat >>confdefs.h <<\_ACEOF
78730 #define HAVE_COSHF 1
78731 _ACEOF
78733 cat >>confdefs.h <<\_ACEOF
78734 #define HAVE_EXPF 1
78735 _ACEOF
78737 cat >>confdefs.h <<\_ACEOF
78738 #define HAVE_FABSF 1
78739 _ACEOF
78741 cat >>confdefs.h <<\_ACEOF
78742 #define HAVE_FINITE 1
78743 _ACEOF
78745 cat >>confdefs.h <<\_ACEOF
78746 #define HAVE_FINITEF 1
78747 _ACEOF
78749 cat >>confdefs.h <<\_ACEOF
78750 #define HAVE_FLOORF 1
78751 _ACEOF
78753 cat >>confdefs.h <<\_ACEOF
78754 #define HAVE_FMODF 1
78755 _ACEOF
78757 cat >>confdefs.h <<\_ACEOF
78758 #define HAVE_FREXPF 1
78759 _ACEOF
78761 cat >>confdefs.h <<\_ACEOF
78762 #define HAVE_HYPOT 1
78763 _ACEOF
78765 cat >>confdefs.h <<\_ACEOF
78766 #define HAVE_HYPOTF 1
78767 _ACEOF
78769 cat >>confdefs.h <<\_ACEOF
78770 #define HAVE_ISINF 1
78771 _ACEOF
78773 cat >>confdefs.h <<\_ACEOF
78774 #define HAVE_ISINFF 1
78775 _ACEOF
78777 cat >>confdefs.h <<\_ACEOF
78778 #define HAVE_ISNAN 1
78779 _ACEOF
78781 cat >>confdefs.h <<\_ACEOF
78782 #define HAVE_ISNANF 1
78783 _ACEOF
78785 cat >>confdefs.h <<\_ACEOF
78786 #define HAVE_LOGF 1
78787 _ACEOF
78789 cat >>confdefs.h <<\_ACEOF
78790 #define HAVE_LOG10F 1
78791 _ACEOF
78793 cat >>confdefs.h <<\_ACEOF
78794 #define HAVE_MODFF 1
78795 _ACEOF
78797 cat >>confdefs.h <<\_ACEOF
78798 #define HAVE_SINF 1
78799 _ACEOF
78801 cat >>confdefs.h <<\_ACEOF
78802 #define HAVE_SINHF 1
78803 _ACEOF
78805 cat >>confdefs.h <<\_ACEOF
78806 #define HAVE_SINCOS 1
78807 _ACEOF
78809 cat >>confdefs.h <<\_ACEOF
78810 #define HAVE_SINCOSF 1
78811 _ACEOF
78813 cat >>confdefs.h <<\_ACEOF
78814 #define HAVE_SQRTF 1
78815 _ACEOF
78817 cat >>confdefs.h <<\_ACEOF
78818 #define HAVE_TANF 1
78819 _ACEOF
78821 cat >>confdefs.h <<\_ACEOF
78822 #define HAVE_TANHF 1
78823 _ACEOF
78825 if test x"long_double_math_on_this_cpu" = x"yes"; then
78826 cat >>confdefs.h <<\_ACEOF
78827 #define HAVE_ACOSL 1
78828 _ACEOF
78830 cat >>confdefs.h <<\_ACEOF
78831 #define HAVE_ASINL 1
78832 _ACEOF
78834 cat >>confdefs.h <<\_ACEOF
78835 #define HAVE_ATANL 1
78836 _ACEOF
78838 cat >>confdefs.h <<\_ACEOF
78839 #define HAVE_ATAN2L 1
78840 _ACEOF
78842 cat >>confdefs.h <<\_ACEOF
78843 #define HAVE_CEILL 1
78844 _ACEOF
78846 cat >>confdefs.h <<\_ACEOF
78847 #define HAVE_COPYSIGNL 1
78848 _ACEOF
78850 cat >>confdefs.h <<\_ACEOF
78851 #define HAVE_COSL 1
78852 _ACEOF
78854 cat >>confdefs.h <<\_ACEOF
78855 #define HAVE_COSHL 1
78856 _ACEOF
78858 cat >>confdefs.h <<\_ACEOF
78859 #define HAVE_EXPL 1
78860 _ACEOF
78862 cat >>confdefs.h <<\_ACEOF
78863 #define HAVE_FABSL 1
78864 _ACEOF
78866 cat >>confdefs.h <<\_ACEOF
78867 #define HAVE_FINITEL 1
78868 _ACEOF
78870 cat >>confdefs.h <<\_ACEOF
78871 #define HAVE_FLOORL 1
78872 _ACEOF
78874 cat >>confdefs.h <<\_ACEOF
78875 #define HAVE_FMODL 1
78876 _ACEOF
78878 cat >>confdefs.h <<\_ACEOF
78879 #define HAVE_FREXPL 1
78880 _ACEOF
78882 cat >>confdefs.h <<\_ACEOF
78883 #define HAVE_HYPOTL 1
78884 _ACEOF
78886 cat >>confdefs.h <<\_ACEOF
78887 #define HAVE_ISINFL 1
78888 _ACEOF
78890 cat >>confdefs.h <<\_ACEOF
78891 #define HAVE_ISNANL 1
78892 _ACEOF
78894 cat >>confdefs.h <<\_ACEOF
78895 #define HAVE_LOGL 1
78896 _ACEOF
78898 cat >>confdefs.h <<\_ACEOF
78899 #define HAVE_LOG10L 1
78900 _ACEOF
78902 cat >>confdefs.h <<\_ACEOF
78903 #define HAVE_MODFL 1
78904 _ACEOF
78906 cat >>confdefs.h <<\_ACEOF
78907 #define HAVE_POWL 1
78908 _ACEOF
78910 cat >>confdefs.h <<\_ACEOF
78911 #define HAVE_SINL 1
78912 _ACEOF
78914 cat >>confdefs.h <<\_ACEOF
78915 #define HAVE_SINHL 1
78916 _ACEOF
78918 cat >>confdefs.h <<\_ACEOF
78919 #define HAVE_SINCOSL 1
78920 _ACEOF
78922 cat >>confdefs.h <<\_ACEOF
78923 #define HAVE_SQRTL 1
78924 _ACEOF
78926 cat >>confdefs.h <<\_ACEOF
78927 #define HAVE_TANL 1
78928 _ACEOF
78930 cat >>confdefs.h <<\_ACEOF
78931 #define HAVE_TANHL 1
78932 _ACEOF
78936 *-mingw32*)
78940 for ac_header in sys/types.h locale.h float.h
78942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78944 echo "$as_me:$LINENO: checking for $ac_header" >&5
78945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78947 echo $ECHO_N "(cached) $ECHO_C" >&6
78949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78951 else
78952 # Is the header compilable?
78953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78955 cat >conftest.$ac_ext <<_ACEOF
78956 /* confdefs.h. */
78957 _ACEOF
78958 cat confdefs.h >>conftest.$ac_ext
78959 cat >>conftest.$ac_ext <<_ACEOF
78960 /* end confdefs.h. */
78961 $ac_includes_default
78962 #include <$ac_header>
78963 _ACEOF
78964 rm -f conftest.$ac_objext
78965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78966 (eval $ac_compile) 2>conftest.er1
78967 ac_status=$?
78968 grep -v '^ *+' conftest.er1 >conftest.err
78969 rm -f conftest.er1
78970 cat conftest.err >&5
78971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78972 (exit $ac_status); } &&
78973 { ac_try='test -z "$ac_c_werror_flag"
78974 || test ! -s conftest.err'
78975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78976 (eval $ac_try) 2>&5
78977 ac_status=$?
78978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78979 (exit $ac_status); }; } &&
78980 { ac_try='test -s conftest.$ac_objext'
78981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78982 (eval $ac_try) 2>&5
78983 ac_status=$?
78984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78985 (exit $ac_status); }; }; then
78986 ac_header_compiler=yes
78987 else
78988 echo "$as_me: failed program was:" >&5
78989 sed 's/^/| /' conftest.$ac_ext >&5
78991 ac_header_compiler=no
78993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78995 echo "${ECHO_T}$ac_header_compiler" >&6
78997 # Is the header present?
78998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79000 cat >conftest.$ac_ext <<_ACEOF
79001 /* confdefs.h. */
79002 _ACEOF
79003 cat confdefs.h >>conftest.$ac_ext
79004 cat >>conftest.$ac_ext <<_ACEOF
79005 /* end confdefs.h. */
79006 #include <$ac_header>
79007 _ACEOF
79008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79010 ac_status=$?
79011 grep -v '^ *+' conftest.er1 >conftest.err
79012 rm -f conftest.er1
79013 cat conftest.err >&5
79014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79015 (exit $ac_status); } >/dev/null; then
79016 if test -s conftest.err; then
79017 ac_cpp_err=$ac_c_preproc_warn_flag
79018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79019 else
79020 ac_cpp_err=
79022 else
79023 ac_cpp_err=yes
79025 if test -z "$ac_cpp_err"; then
79026 ac_header_preproc=yes
79027 else
79028 echo "$as_me: failed program was:" >&5
79029 sed 's/^/| /' conftest.$ac_ext >&5
79031 ac_header_preproc=no
79033 rm -f conftest.err conftest.$ac_ext
79034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79035 echo "${ECHO_T}$ac_header_preproc" >&6
79037 # So? What about this header?
79038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79039 yes:no: )
79040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79044 ac_header_preproc=yes
79046 no:yes:* )
79047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79060 cat <<\_ASBOX
79061 ## ----------------------------------------- ##
79062 ## Report this to the package-unused lists. ##
79063 ## ----------------------------------------- ##
79064 _ASBOX
79066 sed "s/^/$as_me: WARNING: /" >&2
79068 esac
79069 echo "$as_me:$LINENO: checking for $ac_header" >&5
79070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79072 echo $ECHO_N "(cached) $ECHO_C" >&6
79073 else
79074 eval "$as_ac_Header=\$ac_header_preproc"
79076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79081 cat >>confdefs.h <<_ACEOF
79082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79083 _ACEOF
79087 done
79090 # If we're not using GNU ld, then there's no point in even trying these
79091 # tests. Check for that first. We should have already tested for gld
79092 # by now (in libtool), but require it now just to be safe...
79093 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79094 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79098 # The name set by libtool depends on the version of libtool. Shame on us
79099 # for depending on an impl detail, but c'est la vie. Older versions used
79100 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79101 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79102 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79103 # set (hence we're using an older libtool), then set it.
79104 if test x${with_gnu_ld+set} != xset; then
79105 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79106 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79107 with_gnu_ld=no
79108 else
79109 with_gnu_ld=$ac_cv_prog_gnu_ld
79113 # Start by getting the version number. I think the libtool test already
79114 # does some of this, but throws away the result.
79116 ldver=`$LD --version 2>/dev/null | head -1 | \
79117 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79119 glibcxx_gnu_ld_version=`echo $ldver | \
79120 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79122 # Set --gc-sections.
79123 if test "$with_gnu_ld" = "notbroken"; then
79124 # GNU ld it is! Joy and bunny rabbits!
79126 # All these tests are for C++; save the language and the compiler flags.
79127 # Need to do this so that g++ won't try to link in libstdc++
79128 ac_test_CFLAGS="${CFLAGS+set}"
79129 ac_save_CFLAGS="$CFLAGS"
79130 CFLAGS='-x c++ -Wl,--gc-sections'
79132 # Check for -Wl,--gc-sections
79133 # XXX This test is broken at the moment, as symbols required for linking
79134 # are now in libsupc++ (not built yet). In addition, this test has
79135 # cored on solaris in the past. In addition, --gc-sections doesn't
79136 # really work at the moment (keeps on discarding used sections, first
79137 # .eh_frame and now some of the glibc sections for iconv).
79138 # Bzzzzt. Thanks for playing, maybe next time.
79139 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79140 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79141 if test "$cross_compiling" = yes; then
79142 ac_sectionLDflags=yes
79143 else
79144 cat >conftest.$ac_ext <<_ACEOF
79145 /* confdefs.h. */
79146 _ACEOF
79147 cat confdefs.h >>conftest.$ac_ext
79148 cat >>conftest.$ac_ext <<_ACEOF
79149 /* end confdefs.h. */
79151 int main(void)
79153 try { throw 1; }
79154 catch (...) { };
79155 return 0;
79158 _ACEOF
79159 rm -f conftest$ac_exeext
79160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79161 (eval $ac_link) 2>&5
79162 ac_status=$?
79163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79166 (eval $ac_try) 2>&5
79167 ac_status=$?
79168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79169 (exit $ac_status); }; }; then
79170 ac_sectionLDflags=yes
79171 else
79172 echo "$as_me: program exited with status $ac_status" >&5
79173 echo "$as_me: failed program was:" >&5
79174 sed 's/^/| /' conftest.$ac_ext >&5
79176 ( exit $ac_status )
79177 ac_sectionLDflags=no
79179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79181 if test "$ac_test_CFLAGS" = set; then
79182 CFLAGS="$ac_save_CFLAGS"
79183 else
79184 # this is the suspicious part
79185 CFLAGS=''
79187 if test "$ac_sectionLDflags" = "yes"; then
79188 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79190 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79191 echo "${ECHO_T}$ac_sectionLDflags" >&6
79194 # Set linker optimization flags.
79195 if test x"$with_gnu_ld" = x"yes"; then
79196 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79204 echo "$as_me:$LINENO: checking for main in -lm" >&5
79205 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79206 if test "${ac_cv_lib_m_main+set}" = set; then
79207 echo $ECHO_N "(cached) $ECHO_C" >&6
79208 else
79209 ac_check_lib_save_LIBS=$LIBS
79210 LIBS="-lm $LIBS"
79211 if test x$gcc_no_link = xyes; then
79212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79214 { (exit 1); exit 1; }; }
79216 cat >conftest.$ac_ext <<_ACEOF
79217 /* confdefs.h. */
79218 _ACEOF
79219 cat confdefs.h >>conftest.$ac_ext
79220 cat >>conftest.$ac_ext <<_ACEOF
79221 /* end confdefs.h. */
79225 main ()
79227 main ();
79229 return 0;
79231 _ACEOF
79232 rm -f conftest.$ac_objext conftest$ac_exeext
79233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79234 (eval $ac_link) 2>conftest.er1
79235 ac_status=$?
79236 grep -v '^ *+' conftest.er1 >conftest.err
79237 rm -f conftest.er1
79238 cat conftest.err >&5
79239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79240 (exit $ac_status); } &&
79241 { ac_try='test -z "$ac_c_werror_flag"
79242 || test ! -s conftest.err'
79243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79244 (eval $ac_try) 2>&5
79245 ac_status=$?
79246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79247 (exit $ac_status); }; } &&
79248 { ac_try='test -s conftest$ac_exeext'
79249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79250 (eval $ac_try) 2>&5
79251 ac_status=$?
79252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79253 (exit $ac_status); }; }; then
79254 ac_cv_lib_m_main=yes
79255 else
79256 echo "$as_me: failed program was:" >&5
79257 sed 's/^/| /' conftest.$ac_ext >&5
79259 ac_cv_lib_m_main=no
79261 rm -f conftest.err conftest.$ac_objext \
79262 conftest$ac_exeext conftest.$ac_ext
79263 LIBS=$ac_check_lib_save_LIBS
79265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79266 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79267 if test $ac_cv_lib_m_main = yes; then
79268 cat >>confdefs.h <<_ACEOF
79269 #define HAVE_LIBM 1
79270 _ACEOF
79272 LIBS="-lm $LIBS"
79277 for ac_func in copysignf
79279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79280 echo "$as_me:$LINENO: checking for $ac_func" >&5
79281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79282 if eval "test \"\${$as_ac_var+set}\" = set"; then
79283 echo $ECHO_N "(cached) $ECHO_C" >&6
79284 else
79285 if test x$gcc_no_link = xyes; then
79286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79288 { (exit 1); exit 1; }; }
79290 cat >conftest.$ac_ext <<_ACEOF
79291 /* confdefs.h. */
79292 _ACEOF
79293 cat confdefs.h >>conftest.$ac_ext
79294 cat >>conftest.$ac_ext <<_ACEOF
79295 /* end confdefs.h. */
79296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79298 #define $ac_func innocuous_$ac_func
79300 /* System header to define __stub macros and hopefully few prototypes,
79301 which can conflict with char $ac_func (); below.
79302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79303 <limits.h> exists even on freestanding compilers. */
79305 #ifdef __STDC__
79306 # include <limits.h>
79307 #else
79308 # include <assert.h>
79309 #endif
79311 #undef $ac_func
79313 /* Override any gcc2 internal prototype to avoid an error. */
79314 #ifdef __cplusplus
79315 extern "C"
79317 #endif
79318 /* We use char because int might match the return type of a gcc2
79319 builtin and then its argument prototype would still apply. */
79320 char $ac_func ();
79321 /* The GNU C library defines this for functions which it implements
79322 to always fail with ENOSYS. Some functions are actually named
79323 something starting with __ and the normal name is an alias. */
79324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79325 choke me
79326 #else
79327 char (*f) () = $ac_func;
79328 #endif
79329 #ifdef __cplusplus
79331 #endif
79334 main ()
79336 return f != $ac_func;
79338 return 0;
79340 _ACEOF
79341 rm -f conftest.$ac_objext conftest$ac_exeext
79342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79343 (eval $ac_link) 2>conftest.er1
79344 ac_status=$?
79345 grep -v '^ *+' conftest.er1 >conftest.err
79346 rm -f conftest.er1
79347 cat conftest.err >&5
79348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79349 (exit $ac_status); } &&
79350 { ac_try='test -z "$ac_c_werror_flag"
79351 || test ! -s conftest.err'
79352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79353 (eval $ac_try) 2>&5
79354 ac_status=$?
79355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79356 (exit $ac_status); }; } &&
79357 { ac_try='test -s conftest$ac_exeext'
79358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79359 (eval $ac_try) 2>&5
79360 ac_status=$?
79361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79362 (exit $ac_status); }; }; then
79363 eval "$as_ac_var=yes"
79364 else
79365 echo "$as_me: failed program was:" >&5
79366 sed 's/^/| /' conftest.$ac_ext >&5
79368 eval "$as_ac_var=no"
79370 rm -f conftest.err conftest.$ac_objext \
79371 conftest$ac_exeext conftest.$ac_ext
79373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79375 if test `eval echo '${'$as_ac_var'}'` = yes; then
79376 cat >>confdefs.h <<_ACEOF
79377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79378 _ACEOF
79380 else
79381 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79383 done
79387 for ac_func in __signbit
79389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79390 echo "$as_me:$LINENO: checking for $ac_func" >&5
79391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79392 if eval "test \"\${$as_ac_var+set}\" = set"; then
79393 echo $ECHO_N "(cached) $ECHO_C" >&6
79394 else
79395 if test x$gcc_no_link = xyes; then
79396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79398 { (exit 1); exit 1; }; }
79400 cat >conftest.$ac_ext <<_ACEOF
79401 /* confdefs.h. */
79402 _ACEOF
79403 cat confdefs.h >>conftest.$ac_ext
79404 cat >>conftest.$ac_ext <<_ACEOF
79405 /* end confdefs.h. */
79406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79408 #define $ac_func innocuous_$ac_func
79410 /* System header to define __stub macros and hopefully few prototypes,
79411 which can conflict with char $ac_func (); below.
79412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79413 <limits.h> exists even on freestanding compilers. */
79415 #ifdef __STDC__
79416 # include <limits.h>
79417 #else
79418 # include <assert.h>
79419 #endif
79421 #undef $ac_func
79423 /* Override any gcc2 internal prototype to avoid an error. */
79424 #ifdef __cplusplus
79425 extern "C"
79427 #endif
79428 /* We use char because int might match the return type of a gcc2
79429 builtin and then its argument prototype would still apply. */
79430 char $ac_func ();
79431 /* The GNU C library defines this for functions which it implements
79432 to always fail with ENOSYS. Some functions are actually named
79433 something starting with __ and the normal name is an alias. */
79434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79435 choke me
79436 #else
79437 char (*f) () = $ac_func;
79438 #endif
79439 #ifdef __cplusplus
79441 #endif
79444 main ()
79446 return f != $ac_func;
79448 return 0;
79450 _ACEOF
79451 rm -f conftest.$ac_objext conftest$ac_exeext
79452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79453 (eval $ac_link) 2>conftest.er1
79454 ac_status=$?
79455 grep -v '^ *+' conftest.er1 >conftest.err
79456 rm -f conftest.er1
79457 cat conftest.err >&5
79458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79459 (exit $ac_status); } &&
79460 { ac_try='test -z "$ac_c_werror_flag"
79461 || test ! -s conftest.err'
79462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79463 (eval $ac_try) 2>&5
79464 ac_status=$?
79465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466 (exit $ac_status); }; } &&
79467 { ac_try='test -s conftest$ac_exeext'
79468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79469 (eval $ac_try) 2>&5
79470 ac_status=$?
79471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79472 (exit $ac_status); }; }; then
79473 eval "$as_ac_var=yes"
79474 else
79475 echo "$as_me: failed program was:" >&5
79476 sed 's/^/| /' conftest.$ac_ext >&5
79478 eval "$as_ac_var=no"
79480 rm -f conftest.err conftest.$ac_objext \
79481 conftest$ac_exeext conftest.$ac_ext
79483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79485 if test `eval echo '${'$as_ac_var'}'` = yes; then
79486 cat >>confdefs.h <<_ACEOF
79487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79488 _ACEOF
79490 else
79491 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79493 done
79497 for ac_func in __signbitf
79499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79500 echo "$as_me:$LINENO: checking for $ac_func" >&5
79501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79502 if eval "test \"\${$as_ac_var+set}\" = set"; then
79503 echo $ECHO_N "(cached) $ECHO_C" >&6
79504 else
79505 if test x$gcc_no_link = xyes; then
79506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79508 { (exit 1); exit 1; }; }
79510 cat >conftest.$ac_ext <<_ACEOF
79511 /* confdefs.h. */
79512 _ACEOF
79513 cat confdefs.h >>conftest.$ac_ext
79514 cat >>conftest.$ac_ext <<_ACEOF
79515 /* end confdefs.h. */
79516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79518 #define $ac_func innocuous_$ac_func
79520 /* System header to define __stub macros and hopefully few prototypes,
79521 which can conflict with char $ac_func (); below.
79522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79523 <limits.h> exists even on freestanding compilers. */
79525 #ifdef __STDC__
79526 # include <limits.h>
79527 #else
79528 # include <assert.h>
79529 #endif
79531 #undef $ac_func
79533 /* Override any gcc2 internal prototype to avoid an error. */
79534 #ifdef __cplusplus
79535 extern "C"
79537 #endif
79538 /* We use char because int might match the return type of a gcc2
79539 builtin and then its argument prototype would still apply. */
79540 char $ac_func ();
79541 /* The GNU C library defines this for functions which it implements
79542 to always fail with ENOSYS. Some functions are actually named
79543 something starting with __ and the normal name is an alias. */
79544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79545 choke me
79546 #else
79547 char (*f) () = $ac_func;
79548 #endif
79549 #ifdef __cplusplus
79551 #endif
79554 main ()
79556 return f != $ac_func;
79558 return 0;
79560 _ACEOF
79561 rm -f conftest.$ac_objext conftest$ac_exeext
79562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79563 (eval $ac_link) 2>conftest.er1
79564 ac_status=$?
79565 grep -v '^ *+' conftest.er1 >conftest.err
79566 rm -f conftest.er1
79567 cat conftest.err >&5
79568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79569 (exit $ac_status); } &&
79570 { ac_try='test -z "$ac_c_werror_flag"
79571 || test ! -s conftest.err'
79572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79573 (eval $ac_try) 2>&5
79574 ac_status=$?
79575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79576 (exit $ac_status); }; } &&
79577 { ac_try='test -s conftest$ac_exeext'
79578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79579 (eval $ac_try) 2>&5
79580 ac_status=$?
79581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79582 (exit $ac_status); }; }; then
79583 eval "$as_ac_var=yes"
79584 else
79585 echo "$as_me: failed program was:" >&5
79586 sed 's/^/| /' conftest.$ac_ext >&5
79588 eval "$as_ac_var=no"
79590 rm -f conftest.err conftest.$ac_objext \
79591 conftest$ac_exeext conftest.$ac_ext
79593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79595 if test `eval echo '${'$as_ac_var'}'` = yes; then
79596 cat >>confdefs.h <<_ACEOF
79597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79598 _ACEOF
79600 else
79601 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79603 done
79606 if test x$ac_cv_func_copysignl = x"yes"; then
79608 for ac_func in __signbitl
79610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79611 echo "$as_me:$LINENO: checking for $ac_func" >&5
79612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79613 if eval "test \"\${$as_ac_var+set}\" = set"; then
79614 echo $ECHO_N "(cached) $ECHO_C" >&6
79615 else
79616 if test x$gcc_no_link = xyes; then
79617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79619 { (exit 1); exit 1; }; }
79621 cat >conftest.$ac_ext <<_ACEOF
79622 /* confdefs.h. */
79623 _ACEOF
79624 cat confdefs.h >>conftest.$ac_ext
79625 cat >>conftest.$ac_ext <<_ACEOF
79626 /* end confdefs.h. */
79627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79629 #define $ac_func innocuous_$ac_func
79631 /* System header to define __stub macros and hopefully few prototypes,
79632 which can conflict with char $ac_func (); below.
79633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79634 <limits.h> exists even on freestanding compilers. */
79636 #ifdef __STDC__
79637 # include <limits.h>
79638 #else
79639 # include <assert.h>
79640 #endif
79642 #undef $ac_func
79644 /* Override any gcc2 internal prototype to avoid an error. */
79645 #ifdef __cplusplus
79646 extern "C"
79648 #endif
79649 /* We use char because int might match the return type of a gcc2
79650 builtin and then its argument prototype would still apply. */
79651 char $ac_func ();
79652 /* The GNU C library defines this for functions which it implements
79653 to always fail with ENOSYS. Some functions are actually named
79654 something starting with __ and the normal name is an alias. */
79655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79656 choke me
79657 #else
79658 char (*f) () = $ac_func;
79659 #endif
79660 #ifdef __cplusplus
79662 #endif
79665 main ()
79667 return f != $ac_func;
79669 return 0;
79671 _ACEOF
79672 rm -f conftest.$ac_objext conftest$ac_exeext
79673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79674 (eval $ac_link) 2>conftest.er1
79675 ac_status=$?
79676 grep -v '^ *+' conftest.er1 >conftest.err
79677 rm -f conftest.er1
79678 cat conftest.err >&5
79679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680 (exit $ac_status); } &&
79681 { ac_try='test -z "$ac_c_werror_flag"
79682 || test ! -s conftest.err'
79683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79684 (eval $ac_try) 2>&5
79685 ac_status=$?
79686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79687 (exit $ac_status); }; } &&
79688 { ac_try='test -s conftest$ac_exeext'
79689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79690 (eval $ac_try) 2>&5
79691 ac_status=$?
79692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79693 (exit $ac_status); }; }; then
79694 eval "$as_ac_var=yes"
79695 else
79696 echo "$as_me: failed program was:" >&5
79697 sed 's/^/| /' conftest.$ac_ext >&5
79699 eval "$as_ac_var=no"
79701 rm -f conftest.err conftest.$ac_objext \
79702 conftest$ac_exeext conftest.$ac_ext
79704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79706 if test `eval echo '${'$as_ac_var'}'` = yes; then
79707 cat >>confdefs.h <<_ACEOF
79708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79709 _ACEOF
79711 else
79712 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79714 done
79718 # Used in libmath/Makefile.am.
79719 if test -n "$LIBMATHOBJS"; then
79720 need_libmath=yes
79726 enable_iconv=no
79727 # Only continue checking if the ISO C99 headers exist and support is on.
79728 if test x"$enable_wchar_t" = xyes; then
79730 # Use iconv for wchar_t to char conversions. As such, check for
79731 # X/Open Portability Guide, version 2 features (XPG2).
79732 if test "${ac_cv_header_iconv_h+set}" = set; then
79733 echo "$as_me:$LINENO: checking for iconv.h" >&5
79734 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79735 if test "${ac_cv_header_iconv_h+set}" = set; then
79736 echo $ECHO_N "(cached) $ECHO_C" >&6
79738 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79739 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79740 else
79741 # Is the header compilable?
79742 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79743 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79744 cat >conftest.$ac_ext <<_ACEOF
79745 /* confdefs.h. */
79746 _ACEOF
79747 cat confdefs.h >>conftest.$ac_ext
79748 cat >>conftest.$ac_ext <<_ACEOF
79749 /* end confdefs.h. */
79750 $ac_includes_default
79751 #include <iconv.h>
79752 _ACEOF
79753 rm -f conftest.$ac_objext
79754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79755 (eval $ac_compile) 2>conftest.er1
79756 ac_status=$?
79757 grep -v '^ *+' conftest.er1 >conftest.err
79758 rm -f conftest.er1
79759 cat conftest.err >&5
79760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79761 (exit $ac_status); } &&
79762 { ac_try='test -z "$ac_c_werror_flag"
79763 || test ! -s conftest.err'
79764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79765 (eval $ac_try) 2>&5
79766 ac_status=$?
79767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79768 (exit $ac_status); }; } &&
79769 { ac_try='test -s conftest.$ac_objext'
79770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79771 (eval $ac_try) 2>&5
79772 ac_status=$?
79773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79774 (exit $ac_status); }; }; then
79775 ac_header_compiler=yes
79776 else
79777 echo "$as_me: failed program was:" >&5
79778 sed 's/^/| /' conftest.$ac_ext >&5
79780 ac_header_compiler=no
79782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79784 echo "${ECHO_T}$ac_header_compiler" >&6
79786 # Is the header present?
79787 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79788 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79789 cat >conftest.$ac_ext <<_ACEOF
79790 /* confdefs.h. */
79791 _ACEOF
79792 cat confdefs.h >>conftest.$ac_ext
79793 cat >>conftest.$ac_ext <<_ACEOF
79794 /* end confdefs.h. */
79795 #include <iconv.h>
79796 _ACEOF
79797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79799 ac_status=$?
79800 grep -v '^ *+' conftest.er1 >conftest.err
79801 rm -f conftest.er1
79802 cat conftest.err >&5
79803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79804 (exit $ac_status); } >/dev/null; then
79805 if test -s conftest.err; then
79806 ac_cpp_err=$ac_c_preproc_warn_flag
79807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79808 else
79809 ac_cpp_err=
79811 else
79812 ac_cpp_err=yes
79814 if test -z "$ac_cpp_err"; then
79815 ac_header_preproc=yes
79816 else
79817 echo "$as_me: failed program was:" >&5
79818 sed 's/^/| /' conftest.$ac_ext >&5
79820 ac_header_preproc=no
79822 rm -f conftest.err conftest.$ac_ext
79823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79824 echo "${ECHO_T}$ac_header_preproc" >&6
79826 # So? What about this header?
79827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79828 yes:no: )
79829 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79830 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79831 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79832 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79833 ac_header_preproc=yes
79835 no:yes:* )
79836 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79837 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79838 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79839 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79840 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79841 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79842 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79843 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79844 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79845 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79846 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79847 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79849 cat <<\_ASBOX
79850 ## ----------------------------------------- ##
79851 ## Report this to the package-unused lists. ##
79852 ## ----------------------------------------- ##
79853 _ASBOX
79855 sed "s/^/$as_me: WARNING: /" >&2
79857 esac
79858 echo "$as_me:$LINENO: checking for iconv.h" >&5
79859 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79860 if test "${ac_cv_header_iconv_h+set}" = set; then
79861 echo $ECHO_N "(cached) $ECHO_C" >&6
79862 else
79863 ac_cv_header_iconv_h=$ac_header_preproc
79865 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79866 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79869 if test $ac_cv_header_iconv_h = yes; then
79870 ac_has_iconv_h=yes
79871 else
79872 ac_has_iconv_h=no
79876 if test "${ac_cv_header_langinfo_h+set}" = set; then
79877 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79878 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79879 if test "${ac_cv_header_langinfo_h+set}" = set; then
79880 echo $ECHO_N "(cached) $ECHO_C" >&6
79882 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79883 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79884 else
79885 # Is the header compilable?
79886 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79887 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79888 cat >conftest.$ac_ext <<_ACEOF
79889 /* confdefs.h. */
79890 _ACEOF
79891 cat confdefs.h >>conftest.$ac_ext
79892 cat >>conftest.$ac_ext <<_ACEOF
79893 /* end confdefs.h. */
79894 $ac_includes_default
79895 #include <langinfo.h>
79896 _ACEOF
79897 rm -f conftest.$ac_objext
79898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79899 (eval $ac_compile) 2>conftest.er1
79900 ac_status=$?
79901 grep -v '^ *+' conftest.er1 >conftest.err
79902 rm -f conftest.er1
79903 cat conftest.err >&5
79904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79905 (exit $ac_status); } &&
79906 { ac_try='test -z "$ac_c_werror_flag"
79907 || test ! -s conftest.err'
79908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79909 (eval $ac_try) 2>&5
79910 ac_status=$?
79911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79912 (exit $ac_status); }; } &&
79913 { ac_try='test -s conftest.$ac_objext'
79914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79915 (eval $ac_try) 2>&5
79916 ac_status=$?
79917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79918 (exit $ac_status); }; }; then
79919 ac_header_compiler=yes
79920 else
79921 echo "$as_me: failed program was:" >&5
79922 sed 's/^/| /' conftest.$ac_ext >&5
79924 ac_header_compiler=no
79926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79928 echo "${ECHO_T}$ac_header_compiler" >&6
79930 # Is the header present?
79931 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79932 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79933 cat >conftest.$ac_ext <<_ACEOF
79934 /* confdefs.h. */
79935 _ACEOF
79936 cat confdefs.h >>conftest.$ac_ext
79937 cat >>conftest.$ac_ext <<_ACEOF
79938 /* end confdefs.h. */
79939 #include <langinfo.h>
79940 _ACEOF
79941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79943 ac_status=$?
79944 grep -v '^ *+' conftest.er1 >conftest.err
79945 rm -f conftest.er1
79946 cat conftest.err >&5
79947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79948 (exit $ac_status); } >/dev/null; then
79949 if test -s conftest.err; then
79950 ac_cpp_err=$ac_c_preproc_warn_flag
79951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79952 else
79953 ac_cpp_err=
79955 else
79956 ac_cpp_err=yes
79958 if test -z "$ac_cpp_err"; then
79959 ac_header_preproc=yes
79960 else
79961 echo "$as_me: failed program was:" >&5
79962 sed 's/^/| /' conftest.$ac_ext >&5
79964 ac_header_preproc=no
79966 rm -f conftest.err conftest.$ac_ext
79967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79968 echo "${ECHO_T}$ac_header_preproc" >&6
79970 # So? What about this header?
79971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79972 yes:no: )
79973 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79974 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79975 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79976 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79977 ac_header_preproc=yes
79979 no:yes:* )
79980 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79981 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79982 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79983 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79984 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79985 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79986 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79987 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79988 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79989 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79990 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79991 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79993 cat <<\_ASBOX
79994 ## ----------------------------------------- ##
79995 ## Report this to the package-unused lists. ##
79996 ## ----------------------------------------- ##
79997 _ASBOX
79999 sed "s/^/$as_me: WARNING: /" >&2
80001 esac
80002 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80003 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80004 if test "${ac_cv_header_langinfo_h+set}" = set; then
80005 echo $ECHO_N "(cached) $ECHO_C" >&6
80006 else
80007 ac_cv_header_langinfo_h=$ac_header_preproc
80009 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80010 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80013 if test $ac_cv_header_langinfo_h = yes; then
80014 ac_has_langinfo_h=yes
80015 else
80016 ac_has_langinfo_h=no
80021 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80022 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80023 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80024 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80025 echo $ECHO_N "(cached) $ECHO_C" >&6
80026 else
80027 ac_check_lib_save_LIBS=$LIBS
80028 LIBS="-liconv $LIBS"
80029 if test x$gcc_no_link = xyes; then
80030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80032 { (exit 1); exit 1; }; }
80034 cat >conftest.$ac_ext <<_ACEOF
80035 /* confdefs.h. */
80036 _ACEOF
80037 cat confdefs.h >>conftest.$ac_ext
80038 cat >>conftest.$ac_ext <<_ACEOF
80039 /* end confdefs.h. */
80041 /* Override any gcc2 internal prototype to avoid an error. */
80042 #ifdef __cplusplus
80043 extern "C"
80044 #endif
80045 /* We use char because int might match the return type of a gcc2
80046 builtin and then its argument prototype would still apply. */
80047 char iconv ();
80049 main ()
80051 iconv ();
80053 return 0;
80055 _ACEOF
80056 rm -f conftest.$ac_objext conftest$ac_exeext
80057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80058 (eval $ac_link) 2>conftest.er1
80059 ac_status=$?
80060 grep -v '^ *+' conftest.er1 >conftest.err
80061 rm -f conftest.er1
80062 cat conftest.err >&5
80063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80064 (exit $ac_status); } &&
80065 { ac_try='test -z "$ac_c_werror_flag"
80066 || test ! -s conftest.err'
80067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80068 (eval $ac_try) 2>&5
80069 ac_status=$?
80070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80071 (exit $ac_status); }; } &&
80072 { ac_try='test -s conftest$ac_exeext'
80073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80074 (eval $ac_try) 2>&5
80075 ac_status=$?
80076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80077 (exit $ac_status); }; }; then
80078 ac_cv_lib_iconv_iconv=yes
80079 else
80080 echo "$as_me: failed program was:" >&5
80081 sed 's/^/| /' conftest.$ac_ext >&5
80083 ac_cv_lib_iconv_iconv=no
80085 rm -f conftest.err conftest.$ac_objext \
80086 conftest$ac_exeext conftest.$ac_ext
80087 LIBS=$ac_check_lib_save_LIBS
80089 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80090 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80091 if test $ac_cv_lib_iconv_iconv = yes; then
80092 LIBICONV="-liconv"
80095 ac_save_LIBS="$LIBS"
80096 LIBS="$LIBS $LIBICONV"
80103 for ac_func in iconv_open iconv_close iconv nl_langinfo
80105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80106 echo "$as_me:$LINENO: checking for $ac_func" >&5
80107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80108 if eval "test \"\${$as_ac_var+set}\" = set"; then
80109 echo $ECHO_N "(cached) $ECHO_C" >&6
80110 else
80111 if test x$gcc_no_link = xyes; then
80112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80114 { (exit 1); exit 1; }; }
80116 cat >conftest.$ac_ext <<_ACEOF
80117 /* confdefs.h. */
80118 _ACEOF
80119 cat confdefs.h >>conftest.$ac_ext
80120 cat >>conftest.$ac_ext <<_ACEOF
80121 /* end confdefs.h. */
80122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80124 #define $ac_func innocuous_$ac_func
80126 /* System header to define __stub macros and hopefully few prototypes,
80127 which can conflict with char $ac_func (); below.
80128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80129 <limits.h> exists even on freestanding compilers. */
80131 #ifdef __STDC__
80132 # include <limits.h>
80133 #else
80134 # include <assert.h>
80135 #endif
80137 #undef $ac_func
80139 /* Override any gcc2 internal prototype to avoid an error. */
80140 #ifdef __cplusplus
80141 extern "C"
80143 #endif
80144 /* We use char because int might match the return type of a gcc2
80145 builtin and then its argument prototype would still apply. */
80146 char $ac_func ();
80147 /* The GNU C library defines this for functions which it implements
80148 to always fail with ENOSYS. Some functions are actually named
80149 something starting with __ and the normal name is an alias. */
80150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80151 choke me
80152 #else
80153 char (*f) () = $ac_func;
80154 #endif
80155 #ifdef __cplusplus
80157 #endif
80160 main ()
80162 return f != $ac_func;
80164 return 0;
80166 _ACEOF
80167 rm -f conftest.$ac_objext conftest$ac_exeext
80168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80169 (eval $ac_link) 2>conftest.er1
80170 ac_status=$?
80171 grep -v '^ *+' conftest.er1 >conftest.err
80172 rm -f conftest.er1
80173 cat conftest.err >&5
80174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80175 (exit $ac_status); } &&
80176 { ac_try='test -z "$ac_c_werror_flag"
80177 || test ! -s conftest.err'
80178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80179 (eval $ac_try) 2>&5
80180 ac_status=$?
80181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80182 (exit $ac_status); }; } &&
80183 { ac_try='test -s conftest$ac_exeext'
80184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80185 (eval $ac_try) 2>&5
80186 ac_status=$?
80187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80188 (exit $ac_status); }; }; then
80189 eval "$as_ac_var=yes"
80190 else
80191 echo "$as_me: failed program was:" >&5
80192 sed 's/^/| /' conftest.$ac_ext >&5
80194 eval "$as_ac_var=no"
80196 rm -f conftest.err conftest.$ac_objext \
80197 conftest$ac_exeext conftest.$ac_ext
80199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80201 if test `eval echo '${'$as_ac_var'}'` = yes; then
80202 cat >>confdefs.h <<_ACEOF
80203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80204 _ACEOF
80205 ac_XPG2funcs=yes
80206 else
80207 ac_XPG2funcs=no
80209 done
80212 LIBS="$ac_save_LIBS"
80214 if test x"$ac_has_iconv_h" = xyes &&
80215 test x"$ac_has_langinfo_h" = xyes &&
80216 test x"$ac_XPG2funcs" = xyes;
80217 then
80219 cat >>confdefs.h <<\_ACEOF
80220 #define _GLIBCXX_USE_ICONV 1
80221 _ACEOF
80223 enable_iconv=yes
80226 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80227 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80228 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80229 echo "${ECHO_T}$enable_iconv" >&6
80232 *-netbsd*)
80245 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80246 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80247 fp.h locale.h float.h inttypes.h
80249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80251 echo "$as_me:$LINENO: checking for $ac_header" >&5
80252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80254 echo $ECHO_N "(cached) $ECHO_C" >&6
80256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80258 else
80259 # Is the header compilable?
80260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80262 cat >conftest.$ac_ext <<_ACEOF
80263 /* confdefs.h. */
80264 _ACEOF
80265 cat confdefs.h >>conftest.$ac_ext
80266 cat >>conftest.$ac_ext <<_ACEOF
80267 /* end confdefs.h. */
80268 $ac_includes_default
80269 #include <$ac_header>
80270 _ACEOF
80271 rm -f conftest.$ac_objext
80272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80273 (eval $ac_compile) 2>conftest.er1
80274 ac_status=$?
80275 grep -v '^ *+' conftest.er1 >conftest.err
80276 rm -f conftest.er1
80277 cat conftest.err >&5
80278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279 (exit $ac_status); } &&
80280 { ac_try='test -z "$ac_c_werror_flag"
80281 || test ! -s conftest.err'
80282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80283 (eval $ac_try) 2>&5
80284 ac_status=$?
80285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80286 (exit $ac_status); }; } &&
80287 { ac_try='test -s conftest.$ac_objext'
80288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80289 (eval $ac_try) 2>&5
80290 ac_status=$?
80291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80292 (exit $ac_status); }; }; then
80293 ac_header_compiler=yes
80294 else
80295 echo "$as_me: failed program was:" >&5
80296 sed 's/^/| /' conftest.$ac_ext >&5
80298 ac_header_compiler=no
80300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80302 echo "${ECHO_T}$ac_header_compiler" >&6
80304 # Is the header present?
80305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80307 cat >conftest.$ac_ext <<_ACEOF
80308 /* confdefs.h. */
80309 _ACEOF
80310 cat confdefs.h >>conftest.$ac_ext
80311 cat >>conftest.$ac_ext <<_ACEOF
80312 /* end confdefs.h. */
80313 #include <$ac_header>
80314 _ACEOF
80315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80317 ac_status=$?
80318 grep -v '^ *+' conftest.er1 >conftest.err
80319 rm -f conftest.er1
80320 cat conftest.err >&5
80321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80322 (exit $ac_status); } >/dev/null; then
80323 if test -s conftest.err; then
80324 ac_cpp_err=$ac_c_preproc_warn_flag
80325 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80326 else
80327 ac_cpp_err=
80329 else
80330 ac_cpp_err=yes
80332 if test -z "$ac_cpp_err"; then
80333 ac_header_preproc=yes
80334 else
80335 echo "$as_me: failed program was:" >&5
80336 sed 's/^/| /' conftest.$ac_ext >&5
80338 ac_header_preproc=no
80340 rm -f conftest.err conftest.$ac_ext
80341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80342 echo "${ECHO_T}$ac_header_preproc" >&6
80344 # So? What about this header?
80345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80346 yes:no: )
80347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80351 ac_header_preproc=yes
80353 no:yes:* )
80354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80367 cat <<\_ASBOX
80368 ## ----------------------------------------- ##
80369 ## Report this to the package-unused lists. ##
80370 ## ----------------------------------------- ##
80371 _ASBOX
80373 sed "s/^/$as_me: WARNING: /" >&2
80375 esac
80376 echo "$as_me:$LINENO: checking for $ac_header" >&5
80377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80379 echo $ECHO_N "(cached) $ECHO_C" >&6
80380 else
80381 eval "$as_ac_Header=\$ac_header_preproc"
80383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80388 cat >>confdefs.h <<_ACEOF
80389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80390 _ACEOF
80394 done
80396 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80399 # If we're not using GNU ld, then there's no point in even trying these
80400 # tests. Check for that first. We should have already tested for gld
80401 # by now (in libtool), but require it now just to be safe...
80402 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80403 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80407 # The name set by libtool depends on the version of libtool. Shame on us
80408 # for depending on an impl detail, but c'est la vie. Older versions used
80409 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80410 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80411 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80412 # set (hence we're using an older libtool), then set it.
80413 if test x${with_gnu_ld+set} != xset; then
80414 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80415 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80416 with_gnu_ld=no
80417 else
80418 with_gnu_ld=$ac_cv_prog_gnu_ld
80422 # Start by getting the version number. I think the libtool test already
80423 # does some of this, but throws away the result.
80425 ldver=`$LD --version 2>/dev/null | head -1 | \
80426 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80428 glibcxx_gnu_ld_version=`echo $ldver | \
80429 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80431 # Set --gc-sections.
80432 if test "$with_gnu_ld" = "notbroken"; then
80433 # GNU ld it is! Joy and bunny rabbits!
80435 # All these tests are for C++; save the language and the compiler flags.
80436 # Need to do this so that g++ won't try to link in libstdc++
80437 ac_test_CFLAGS="${CFLAGS+set}"
80438 ac_save_CFLAGS="$CFLAGS"
80439 CFLAGS='-x c++ -Wl,--gc-sections'
80441 # Check for -Wl,--gc-sections
80442 # XXX This test is broken at the moment, as symbols required for linking
80443 # are now in libsupc++ (not built yet). In addition, this test has
80444 # cored on solaris in the past. In addition, --gc-sections doesn't
80445 # really work at the moment (keeps on discarding used sections, first
80446 # .eh_frame and now some of the glibc sections for iconv).
80447 # Bzzzzt. Thanks for playing, maybe next time.
80448 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80449 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80450 if test "$cross_compiling" = yes; then
80451 ac_sectionLDflags=yes
80452 else
80453 cat >conftest.$ac_ext <<_ACEOF
80454 /* confdefs.h. */
80455 _ACEOF
80456 cat confdefs.h >>conftest.$ac_ext
80457 cat >>conftest.$ac_ext <<_ACEOF
80458 /* end confdefs.h. */
80460 int main(void)
80462 try { throw 1; }
80463 catch (...) { };
80464 return 0;
80467 _ACEOF
80468 rm -f conftest$ac_exeext
80469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80470 (eval $ac_link) 2>&5
80471 ac_status=$?
80472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80475 (eval $ac_try) 2>&5
80476 ac_status=$?
80477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80478 (exit $ac_status); }; }; then
80479 ac_sectionLDflags=yes
80480 else
80481 echo "$as_me: program exited with status $ac_status" >&5
80482 echo "$as_me: failed program was:" >&5
80483 sed 's/^/| /' conftest.$ac_ext >&5
80485 ( exit $ac_status )
80486 ac_sectionLDflags=no
80488 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80490 if test "$ac_test_CFLAGS" = set; then
80491 CFLAGS="$ac_save_CFLAGS"
80492 else
80493 # this is the suspicious part
80494 CFLAGS=''
80496 if test "$ac_sectionLDflags" = "yes"; then
80497 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80499 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80500 echo "${ECHO_T}$ac_sectionLDflags" >&6
80503 # Set linker optimization flags.
80504 if test x"$with_gnu_ld" = x"yes"; then
80505 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80513 echo "$as_me:$LINENO: checking for main in -lm" >&5
80514 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80515 if test "${ac_cv_lib_m_main+set}" = set; then
80516 echo $ECHO_N "(cached) $ECHO_C" >&6
80517 else
80518 ac_check_lib_save_LIBS=$LIBS
80519 LIBS="-lm $LIBS"
80520 if test x$gcc_no_link = xyes; then
80521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80523 { (exit 1); exit 1; }; }
80525 cat >conftest.$ac_ext <<_ACEOF
80526 /* confdefs.h. */
80527 _ACEOF
80528 cat confdefs.h >>conftest.$ac_ext
80529 cat >>conftest.$ac_ext <<_ACEOF
80530 /* end confdefs.h. */
80534 main ()
80536 main ();
80538 return 0;
80540 _ACEOF
80541 rm -f conftest.$ac_objext conftest$ac_exeext
80542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80543 (eval $ac_link) 2>conftest.er1
80544 ac_status=$?
80545 grep -v '^ *+' conftest.er1 >conftest.err
80546 rm -f conftest.er1
80547 cat conftest.err >&5
80548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80549 (exit $ac_status); } &&
80550 { ac_try='test -z "$ac_c_werror_flag"
80551 || test ! -s conftest.err'
80552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80553 (eval $ac_try) 2>&5
80554 ac_status=$?
80555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80556 (exit $ac_status); }; } &&
80557 { ac_try='test -s conftest$ac_exeext'
80558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80559 (eval $ac_try) 2>&5
80560 ac_status=$?
80561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80562 (exit $ac_status); }; }; then
80563 ac_cv_lib_m_main=yes
80564 else
80565 echo "$as_me: failed program was:" >&5
80566 sed 's/^/| /' conftest.$ac_ext >&5
80568 ac_cv_lib_m_main=no
80570 rm -f conftest.err conftest.$ac_objext \
80571 conftest$ac_exeext conftest.$ac_ext
80572 LIBS=$ac_check_lib_save_LIBS
80574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80575 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80576 if test $ac_cv_lib_m_main = yes; then
80577 cat >>confdefs.h <<_ACEOF
80578 #define HAVE_LIBM 1
80579 _ACEOF
80581 LIBS="-lm $LIBS"
80586 for ac_func in copysignf
80588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80589 echo "$as_me:$LINENO: checking for $ac_func" >&5
80590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80591 if eval "test \"\${$as_ac_var+set}\" = set"; then
80592 echo $ECHO_N "(cached) $ECHO_C" >&6
80593 else
80594 if test x$gcc_no_link = xyes; then
80595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80597 { (exit 1); exit 1; }; }
80599 cat >conftest.$ac_ext <<_ACEOF
80600 /* confdefs.h. */
80601 _ACEOF
80602 cat confdefs.h >>conftest.$ac_ext
80603 cat >>conftest.$ac_ext <<_ACEOF
80604 /* end confdefs.h. */
80605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80607 #define $ac_func innocuous_$ac_func
80609 /* System header to define __stub macros and hopefully few prototypes,
80610 which can conflict with char $ac_func (); below.
80611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80612 <limits.h> exists even on freestanding compilers. */
80614 #ifdef __STDC__
80615 # include <limits.h>
80616 #else
80617 # include <assert.h>
80618 #endif
80620 #undef $ac_func
80622 /* Override any gcc2 internal prototype to avoid an error. */
80623 #ifdef __cplusplus
80624 extern "C"
80626 #endif
80627 /* We use char because int might match the return type of a gcc2
80628 builtin and then its argument prototype would still apply. */
80629 char $ac_func ();
80630 /* The GNU C library defines this for functions which it implements
80631 to always fail with ENOSYS. Some functions are actually named
80632 something starting with __ and the normal name is an alias. */
80633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80634 choke me
80635 #else
80636 char (*f) () = $ac_func;
80637 #endif
80638 #ifdef __cplusplus
80640 #endif
80643 main ()
80645 return f != $ac_func;
80647 return 0;
80649 _ACEOF
80650 rm -f conftest.$ac_objext conftest$ac_exeext
80651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80652 (eval $ac_link) 2>conftest.er1
80653 ac_status=$?
80654 grep -v '^ *+' conftest.er1 >conftest.err
80655 rm -f conftest.er1
80656 cat conftest.err >&5
80657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80658 (exit $ac_status); } &&
80659 { ac_try='test -z "$ac_c_werror_flag"
80660 || test ! -s conftest.err'
80661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80662 (eval $ac_try) 2>&5
80663 ac_status=$?
80664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80665 (exit $ac_status); }; } &&
80666 { ac_try='test -s conftest$ac_exeext'
80667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80668 (eval $ac_try) 2>&5
80669 ac_status=$?
80670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80671 (exit $ac_status); }; }; then
80672 eval "$as_ac_var=yes"
80673 else
80674 echo "$as_me: failed program was:" >&5
80675 sed 's/^/| /' conftest.$ac_ext >&5
80677 eval "$as_ac_var=no"
80679 rm -f conftest.err conftest.$ac_objext \
80680 conftest$ac_exeext conftest.$ac_ext
80682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80684 if test `eval echo '${'$as_ac_var'}'` = yes; then
80685 cat >>confdefs.h <<_ACEOF
80686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80687 _ACEOF
80689 else
80690 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80692 done
80696 for ac_func in __signbit
80698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80699 echo "$as_me:$LINENO: checking for $ac_func" >&5
80700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80701 if eval "test \"\${$as_ac_var+set}\" = set"; then
80702 echo $ECHO_N "(cached) $ECHO_C" >&6
80703 else
80704 if test x$gcc_no_link = xyes; then
80705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80707 { (exit 1); exit 1; }; }
80709 cat >conftest.$ac_ext <<_ACEOF
80710 /* confdefs.h. */
80711 _ACEOF
80712 cat confdefs.h >>conftest.$ac_ext
80713 cat >>conftest.$ac_ext <<_ACEOF
80714 /* end confdefs.h. */
80715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80717 #define $ac_func innocuous_$ac_func
80719 /* System header to define __stub macros and hopefully few prototypes,
80720 which can conflict with char $ac_func (); below.
80721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80722 <limits.h> exists even on freestanding compilers. */
80724 #ifdef __STDC__
80725 # include <limits.h>
80726 #else
80727 # include <assert.h>
80728 #endif
80730 #undef $ac_func
80732 /* Override any gcc2 internal prototype to avoid an error. */
80733 #ifdef __cplusplus
80734 extern "C"
80736 #endif
80737 /* We use char because int might match the return type of a gcc2
80738 builtin and then its argument prototype would still apply. */
80739 char $ac_func ();
80740 /* The GNU C library defines this for functions which it implements
80741 to always fail with ENOSYS. Some functions are actually named
80742 something starting with __ and the normal name is an alias. */
80743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80744 choke me
80745 #else
80746 char (*f) () = $ac_func;
80747 #endif
80748 #ifdef __cplusplus
80750 #endif
80753 main ()
80755 return f != $ac_func;
80757 return 0;
80759 _ACEOF
80760 rm -f conftest.$ac_objext conftest$ac_exeext
80761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80762 (eval $ac_link) 2>conftest.er1
80763 ac_status=$?
80764 grep -v '^ *+' conftest.er1 >conftest.err
80765 rm -f conftest.er1
80766 cat conftest.err >&5
80767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80768 (exit $ac_status); } &&
80769 { ac_try='test -z "$ac_c_werror_flag"
80770 || test ! -s conftest.err'
80771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80772 (eval $ac_try) 2>&5
80773 ac_status=$?
80774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80775 (exit $ac_status); }; } &&
80776 { ac_try='test -s conftest$ac_exeext'
80777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80778 (eval $ac_try) 2>&5
80779 ac_status=$?
80780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80781 (exit $ac_status); }; }; then
80782 eval "$as_ac_var=yes"
80783 else
80784 echo "$as_me: failed program was:" >&5
80785 sed 's/^/| /' conftest.$ac_ext >&5
80787 eval "$as_ac_var=no"
80789 rm -f conftest.err conftest.$ac_objext \
80790 conftest$ac_exeext conftest.$ac_ext
80792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80794 if test `eval echo '${'$as_ac_var'}'` = yes; then
80795 cat >>confdefs.h <<_ACEOF
80796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80797 _ACEOF
80799 else
80800 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80802 done
80806 for ac_func in __signbitf
80808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80809 echo "$as_me:$LINENO: checking for $ac_func" >&5
80810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80811 if eval "test \"\${$as_ac_var+set}\" = set"; then
80812 echo $ECHO_N "(cached) $ECHO_C" >&6
80813 else
80814 if test x$gcc_no_link = xyes; then
80815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80817 { (exit 1); exit 1; }; }
80819 cat >conftest.$ac_ext <<_ACEOF
80820 /* confdefs.h. */
80821 _ACEOF
80822 cat confdefs.h >>conftest.$ac_ext
80823 cat >>conftest.$ac_ext <<_ACEOF
80824 /* end confdefs.h. */
80825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80827 #define $ac_func innocuous_$ac_func
80829 /* System header to define __stub macros and hopefully few prototypes,
80830 which can conflict with char $ac_func (); below.
80831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80832 <limits.h> exists even on freestanding compilers. */
80834 #ifdef __STDC__
80835 # include <limits.h>
80836 #else
80837 # include <assert.h>
80838 #endif
80840 #undef $ac_func
80842 /* Override any gcc2 internal prototype to avoid an error. */
80843 #ifdef __cplusplus
80844 extern "C"
80846 #endif
80847 /* We use char because int might match the return type of a gcc2
80848 builtin and then its argument prototype would still apply. */
80849 char $ac_func ();
80850 /* The GNU C library defines this for functions which it implements
80851 to always fail with ENOSYS. Some functions are actually named
80852 something starting with __ and the normal name is an alias. */
80853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80854 choke me
80855 #else
80856 char (*f) () = $ac_func;
80857 #endif
80858 #ifdef __cplusplus
80860 #endif
80863 main ()
80865 return f != $ac_func;
80867 return 0;
80869 _ACEOF
80870 rm -f conftest.$ac_objext conftest$ac_exeext
80871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80872 (eval $ac_link) 2>conftest.er1
80873 ac_status=$?
80874 grep -v '^ *+' conftest.er1 >conftest.err
80875 rm -f conftest.er1
80876 cat conftest.err >&5
80877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80878 (exit $ac_status); } &&
80879 { ac_try='test -z "$ac_c_werror_flag"
80880 || test ! -s conftest.err'
80881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80882 (eval $ac_try) 2>&5
80883 ac_status=$?
80884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80885 (exit $ac_status); }; } &&
80886 { ac_try='test -s conftest$ac_exeext'
80887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80888 (eval $ac_try) 2>&5
80889 ac_status=$?
80890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80891 (exit $ac_status); }; }; then
80892 eval "$as_ac_var=yes"
80893 else
80894 echo "$as_me: failed program was:" >&5
80895 sed 's/^/| /' conftest.$ac_ext >&5
80897 eval "$as_ac_var=no"
80899 rm -f conftest.err conftest.$ac_objext \
80900 conftest$ac_exeext conftest.$ac_ext
80902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80904 if test `eval echo '${'$as_ac_var'}'` = yes; then
80905 cat >>confdefs.h <<_ACEOF
80906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80907 _ACEOF
80909 else
80910 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80912 done
80915 if test x$ac_cv_func_copysignl = x"yes"; then
80917 for ac_func in __signbitl
80919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80920 echo "$as_me:$LINENO: checking for $ac_func" >&5
80921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80922 if eval "test \"\${$as_ac_var+set}\" = set"; then
80923 echo $ECHO_N "(cached) $ECHO_C" >&6
80924 else
80925 if test x$gcc_no_link = xyes; then
80926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80928 { (exit 1); exit 1; }; }
80930 cat >conftest.$ac_ext <<_ACEOF
80931 /* confdefs.h. */
80932 _ACEOF
80933 cat confdefs.h >>conftest.$ac_ext
80934 cat >>conftest.$ac_ext <<_ACEOF
80935 /* end confdefs.h. */
80936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80938 #define $ac_func innocuous_$ac_func
80940 /* System header to define __stub macros and hopefully few prototypes,
80941 which can conflict with char $ac_func (); below.
80942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80943 <limits.h> exists even on freestanding compilers. */
80945 #ifdef __STDC__
80946 # include <limits.h>
80947 #else
80948 # include <assert.h>
80949 #endif
80951 #undef $ac_func
80953 /* Override any gcc2 internal prototype to avoid an error. */
80954 #ifdef __cplusplus
80955 extern "C"
80957 #endif
80958 /* We use char because int might match the return type of a gcc2
80959 builtin and then its argument prototype would still apply. */
80960 char $ac_func ();
80961 /* The GNU C library defines this for functions which it implements
80962 to always fail with ENOSYS. Some functions are actually named
80963 something starting with __ and the normal name is an alias. */
80964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80965 choke me
80966 #else
80967 char (*f) () = $ac_func;
80968 #endif
80969 #ifdef __cplusplus
80971 #endif
80974 main ()
80976 return f != $ac_func;
80978 return 0;
80980 _ACEOF
80981 rm -f conftest.$ac_objext conftest$ac_exeext
80982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80983 (eval $ac_link) 2>conftest.er1
80984 ac_status=$?
80985 grep -v '^ *+' conftest.er1 >conftest.err
80986 rm -f conftest.er1
80987 cat conftest.err >&5
80988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80989 (exit $ac_status); } &&
80990 { ac_try='test -z "$ac_c_werror_flag"
80991 || test ! -s conftest.err'
80992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80993 (eval $ac_try) 2>&5
80994 ac_status=$?
80995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80996 (exit $ac_status); }; } &&
80997 { ac_try='test -s conftest$ac_exeext'
80998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80999 (eval $ac_try) 2>&5
81000 ac_status=$?
81001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81002 (exit $ac_status); }; }; then
81003 eval "$as_ac_var=yes"
81004 else
81005 echo "$as_me: failed program was:" >&5
81006 sed 's/^/| /' conftest.$ac_ext >&5
81008 eval "$as_ac_var=no"
81010 rm -f conftest.err conftest.$ac_objext \
81011 conftest$ac_exeext conftest.$ac_ext
81013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81015 if test `eval echo '${'$as_ac_var'}'` = yes; then
81016 cat >>confdefs.h <<_ACEOF
81017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81018 _ACEOF
81020 else
81021 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81023 done
81027 # Used in libmath/Makefile.am.
81028 if test -n "$LIBMATHOBJS"; then
81029 need_libmath=yes
81035 enable_iconv=no
81036 # Only continue checking if the ISO C99 headers exist and support is on.
81037 if test x"$enable_wchar_t" = xyes; then
81039 # Use iconv for wchar_t to char conversions. As such, check for
81040 # X/Open Portability Guide, version 2 features (XPG2).
81041 if test "${ac_cv_header_iconv_h+set}" = set; then
81042 echo "$as_me:$LINENO: checking for iconv.h" >&5
81043 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81044 if test "${ac_cv_header_iconv_h+set}" = set; then
81045 echo $ECHO_N "(cached) $ECHO_C" >&6
81047 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81048 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81049 else
81050 # Is the header compilable?
81051 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81052 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81053 cat >conftest.$ac_ext <<_ACEOF
81054 /* confdefs.h. */
81055 _ACEOF
81056 cat confdefs.h >>conftest.$ac_ext
81057 cat >>conftest.$ac_ext <<_ACEOF
81058 /* end confdefs.h. */
81059 $ac_includes_default
81060 #include <iconv.h>
81061 _ACEOF
81062 rm -f conftest.$ac_objext
81063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81064 (eval $ac_compile) 2>conftest.er1
81065 ac_status=$?
81066 grep -v '^ *+' conftest.er1 >conftest.err
81067 rm -f conftest.er1
81068 cat conftest.err >&5
81069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81070 (exit $ac_status); } &&
81071 { ac_try='test -z "$ac_c_werror_flag"
81072 || test ! -s conftest.err'
81073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81074 (eval $ac_try) 2>&5
81075 ac_status=$?
81076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81077 (exit $ac_status); }; } &&
81078 { ac_try='test -s conftest.$ac_objext'
81079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81080 (eval $ac_try) 2>&5
81081 ac_status=$?
81082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81083 (exit $ac_status); }; }; then
81084 ac_header_compiler=yes
81085 else
81086 echo "$as_me: failed program was:" >&5
81087 sed 's/^/| /' conftest.$ac_ext >&5
81089 ac_header_compiler=no
81091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81093 echo "${ECHO_T}$ac_header_compiler" >&6
81095 # Is the header present?
81096 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81097 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81098 cat >conftest.$ac_ext <<_ACEOF
81099 /* confdefs.h. */
81100 _ACEOF
81101 cat confdefs.h >>conftest.$ac_ext
81102 cat >>conftest.$ac_ext <<_ACEOF
81103 /* end confdefs.h. */
81104 #include <iconv.h>
81105 _ACEOF
81106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81108 ac_status=$?
81109 grep -v '^ *+' conftest.er1 >conftest.err
81110 rm -f conftest.er1
81111 cat conftest.err >&5
81112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81113 (exit $ac_status); } >/dev/null; then
81114 if test -s conftest.err; then
81115 ac_cpp_err=$ac_c_preproc_warn_flag
81116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81117 else
81118 ac_cpp_err=
81120 else
81121 ac_cpp_err=yes
81123 if test -z "$ac_cpp_err"; then
81124 ac_header_preproc=yes
81125 else
81126 echo "$as_me: failed program was:" >&5
81127 sed 's/^/| /' conftest.$ac_ext >&5
81129 ac_header_preproc=no
81131 rm -f conftest.err conftest.$ac_ext
81132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81133 echo "${ECHO_T}$ac_header_preproc" >&6
81135 # So? What about this header?
81136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81137 yes:no: )
81138 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81139 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81140 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81141 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81142 ac_header_preproc=yes
81144 no:yes:* )
81145 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81146 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81147 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81148 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81149 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81150 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81151 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81152 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81153 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81154 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81155 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81156 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81158 cat <<\_ASBOX
81159 ## ----------------------------------------- ##
81160 ## Report this to the package-unused lists. ##
81161 ## ----------------------------------------- ##
81162 _ASBOX
81164 sed "s/^/$as_me: WARNING: /" >&2
81166 esac
81167 echo "$as_me:$LINENO: checking for iconv.h" >&5
81168 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81169 if test "${ac_cv_header_iconv_h+set}" = set; then
81170 echo $ECHO_N "(cached) $ECHO_C" >&6
81171 else
81172 ac_cv_header_iconv_h=$ac_header_preproc
81174 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81175 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81178 if test $ac_cv_header_iconv_h = yes; then
81179 ac_has_iconv_h=yes
81180 else
81181 ac_has_iconv_h=no
81185 if test "${ac_cv_header_langinfo_h+set}" = set; then
81186 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81187 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81188 if test "${ac_cv_header_langinfo_h+set}" = set; then
81189 echo $ECHO_N "(cached) $ECHO_C" >&6
81191 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81192 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81193 else
81194 # Is the header compilable?
81195 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81196 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81197 cat >conftest.$ac_ext <<_ACEOF
81198 /* confdefs.h. */
81199 _ACEOF
81200 cat confdefs.h >>conftest.$ac_ext
81201 cat >>conftest.$ac_ext <<_ACEOF
81202 /* end confdefs.h. */
81203 $ac_includes_default
81204 #include <langinfo.h>
81205 _ACEOF
81206 rm -f conftest.$ac_objext
81207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81208 (eval $ac_compile) 2>conftest.er1
81209 ac_status=$?
81210 grep -v '^ *+' conftest.er1 >conftest.err
81211 rm -f conftest.er1
81212 cat conftest.err >&5
81213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81214 (exit $ac_status); } &&
81215 { ac_try='test -z "$ac_c_werror_flag"
81216 || test ! -s conftest.err'
81217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81218 (eval $ac_try) 2>&5
81219 ac_status=$?
81220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81221 (exit $ac_status); }; } &&
81222 { ac_try='test -s conftest.$ac_objext'
81223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81224 (eval $ac_try) 2>&5
81225 ac_status=$?
81226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81227 (exit $ac_status); }; }; then
81228 ac_header_compiler=yes
81229 else
81230 echo "$as_me: failed program was:" >&5
81231 sed 's/^/| /' conftest.$ac_ext >&5
81233 ac_header_compiler=no
81235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81237 echo "${ECHO_T}$ac_header_compiler" >&6
81239 # Is the header present?
81240 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81241 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81242 cat >conftest.$ac_ext <<_ACEOF
81243 /* confdefs.h. */
81244 _ACEOF
81245 cat confdefs.h >>conftest.$ac_ext
81246 cat >>conftest.$ac_ext <<_ACEOF
81247 /* end confdefs.h. */
81248 #include <langinfo.h>
81249 _ACEOF
81250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81252 ac_status=$?
81253 grep -v '^ *+' conftest.er1 >conftest.err
81254 rm -f conftest.er1
81255 cat conftest.err >&5
81256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81257 (exit $ac_status); } >/dev/null; then
81258 if test -s conftest.err; then
81259 ac_cpp_err=$ac_c_preproc_warn_flag
81260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81261 else
81262 ac_cpp_err=
81264 else
81265 ac_cpp_err=yes
81267 if test -z "$ac_cpp_err"; then
81268 ac_header_preproc=yes
81269 else
81270 echo "$as_me: failed program was:" >&5
81271 sed 's/^/| /' conftest.$ac_ext >&5
81273 ac_header_preproc=no
81275 rm -f conftest.err conftest.$ac_ext
81276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81277 echo "${ECHO_T}$ac_header_preproc" >&6
81279 # So? What about this header?
81280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81281 yes:no: )
81282 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81283 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81284 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81285 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81286 ac_header_preproc=yes
81288 no:yes:* )
81289 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81290 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81291 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81292 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81293 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81294 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81295 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81296 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81297 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81298 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81299 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81300 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81302 cat <<\_ASBOX
81303 ## ----------------------------------------- ##
81304 ## Report this to the package-unused lists. ##
81305 ## ----------------------------------------- ##
81306 _ASBOX
81308 sed "s/^/$as_me: WARNING: /" >&2
81310 esac
81311 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81312 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81313 if test "${ac_cv_header_langinfo_h+set}" = set; then
81314 echo $ECHO_N "(cached) $ECHO_C" >&6
81315 else
81316 ac_cv_header_langinfo_h=$ac_header_preproc
81318 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81319 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81322 if test $ac_cv_header_langinfo_h = yes; then
81323 ac_has_langinfo_h=yes
81324 else
81325 ac_has_langinfo_h=no
81330 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81331 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81332 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81333 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81334 echo $ECHO_N "(cached) $ECHO_C" >&6
81335 else
81336 ac_check_lib_save_LIBS=$LIBS
81337 LIBS="-liconv $LIBS"
81338 if test x$gcc_no_link = xyes; then
81339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81341 { (exit 1); exit 1; }; }
81343 cat >conftest.$ac_ext <<_ACEOF
81344 /* confdefs.h. */
81345 _ACEOF
81346 cat confdefs.h >>conftest.$ac_ext
81347 cat >>conftest.$ac_ext <<_ACEOF
81348 /* end confdefs.h. */
81350 /* Override any gcc2 internal prototype to avoid an error. */
81351 #ifdef __cplusplus
81352 extern "C"
81353 #endif
81354 /* We use char because int might match the return type of a gcc2
81355 builtin and then its argument prototype would still apply. */
81356 char iconv ();
81358 main ()
81360 iconv ();
81362 return 0;
81364 _ACEOF
81365 rm -f conftest.$ac_objext conftest$ac_exeext
81366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81367 (eval $ac_link) 2>conftest.er1
81368 ac_status=$?
81369 grep -v '^ *+' conftest.er1 >conftest.err
81370 rm -f conftest.er1
81371 cat conftest.err >&5
81372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81373 (exit $ac_status); } &&
81374 { ac_try='test -z "$ac_c_werror_flag"
81375 || test ! -s conftest.err'
81376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81377 (eval $ac_try) 2>&5
81378 ac_status=$?
81379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81380 (exit $ac_status); }; } &&
81381 { ac_try='test -s conftest$ac_exeext'
81382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81383 (eval $ac_try) 2>&5
81384 ac_status=$?
81385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81386 (exit $ac_status); }; }; then
81387 ac_cv_lib_iconv_iconv=yes
81388 else
81389 echo "$as_me: failed program was:" >&5
81390 sed 's/^/| /' conftest.$ac_ext >&5
81392 ac_cv_lib_iconv_iconv=no
81394 rm -f conftest.err conftest.$ac_objext \
81395 conftest$ac_exeext conftest.$ac_ext
81396 LIBS=$ac_check_lib_save_LIBS
81398 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81399 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81400 if test $ac_cv_lib_iconv_iconv = yes; then
81401 LIBICONV="-liconv"
81404 ac_save_LIBS="$LIBS"
81405 LIBS="$LIBS $LIBICONV"
81412 for ac_func in iconv_open iconv_close iconv nl_langinfo
81414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81415 echo "$as_me:$LINENO: checking for $ac_func" >&5
81416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81417 if eval "test \"\${$as_ac_var+set}\" = set"; then
81418 echo $ECHO_N "(cached) $ECHO_C" >&6
81419 else
81420 if test x$gcc_no_link = xyes; then
81421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81423 { (exit 1); exit 1; }; }
81425 cat >conftest.$ac_ext <<_ACEOF
81426 /* confdefs.h. */
81427 _ACEOF
81428 cat confdefs.h >>conftest.$ac_ext
81429 cat >>conftest.$ac_ext <<_ACEOF
81430 /* end confdefs.h. */
81431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81433 #define $ac_func innocuous_$ac_func
81435 /* System header to define __stub macros and hopefully few prototypes,
81436 which can conflict with char $ac_func (); below.
81437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81438 <limits.h> exists even on freestanding compilers. */
81440 #ifdef __STDC__
81441 # include <limits.h>
81442 #else
81443 # include <assert.h>
81444 #endif
81446 #undef $ac_func
81448 /* Override any gcc2 internal prototype to avoid an error. */
81449 #ifdef __cplusplus
81450 extern "C"
81452 #endif
81453 /* We use char because int might match the return type of a gcc2
81454 builtin and then its argument prototype would still apply. */
81455 char $ac_func ();
81456 /* The GNU C library defines this for functions which it implements
81457 to always fail with ENOSYS. Some functions are actually named
81458 something starting with __ and the normal name is an alias. */
81459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81460 choke me
81461 #else
81462 char (*f) () = $ac_func;
81463 #endif
81464 #ifdef __cplusplus
81466 #endif
81469 main ()
81471 return f != $ac_func;
81473 return 0;
81475 _ACEOF
81476 rm -f conftest.$ac_objext conftest$ac_exeext
81477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81478 (eval $ac_link) 2>conftest.er1
81479 ac_status=$?
81480 grep -v '^ *+' conftest.er1 >conftest.err
81481 rm -f conftest.er1
81482 cat conftest.err >&5
81483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81484 (exit $ac_status); } &&
81485 { ac_try='test -z "$ac_c_werror_flag"
81486 || test ! -s conftest.err'
81487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81488 (eval $ac_try) 2>&5
81489 ac_status=$?
81490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81491 (exit $ac_status); }; } &&
81492 { ac_try='test -s conftest$ac_exeext'
81493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81494 (eval $ac_try) 2>&5
81495 ac_status=$?
81496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81497 (exit $ac_status); }; }; then
81498 eval "$as_ac_var=yes"
81499 else
81500 echo "$as_me: failed program was:" >&5
81501 sed 's/^/| /' conftest.$ac_ext >&5
81503 eval "$as_ac_var=no"
81505 rm -f conftest.err conftest.$ac_objext \
81506 conftest$ac_exeext conftest.$ac_ext
81508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81510 if test `eval echo '${'$as_ac_var'}'` = yes; then
81511 cat >>confdefs.h <<_ACEOF
81512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81513 _ACEOF
81514 ac_XPG2funcs=yes
81515 else
81516 ac_XPG2funcs=no
81518 done
81521 LIBS="$ac_save_LIBS"
81523 if test x"$ac_has_iconv_h" = xyes &&
81524 test x"$ac_has_langinfo_h" = xyes &&
81525 test x"$ac_XPG2funcs" = xyes;
81526 then
81528 cat >>confdefs.h <<\_ACEOF
81529 #define _GLIBCXX_USE_ICONV 1
81530 _ACEOF
81532 enable_iconv=yes
81535 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81536 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81537 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81538 echo "${ECHO_T}$enable_iconv" >&6
81540 cat >>confdefs.h <<\_ACEOF
81541 #define HAVE_COPYSIGN 1
81542 _ACEOF
81544 cat >>confdefs.h <<\_ACEOF
81545 #define HAVE_COPYSIGNF 1
81546 _ACEOF
81548 cat >>confdefs.h <<\_ACEOF
81549 #define HAVE_FINITEF 1
81550 _ACEOF
81552 cat >>confdefs.h <<\_ACEOF
81553 #define HAVE_FINITE 1
81554 _ACEOF
81556 cat >>confdefs.h <<\_ACEOF
81557 #define HAVE_FREXPF 1
81558 _ACEOF
81560 cat >>confdefs.h <<\_ACEOF
81561 #define HAVE_HYPOTF 1
81562 _ACEOF
81564 cat >>confdefs.h <<\_ACEOF
81565 #define HAVE_ISINF 1
81566 _ACEOF
81568 cat >>confdefs.h <<\_ACEOF
81569 #define HAVE_ISINFF 1
81570 _ACEOF
81572 cat >>confdefs.h <<\_ACEOF
81573 #define HAVE_ISNAN 1
81574 _ACEOF
81576 cat >>confdefs.h <<\_ACEOF
81577 #define HAVE_ISNANF 1
81578 _ACEOF
81580 if test x"long_double_math_on_this_cpu" = x"yes"; then
81581 cat >>confdefs.h <<\_ACEOF
81582 #define HAVE_FINITEL 1
81583 _ACEOF
81585 cat >>confdefs.h <<\_ACEOF
81586 #define HAVE_ISINFL 1
81587 _ACEOF
81589 cat >>confdefs.h <<\_ACEOF
81590 #define HAVE_ISNANL 1
81591 _ACEOF
81595 *-netware)
81604 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81605 sys/types.h locale.h float.h inttypes.h
81607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81609 echo "$as_me:$LINENO: checking for $ac_header" >&5
81610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81612 echo $ECHO_N "(cached) $ECHO_C" >&6
81614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81616 else
81617 # Is the header compilable?
81618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81620 cat >conftest.$ac_ext <<_ACEOF
81621 /* confdefs.h. */
81622 _ACEOF
81623 cat confdefs.h >>conftest.$ac_ext
81624 cat >>conftest.$ac_ext <<_ACEOF
81625 /* end confdefs.h. */
81626 $ac_includes_default
81627 #include <$ac_header>
81628 _ACEOF
81629 rm -f conftest.$ac_objext
81630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81631 (eval $ac_compile) 2>conftest.er1
81632 ac_status=$?
81633 grep -v '^ *+' conftest.er1 >conftest.err
81634 rm -f conftest.er1
81635 cat conftest.err >&5
81636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81637 (exit $ac_status); } &&
81638 { ac_try='test -z "$ac_c_werror_flag"
81639 || test ! -s conftest.err'
81640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81641 (eval $ac_try) 2>&5
81642 ac_status=$?
81643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81644 (exit $ac_status); }; } &&
81645 { ac_try='test -s conftest.$ac_objext'
81646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81647 (eval $ac_try) 2>&5
81648 ac_status=$?
81649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81650 (exit $ac_status); }; }; then
81651 ac_header_compiler=yes
81652 else
81653 echo "$as_me: failed program was:" >&5
81654 sed 's/^/| /' conftest.$ac_ext >&5
81656 ac_header_compiler=no
81658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81660 echo "${ECHO_T}$ac_header_compiler" >&6
81662 # Is the header present?
81663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81665 cat >conftest.$ac_ext <<_ACEOF
81666 /* confdefs.h. */
81667 _ACEOF
81668 cat confdefs.h >>conftest.$ac_ext
81669 cat >>conftest.$ac_ext <<_ACEOF
81670 /* end confdefs.h. */
81671 #include <$ac_header>
81672 _ACEOF
81673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81675 ac_status=$?
81676 grep -v '^ *+' conftest.er1 >conftest.err
81677 rm -f conftest.er1
81678 cat conftest.err >&5
81679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81680 (exit $ac_status); } >/dev/null; then
81681 if test -s conftest.err; then
81682 ac_cpp_err=$ac_c_preproc_warn_flag
81683 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81684 else
81685 ac_cpp_err=
81687 else
81688 ac_cpp_err=yes
81690 if test -z "$ac_cpp_err"; then
81691 ac_header_preproc=yes
81692 else
81693 echo "$as_me: failed program was:" >&5
81694 sed 's/^/| /' conftest.$ac_ext >&5
81696 ac_header_preproc=no
81698 rm -f conftest.err conftest.$ac_ext
81699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81700 echo "${ECHO_T}$ac_header_preproc" >&6
81702 # So? What about this header?
81703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81704 yes:no: )
81705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81709 ac_header_preproc=yes
81711 no:yes:* )
81712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81725 cat <<\_ASBOX
81726 ## ----------------------------------------- ##
81727 ## Report this to the package-unused lists. ##
81728 ## ----------------------------------------- ##
81729 _ASBOX
81731 sed "s/^/$as_me: WARNING: /" >&2
81733 esac
81734 echo "$as_me:$LINENO: checking for $ac_header" >&5
81735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81737 echo $ECHO_N "(cached) $ECHO_C" >&6
81738 else
81739 eval "$as_ac_Header=\$ac_header_preproc"
81741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81746 cat >>confdefs.h <<_ACEOF
81747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81748 _ACEOF
81752 done
81754 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81757 # If we're not using GNU ld, then there's no point in even trying these
81758 # tests. Check for that first. We should have already tested for gld
81759 # by now (in libtool), but require it now just to be safe...
81760 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81761 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81765 # The name set by libtool depends on the version of libtool. Shame on us
81766 # for depending on an impl detail, but c'est la vie. Older versions used
81767 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81768 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81769 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81770 # set (hence we're using an older libtool), then set it.
81771 if test x${with_gnu_ld+set} != xset; then
81772 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81773 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81774 with_gnu_ld=no
81775 else
81776 with_gnu_ld=$ac_cv_prog_gnu_ld
81780 # Start by getting the version number. I think the libtool test already
81781 # does some of this, but throws away the result.
81783 ldver=`$LD --version 2>/dev/null | head -1 | \
81784 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81786 glibcxx_gnu_ld_version=`echo $ldver | \
81787 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81789 # Set --gc-sections.
81790 if test "$with_gnu_ld" = "notbroken"; then
81791 # GNU ld it is! Joy and bunny rabbits!
81793 # All these tests are for C++; save the language and the compiler flags.
81794 # Need to do this so that g++ won't try to link in libstdc++
81795 ac_test_CFLAGS="${CFLAGS+set}"
81796 ac_save_CFLAGS="$CFLAGS"
81797 CFLAGS='-x c++ -Wl,--gc-sections'
81799 # Check for -Wl,--gc-sections
81800 # XXX This test is broken at the moment, as symbols required for linking
81801 # are now in libsupc++ (not built yet). In addition, this test has
81802 # cored on solaris in the past. In addition, --gc-sections doesn't
81803 # really work at the moment (keeps on discarding used sections, first
81804 # .eh_frame and now some of the glibc sections for iconv).
81805 # Bzzzzt. Thanks for playing, maybe next time.
81806 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81807 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81808 if test "$cross_compiling" = yes; then
81809 ac_sectionLDflags=yes
81810 else
81811 cat >conftest.$ac_ext <<_ACEOF
81812 /* confdefs.h. */
81813 _ACEOF
81814 cat confdefs.h >>conftest.$ac_ext
81815 cat >>conftest.$ac_ext <<_ACEOF
81816 /* end confdefs.h. */
81818 int main(void)
81820 try { throw 1; }
81821 catch (...) { };
81822 return 0;
81825 _ACEOF
81826 rm -f conftest$ac_exeext
81827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81828 (eval $ac_link) 2>&5
81829 ac_status=$?
81830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81833 (eval $ac_try) 2>&5
81834 ac_status=$?
81835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81836 (exit $ac_status); }; }; then
81837 ac_sectionLDflags=yes
81838 else
81839 echo "$as_me: program exited with status $ac_status" >&5
81840 echo "$as_me: failed program was:" >&5
81841 sed 's/^/| /' conftest.$ac_ext >&5
81843 ( exit $ac_status )
81844 ac_sectionLDflags=no
81846 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81848 if test "$ac_test_CFLAGS" = set; then
81849 CFLAGS="$ac_save_CFLAGS"
81850 else
81851 # this is the suspicious part
81852 CFLAGS=''
81854 if test "$ac_sectionLDflags" = "yes"; then
81855 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81857 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81858 echo "${ECHO_T}$ac_sectionLDflags" >&6
81861 # Set linker optimization flags.
81862 if test x"$with_gnu_ld" = x"yes"; then
81863 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81871 echo "$as_me:$LINENO: checking for main in -lm" >&5
81872 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81873 if test "${ac_cv_lib_m_main+set}" = set; then
81874 echo $ECHO_N "(cached) $ECHO_C" >&6
81875 else
81876 ac_check_lib_save_LIBS=$LIBS
81877 LIBS="-lm $LIBS"
81878 if test x$gcc_no_link = xyes; then
81879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81881 { (exit 1); exit 1; }; }
81883 cat >conftest.$ac_ext <<_ACEOF
81884 /* confdefs.h. */
81885 _ACEOF
81886 cat confdefs.h >>conftest.$ac_ext
81887 cat >>conftest.$ac_ext <<_ACEOF
81888 /* end confdefs.h. */
81892 main ()
81894 main ();
81896 return 0;
81898 _ACEOF
81899 rm -f conftest.$ac_objext conftest$ac_exeext
81900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81901 (eval $ac_link) 2>conftest.er1
81902 ac_status=$?
81903 grep -v '^ *+' conftest.er1 >conftest.err
81904 rm -f conftest.er1
81905 cat conftest.err >&5
81906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81907 (exit $ac_status); } &&
81908 { ac_try='test -z "$ac_c_werror_flag"
81909 || test ! -s conftest.err'
81910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81911 (eval $ac_try) 2>&5
81912 ac_status=$?
81913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81914 (exit $ac_status); }; } &&
81915 { ac_try='test -s conftest$ac_exeext'
81916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81917 (eval $ac_try) 2>&5
81918 ac_status=$?
81919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81920 (exit $ac_status); }; }; then
81921 ac_cv_lib_m_main=yes
81922 else
81923 echo "$as_me: failed program was:" >&5
81924 sed 's/^/| /' conftest.$ac_ext >&5
81926 ac_cv_lib_m_main=no
81928 rm -f conftest.err conftest.$ac_objext \
81929 conftest$ac_exeext conftest.$ac_ext
81930 LIBS=$ac_check_lib_save_LIBS
81932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81933 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81934 if test $ac_cv_lib_m_main = yes; then
81935 cat >>confdefs.h <<_ACEOF
81936 #define HAVE_LIBM 1
81937 _ACEOF
81939 LIBS="-lm $LIBS"
81944 for ac_func in copysignf
81946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81947 echo "$as_me:$LINENO: checking for $ac_func" >&5
81948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81949 if eval "test \"\${$as_ac_var+set}\" = set"; then
81950 echo $ECHO_N "(cached) $ECHO_C" >&6
81951 else
81952 if test x$gcc_no_link = xyes; then
81953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81955 { (exit 1); exit 1; }; }
81957 cat >conftest.$ac_ext <<_ACEOF
81958 /* confdefs.h. */
81959 _ACEOF
81960 cat confdefs.h >>conftest.$ac_ext
81961 cat >>conftest.$ac_ext <<_ACEOF
81962 /* end confdefs.h. */
81963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81965 #define $ac_func innocuous_$ac_func
81967 /* System header to define __stub macros and hopefully few prototypes,
81968 which can conflict with char $ac_func (); below.
81969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81970 <limits.h> exists even on freestanding compilers. */
81972 #ifdef __STDC__
81973 # include <limits.h>
81974 #else
81975 # include <assert.h>
81976 #endif
81978 #undef $ac_func
81980 /* Override any gcc2 internal prototype to avoid an error. */
81981 #ifdef __cplusplus
81982 extern "C"
81984 #endif
81985 /* We use char because int might match the return type of a gcc2
81986 builtin and then its argument prototype would still apply. */
81987 char $ac_func ();
81988 /* The GNU C library defines this for functions which it implements
81989 to always fail with ENOSYS. Some functions are actually named
81990 something starting with __ and the normal name is an alias. */
81991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81992 choke me
81993 #else
81994 char (*f) () = $ac_func;
81995 #endif
81996 #ifdef __cplusplus
81998 #endif
82001 main ()
82003 return f != $ac_func;
82005 return 0;
82007 _ACEOF
82008 rm -f conftest.$ac_objext conftest$ac_exeext
82009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82010 (eval $ac_link) 2>conftest.er1
82011 ac_status=$?
82012 grep -v '^ *+' conftest.er1 >conftest.err
82013 rm -f conftest.er1
82014 cat conftest.err >&5
82015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82016 (exit $ac_status); } &&
82017 { ac_try='test -z "$ac_c_werror_flag"
82018 || test ! -s conftest.err'
82019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82020 (eval $ac_try) 2>&5
82021 ac_status=$?
82022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82023 (exit $ac_status); }; } &&
82024 { ac_try='test -s conftest$ac_exeext'
82025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82026 (eval $ac_try) 2>&5
82027 ac_status=$?
82028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82029 (exit $ac_status); }; }; then
82030 eval "$as_ac_var=yes"
82031 else
82032 echo "$as_me: failed program was:" >&5
82033 sed 's/^/| /' conftest.$ac_ext >&5
82035 eval "$as_ac_var=no"
82037 rm -f conftest.err conftest.$ac_objext \
82038 conftest$ac_exeext conftest.$ac_ext
82040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82042 if test `eval echo '${'$as_ac_var'}'` = yes; then
82043 cat >>confdefs.h <<_ACEOF
82044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82045 _ACEOF
82047 else
82048 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82050 done
82054 for ac_func in __signbit
82056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82057 echo "$as_me:$LINENO: checking for $ac_func" >&5
82058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82059 if eval "test \"\${$as_ac_var+set}\" = set"; then
82060 echo $ECHO_N "(cached) $ECHO_C" >&6
82061 else
82062 if test x$gcc_no_link = xyes; then
82063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82065 { (exit 1); exit 1; }; }
82067 cat >conftest.$ac_ext <<_ACEOF
82068 /* confdefs.h. */
82069 _ACEOF
82070 cat confdefs.h >>conftest.$ac_ext
82071 cat >>conftest.$ac_ext <<_ACEOF
82072 /* end confdefs.h. */
82073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82075 #define $ac_func innocuous_$ac_func
82077 /* System header to define __stub macros and hopefully few prototypes,
82078 which can conflict with char $ac_func (); below.
82079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82080 <limits.h> exists even on freestanding compilers. */
82082 #ifdef __STDC__
82083 # include <limits.h>
82084 #else
82085 # include <assert.h>
82086 #endif
82088 #undef $ac_func
82090 /* Override any gcc2 internal prototype to avoid an error. */
82091 #ifdef __cplusplus
82092 extern "C"
82094 #endif
82095 /* We use char because int might match the return type of a gcc2
82096 builtin and then its argument prototype would still apply. */
82097 char $ac_func ();
82098 /* The GNU C library defines this for functions which it implements
82099 to always fail with ENOSYS. Some functions are actually named
82100 something starting with __ and the normal name is an alias. */
82101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82102 choke me
82103 #else
82104 char (*f) () = $ac_func;
82105 #endif
82106 #ifdef __cplusplus
82108 #endif
82111 main ()
82113 return f != $ac_func;
82115 return 0;
82117 _ACEOF
82118 rm -f conftest.$ac_objext conftest$ac_exeext
82119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82120 (eval $ac_link) 2>conftest.er1
82121 ac_status=$?
82122 grep -v '^ *+' conftest.er1 >conftest.err
82123 rm -f conftest.er1
82124 cat conftest.err >&5
82125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82126 (exit $ac_status); } &&
82127 { ac_try='test -z "$ac_c_werror_flag"
82128 || test ! -s conftest.err'
82129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82130 (eval $ac_try) 2>&5
82131 ac_status=$?
82132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82133 (exit $ac_status); }; } &&
82134 { ac_try='test -s conftest$ac_exeext'
82135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82136 (eval $ac_try) 2>&5
82137 ac_status=$?
82138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82139 (exit $ac_status); }; }; then
82140 eval "$as_ac_var=yes"
82141 else
82142 echo "$as_me: failed program was:" >&5
82143 sed 's/^/| /' conftest.$ac_ext >&5
82145 eval "$as_ac_var=no"
82147 rm -f conftest.err conftest.$ac_objext \
82148 conftest$ac_exeext conftest.$ac_ext
82150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82152 if test `eval echo '${'$as_ac_var'}'` = yes; then
82153 cat >>confdefs.h <<_ACEOF
82154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82155 _ACEOF
82157 else
82158 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82160 done
82164 for ac_func in __signbitf
82166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82167 echo "$as_me:$LINENO: checking for $ac_func" >&5
82168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82169 if eval "test \"\${$as_ac_var+set}\" = set"; then
82170 echo $ECHO_N "(cached) $ECHO_C" >&6
82171 else
82172 if test x$gcc_no_link = xyes; then
82173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82175 { (exit 1); exit 1; }; }
82177 cat >conftest.$ac_ext <<_ACEOF
82178 /* confdefs.h. */
82179 _ACEOF
82180 cat confdefs.h >>conftest.$ac_ext
82181 cat >>conftest.$ac_ext <<_ACEOF
82182 /* end confdefs.h. */
82183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82185 #define $ac_func innocuous_$ac_func
82187 /* System header to define __stub macros and hopefully few prototypes,
82188 which can conflict with char $ac_func (); below.
82189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82190 <limits.h> exists even on freestanding compilers. */
82192 #ifdef __STDC__
82193 # include <limits.h>
82194 #else
82195 # include <assert.h>
82196 #endif
82198 #undef $ac_func
82200 /* Override any gcc2 internal prototype to avoid an error. */
82201 #ifdef __cplusplus
82202 extern "C"
82204 #endif
82205 /* We use char because int might match the return type of a gcc2
82206 builtin and then its argument prototype would still apply. */
82207 char $ac_func ();
82208 /* The GNU C library defines this for functions which it implements
82209 to always fail with ENOSYS. Some functions are actually named
82210 something starting with __ and the normal name is an alias. */
82211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82212 choke me
82213 #else
82214 char (*f) () = $ac_func;
82215 #endif
82216 #ifdef __cplusplus
82218 #endif
82221 main ()
82223 return f != $ac_func;
82225 return 0;
82227 _ACEOF
82228 rm -f conftest.$ac_objext conftest$ac_exeext
82229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82230 (eval $ac_link) 2>conftest.er1
82231 ac_status=$?
82232 grep -v '^ *+' conftest.er1 >conftest.err
82233 rm -f conftest.er1
82234 cat conftest.err >&5
82235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82236 (exit $ac_status); } &&
82237 { ac_try='test -z "$ac_c_werror_flag"
82238 || test ! -s conftest.err'
82239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82240 (eval $ac_try) 2>&5
82241 ac_status=$?
82242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82243 (exit $ac_status); }; } &&
82244 { ac_try='test -s conftest$ac_exeext'
82245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82246 (eval $ac_try) 2>&5
82247 ac_status=$?
82248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82249 (exit $ac_status); }; }; then
82250 eval "$as_ac_var=yes"
82251 else
82252 echo "$as_me: failed program was:" >&5
82253 sed 's/^/| /' conftest.$ac_ext >&5
82255 eval "$as_ac_var=no"
82257 rm -f conftest.err conftest.$ac_objext \
82258 conftest$ac_exeext conftest.$ac_ext
82260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82262 if test `eval echo '${'$as_ac_var'}'` = yes; then
82263 cat >>confdefs.h <<_ACEOF
82264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82265 _ACEOF
82267 else
82268 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82270 done
82273 if test x$ac_cv_func_copysignl = x"yes"; then
82275 for ac_func in __signbitl
82277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82278 echo "$as_me:$LINENO: checking for $ac_func" >&5
82279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82280 if eval "test \"\${$as_ac_var+set}\" = set"; then
82281 echo $ECHO_N "(cached) $ECHO_C" >&6
82282 else
82283 if test x$gcc_no_link = xyes; then
82284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82286 { (exit 1); exit 1; }; }
82288 cat >conftest.$ac_ext <<_ACEOF
82289 /* confdefs.h. */
82290 _ACEOF
82291 cat confdefs.h >>conftest.$ac_ext
82292 cat >>conftest.$ac_ext <<_ACEOF
82293 /* end confdefs.h. */
82294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82296 #define $ac_func innocuous_$ac_func
82298 /* System header to define __stub macros and hopefully few prototypes,
82299 which can conflict with char $ac_func (); below.
82300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82301 <limits.h> exists even on freestanding compilers. */
82303 #ifdef __STDC__
82304 # include <limits.h>
82305 #else
82306 # include <assert.h>
82307 #endif
82309 #undef $ac_func
82311 /* Override any gcc2 internal prototype to avoid an error. */
82312 #ifdef __cplusplus
82313 extern "C"
82315 #endif
82316 /* We use char because int might match the return type of a gcc2
82317 builtin and then its argument prototype would still apply. */
82318 char $ac_func ();
82319 /* The GNU C library defines this for functions which it implements
82320 to always fail with ENOSYS. Some functions are actually named
82321 something starting with __ and the normal name is an alias. */
82322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82323 choke me
82324 #else
82325 char (*f) () = $ac_func;
82326 #endif
82327 #ifdef __cplusplus
82329 #endif
82332 main ()
82334 return f != $ac_func;
82336 return 0;
82338 _ACEOF
82339 rm -f conftest.$ac_objext conftest$ac_exeext
82340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82341 (eval $ac_link) 2>conftest.er1
82342 ac_status=$?
82343 grep -v '^ *+' conftest.er1 >conftest.err
82344 rm -f conftest.er1
82345 cat conftest.err >&5
82346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82347 (exit $ac_status); } &&
82348 { ac_try='test -z "$ac_c_werror_flag"
82349 || test ! -s conftest.err'
82350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82351 (eval $ac_try) 2>&5
82352 ac_status=$?
82353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82354 (exit $ac_status); }; } &&
82355 { ac_try='test -s conftest$ac_exeext'
82356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82357 (eval $ac_try) 2>&5
82358 ac_status=$?
82359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82360 (exit $ac_status); }; }; then
82361 eval "$as_ac_var=yes"
82362 else
82363 echo "$as_me: failed program was:" >&5
82364 sed 's/^/| /' conftest.$ac_ext >&5
82366 eval "$as_ac_var=no"
82368 rm -f conftest.err conftest.$ac_objext \
82369 conftest$ac_exeext conftest.$ac_ext
82371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82373 if test `eval echo '${'$as_ac_var'}'` = yes; then
82374 cat >>confdefs.h <<_ACEOF
82375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82376 _ACEOF
82378 else
82379 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82381 done
82385 # Used in libmath/Makefile.am.
82386 if test -n "$LIBMATHOBJS"; then
82387 need_libmath=yes
82393 enable_iconv=no
82394 # Only continue checking if the ISO C99 headers exist and support is on.
82395 if test x"$enable_wchar_t" = xyes; then
82397 # Use iconv for wchar_t to char conversions. As such, check for
82398 # X/Open Portability Guide, version 2 features (XPG2).
82399 if test "${ac_cv_header_iconv_h+set}" = set; then
82400 echo "$as_me:$LINENO: checking for iconv.h" >&5
82401 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82402 if test "${ac_cv_header_iconv_h+set}" = set; then
82403 echo $ECHO_N "(cached) $ECHO_C" >&6
82405 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82406 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82407 else
82408 # Is the header compilable?
82409 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82410 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82411 cat >conftest.$ac_ext <<_ACEOF
82412 /* confdefs.h. */
82413 _ACEOF
82414 cat confdefs.h >>conftest.$ac_ext
82415 cat >>conftest.$ac_ext <<_ACEOF
82416 /* end confdefs.h. */
82417 $ac_includes_default
82418 #include <iconv.h>
82419 _ACEOF
82420 rm -f conftest.$ac_objext
82421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82422 (eval $ac_compile) 2>conftest.er1
82423 ac_status=$?
82424 grep -v '^ *+' conftest.er1 >conftest.err
82425 rm -f conftest.er1
82426 cat conftest.err >&5
82427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82428 (exit $ac_status); } &&
82429 { ac_try='test -z "$ac_c_werror_flag"
82430 || test ! -s conftest.err'
82431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82432 (eval $ac_try) 2>&5
82433 ac_status=$?
82434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82435 (exit $ac_status); }; } &&
82436 { ac_try='test -s conftest.$ac_objext'
82437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82438 (eval $ac_try) 2>&5
82439 ac_status=$?
82440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82441 (exit $ac_status); }; }; then
82442 ac_header_compiler=yes
82443 else
82444 echo "$as_me: failed program was:" >&5
82445 sed 's/^/| /' conftest.$ac_ext >&5
82447 ac_header_compiler=no
82449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82451 echo "${ECHO_T}$ac_header_compiler" >&6
82453 # Is the header present?
82454 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82455 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82456 cat >conftest.$ac_ext <<_ACEOF
82457 /* confdefs.h. */
82458 _ACEOF
82459 cat confdefs.h >>conftest.$ac_ext
82460 cat >>conftest.$ac_ext <<_ACEOF
82461 /* end confdefs.h. */
82462 #include <iconv.h>
82463 _ACEOF
82464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82466 ac_status=$?
82467 grep -v '^ *+' conftest.er1 >conftest.err
82468 rm -f conftest.er1
82469 cat conftest.err >&5
82470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82471 (exit $ac_status); } >/dev/null; then
82472 if test -s conftest.err; then
82473 ac_cpp_err=$ac_c_preproc_warn_flag
82474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82475 else
82476 ac_cpp_err=
82478 else
82479 ac_cpp_err=yes
82481 if test -z "$ac_cpp_err"; then
82482 ac_header_preproc=yes
82483 else
82484 echo "$as_me: failed program was:" >&5
82485 sed 's/^/| /' conftest.$ac_ext >&5
82487 ac_header_preproc=no
82489 rm -f conftest.err conftest.$ac_ext
82490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82491 echo "${ECHO_T}$ac_header_preproc" >&6
82493 # So? What about this header?
82494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82495 yes:no: )
82496 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82497 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82498 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82499 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82500 ac_header_preproc=yes
82502 no:yes:* )
82503 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82504 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82505 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82506 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82507 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82508 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82509 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82510 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82511 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82512 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82513 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82514 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82516 cat <<\_ASBOX
82517 ## ----------------------------------------- ##
82518 ## Report this to the package-unused lists. ##
82519 ## ----------------------------------------- ##
82520 _ASBOX
82522 sed "s/^/$as_me: WARNING: /" >&2
82524 esac
82525 echo "$as_me:$LINENO: checking for iconv.h" >&5
82526 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82527 if test "${ac_cv_header_iconv_h+set}" = set; then
82528 echo $ECHO_N "(cached) $ECHO_C" >&6
82529 else
82530 ac_cv_header_iconv_h=$ac_header_preproc
82532 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82533 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82536 if test $ac_cv_header_iconv_h = yes; then
82537 ac_has_iconv_h=yes
82538 else
82539 ac_has_iconv_h=no
82543 if test "${ac_cv_header_langinfo_h+set}" = set; then
82544 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82545 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82546 if test "${ac_cv_header_langinfo_h+set}" = set; then
82547 echo $ECHO_N "(cached) $ECHO_C" >&6
82549 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82550 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82551 else
82552 # Is the header compilable?
82553 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82554 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82555 cat >conftest.$ac_ext <<_ACEOF
82556 /* confdefs.h. */
82557 _ACEOF
82558 cat confdefs.h >>conftest.$ac_ext
82559 cat >>conftest.$ac_ext <<_ACEOF
82560 /* end confdefs.h. */
82561 $ac_includes_default
82562 #include <langinfo.h>
82563 _ACEOF
82564 rm -f conftest.$ac_objext
82565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82566 (eval $ac_compile) 2>conftest.er1
82567 ac_status=$?
82568 grep -v '^ *+' conftest.er1 >conftest.err
82569 rm -f conftest.er1
82570 cat conftest.err >&5
82571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82572 (exit $ac_status); } &&
82573 { ac_try='test -z "$ac_c_werror_flag"
82574 || test ! -s conftest.err'
82575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82576 (eval $ac_try) 2>&5
82577 ac_status=$?
82578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82579 (exit $ac_status); }; } &&
82580 { ac_try='test -s conftest.$ac_objext'
82581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82582 (eval $ac_try) 2>&5
82583 ac_status=$?
82584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82585 (exit $ac_status); }; }; then
82586 ac_header_compiler=yes
82587 else
82588 echo "$as_me: failed program was:" >&5
82589 sed 's/^/| /' conftest.$ac_ext >&5
82591 ac_header_compiler=no
82593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82595 echo "${ECHO_T}$ac_header_compiler" >&6
82597 # Is the header present?
82598 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82599 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82600 cat >conftest.$ac_ext <<_ACEOF
82601 /* confdefs.h. */
82602 _ACEOF
82603 cat confdefs.h >>conftest.$ac_ext
82604 cat >>conftest.$ac_ext <<_ACEOF
82605 /* end confdefs.h. */
82606 #include <langinfo.h>
82607 _ACEOF
82608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82609 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82610 ac_status=$?
82611 grep -v '^ *+' conftest.er1 >conftest.err
82612 rm -f conftest.er1
82613 cat conftest.err >&5
82614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82615 (exit $ac_status); } >/dev/null; then
82616 if test -s conftest.err; then
82617 ac_cpp_err=$ac_c_preproc_warn_flag
82618 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82619 else
82620 ac_cpp_err=
82622 else
82623 ac_cpp_err=yes
82625 if test -z "$ac_cpp_err"; then
82626 ac_header_preproc=yes
82627 else
82628 echo "$as_me: failed program was:" >&5
82629 sed 's/^/| /' conftest.$ac_ext >&5
82631 ac_header_preproc=no
82633 rm -f conftest.err conftest.$ac_ext
82634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82635 echo "${ECHO_T}$ac_header_preproc" >&6
82637 # So? What about this header?
82638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82639 yes:no: )
82640 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82641 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82642 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82643 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82644 ac_header_preproc=yes
82646 no:yes:* )
82647 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82648 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82649 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82650 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82651 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82652 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82653 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82654 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82655 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82656 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82657 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82658 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82660 cat <<\_ASBOX
82661 ## ----------------------------------------- ##
82662 ## Report this to the package-unused lists. ##
82663 ## ----------------------------------------- ##
82664 _ASBOX
82666 sed "s/^/$as_me: WARNING: /" >&2
82668 esac
82669 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82670 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82671 if test "${ac_cv_header_langinfo_h+set}" = set; then
82672 echo $ECHO_N "(cached) $ECHO_C" >&6
82673 else
82674 ac_cv_header_langinfo_h=$ac_header_preproc
82676 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82677 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82680 if test $ac_cv_header_langinfo_h = yes; then
82681 ac_has_langinfo_h=yes
82682 else
82683 ac_has_langinfo_h=no
82688 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82689 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82690 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82691 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82692 echo $ECHO_N "(cached) $ECHO_C" >&6
82693 else
82694 ac_check_lib_save_LIBS=$LIBS
82695 LIBS="-liconv $LIBS"
82696 if test x$gcc_no_link = xyes; then
82697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82699 { (exit 1); exit 1; }; }
82701 cat >conftest.$ac_ext <<_ACEOF
82702 /* confdefs.h. */
82703 _ACEOF
82704 cat confdefs.h >>conftest.$ac_ext
82705 cat >>conftest.$ac_ext <<_ACEOF
82706 /* end confdefs.h. */
82708 /* Override any gcc2 internal prototype to avoid an error. */
82709 #ifdef __cplusplus
82710 extern "C"
82711 #endif
82712 /* We use char because int might match the return type of a gcc2
82713 builtin and then its argument prototype would still apply. */
82714 char iconv ();
82716 main ()
82718 iconv ();
82720 return 0;
82722 _ACEOF
82723 rm -f conftest.$ac_objext conftest$ac_exeext
82724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82725 (eval $ac_link) 2>conftest.er1
82726 ac_status=$?
82727 grep -v '^ *+' conftest.er1 >conftest.err
82728 rm -f conftest.er1
82729 cat conftest.err >&5
82730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82731 (exit $ac_status); } &&
82732 { ac_try='test -z "$ac_c_werror_flag"
82733 || test ! -s conftest.err'
82734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82735 (eval $ac_try) 2>&5
82736 ac_status=$?
82737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82738 (exit $ac_status); }; } &&
82739 { ac_try='test -s conftest$ac_exeext'
82740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82741 (eval $ac_try) 2>&5
82742 ac_status=$?
82743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82744 (exit $ac_status); }; }; then
82745 ac_cv_lib_iconv_iconv=yes
82746 else
82747 echo "$as_me: failed program was:" >&5
82748 sed 's/^/| /' conftest.$ac_ext >&5
82750 ac_cv_lib_iconv_iconv=no
82752 rm -f conftest.err conftest.$ac_objext \
82753 conftest$ac_exeext conftest.$ac_ext
82754 LIBS=$ac_check_lib_save_LIBS
82756 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82757 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82758 if test $ac_cv_lib_iconv_iconv = yes; then
82759 LIBICONV="-liconv"
82762 ac_save_LIBS="$LIBS"
82763 LIBS="$LIBS $LIBICONV"
82770 for ac_func in iconv_open iconv_close iconv nl_langinfo
82772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82773 echo "$as_me:$LINENO: checking for $ac_func" >&5
82774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82775 if eval "test \"\${$as_ac_var+set}\" = set"; then
82776 echo $ECHO_N "(cached) $ECHO_C" >&6
82777 else
82778 if test x$gcc_no_link = xyes; then
82779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82781 { (exit 1); exit 1; }; }
82783 cat >conftest.$ac_ext <<_ACEOF
82784 /* confdefs.h. */
82785 _ACEOF
82786 cat confdefs.h >>conftest.$ac_ext
82787 cat >>conftest.$ac_ext <<_ACEOF
82788 /* end confdefs.h. */
82789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82791 #define $ac_func innocuous_$ac_func
82793 /* System header to define __stub macros and hopefully few prototypes,
82794 which can conflict with char $ac_func (); below.
82795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82796 <limits.h> exists even on freestanding compilers. */
82798 #ifdef __STDC__
82799 # include <limits.h>
82800 #else
82801 # include <assert.h>
82802 #endif
82804 #undef $ac_func
82806 /* Override any gcc2 internal prototype to avoid an error. */
82807 #ifdef __cplusplus
82808 extern "C"
82810 #endif
82811 /* We use char because int might match the return type of a gcc2
82812 builtin and then its argument prototype would still apply. */
82813 char $ac_func ();
82814 /* The GNU C library defines this for functions which it implements
82815 to always fail with ENOSYS. Some functions are actually named
82816 something starting with __ and the normal name is an alias. */
82817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82818 choke me
82819 #else
82820 char (*f) () = $ac_func;
82821 #endif
82822 #ifdef __cplusplus
82824 #endif
82827 main ()
82829 return f != $ac_func;
82831 return 0;
82833 _ACEOF
82834 rm -f conftest.$ac_objext conftest$ac_exeext
82835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82836 (eval $ac_link) 2>conftest.er1
82837 ac_status=$?
82838 grep -v '^ *+' conftest.er1 >conftest.err
82839 rm -f conftest.er1
82840 cat conftest.err >&5
82841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82842 (exit $ac_status); } &&
82843 { ac_try='test -z "$ac_c_werror_flag"
82844 || test ! -s conftest.err'
82845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82846 (eval $ac_try) 2>&5
82847 ac_status=$?
82848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82849 (exit $ac_status); }; } &&
82850 { ac_try='test -s conftest$ac_exeext'
82851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82852 (eval $ac_try) 2>&5
82853 ac_status=$?
82854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82855 (exit $ac_status); }; }; then
82856 eval "$as_ac_var=yes"
82857 else
82858 echo "$as_me: failed program was:" >&5
82859 sed 's/^/| /' conftest.$ac_ext >&5
82861 eval "$as_ac_var=no"
82863 rm -f conftest.err conftest.$ac_objext \
82864 conftest$ac_exeext conftest.$ac_ext
82866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82868 if test `eval echo '${'$as_ac_var'}'` = yes; then
82869 cat >>confdefs.h <<_ACEOF
82870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82871 _ACEOF
82872 ac_XPG2funcs=yes
82873 else
82874 ac_XPG2funcs=no
82876 done
82879 LIBS="$ac_save_LIBS"
82881 if test x"$ac_has_iconv_h" = xyes &&
82882 test x"$ac_has_langinfo_h" = xyes &&
82883 test x"$ac_XPG2funcs" = xyes;
82884 then
82886 cat >>confdefs.h <<\_ACEOF
82887 #define _GLIBCXX_USE_ICONV 1
82888 _ACEOF
82890 enable_iconv=yes
82893 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82894 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82895 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82896 echo "${ECHO_T}$enable_iconv" >&6
82899 # For showmanyc_helper().
82902 for ac_header in sys/ioctl.h sys/filio.h
82904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82906 echo "$as_me:$LINENO: checking for $ac_header" >&5
82907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82909 echo $ECHO_N "(cached) $ECHO_C" >&6
82911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82913 else
82914 # Is the header compilable?
82915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82917 cat >conftest.$ac_ext <<_ACEOF
82918 /* confdefs.h. */
82919 _ACEOF
82920 cat confdefs.h >>conftest.$ac_ext
82921 cat >>conftest.$ac_ext <<_ACEOF
82922 /* end confdefs.h. */
82923 $ac_includes_default
82924 #include <$ac_header>
82925 _ACEOF
82926 rm -f conftest.$ac_objext
82927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82928 (eval $ac_compile) 2>conftest.er1
82929 ac_status=$?
82930 grep -v '^ *+' conftest.er1 >conftest.err
82931 rm -f conftest.er1
82932 cat conftest.err >&5
82933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82934 (exit $ac_status); } &&
82935 { ac_try='test -z "$ac_c_werror_flag"
82936 || test ! -s conftest.err'
82937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82938 (eval $ac_try) 2>&5
82939 ac_status=$?
82940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82941 (exit $ac_status); }; } &&
82942 { ac_try='test -s conftest.$ac_objext'
82943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82944 (eval $ac_try) 2>&5
82945 ac_status=$?
82946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82947 (exit $ac_status); }; }; then
82948 ac_header_compiler=yes
82949 else
82950 echo "$as_me: failed program was:" >&5
82951 sed 's/^/| /' conftest.$ac_ext >&5
82953 ac_header_compiler=no
82955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82957 echo "${ECHO_T}$ac_header_compiler" >&6
82959 # Is the header present?
82960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82962 cat >conftest.$ac_ext <<_ACEOF
82963 /* confdefs.h. */
82964 _ACEOF
82965 cat confdefs.h >>conftest.$ac_ext
82966 cat >>conftest.$ac_ext <<_ACEOF
82967 /* end confdefs.h. */
82968 #include <$ac_header>
82969 _ACEOF
82970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82972 ac_status=$?
82973 grep -v '^ *+' conftest.er1 >conftest.err
82974 rm -f conftest.er1
82975 cat conftest.err >&5
82976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82977 (exit $ac_status); } >/dev/null; then
82978 if test -s conftest.err; then
82979 ac_cpp_err=$ac_c_preproc_warn_flag
82980 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82981 else
82982 ac_cpp_err=
82984 else
82985 ac_cpp_err=yes
82987 if test -z "$ac_cpp_err"; then
82988 ac_header_preproc=yes
82989 else
82990 echo "$as_me: failed program was:" >&5
82991 sed 's/^/| /' conftest.$ac_ext >&5
82993 ac_header_preproc=no
82995 rm -f conftest.err conftest.$ac_ext
82996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82997 echo "${ECHO_T}$ac_header_preproc" >&6
82999 # So? What about this header?
83000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83001 yes:no: )
83002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83006 ac_header_preproc=yes
83008 no:yes:* )
83009 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83011 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83012 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83013 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83015 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83016 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83019 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83022 cat <<\_ASBOX
83023 ## ----------------------------------------- ##
83024 ## Report this to the package-unused lists. ##
83025 ## ----------------------------------------- ##
83026 _ASBOX
83028 sed "s/^/$as_me: WARNING: /" >&2
83030 esac
83031 echo "$as_me:$LINENO: checking for $ac_header" >&5
83032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83034 echo $ECHO_N "(cached) $ECHO_C" >&6
83035 else
83036 eval "$as_ac_Header=\$ac_header_preproc"
83038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83043 cat >>confdefs.h <<_ACEOF
83044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83045 _ACEOF
83049 done
83052 if test "${glibcxx_cv_POLL+set}" = set; then
83053 echo $ECHO_N "(cached) $ECHO_C" >&6
83054 else
83056 if test x$gcc_no_link = xyes; then
83057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83059 { (exit 1); exit 1; }; }
83061 cat >conftest.$ac_ext <<_ACEOF
83062 /* confdefs.h. */
83063 _ACEOF
83064 cat confdefs.h >>conftest.$ac_ext
83065 cat >>conftest.$ac_ext <<_ACEOF
83066 /* end confdefs.h. */
83067 #include <poll.h>
83069 main ()
83071 struct pollfd pfd[1];
83072 pfd[0].events = POLLIN;
83073 poll(pfd, 1, 0);
83075 return 0;
83077 _ACEOF
83078 rm -f conftest.$ac_objext conftest$ac_exeext
83079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83080 (eval $ac_link) 2>conftest.er1
83081 ac_status=$?
83082 grep -v '^ *+' conftest.er1 >conftest.err
83083 rm -f conftest.er1
83084 cat conftest.err >&5
83085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83086 (exit $ac_status); } &&
83087 { ac_try='test -z "$ac_c_werror_flag"
83088 || test ! -s conftest.err'
83089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83090 (eval $ac_try) 2>&5
83091 ac_status=$?
83092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83093 (exit $ac_status); }; } &&
83094 { ac_try='test -s conftest$ac_exeext'
83095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83096 (eval $ac_try) 2>&5
83097 ac_status=$?
83098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83099 (exit $ac_status); }; }; then
83100 glibcxx_cv_POLL=yes
83101 else
83102 echo "$as_me: failed program was:" >&5
83103 sed 's/^/| /' conftest.$ac_ext >&5
83105 glibcxx_cv_POLL=no
83107 rm -f conftest.err conftest.$ac_objext \
83108 conftest$ac_exeext conftest.$ac_ext
83112 if test $glibcxx_cv_POLL = yes; then
83114 cat >>confdefs.h <<\_ACEOF
83115 #define HAVE_POLL 1
83116 _ACEOF
83121 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83122 echo $ECHO_N "(cached) $ECHO_C" >&6
83123 else
83125 if test x$gcc_no_link = xyes; then
83126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83128 { (exit 1); exit 1; }; }
83130 cat >conftest.$ac_ext <<_ACEOF
83131 /* confdefs.h. */
83132 _ACEOF
83133 cat confdefs.h >>conftest.$ac_ext
83134 cat >>conftest.$ac_ext <<_ACEOF
83135 /* end confdefs.h. */
83136 #include <sys/stat.h>
83138 main ()
83140 struct stat buffer;
83141 fstat(0, &buffer);
83142 S_ISREG(buffer.st_mode);
83144 return 0;
83146 _ACEOF
83147 rm -f conftest.$ac_objext conftest$ac_exeext
83148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83149 (eval $ac_link) 2>conftest.er1
83150 ac_status=$?
83151 grep -v '^ *+' conftest.er1 >conftest.err
83152 rm -f conftest.er1
83153 cat conftest.err >&5
83154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155 (exit $ac_status); } &&
83156 { ac_try='test -z "$ac_c_werror_flag"
83157 || test ! -s conftest.err'
83158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83159 (eval $ac_try) 2>&5
83160 ac_status=$?
83161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83162 (exit $ac_status); }; } &&
83163 { ac_try='test -s conftest$ac_exeext'
83164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83165 (eval $ac_try) 2>&5
83166 ac_status=$?
83167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83168 (exit $ac_status); }; }; then
83169 glibcxx_cv_S_ISREG=yes
83170 else
83171 echo "$as_me: failed program was:" >&5
83172 sed 's/^/| /' conftest.$ac_ext >&5
83174 glibcxx_cv_S_ISREG=no
83176 rm -f conftest.err conftest.$ac_objext \
83177 conftest$ac_exeext conftest.$ac_ext
83181 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83182 echo $ECHO_N "(cached) $ECHO_C" >&6
83183 else
83185 if test x$gcc_no_link = xyes; then
83186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83188 { (exit 1); exit 1; }; }
83190 cat >conftest.$ac_ext <<_ACEOF
83191 /* confdefs.h. */
83192 _ACEOF
83193 cat confdefs.h >>conftest.$ac_ext
83194 cat >>conftest.$ac_ext <<_ACEOF
83195 /* end confdefs.h. */
83196 #include <sys/stat.h>
83198 main ()
83200 struct stat buffer;
83201 fstat(0, &buffer);
83202 S_IFREG & buffer.st_mode;
83204 return 0;
83206 _ACEOF
83207 rm -f conftest.$ac_objext conftest$ac_exeext
83208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83209 (eval $ac_link) 2>conftest.er1
83210 ac_status=$?
83211 grep -v '^ *+' conftest.er1 >conftest.err
83212 rm -f conftest.er1
83213 cat conftest.err >&5
83214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83215 (exit $ac_status); } &&
83216 { ac_try='test -z "$ac_c_werror_flag"
83217 || test ! -s conftest.err'
83218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83219 (eval $ac_try) 2>&5
83220 ac_status=$?
83221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83222 (exit $ac_status); }; } &&
83223 { ac_try='test -s conftest$ac_exeext'
83224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83225 (eval $ac_try) 2>&5
83226 ac_status=$?
83227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228 (exit $ac_status); }; }; then
83229 glibcxx_cv_S_IFREG=yes
83230 else
83231 echo "$as_me: failed program was:" >&5
83232 sed 's/^/| /' conftest.$ac_ext >&5
83234 glibcxx_cv_S_IFREG=no
83236 rm -f conftest.err conftest.$ac_objext \
83237 conftest$ac_exeext conftest.$ac_ext
83241 if test $glibcxx_cv_S_ISREG = yes; then
83243 cat >>confdefs.h <<\_ACEOF
83244 #define HAVE_S_ISREG 1
83245 _ACEOF
83247 elif test $glibcxx_cv_S_IFREG = yes; then
83249 cat >>confdefs.h <<\_ACEOF
83250 #define HAVE_S_IFREG 1
83251 _ACEOF
83256 # For xsputn_2().
83258 for ac_header in sys/uio.h
83260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83262 echo "$as_me:$LINENO: checking for $ac_header" >&5
83263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83265 echo $ECHO_N "(cached) $ECHO_C" >&6
83267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83269 else
83270 # Is the header compilable?
83271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83273 cat >conftest.$ac_ext <<_ACEOF
83274 /* confdefs.h. */
83275 _ACEOF
83276 cat confdefs.h >>conftest.$ac_ext
83277 cat >>conftest.$ac_ext <<_ACEOF
83278 /* end confdefs.h. */
83279 $ac_includes_default
83280 #include <$ac_header>
83281 _ACEOF
83282 rm -f conftest.$ac_objext
83283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83284 (eval $ac_compile) 2>conftest.er1
83285 ac_status=$?
83286 grep -v '^ *+' conftest.er1 >conftest.err
83287 rm -f conftest.er1
83288 cat conftest.err >&5
83289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83290 (exit $ac_status); } &&
83291 { ac_try='test -z "$ac_c_werror_flag"
83292 || test ! -s conftest.err'
83293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83294 (eval $ac_try) 2>&5
83295 ac_status=$?
83296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83297 (exit $ac_status); }; } &&
83298 { ac_try='test -s conftest.$ac_objext'
83299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83300 (eval $ac_try) 2>&5
83301 ac_status=$?
83302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83303 (exit $ac_status); }; }; then
83304 ac_header_compiler=yes
83305 else
83306 echo "$as_me: failed program was:" >&5
83307 sed 's/^/| /' conftest.$ac_ext >&5
83309 ac_header_compiler=no
83311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83313 echo "${ECHO_T}$ac_header_compiler" >&6
83315 # Is the header present?
83316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83318 cat >conftest.$ac_ext <<_ACEOF
83319 /* confdefs.h. */
83320 _ACEOF
83321 cat confdefs.h >>conftest.$ac_ext
83322 cat >>conftest.$ac_ext <<_ACEOF
83323 /* end confdefs.h. */
83324 #include <$ac_header>
83325 _ACEOF
83326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83328 ac_status=$?
83329 grep -v '^ *+' conftest.er1 >conftest.err
83330 rm -f conftest.er1
83331 cat conftest.err >&5
83332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83333 (exit $ac_status); } >/dev/null; then
83334 if test -s conftest.err; then
83335 ac_cpp_err=$ac_c_preproc_warn_flag
83336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83337 else
83338 ac_cpp_err=
83340 else
83341 ac_cpp_err=yes
83343 if test -z "$ac_cpp_err"; then
83344 ac_header_preproc=yes
83345 else
83346 echo "$as_me: failed program was:" >&5
83347 sed 's/^/| /' conftest.$ac_ext >&5
83349 ac_header_preproc=no
83351 rm -f conftest.err conftest.$ac_ext
83352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83353 echo "${ECHO_T}$ac_header_preproc" >&6
83355 # So? What about this header?
83356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83357 yes:no: )
83358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83362 ac_header_preproc=yes
83364 no:yes:* )
83365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83378 cat <<\_ASBOX
83379 ## ----------------------------------------- ##
83380 ## Report this to the package-unused lists. ##
83381 ## ----------------------------------------- ##
83382 _ASBOX
83384 sed "s/^/$as_me: WARNING: /" >&2
83386 esac
83387 echo "$as_me:$LINENO: checking for $ac_header" >&5
83388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83390 echo $ECHO_N "(cached) $ECHO_C" >&6
83391 else
83392 eval "$as_ac_Header=\$ac_header_preproc"
83394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83399 cat >>confdefs.h <<_ACEOF
83400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83401 _ACEOF
83405 done
83408 if test "${glibcxx_cv_WRITEV+set}" = set; then
83409 echo $ECHO_N "(cached) $ECHO_C" >&6
83410 else
83412 if test x$gcc_no_link = xyes; then
83413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83415 { (exit 1); exit 1; }; }
83417 cat >conftest.$ac_ext <<_ACEOF
83418 /* confdefs.h. */
83419 _ACEOF
83420 cat confdefs.h >>conftest.$ac_ext
83421 cat >>conftest.$ac_ext <<_ACEOF
83422 /* end confdefs.h. */
83423 #include <sys/uio.h>
83425 main ()
83427 struct iovec iov[2];
83428 writev(0, iov, 0);
83430 return 0;
83432 _ACEOF
83433 rm -f conftest.$ac_objext conftest$ac_exeext
83434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83435 (eval $ac_link) 2>conftest.er1
83436 ac_status=$?
83437 grep -v '^ *+' conftest.er1 >conftest.err
83438 rm -f conftest.er1
83439 cat conftest.err >&5
83440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83441 (exit $ac_status); } &&
83442 { ac_try='test -z "$ac_c_werror_flag"
83443 || test ! -s conftest.err'
83444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83445 (eval $ac_try) 2>&5
83446 ac_status=$?
83447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83448 (exit $ac_status); }; } &&
83449 { ac_try='test -s conftest$ac_exeext'
83450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83451 (eval $ac_try) 2>&5
83452 ac_status=$?
83453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83454 (exit $ac_status); }; }; then
83455 glibcxx_cv_WRITEV=yes
83456 else
83457 echo "$as_me: failed program was:" >&5
83458 sed 's/^/| /' conftest.$ac_ext >&5
83460 glibcxx_cv_WRITEV=no
83462 rm -f conftest.err conftest.$ac_objext \
83463 conftest$ac_exeext conftest.$ac_ext
83467 if test $glibcxx_cv_WRITEV = yes; then
83469 cat >>confdefs.h <<\_ACEOF
83470 #define HAVE_WRITEV 1
83471 _ACEOF
83476 *-qnx6.1* | *-qnx6.2*)
83477 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83480 # If we're not using GNU ld, then there's no point in even trying these
83481 # tests. Check for that first. We should have already tested for gld
83482 # by now (in libtool), but require it now just to be safe...
83483 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83484 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83488 # The name set by libtool depends on the version of libtool. Shame on us
83489 # for depending on an impl detail, but c'est la vie. Older versions used
83490 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83491 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83492 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83493 # set (hence we're using an older libtool), then set it.
83494 if test x${with_gnu_ld+set} != xset; then
83495 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83496 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83497 with_gnu_ld=no
83498 else
83499 with_gnu_ld=$ac_cv_prog_gnu_ld
83503 # Start by getting the version number. I think the libtool test already
83504 # does some of this, but throws away the result.
83506 ldver=`$LD --version 2>/dev/null | head -1 | \
83507 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83509 glibcxx_gnu_ld_version=`echo $ldver | \
83510 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83512 # Set --gc-sections.
83513 if test "$with_gnu_ld" = "notbroken"; then
83514 # GNU ld it is! Joy and bunny rabbits!
83516 # All these tests are for C++; save the language and the compiler flags.
83517 # Need to do this so that g++ won't try to link in libstdc++
83518 ac_test_CFLAGS="${CFLAGS+set}"
83519 ac_save_CFLAGS="$CFLAGS"
83520 CFLAGS='-x c++ -Wl,--gc-sections'
83522 # Check for -Wl,--gc-sections
83523 # XXX This test is broken at the moment, as symbols required for linking
83524 # are now in libsupc++ (not built yet). In addition, this test has
83525 # cored on solaris in the past. In addition, --gc-sections doesn't
83526 # really work at the moment (keeps on discarding used sections, first
83527 # .eh_frame and now some of the glibc sections for iconv).
83528 # Bzzzzt. Thanks for playing, maybe next time.
83529 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83530 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83531 if test "$cross_compiling" = yes; then
83532 ac_sectionLDflags=yes
83533 else
83534 cat >conftest.$ac_ext <<_ACEOF
83535 /* confdefs.h. */
83536 _ACEOF
83537 cat confdefs.h >>conftest.$ac_ext
83538 cat >>conftest.$ac_ext <<_ACEOF
83539 /* end confdefs.h. */
83541 int main(void)
83543 try { throw 1; }
83544 catch (...) { };
83545 return 0;
83548 _ACEOF
83549 rm -f conftest$ac_exeext
83550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83551 (eval $ac_link) 2>&5
83552 ac_status=$?
83553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83556 (eval $ac_try) 2>&5
83557 ac_status=$?
83558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83559 (exit $ac_status); }; }; then
83560 ac_sectionLDflags=yes
83561 else
83562 echo "$as_me: program exited with status $ac_status" >&5
83563 echo "$as_me: failed program was:" >&5
83564 sed 's/^/| /' conftest.$ac_ext >&5
83566 ( exit $ac_status )
83567 ac_sectionLDflags=no
83569 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83571 if test "$ac_test_CFLAGS" = set; then
83572 CFLAGS="$ac_save_CFLAGS"
83573 else
83574 # this is the suspicious part
83575 CFLAGS=''
83577 if test "$ac_sectionLDflags" = "yes"; then
83578 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83580 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83581 echo "${ECHO_T}$ac_sectionLDflags" >&6
83584 # Set linker optimization flags.
83585 if test x"$with_gnu_ld" = x"yes"; then
83586 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83594 echo "$as_me:$LINENO: checking for main in -lm" >&5
83595 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83596 if test "${ac_cv_lib_m_main+set}" = set; then
83597 echo $ECHO_N "(cached) $ECHO_C" >&6
83598 else
83599 ac_check_lib_save_LIBS=$LIBS
83600 LIBS="-lm $LIBS"
83601 if test x$gcc_no_link = xyes; then
83602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83604 { (exit 1); exit 1; }; }
83606 cat >conftest.$ac_ext <<_ACEOF
83607 /* confdefs.h. */
83608 _ACEOF
83609 cat confdefs.h >>conftest.$ac_ext
83610 cat >>conftest.$ac_ext <<_ACEOF
83611 /* end confdefs.h. */
83615 main ()
83617 main ();
83619 return 0;
83621 _ACEOF
83622 rm -f conftest.$ac_objext conftest$ac_exeext
83623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83624 (eval $ac_link) 2>conftest.er1
83625 ac_status=$?
83626 grep -v '^ *+' conftest.er1 >conftest.err
83627 rm -f conftest.er1
83628 cat conftest.err >&5
83629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83630 (exit $ac_status); } &&
83631 { ac_try='test -z "$ac_c_werror_flag"
83632 || test ! -s conftest.err'
83633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83634 (eval $ac_try) 2>&5
83635 ac_status=$?
83636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83637 (exit $ac_status); }; } &&
83638 { ac_try='test -s conftest$ac_exeext'
83639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83640 (eval $ac_try) 2>&5
83641 ac_status=$?
83642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83643 (exit $ac_status); }; }; then
83644 ac_cv_lib_m_main=yes
83645 else
83646 echo "$as_me: failed program was:" >&5
83647 sed 's/^/| /' conftest.$ac_ext >&5
83649 ac_cv_lib_m_main=no
83651 rm -f conftest.err conftest.$ac_objext \
83652 conftest$ac_exeext conftest.$ac_ext
83653 LIBS=$ac_check_lib_save_LIBS
83655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83656 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83657 if test $ac_cv_lib_m_main = yes; then
83658 cat >>confdefs.h <<_ACEOF
83659 #define HAVE_LIBM 1
83660 _ACEOF
83662 LIBS="-lm $LIBS"
83667 for ac_func in copysignf
83669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83670 echo "$as_me:$LINENO: checking for $ac_func" >&5
83671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83672 if eval "test \"\${$as_ac_var+set}\" = set"; then
83673 echo $ECHO_N "(cached) $ECHO_C" >&6
83674 else
83675 if test x$gcc_no_link = xyes; then
83676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83678 { (exit 1); exit 1; }; }
83680 cat >conftest.$ac_ext <<_ACEOF
83681 /* confdefs.h. */
83682 _ACEOF
83683 cat confdefs.h >>conftest.$ac_ext
83684 cat >>conftest.$ac_ext <<_ACEOF
83685 /* end confdefs.h. */
83686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83688 #define $ac_func innocuous_$ac_func
83690 /* System header to define __stub macros and hopefully few prototypes,
83691 which can conflict with char $ac_func (); below.
83692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83693 <limits.h> exists even on freestanding compilers. */
83695 #ifdef __STDC__
83696 # include <limits.h>
83697 #else
83698 # include <assert.h>
83699 #endif
83701 #undef $ac_func
83703 /* Override any gcc2 internal prototype to avoid an error. */
83704 #ifdef __cplusplus
83705 extern "C"
83707 #endif
83708 /* We use char because int might match the return type of a gcc2
83709 builtin and then its argument prototype would still apply. */
83710 char $ac_func ();
83711 /* The GNU C library defines this for functions which it implements
83712 to always fail with ENOSYS. Some functions are actually named
83713 something starting with __ and the normal name is an alias. */
83714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83715 choke me
83716 #else
83717 char (*f) () = $ac_func;
83718 #endif
83719 #ifdef __cplusplus
83721 #endif
83724 main ()
83726 return f != $ac_func;
83728 return 0;
83730 _ACEOF
83731 rm -f conftest.$ac_objext conftest$ac_exeext
83732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83733 (eval $ac_link) 2>conftest.er1
83734 ac_status=$?
83735 grep -v '^ *+' conftest.er1 >conftest.err
83736 rm -f conftest.er1
83737 cat conftest.err >&5
83738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83739 (exit $ac_status); } &&
83740 { ac_try='test -z "$ac_c_werror_flag"
83741 || test ! -s conftest.err'
83742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83743 (eval $ac_try) 2>&5
83744 ac_status=$?
83745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83746 (exit $ac_status); }; } &&
83747 { ac_try='test -s conftest$ac_exeext'
83748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83749 (eval $ac_try) 2>&5
83750 ac_status=$?
83751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83752 (exit $ac_status); }; }; then
83753 eval "$as_ac_var=yes"
83754 else
83755 echo "$as_me: failed program was:" >&5
83756 sed 's/^/| /' conftest.$ac_ext >&5
83758 eval "$as_ac_var=no"
83760 rm -f conftest.err conftest.$ac_objext \
83761 conftest$ac_exeext conftest.$ac_ext
83763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83765 if test `eval echo '${'$as_ac_var'}'` = yes; then
83766 cat >>confdefs.h <<_ACEOF
83767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83768 _ACEOF
83770 else
83771 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83773 done
83777 for ac_func in __signbit
83779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83780 echo "$as_me:$LINENO: checking for $ac_func" >&5
83781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83782 if eval "test \"\${$as_ac_var+set}\" = set"; then
83783 echo $ECHO_N "(cached) $ECHO_C" >&6
83784 else
83785 if test x$gcc_no_link = xyes; then
83786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83788 { (exit 1); exit 1; }; }
83790 cat >conftest.$ac_ext <<_ACEOF
83791 /* confdefs.h. */
83792 _ACEOF
83793 cat confdefs.h >>conftest.$ac_ext
83794 cat >>conftest.$ac_ext <<_ACEOF
83795 /* end confdefs.h. */
83796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83798 #define $ac_func innocuous_$ac_func
83800 /* System header to define __stub macros and hopefully few prototypes,
83801 which can conflict with char $ac_func (); below.
83802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83803 <limits.h> exists even on freestanding compilers. */
83805 #ifdef __STDC__
83806 # include <limits.h>
83807 #else
83808 # include <assert.h>
83809 #endif
83811 #undef $ac_func
83813 /* Override any gcc2 internal prototype to avoid an error. */
83814 #ifdef __cplusplus
83815 extern "C"
83817 #endif
83818 /* We use char because int might match the return type of a gcc2
83819 builtin and then its argument prototype would still apply. */
83820 char $ac_func ();
83821 /* The GNU C library defines this for functions which it implements
83822 to always fail with ENOSYS. Some functions are actually named
83823 something starting with __ and the normal name is an alias. */
83824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83825 choke me
83826 #else
83827 char (*f) () = $ac_func;
83828 #endif
83829 #ifdef __cplusplus
83831 #endif
83834 main ()
83836 return f != $ac_func;
83838 return 0;
83840 _ACEOF
83841 rm -f conftest.$ac_objext conftest$ac_exeext
83842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83843 (eval $ac_link) 2>conftest.er1
83844 ac_status=$?
83845 grep -v '^ *+' conftest.er1 >conftest.err
83846 rm -f conftest.er1
83847 cat conftest.err >&5
83848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83849 (exit $ac_status); } &&
83850 { ac_try='test -z "$ac_c_werror_flag"
83851 || test ! -s conftest.err'
83852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83853 (eval $ac_try) 2>&5
83854 ac_status=$?
83855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83856 (exit $ac_status); }; } &&
83857 { ac_try='test -s conftest$ac_exeext'
83858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83859 (eval $ac_try) 2>&5
83860 ac_status=$?
83861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83862 (exit $ac_status); }; }; then
83863 eval "$as_ac_var=yes"
83864 else
83865 echo "$as_me: failed program was:" >&5
83866 sed 's/^/| /' conftest.$ac_ext >&5
83868 eval "$as_ac_var=no"
83870 rm -f conftest.err conftest.$ac_objext \
83871 conftest$ac_exeext conftest.$ac_ext
83873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83875 if test `eval echo '${'$as_ac_var'}'` = yes; then
83876 cat >>confdefs.h <<_ACEOF
83877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83878 _ACEOF
83880 else
83881 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83883 done
83887 for ac_func in __signbitf
83889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83890 echo "$as_me:$LINENO: checking for $ac_func" >&5
83891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83892 if eval "test \"\${$as_ac_var+set}\" = set"; then
83893 echo $ECHO_N "(cached) $ECHO_C" >&6
83894 else
83895 if test x$gcc_no_link = xyes; then
83896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83898 { (exit 1); exit 1; }; }
83900 cat >conftest.$ac_ext <<_ACEOF
83901 /* confdefs.h. */
83902 _ACEOF
83903 cat confdefs.h >>conftest.$ac_ext
83904 cat >>conftest.$ac_ext <<_ACEOF
83905 /* end confdefs.h. */
83906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83908 #define $ac_func innocuous_$ac_func
83910 /* System header to define __stub macros and hopefully few prototypes,
83911 which can conflict with char $ac_func (); below.
83912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83913 <limits.h> exists even on freestanding compilers. */
83915 #ifdef __STDC__
83916 # include <limits.h>
83917 #else
83918 # include <assert.h>
83919 #endif
83921 #undef $ac_func
83923 /* Override any gcc2 internal prototype to avoid an error. */
83924 #ifdef __cplusplus
83925 extern "C"
83927 #endif
83928 /* We use char because int might match the return type of a gcc2
83929 builtin and then its argument prototype would still apply. */
83930 char $ac_func ();
83931 /* The GNU C library defines this for functions which it implements
83932 to always fail with ENOSYS. Some functions are actually named
83933 something starting with __ and the normal name is an alias. */
83934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83935 choke me
83936 #else
83937 char (*f) () = $ac_func;
83938 #endif
83939 #ifdef __cplusplus
83941 #endif
83944 main ()
83946 return f != $ac_func;
83948 return 0;
83950 _ACEOF
83951 rm -f conftest.$ac_objext conftest$ac_exeext
83952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83953 (eval $ac_link) 2>conftest.er1
83954 ac_status=$?
83955 grep -v '^ *+' conftest.er1 >conftest.err
83956 rm -f conftest.er1
83957 cat conftest.err >&5
83958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83959 (exit $ac_status); } &&
83960 { ac_try='test -z "$ac_c_werror_flag"
83961 || test ! -s conftest.err'
83962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83963 (eval $ac_try) 2>&5
83964 ac_status=$?
83965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83966 (exit $ac_status); }; } &&
83967 { ac_try='test -s conftest$ac_exeext'
83968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83969 (eval $ac_try) 2>&5
83970 ac_status=$?
83971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83972 (exit $ac_status); }; }; then
83973 eval "$as_ac_var=yes"
83974 else
83975 echo "$as_me: failed program was:" >&5
83976 sed 's/^/| /' conftest.$ac_ext >&5
83978 eval "$as_ac_var=no"
83980 rm -f conftest.err conftest.$ac_objext \
83981 conftest$ac_exeext conftest.$ac_ext
83983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83985 if test `eval echo '${'$as_ac_var'}'` = yes; then
83986 cat >>confdefs.h <<_ACEOF
83987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83988 _ACEOF
83990 else
83991 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83993 done
83996 if test x$ac_cv_func_copysignl = x"yes"; then
83998 for ac_func in __signbitl
84000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84001 echo "$as_me:$LINENO: checking for $ac_func" >&5
84002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84003 if eval "test \"\${$as_ac_var+set}\" = set"; then
84004 echo $ECHO_N "(cached) $ECHO_C" >&6
84005 else
84006 if test x$gcc_no_link = xyes; then
84007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84009 { (exit 1); exit 1; }; }
84011 cat >conftest.$ac_ext <<_ACEOF
84012 /* confdefs.h. */
84013 _ACEOF
84014 cat confdefs.h >>conftest.$ac_ext
84015 cat >>conftest.$ac_ext <<_ACEOF
84016 /* end confdefs.h. */
84017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84019 #define $ac_func innocuous_$ac_func
84021 /* System header to define __stub macros and hopefully few prototypes,
84022 which can conflict with char $ac_func (); below.
84023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84024 <limits.h> exists even on freestanding compilers. */
84026 #ifdef __STDC__
84027 # include <limits.h>
84028 #else
84029 # include <assert.h>
84030 #endif
84032 #undef $ac_func
84034 /* Override any gcc2 internal prototype to avoid an error. */
84035 #ifdef __cplusplus
84036 extern "C"
84038 #endif
84039 /* We use char because int might match the return type of a gcc2
84040 builtin and then its argument prototype would still apply. */
84041 char $ac_func ();
84042 /* The GNU C library defines this for functions which it implements
84043 to always fail with ENOSYS. Some functions are actually named
84044 something starting with __ and the normal name is an alias. */
84045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84046 choke me
84047 #else
84048 char (*f) () = $ac_func;
84049 #endif
84050 #ifdef __cplusplus
84052 #endif
84055 main ()
84057 return f != $ac_func;
84059 return 0;
84061 _ACEOF
84062 rm -f conftest.$ac_objext conftest$ac_exeext
84063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84064 (eval $ac_link) 2>conftest.er1
84065 ac_status=$?
84066 grep -v '^ *+' conftest.er1 >conftest.err
84067 rm -f conftest.er1
84068 cat conftest.err >&5
84069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84070 (exit $ac_status); } &&
84071 { ac_try='test -z "$ac_c_werror_flag"
84072 || test ! -s conftest.err'
84073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84074 (eval $ac_try) 2>&5
84075 ac_status=$?
84076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84077 (exit $ac_status); }; } &&
84078 { ac_try='test -s conftest$ac_exeext'
84079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84080 (eval $ac_try) 2>&5
84081 ac_status=$?
84082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84083 (exit $ac_status); }; }; then
84084 eval "$as_ac_var=yes"
84085 else
84086 echo "$as_me: failed program was:" >&5
84087 sed 's/^/| /' conftest.$ac_ext >&5
84089 eval "$as_ac_var=no"
84091 rm -f conftest.err conftest.$ac_objext \
84092 conftest$ac_exeext conftest.$ac_ext
84094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84096 if test `eval echo '${'$as_ac_var'}'` = yes; then
84097 cat >>confdefs.h <<_ACEOF
84098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84099 _ACEOF
84101 else
84102 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84104 done
84108 # Used in libmath/Makefile.am.
84109 if test -n "$LIBMATHOBJS"; then
84110 need_libmath=yes
84116 enable_iconv=no
84117 # Only continue checking if the ISO C99 headers exist and support is on.
84118 if test x"$enable_wchar_t" = xyes; then
84120 # Use iconv for wchar_t to char conversions. As such, check for
84121 # X/Open Portability Guide, version 2 features (XPG2).
84122 if test "${ac_cv_header_iconv_h+set}" = set; then
84123 echo "$as_me:$LINENO: checking for iconv.h" >&5
84124 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84125 if test "${ac_cv_header_iconv_h+set}" = set; then
84126 echo $ECHO_N "(cached) $ECHO_C" >&6
84128 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84129 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84130 else
84131 # Is the header compilable?
84132 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84133 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84134 cat >conftest.$ac_ext <<_ACEOF
84135 /* confdefs.h. */
84136 _ACEOF
84137 cat confdefs.h >>conftest.$ac_ext
84138 cat >>conftest.$ac_ext <<_ACEOF
84139 /* end confdefs.h. */
84140 $ac_includes_default
84141 #include <iconv.h>
84142 _ACEOF
84143 rm -f conftest.$ac_objext
84144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84145 (eval $ac_compile) 2>conftest.er1
84146 ac_status=$?
84147 grep -v '^ *+' conftest.er1 >conftest.err
84148 rm -f conftest.er1
84149 cat conftest.err >&5
84150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84151 (exit $ac_status); } &&
84152 { ac_try='test -z "$ac_c_werror_flag"
84153 || test ! -s conftest.err'
84154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84155 (eval $ac_try) 2>&5
84156 ac_status=$?
84157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84158 (exit $ac_status); }; } &&
84159 { ac_try='test -s conftest.$ac_objext'
84160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84161 (eval $ac_try) 2>&5
84162 ac_status=$?
84163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84164 (exit $ac_status); }; }; then
84165 ac_header_compiler=yes
84166 else
84167 echo "$as_me: failed program was:" >&5
84168 sed 's/^/| /' conftest.$ac_ext >&5
84170 ac_header_compiler=no
84172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84174 echo "${ECHO_T}$ac_header_compiler" >&6
84176 # Is the header present?
84177 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84178 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84179 cat >conftest.$ac_ext <<_ACEOF
84180 /* confdefs.h. */
84181 _ACEOF
84182 cat confdefs.h >>conftest.$ac_ext
84183 cat >>conftest.$ac_ext <<_ACEOF
84184 /* end confdefs.h. */
84185 #include <iconv.h>
84186 _ACEOF
84187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84189 ac_status=$?
84190 grep -v '^ *+' conftest.er1 >conftest.err
84191 rm -f conftest.er1
84192 cat conftest.err >&5
84193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194 (exit $ac_status); } >/dev/null; then
84195 if test -s conftest.err; then
84196 ac_cpp_err=$ac_c_preproc_warn_flag
84197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84198 else
84199 ac_cpp_err=
84201 else
84202 ac_cpp_err=yes
84204 if test -z "$ac_cpp_err"; then
84205 ac_header_preproc=yes
84206 else
84207 echo "$as_me: failed program was:" >&5
84208 sed 's/^/| /' conftest.$ac_ext >&5
84210 ac_header_preproc=no
84212 rm -f conftest.err conftest.$ac_ext
84213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84214 echo "${ECHO_T}$ac_header_preproc" >&6
84216 # So? What about this header?
84217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84218 yes:no: )
84219 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84220 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84221 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84222 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84223 ac_header_preproc=yes
84225 no:yes:* )
84226 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84227 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84228 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84229 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84230 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84231 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84232 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84233 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84234 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84235 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84236 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84237 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84239 cat <<\_ASBOX
84240 ## ----------------------------------------- ##
84241 ## Report this to the package-unused lists. ##
84242 ## ----------------------------------------- ##
84243 _ASBOX
84245 sed "s/^/$as_me: WARNING: /" >&2
84247 esac
84248 echo "$as_me:$LINENO: checking for iconv.h" >&5
84249 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84250 if test "${ac_cv_header_iconv_h+set}" = set; then
84251 echo $ECHO_N "(cached) $ECHO_C" >&6
84252 else
84253 ac_cv_header_iconv_h=$ac_header_preproc
84255 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84256 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84259 if test $ac_cv_header_iconv_h = yes; then
84260 ac_has_iconv_h=yes
84261 else
84262 ac_has_iconv_h=no
84266 if test "${ac_cv_header_langinfo_h+set}" = set; then
84267 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84268 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84269 if test "${ac_cv_header_langinfo_h+set}" = set; then
84270 echo $ECHO_N "(cached) $ECHO_C" >&6
84272 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84273 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84274 else
84275 # Is the header compilable?
84276 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84277 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84278 cat >conftest.$ac_ext <<_ACEOF
84279 /* confdefs.h. */
84280 _ACEOF
84281 cat confdefs.h >>conftest.$ac_ext
84282 cat >>conftest.$ac_ext <<_ACEOF
84283 /* end confdefs.h. */
84284 $ac_includes_default
84285 #include <langinfo.h>
84286 _ACEOF
84287 rm -f conftest.$ac_objext
84288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84289 (eval $ac_compile) 2>conftest.er1
84290 ac_status=$?
84291 grep -v '^ *+' conftest.er1 >conftest.err
84292 rm -f conftest.er1
84293 cat conftest.err >&5
84294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84295 (exit $ac_status); } &&
84296 { ac_try='test -z "$ac_c_werror_flag"
84297 || test ! -s conftest.err'
84298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84299 (eval $ac_try) 2>&5
84300 ac_status=$?
84301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84302 (exit $ac_status); }; } &&
84303 { ac_try='test -s conftest.$ac_objext'
84304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84305 (eval $ac_try) 2>&5
84306 ac_status=$?
84307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84308 (exit $ac_status); }; }; then
84309 ac_header_compiler=yes
84310 else
84311 echo "$as_me: failed program was:" >&5
84312 sed 's/^/| /' conftest.$ac_ext >&5
84314 ac_header_compiler=no
84316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84318 echo "${ECHO_T}$ac_header_compiler" >&6
84320 # Is the header present?
84321 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84322 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84323 cat >conftest.$ac_ext <<_ACEOF
84324 /* confdefs.h. */
84325 _ACEOF
84326 cat confdefs.h >>conftest.$ac_ext
84327 cat >>conftest.$ac_ext <<_ACEOF
84328 /* end confdefs.h. */
84329 #include <langinfo.h>
84330 _ACEOF
84331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84333 ac_status=$?
84334 grep -v '^ *+' conftest.er1 >conftest.err
84335 rm -f conftest.er1
84336 cat conftest.err >&5
84337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84338 (exit $ac_status); } >/dev/null; then
84339 if test -s conftest.err; then
84340 ac_cpp_err=$ac_c_preproc_warn_flag
84341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84342 else
84343 ac_cpp_err=
84345 else
84346 ac_cpp_err=yes
84348 if test -z "$ac_cpp_err"; then
84349 ac_header_preproc=yes
84350 else
84351 echo "$as_me: failed program was:" >&5
84352 sed 's/^/| /' conftest.$ac_ext >&5
84354 ac_header_preproc=no
84356 rm -f conftest.err conftest.$ac_ext
84357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84358 echo "${ECHO_T}$ac_header_preproc" >&6
84360 # So? What about this header?
84361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84362 yes:no: )
84363 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84364 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84365 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84366 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84367 ac_header_preproc=yes
84369 no:yes:* )
84370 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84371 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84372 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84373 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84374 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84375 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84376 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84377 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84378 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84379 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84380 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84381 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84383 cat <<\_ASBOX
84384 ## ----------------------------------------- ##
84385 ## Report this to the package-unused lists. ##
84386 ## ----------------------------------------- ##
84387 _ASBOX
84389 sed "s/^/$as_me: WARNING: /" >&2
84391 esac
84392 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84393 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84394 if test "${ac_cv_header_langinfo_h+set}" = set; then
84395 echo $ECHO_N "(cached) $ECHO_C" >&6
84396 else
84397 ac_cv_header_langinfo_h=$ac_header_preproc
84399 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84400 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84403 if test $ac_cv_header_langinfo_h = yes; then
84404 ac_has_langinfo_h=yes
84405 else
84406 ac_has_langinfo_h=no
84411 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84412 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84413 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84414 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84415 echo $ECHO_N "(cached) $ECHO_C" >&6
84416 else
84417 ac_check_lib_save_LIBS=$LIBS
84418 LIBS="-liconv $LIBS"
84419 if test x$gcc_no_link = xyes; then
84420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84422 { (exit 1); exit 1; }; }
84424 cat >conftest.$ac_ext <<_ACEOF
84425 /* confdefs.h. */
84426 _ACEOF
84427 cat confdefs.h >>conftest.$ac_ext
84428 cat >>conftest.$ac_ext <<_ACEOF
84429 /* end confdefs.h. */
84431 /* Override any gcc2 internal prototype to avoid an error. */
84432 #ifdef __cplusplus
84433 extern "C"
84434 #endif
84435 /* We use char because int might match the return type of a gcc2
84436 builtin and then its argument prototype would still apply. */
84437 char iconv ();
84439 main ()
84441 iconv ();
84443 return 0;
84445 _ACEOF
84446 rm -f conftest.$ac_objext conftest$ac_exeext
84447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84448 (eval $ac_link) 2>conftest.er1
84449 ac_status=$?
84450 grep -v '^ *+' conftest.er1 >conftest.err
84451 rm -f conftest.er1
84452 cat conftest.err >&5
84453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84454 (exit $ac_status); } &&
84455 { ac_try='test -z "$ac_c_werror_flag"
84456 || test ! -s conftest.err'
84457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84458 (eval $ac_try) 2>&5
84459 ac_status=$?
84460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84461 (exit $ac_status); }; } &&
84462 { ac_try='test -s conftest$ac_exeext'
84463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84464 (eval $ac_try) 2>&5
84465 ac_status=$?
84466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84467 (exit $ac_status); }; }; then
84468 ac_cv_lib_iconv_iconv=yes
84469 else
84470 echo "$as_me: failed program was:" >&5
84471 sed 's/^/| /' conftest.$ac_ext >&5
84473 ac_cv_lib_iconv_iconv=no
84475 rm -f conftest.err conftest.$ac_objext \
84476 conftest$ac_exeext conftest.$ac_ext
84477 LIBS=$ac_check_lib_save_LIBS
84479 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84480 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84481 if test $ac_cv_lib_iconv_iconv = yes; then
84482 LIBICONV="-liconv"
84485 ac_save_LIBS="$LIBS"
84486 LIBS="$LIBS $LIBICONV"
84493 for ac_func in iconv_open iconv_close iconv nl_langinfo
84495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84496 echo "$as_me:$LINENO: checking for $ac_func" >&5
84497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84498 if eval "test \"\${$as_ac_var+set}\" = set"; then
84499 echo $ECHO_N "(cached) $ECHO_C" >&6
84500 else
84501 if test x$gcc_no_link = xyes; then
84502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84504 { (exit 1); exit 1; }; }
84506 cat >conftest.$ac_ext <<_ACEOF
84507 /* confdefs.h. */
84508 _ACEOF
84509 cat confdefs.h >>conftest.$ac_ext
84510 cat >>conftest.$ac_ext <<_ACEOF
84511 /* end confdefs.h. */
84512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84514 #define $ac_func innocuous_$ac_func
84516 /* System header to define __stub macros and hopefully few prototypes,
84517 which can conflict with char $ac_func (); below.
84518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84519 <limits.h> exists even on freestanding compilers. */
84521 #ifdef __STDC__
84522 # include <limits.h>
84523 #else
84524 # include <assert.h>
84525 #endif
84527 #undef $ac_func
84529 /* Override any gcc2 internal prototype to avoid an error. */
84530 #ifdef __cplusplus
84531 extern "C"
84533 #endif
84534 /* We use char because int might match the return type of a gcc2
84535 builtin and then its argument prototype would still apply. */
84536 char $ac_func ();
84537 /* The GNU C library defines this for functions which it implements
84538 to always fail with ENOSYS. Some functions are actually named
84539 something starting with __ and the normal name is an alias. */
84540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84541 choke me
84542 #else
84543 char (*f) () = $ac_func;
84544 #endif
84545 #ifdef __cplusplus
84547 #endif
84550 main ()
84552 return f != $ac_func;
84554 return 0;
84556 _ACEOF
84557 rm -f conftest.$ac_objext conftest$ac_exeext
84558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84559 (eval $ac_link) 2>conftest.er1
84560 ac_status=$?
84561 grep -v '^ *+' conftest.er1 >conftest.err
84562 rm -f conftest.er1
84563 cat conftest.err >&5
84564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84565 (exit $ac_status); } &&
84566 { ac_try='test -z "$ac_c_werror_flag"
84567 || test ! -s conftest.err'
84568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84569 (eval $ac_try) 2>&5
84570 ac_status=$?
84571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84572 (exit $ac_status); }; } &&
84573 { ac_try='test -s conftest$ac_exeext'
84574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84575 (eval $ac_try) 2>&5
84576 ac_status=$?
84577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84578 (exit $ac_status); }; }; then
84579 eval "$as_ac_var=yes"
84580 else
84581 echo "$as_me: failed program was:" >&5
84582 sed 's/^/| /' conftest.$ac_ext >&5
84584 eval "$as_ac_var=no"
84586 rm -f conftest.err conftest.$ac_objext \
84587 conftest$ac_exeext conftest.$ac_ext
84589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84591 if test `eval echo '${'$as_ac_var'}'` = yes; then
84592 cat >>confdefs.h <<_ACEOF
84593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84594 _ACEOF
84595 ac_XPG2funcs=yes
84596 else
84597 ac_XPG2funcs=no
84599 done
84602 LIBS="$ac_save_LIBS"
84604 if test x"$ac_has_iconv_h" = xyes &&
84605 test x"$ac_has_langinfo_h" = xyes &&
84606 test x"$ac_XPG2funcs" = xyes;
84607 then
84609 cat >>confdefs.h <<\_ACEOF
84610 #define _GLIBCXX_USE_ICONV 1
84611 _ACEOF
84613 enable_iconv=yes
84616 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84617 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84618 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84619 echo "${ECHO_T}$enable_iconv" >&6
84621 cat >>confdefs.h <<\_ACEOF
84622 #define HAVE_COSF 1
84623 _ACEOF
84625 cat >>confdefs.h <<\_ACEOF
84626 #define HAVE_COSL 1
84627 _ACEOF
84629 cat >>confdefs.h <<\_ACEOF
84630 #define HAVE_COSHF 1
84631 _ACEOF
84633 cat >>confdefs.h <<\_ACEOF
84634 #define HAVE_COSHL 1
84635 _ACEOF
84637 cat >>confdefs.h <<\_ACEOF
84638 #define HAVE_LOGF 1
84639 _ACEOF
84641 cat >>confdefs.h <<\_ACEOF
84642 #define HAVE_LOGL 1
84643 _ACEOF
84645 cat >>confdefs.h <<\_ACEOF
84646 #define HAVE_LOG10F 1
84647 _ACEOF
84649 cat >>confdefs.h <<\_ACEOF
84650 #define HAVE_LOG10L 1
84651 _ACEOF
84653 cat >>confdefs.h <<\_ACEOF
84654 #define HAVE_SINF 1
84655 _ACEOF
84657 cat >>confdefs.h <<\_ACEOF
84658 #define HAVE_SINL 1
84659 _ACEOF
84661 cat >>confdefs.h <<\_ACEOF
84662 #define HAVE_SINHF 1
84663 _ACEOF
84665 cat >>confdefs.h <<\_ACEOF
84666 #define HAVE_SINHL 1
84667 _ACEOF
84670 *-solaris*)
84671 case "$target" in
84672 # *-solaris2.5)
84673 # os_include_dir="os/solaris/solaris2.5"
84674 # ;;
84675 # *-solaris2.6)
84676 # os_include_dir="os/solaris/solaris2.6"
84677 # ;;
84678 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84679 cat >>confdefs.h <<\_ACEOF
84680 #define HAVE_GETPAGESIZE 1
84681 _ACEOF
84683 cat >>confdefs.h <<\_ACEOF
84684 #define HAVE_SIGSETJMP 1
84685 _ACEOF
84687 cat >>confdefs.h <<\_ACEOF
84688 #define HAVE_MBSTATE_T 1
84689 _ACEOF
84691 cat >>confdefs.h <<\_ACEOF
84692 #define HAVE_POLL 1
84693 _ACEOF
84695 cat >>confdefs.h <<\_ACEOF
84696 #define HAVE_S_ISREG 1
84697 _ACEOF
84699 cat >>confdefs.h <<\_ACEOF
84700 #define HAVE_LC_MESSAGES 1
84701 _ACEOF
84703 cat >>confdefs.h <<\_ACEOF
84704 #define HAVE_FINITE 1
84705 _ACEOF
84707 cat >>confdefs.h <<\_ACEOF
84708 #define HAVE_FPCLASS 1
84709 _ACEOF
84711 cat >>confdefs.h <<\_ACEOF
84712 #define HAVE_GETPAGESIZE 1
84713 _ACEOF
84715 cat >>confdefs.h <<\_ACEOF
84716 #define HAVE_NL_LANGINFO 1
84717 _ACEOF
84719 cat >>confdefs.h <<\_ACEOF
84720 #define HAVE_ICONV 1
84721 _ACEOF
84723 cat >>confdefs.h <<\_ACEOF
84724 #define HAVE_ICONV_CLOSE 1
84725 _ACEOF
84727 cat >>confdefs.h <<\_ACEOF
84728 #define HAVE_ICONV_OPEN 1
84729 _ACEOF
84731 # Look for the pieces required for wchar_t support in order to
84732 # get all the right HAVE_* macros defined.
84735 enable_iconv=no
84736 # Only continue checking if the ISO C99 headers exist and support is on.
84737 if test x"$enable_wchar_t" = xyes; then
84739 # Use iconv for wchar_t to char conversions. As such, check for
84740 # X/Open Portability Guide, version 2 features (XPG2).
84741 if test "${ac_cv_header_iconv_h+set}" = set; then
84742 echo "$as_me:$LINENO: checking for iconv.h" >&5
84743 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84744 if test "${ac_cv_header_iconv_h+set}" = set; then
84745 echo $ECHO_N "(cached) $ECHO_C" >&6
84747 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84748 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84749 else
84750 # Is the header compilable?
84751 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84752 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84753 cat >conftest.$ac_ext <<_ACEOF
84754 /* confdefs.h. */
84755 _ACEOF
84756 cat confdefs.h >>conftest.$ac_ext
84757 cat >>conftest.$ac_ext <<_ACEOF
84758 /* end confdefs.h. */
84759 $ac_includes_default
84760 #include <iconv.h>
84761 _ACEOF
84762 rm -f conftest.$ac_objext
84763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84764 (eval $ac_compile) 2>conftest.er1
84765 ac_status=$?
84766 grep -v '^ *+' conftest.er1 >conftest.err
84767 rm -f conftest.er1
84768 cat conftest.err >&5
84769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84770 (exit $ac_status); } &&
84771 { ac_try='test -z "$ac_c_werror_flag"
84772 || test ! -s conftest.err'
84773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84774 (eval $ac_try) 2>&5
84775 ac_status=$?
84776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84777 (exit $ac_status); }; } &&
84778 { ac_try='test -s conftest.$ac_objext'
84779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84780 (eval $ac_try) 2>&5
84781 ac_status=$?
84782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84783 (exit $ac_status); }; }; then
84784 ac_header_compiler=yes
84785 else
84786 echo "$as_me: failed program was:" >&5
84787 sed 's/^/| /' conftest.$ac_ext >&5
84789 ac_header_compiler=no
84791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84793 echo "${ECHO_T}$ac_header_compiler" >&6
84795 # Is the header present?
84796 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84797 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84798 cat >conftest.$ac_ext <<_ACEOF
84799 /* confdefs.h. */
84800 _ACEOF
84801 cat confdefs.h >>conftest.$ac_ext
84802 cat >>conftest.$ac_ext <<_ACEOF
84803 /* end confdefs.h. */
84804 #include <iconv.h>
84805 _ACEOF
84806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84808 ac_status=$?
84809 grep -v '^ *+' conftest.er1 >conftest.err
84810 rm -f conftest.er1
84811 cat conftest.err >&5
84812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84813 (exit $ac_status); } >/dev/null; then
84814 if test -s conftest.err; then
84815 ac_cpp_err=$ac_c_preproc_warn_flag
84816 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84817 else
84818 ac_cpp_err=
84820 else
84821 ac_cpp_err=yes
84823 if test -z "$ac_cpp_err"; then
84824 ac_header_preproc=yes
84825 else
84826 echo "$as_me: failed program was:" >&5
84827 sed 's/^/| /' conftest.$ac_ext >&5
84829 ac_header_preproc=no
84831 rm -f conftest.err conftest.$ac_ext
84832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84833 echo "${ECHO_T}$ac_header_preproc" >&6
84835 # So? What about this header?
84836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84837 yes:no: )
84838 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84839 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84840 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84841 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84842 ac_header_preproc=yes
84844 no:yes:* )
84845 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84846 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84847 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84848 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84849 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84850 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84851 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84852 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84853 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84854 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84855 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84856 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84858 cat <<\_ASBOX
84859 ## ----------------------------------------- ##
84860 ## Report this to the package-unused lists. ##
84861 ## ----------------------------------------- ##
84862 _ASBOX
84864 sed "s/^/$as_me: WARNING: /" >&2
84866 esac
84867 echo "$as_me:$LINENO: checking for iconv.h" >&5
84868 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84869 if test "${ac_cv_header_iconv_h+set}" = set; then
84870 echo $ECHO_N "(cached) $ECHO_C" >&6
84871 else
84872 ac_cv_header_iconv_h=$ac_header_preproc
84874 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84875 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84878 if test $ac_cv_header_iconv_h = yes; then
84879 ac_has_iconv_h=yes
84880 else
84881 ac_has_iconv_h=no
84885 if test "${ac_cv_header_langinfo_h+set}" = set; then
84886 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84887 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84888 if test "${ac_cv_header_langinfo_h+set}" = set; then
84889 echo $ECHO_N "(cached) $ECHO_C" >&6
84891 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84892 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84893 else
84894 # Is the header compilable?
84895 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84896 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84897 cat >conftest.$ac_ext <<_ACEOF
84898 /* confdefs.h. */
84899 _ACEOF
84900 cat confdefs.h >>conftest.$ac_ext
84901 cat >>conftest.$ac_ext <<_ACEOF
84902 /* end confdefs.h. */
84903 $ac_includes_default
84904 #include <langinfo.h>
84905 _ACEOF
84906 rm -f conftest.$ac_objext
84907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84908 (eval $ac_compile) 2>conftest.er1
84909 ac_status=$?
84910 grep -v '^ *+' conftest.er1 >conftest.err
84911 rm -f conftest.er1
84912 cat conftest.err >&5
84913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84914 (exit $ac_status); } &&
84915 { ac_try='test -z "$ac_c_werror_flag"
84916 || test ! -s conftest.err'
84917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84918 (eval $ac_try) 2>&5
84919 ac_status=$?
84920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84921 (exit $ac_status); }; } &&
84922 { ac_try='test -s conftest.$ac_objext'
84923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84924 (eval $ac_try) 2>&5
84925 ac_status=$?
84926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84927 (exit $ac_status); }; }; then
84928 ac_header_compiler=yes
84929 else
84930 echo "$as_me: failed program was:" >&5
84931 sed 's/^/| /' conftest.$ac_ext >&5
84933 ac_header_compiler=no
84935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84937 echo "${ECHO_T}$ac_header_compiler" >&6
84939 # Is the header present?
84940 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84941 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84942 cat >conftest.$ac_ext <<_ACEOF
84943 /* confdefs.h. */
84944 _ACEOF
84945 cat confdefs.h >>conftest.$ac_ext
84946 cat >>conftest.$ac_ext <<_ACEOF
84947 /* end confdefs.h. */
84948 #include <langinfo.h>
84949 _ACEOF
84950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84952 ac_status=$?
84953 grep -v '^ *+' conftest.er1 >conftest.err
84954 rm -f conftest.er1
84955 cat conftest.err >&5
84956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84957 (exit $ac_status); } >/dev/null; then
84958 if test -s conftest.err; then
84959 ac_cpp_err=$ac_c_preproc_warn_flag
84960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84961 else
84962 ac_cpp_err=
84964 else
84965 ac_cpp_err=yes
84967 if test -z "$ac_cpp_err"; then
84968 ac_header_preproc=yes
84969 else
84970 echo "$as_me: failed program was:" >&5
84971 sed 's/^/| /' conftest.$ac_ext >&5
84973 ac_header_preproc=no
84975 rm -f conftest.err conftest.$ac_ext
84976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84977 echo "${ECHO_T}$ac_header_preproc" >&6
84979 # So? What about this header?
84980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84981 yes:no: )
84982 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84983 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84984 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84985 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84986 ac_header_preproc=yes
84988 no:yes:* )
84989 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84990 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84991 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84992 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84993 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84994 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84995 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84996 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84997 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84998 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84999 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85000 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85002 cat <<\_ASBOX
85003 ## ----------------------------------------- ##
85004 ## Report this to the package-unused lists. ##
85005 ## ----------------------------------------- ##
85006 _ASBOX
85008 sed "s/^/$as_me: WARNING: /" >&2
85010 esac
85011 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85012 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85013 if test "${ac_cv_header_langinfo_h+set}" = set; then
85014 echo $ECHO_N "(cached) $ECHO_C" >&6
85015 else
85016 ac_cv_header_langinfo_h=$ac_header_preproc
85018 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85019 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85022 if test $ac_cv_header_langinfo_h = yes; then
85023 ac_has_langinfo_h=yes
85024 else
85025 ac_has_langinfo_h=no
85030 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85031 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85032 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85033 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85034 echo $ECHO_N "(cached) $ECHO_C" >&6
85035 else
85036 ac_check_lib_save_LIBS=$LIBS
85037 LIBS="-liconv $LIBS"
85038 if test x$gcc_no_link = xyes; then
85039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85041 { (exit 1); exit 1; }; }
85043 cat >conftest.$ac_ext <<_ACEOF
85044 /* confdefs.h. */
85045 _ACEOF
85046 cat confdefs.h >>conftest.$ac_ext
85047 cat >>conftest.$ac_ext <<_ACEOF
85048 /* end confdefs.h. */
85050 /* Override any gcc2 internal prototype to avoid an error. */
85051 #ifdef __cplusplus
85052 extern "C"
85053 #endif
85054 /* We use char because int might match the return type of a gcc2
85055 builtin and then its argument prototype would still apply. */
85056 char iconv ();
85058 main ()
85060 iconv ();
85062 return 0;
85064 _ACEOF
85065 rm -f conftest.$ac_objext conftest$ac_exeext
85066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85067 (eval $ac_link) 2>conftest.er1
85068 ac_status=$?
85069 grep -v '^ *+' conftest.er1 >conftest.err
85070 rm -f conftest.er1
85071 cat conftest.err >&5
85072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85073 (exit $ac_status); } &&
85074 { ac_try='test -z "$ac_c_werror_flag"
85075 || test ! -s conftest.err'
85076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85077 (eval $ac_try) 2>&5
85078 ac_status=$?
85079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85080 (exit $ac_status); }; } &&
85081 { ac_try='test -s conftest$ac_exeext'
85082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85083 (eval $ac_try) 2>&5
85084 ac_status=$?
85085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85086 (exit $ac_status); }; }; then
85087 ac_cv_lib_iconv_iconv=yes
85088 else
85089 echo "$as_me: failed program was:" >&5
85090 sed 's/^/| /' conftest.$ac_ext >&5
85092 ac_cv_lib_iconv_iconv=no
85094 rm -f conftest.err conftest.$ac_objext \
85095 conftest$ac_exeext conftest.$ac_ext
85096 LIBS=$ac_check_lib_save_LIBS
85098 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85099 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85100 if test $ac_cv_lib_iconv_iconv = yes; then
85101 LIBICONV="-liconv"
85104 ac_save_LIBS="$LIBS"
85105 LIBS="$LIBS $LIBICONV"
85112 for ac_func in iconv_open iconv_close iconv nl_langinfo
85114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85115 echo "$as_me:$LINENO: checking for $ac_func" >&5
85116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85117 if eval "test \"\${$as_ac_var+set}\" = set"; then
85118 echo $ECHO_N "(cached) $ECHO_C" >&6
85119 else
85120 if test x$gcc_no_link = xyes; then
85121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85123 { (exit 1); exit 1; }; }
85125 cat >conftest.$ac_ext <<_ACEOF
85126 /* confdefs.h. */
85127 _ACEOF
85128 cat confdefs.h >>conftest.$ac_ext
85129 cat >>conftest.$ac_ext <<_ACEOF
85130 /* end confdefs.h. */
85131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85133 #define $ac_func innocuous_$ac_func
85135 /* System header to define __stub macros and hopefully few prototypes,
85136 which can conflict with char $ac_func (); below.
85137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85138 <limits.h> exists even on freestanding compilers. */
85140 #ifdef __STDC__
85141 # include <limits.h>
85142 #else
85143 # include <assert.h>
85144 #endif
85146 #undef $ac_func
85148 /* Override any gcc2 internal prototype to avoid an error. */
85149 #ifdef __cplusplus
85150 extern "C"
85152 #endif
85153 /* We use char because int might match the return type of a gcc2
85154 builtin and then its argument prototype would still apply. */
85155 char $ac_func ();
85156 /* The GNU C library defines this for functions which it implements
85157 to always fail with ENOSYS. Some functions are actually named
85158 something starting with __ and the normal name is an alias. */
85159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85160 choke me
85161 #else
85162 char (*f) () = $ac_func;
85163 #endif
85164 #ifdef __cplusplus
85166 #endif
85169 main ()
85171 return f != $ac_func;
85173 return 0;
85175 _ACEOF
85176 rm -f conftest.$ac_objext conftest$ac_exeext
85177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85178 (eval $ac_link) 2>conftest.er1
85179 ac_status=$?
85180 grep -v '^ *+' conftest.er1 >conftest.err
85181 rm -f conftest.er1
85182 cat conftest.err >&5
85183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85184 (exit $ac_status); } &&
85185 { ac_try='test -z "$ac_c_werror_flag"
85186 || test ! -s conftest.err'
85187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85188 (eval $ac_try) 2>&5
85189 ac_status=$?
85190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85191 (exit $ac_status); }; } &&
85192 { ac_try='test -s conftest$ac_exeext'
85193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85194 (eval $ac_try) 2>&5
85195 ac_status=$?
85196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85197 (exit $ac_status); }; }; then
85198 eval "$as_ac_var=yes"
85199 else
85200 echo "$as_me: failed program was:" >&5
85201 sed 's/^/| /' conftest.$ac_ext >&5
85203 eval "$as_ac_var=no"
85205 rm -f conftest.err conftest.$ac_objext \
85206 conftest$ac_exeext conftest.$ac_ext
85208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85210 if test `eval echo '${'$as_ac_var'}'` = yes; then
85211 cat >>confdefs.h <<_ACEOF
85212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85213 _ACEOF
85214 ac_XPG2funcs=yes
85215 else
85216 ac_XPG2funcs=no
85218 done
85221 LIBS="$ac_save_LIBS"
85223 if test x"$ac_has_iconv_h" = xyes &&
85224 test x"$ac_has_langinfo_h" = xyes &&
85225 test x"$ac_XPG2funcs" = xyes;
85226 then
85228 cat >>confdefs.h <<\_ACEOF
85229 #define _GLIBCXX_USE_ICONV 1
85230 _ACEOF
85232 enable_iconv=yes
85235 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85236 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85237 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85238 echo "${ECHO_T}$enable_iconv" >&6
85240 # All of the dependencies for wide character support are here, so
85241 # turn it on. This requires some syncronization with the
85242 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85243 cat >>confdefs.h <<\_ACEOF
85244 #define _GLIBCXX_USE_WCHAR_T 1
85245 _ACEOF
85247 # Are these tested for even when cross?
85248 cat >>confdefs.h <<\_ACEOF
85249 #define HAVE_FLOAT_H 1
85250 _ACEOF
85252 cat >>confdefs.h <<\_ACEOF
85253 #define HAVE_IEEEFP_H 1
85254 _ACEOF
85256 cat >>confdefs.h <<\_ACEOF
85257 #define HAVE_INTTYPES_H 1
85258 _ACEOF
85260 cat >>confdefs.h <<\_ACEOF
85261 #define HAVE_LOCALE_H 1
85262 _ACEOF
85264 cat >>confdefs.h <<\_ACEOF
85265 #define HAVE_NAN_H 1
85266 _ACEOF
85268 cat >>confdefs.h <<\_ACEOF
85269 #define HAVE_SYS_FILIO_H 1
85270 _ACEOF
85272 cat >>confdefs.h <<\_ACEOF
85273 #define HAVE_SYS_IOCTL_H 1
85274 _ACEOF
85276 cat >>confdefs.h <<\_ACEOF
85277 #define HAVE_SYS_ISA_DEFS_H 1
85278 _ACEOF
85280 cat >>confdefs.h <<\_ACEOF
85281 #define HAVE_SYS_RESOURCE_H 1
85282 _ACEOF
85284 cat >>confdefs.h <<\_ACEOF
85285 #define HAVE_SYS_TIME_H 1
85286 _ACEOF
85288 cat >>confdefs.h <<\_ACEOF
85289 #define HAVE_SYS_TYPES_H 1
85290 _ACEOF
85292 cat >>confdefs.h <<\_ACEOF
85293 #define HAVE_UNISTD_H 1
85294 _ACEOF
85296 cat >>confdefs.h <<\_ACEOF
85297 #define HAVE_WCHAR_H 1
85298 _ACEOF
85300 cat >>confdefs.h <<\_ACEOF
85301 #define HAVE_WCTYPE_H 1
85302 _ACEOF
85304 cat >>confdefs.h <<\_ACEOF
85305 #define HAVE_LIBM 1
85306 _ACEOF
85309 esac
85310 case "$target" in
85311 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85312 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85313 cat >>confdefs.h <<\_ACEOF
85314 #define HAVE___BUILTIN_ABS 1
85315 _ACEOF
85317 cat >>confdefs.h <<\_ACEOF
85318 #define HAVE___BUILTIN_LABS 1
85319 _ACEOF
85321 cat >>confdefs.h <<\_ACEOF
85322 #define HAVE___BUILTIN_FABS 1
85323 _ACEOF
85325 cat >>confdefs.h <<\_ACEOF
85326 #define HAVE___BUILTIN_FABSF 1
85327 _ACEOF
85329 cat >>confdefs.h <<\_ACEOF
85330 #define HAVE___BUILTIN_FABSL 1
85331 _ACEOF
85333 cat >>confdefs.h <<\_ACEOF
85334 #define HAVE___BUILTIN_COS 1
85335 _ACEOF
85337 cat >>confdefs.h <<\_ACEOF
85338 #define HAVE___BUILTIN_COSF 1
85339 _ACEOF
85341 cat >>confdefs.h <<\_ACEOF
85342 #define HAVE___BUILTIN_SIN 1
85343 _ACEOF
85345 cat >>confdefs.h <<\_ACEOF
85346 #define HAVE___BUILTIN_SINF 1
85347 _ACEOF
85350 esac
85351 case "$target" in
85352 *-*-solaris2.10)
85353 # These two C99 functions are present only in Solaris >= 10
85354 cat >>confdefs.h <<\_ACEOF
85355 #define HAVE_STRTOF 1
85356 _ACEOF
85358 cat >>confdefs.h <<\_ACEOF
85359 #define HAVE_STRTOLD 1
85360 _ACEOF
85363 esac
85364 cat >>confdefs.h <<\_ACEOF
85365 #define HAVE_MMAP 1
85366 _ACEOF
85368 cat >>confdefs.h <<\_ACEOF
85369 #define HAVE_COPYSIGN 1
85370 _ACEOF
85372 cat >>confdefs.h <<\_ACEOF
85373 #define HAVE_ISNAN 1
85374 _ACEOF
85376 cat >>confdefs.h <<\_ACEOF
85377 #define HAVE_ISNANF 1
85378 _ACEOF
85380 cat >>confdefs.h <<\_ACEOF
85381 #define HAVE_MODFF 1
85382 _ACEOF
85384 cat >>confdefs.h <<\_ACEOF
85385 #define HAVE_HYPOT 1
85386 _ACEOF
85389 *-tpf)
85398 for ac_header in nan.h endian.h machine/endian.h \
85399 sys/param.h sys/types.h locale.h float.h inttypes.h
85401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85403 echo "$as_me:$LINENO: checking for $ac_header" >&5
85404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85406 echo $ECHO_N "(cached) $ECHO_C" >&6
85408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85410 else
85411 # Is the header compilable?
85412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85414 cat >conftest.$ac_ext <<_ACEOF
85415 /* confdefs.h. */
85416 _ACEOF
85417 cat confdefs.h >>conftest.$ac_ext
85418 cat >>conftest.$ac_ext <<_ACEOF
85419 /* end confdefs.h. */
85420 $ac_includes_default
85421 #include <$ac_header>
85422 _ACEOF
85423 rm -f conftest.$ac_objext
85424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85425 (eval $ac_compile) 2>conftest.er1
85426 ac_status=$?
85427 grep -v '^ *+' conftest.er1 >conftest.err
85428 rm -f conftest.er1
85429 cat conftest.err >&5
85430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85431 (exit $ac_status); } &&
85432 { ac_try='test -z "$ac_c_werror_flag"
85433 || test ! -s conftest.err'
85434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85435 (eval $ac_try) 2>&5
85436 ac_status=$?
85437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85438 (exit $ac_status); }; } &&
85439 { ac_try='test -s conftest.$ac_objext'
85440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85441 (eval $ac_try) 2>&5
85442 ac_status=$?
85443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85444 (exit $ac_status); }; }; then
85445 ac_header_compiler=yes
85446 else
85447 echo "$as_me: failed program was:" >&5
85448 sed 's/^/| /' conftest.$ac_ext >&5
85450 ac_header_compiler=no
85452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85454 echo "${ECHO_T}$ac_header_compiler" >&6
85456 # Is the header present?
85457 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85458 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85459 cat >conftest.$ac_ext <<_ACEOF
85460 /* confdefs.h. */
85461 _ACEOF
85462 cat confdefs.h >>conftest.$ac_ext
85463 cat >>conftest.$ac_ext <<_ACEOF
85464 /* end confdefs.h. */
85465 #include <$ac_header>
85466 _ACEOF
85467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85469 ac_status=$?
85470 grep -v '^ *+' conftest.er1 >conftest.err
85471 rm -f conftest.er1
85472 cat conftest.err >&5
85473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85474 (exit $ac_status); } >/dev/null; then
85475 if test -s conftest.err; then
85476 ac_cpp_err=$ac_c_preproc_warn_flag
85477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85478 else
85479 ac_cpp_err=
85481 else
85482 ac_cpp_err=yes
85484 if test -z "$ac_cpp_err"; then
85485 ac_header_preproc=yes
85486 else
85487 echo "$as_me: failed program was:" >&5
85488 sed 's/^/| /' conftest.$ac_ext >&5
85490 ac_header_preproc=no
85492 rm -f conftest.err conftest.$ac_ext
85493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85494 echo "${ECHO_T}$ac_header_preproc" >&6
85496 # So? What about this header?
85497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85498 yes:no: )
85499 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85500 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85502 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85503 ac_header_preproc=yes
85505 no:yes:* )
85506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85510 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85511 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85512 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85513 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85515 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85516 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85517 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85519 cat <<\_ASBOX
85520 ## ----------------------------------------- ##
85521 ## Report this to the package-unused lists. ##
85522 ## ----------------------------------------- ##
85523 _ASBOX
85525 sed "s/^/$as_me: WARNING: /" >&2
85527 esac
85528 echo "$as_me:$LINENO: checking for $ac_header" >&5
85529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85531 echo $ECHO_N "(cached) $ECHO_C" >&6
85532 else
85533 eval "$as_ac_Header=\$ac_header_preproc"
85535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85540 cat >>confdefs.h <<_ACEOF
85541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85542 _ACEOF
85546 done
85548 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85551 # If we're not using GNU ld, then there's no point in even trying these
85552 # tests. Check for that first. We should have already tested for gld
85553 # by now (in libtool), but require it now just to be safe...
85554 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85555 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85559 # The name set by libtool depends on the version of libtool. Shame on us
85560 # for depending on an impl detail, but c'est la vie. Older versions used
85561 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85562 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85563 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85564 # set (hence we're using an older libtool), then set it.
85565 if test x${with_gnu_ld+set} != xset; then
85566 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85567 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85568 with_gnu_ld=no
85569 else
85570 with_gnu_ld=$ac_cv_prog_gnu_ld
85574 # Start by getting the version number. I think the libtool test already
85575 # does some of this, but throws away the result.
85577 ldver=`$LD --version 2>/dev/null | head -1 | \
85578 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85580 glibcxx_gnu_ld_version=`echo $ldver | \
85581 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85583 # Set --gc-sections.
85584 if test "$with_gnu_ld" = "notbroken"; then
85585 # GNU ld it is! Joy and bunny rabbits!
85587 # All these tests are for C++; save the language and the compiler flags.
85588 # Need to do this so that g++ won't try to link in libstdc++
85589 ac_test_CFLAGS="${CFLAGS+set}"
85590 ac_save_CFLAGS="$CFLAGS"
85591 CFLAGS='-x c++ -Wl,--gc-sections'
85593 # Check for -Wl,--gc-sections
85594 # XXX This test is broken at the moment, as symbols required for linking
85595 # are now in libsupc++ (not built yet). In addition, this test has
85596 # cored on solaris in the past. In addition, --gc-sections doesn't
85597 # really work at the moment (keeps on discarding used sections, first
85598 # .eh_frame and now some of the glibc sections for iconv).
85599 # Bzzzzt. Thanks for playing, maybe next time.
85600 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85601 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85602 if test "$cross_compiling" = yes; then
85603 ac_sectionLDflags=yes
85604 else
85605 cat >conftest.$ac_ext <<_ACEOF
85606 /* confdefs.h. */
85607 _ACEOF
85608 cat confdefs.h >>conftest.$ac_ext
85609 cat >>conftest.$ac_ext <<_ACEOF
85610 /* end confdefs.h. */
85612 int main(void)
85614 try { throw 1; }
85615 catch (...) { };
85616 return 0;
85619 _ACEOF
85620 rm -f conftest$ac_exeext
85621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85622 (eval $ac_link) 2>&5
85623 ac_status=$?
85624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85627 (eval $ac_try) 2>&5
85628 ac_status=$?
85629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85630 (exit $ac_status); }; }; then
85631 ac_sectionLDflags=yes
85632 else
85633 echo "$as_me: program exited with status $ac_status" >&5
85634 echo "$as_me: failed program was:" >&5
85635 sed 's/^/| /' conftest.$ac_ext >&5
85637 ( exit $ac_status )
85638 ac_sectionLDflags=no
85640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85642 if test "$ac_test_CFLAGS" = set; then
85643 CFLAGS="$ac_save_CFLAGS"
85644 else
85645 # this is the suspicious part
85646 CFLAGS=''
85648 if test "$ac_sectionLDflags" = "yes"; then
85649 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85651 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85652 echo "${ECHO_T}$ac_sectionLDflags" >&6
85655 # Set linker optimization flags.
85656 if test x"$with_gnu_ld" = x"yes"; then
85657 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85665 echo "$as_me:$LINENO: checking for main in -lm" >&5
85666 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85667 if test "${ac_cv_lib_m_main+set}" = set; then
85668 echo $ECHO_N "(cached) $ECHO_C" >&6
85669 else
85670 ac_check_lib_save_LIBS=$LIBS
85671 LIBS="-lm $LIBS"
85672 if test x$gcc_no_link = xyes; then
85673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85675 { (exit 1); exit 1; }; }
85677 cat >conftest.$ac_ext <<_ACEOF
85678 /* confdefs.h. */
85679 _ACEOF
85680 cat confdefs.h >>conftest.$ac_ext
85681 cat >>conftest.$ac_ext <<_ACEOF
85682 /* end confdefs.h. */
85686 main ()
85688 main ();
85690 return 0;
85692 _ACEOF
85693 rm -f conftest.$ac_objext conftest$ac_exeext
85694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85695 (eval $ac_link) 2>conftest.er1
85696 ac_status=$?
85697 grep -v '^ *+' conftest.er1 >conftest.err
85698 rm -f conftest.er1
85699 cat conftest.err >&5
85700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85701 (exit $ac_status); } &&
85702 { ac_try='test -z "$ac_c_werror_flag"
85703 || test ! -s conftest.err'
85704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85705 (eval $ac_try) 2>&5
85706 ac_status=$?
85707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85708 (exit $ac_status); }; } &&
85709 { ac_try='test -s conftest$ac_exeext'
85710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85711 (eval $ac_try) 2>&5
85712 ac_status=$?
85713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85714 (exit $ac_status); }; }; then
85715 ac_cv_lib_m_main=yes
85716 else
85717 echo "$as_me: failed program was:" >&5
85718 sed 's/^/| /' conftest.$ac_ext >&5
85720 ac_cv_lib_m_main=no
85722 rm -f conftest.err conftest.$ac_objext \
85723 conftest$ac_exeext conftest.$ac_ext
85724 LIBS=$ac_check_lib_save_LIBS
85726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85727 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85728 if test $ac_cv_lib_m_main = yes; then
85729 cat >>confdefs.h <<_ACEOF
85730 #define HAVE_LIBM 1
85731 _ACEOF
85733 LIBS="-lm $LIBS"
85738 for ac_func in copysignf
85740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85741 echo "$as_me:$LINENO: checking for $ac_func" >&5
85742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85743 if eval "test \"\${$as_ac_var+set}\" = set"; then
85744 echo $ECHO_N "(cached) $ECHO_C" >&6
85745 else
85746 if test x$gcc_no_link = xyes; then
85747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85749 { (exit 1); exit 1; }; }
85751 cat >conftest.$ac_ext <<_ACEOF
85752 /* confdefs.h. */
85753 _ACEOF
85754 cat confdefs.h >>conftest.$ac_ext
85755 cat >>conftest.$ac_ext <<_ACEOF
85756 /* end confdefs.h. */
85757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85759 #define $ac_func innocuous_$ac_func
85761 /* System header to define __stub macros and hopefully few prototypes,
85762 which can conflict with char $ac_func (); below.
85763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85764 <limits.h> exists even on freestanding compilers. */
85766 #ifdef __STDC__
85767 # include <limits.h>
85768 #else
85769 # include <assert.h>
85770 #endif
85772 #undef $ac_func
85774 /* Override any gcc2 internal prototype to avoid an error. */
85775 #ifdef __cplusplus
85776 extern "C"
85778 #endif
85779 /* We use char because int might match the return type of a gcc2
85780 builtin and then its argument prototype would still apply. */
85781 char $ac_func ();
85782 /* The GNU C library defines this for functions which it implements
85783 to always fail with ENOSYS. Some functions are actually named
85784 something starting with __ and the normal name is an alias. */
85785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85786 choke me
85787 #else
85788 char (*f) () = $ac_func;
85789 #endif
85790 #ifdef __cplusplus
85792 #endif
85795 main ()
85797 return f != $ac_func;
85799 return 0;
85801 _ACEOF
85802 rm -f conftest.$ac_objext conftest$ac_exeext
85803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85804 (eval $ac_link) 2>conftest.er1
85805 ac_status=$?
85806 grep -v '^ *+' conftest.er1 >conftest.err
85807 rm -f conftest.er1
85808 cat conftest.err >&5
85809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85810 (exit $ac_status); } &&
85811 { ac_try='test -z "$ac_c_werror_flag"
85812 || test ! -s conftest.err'
85813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85814 (eval $ac_try) 2>&5
85815 ac_status=$?
85816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85817 (exit $ac_status); }; } &&
85818 { ac_try='test -s conftest$ac_exeext'
85819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85820 (eval $ac_try) 2>&5
85821 ac_status=$?
85822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85823 (exit $ac_status); }; }; then
85824 eval "$as_ac_var=yes"
85825 else
85826 echo "$as_me: failed program was:" >&5
85827 sed 's/^/| /' conftest.$ac_ext >&5
85829 eval "$as_ac_var=no"
85831 rm -f conftest.err conftest.$ac_objext \
85832 conftest$ac_exeext conftest.$ac_ext
85834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85836 if test `eval echo '${'$as_ac_var'}'` = yes; then
85837 cat >>confdefs.h <<_ACEOF
85838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85839 _ACEOF
85841 else
85842 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85844 done
85848 for ac_func in __signbit
85850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85851 echo "$as_me:$LINENO: checking for $ac_func" >&5
85852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85853 if eval "test \"\${$as_ac_var+set}\" = set"; then
85854 echo $ECHO_N "(cached) $ECHO_C" >&6
85855 else
85856 if test x$gcc_no_link = xyes; then
85857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85859 { (exit 1); exit 1; }; }
85861 cat >conftest.$ac_ext <<_ACEOF
85862 /* confdefs.h. */
85863 _ACEOF
85864 cat confdefs.h >>conftest.$ac_ext
85865 cat >>conftest.$ac_ext <<_ACEOF
85866 /* end confdefs.h. */
85867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85869 #define $ac_func innocuous_$ac_func
85871 /* System header to define __stub macros and hopefully few prototypes,
85872 which can conflict with char $ac_func (); below.
85873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85874 <limits.h> exists even on freestanding compilers. */
85876 #ifdef __STDC__
85877 # include <limits.h>
85878 #else
85879 # include <assert.h>
85880 #endif
85882 #undef $ac_func
85884 /* Override any gcc2 internal prototype to avoid an error. */
85885 #ifdef __cplusplus
85886 extern "C"
85888 #endif
85889 /* We use char because int might match the return type of a gcc2
85890 builtin and then its argument prototype would still apply. */
85891 char $ac_func ();
85892 /* The GNU C library defines this for functions which it implements
85893 to always fail with ENOSYS. Some functions are actually named
85894 something starting with __ and the normal name is an alias. */
85895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85896 choke me
85897 #else
85898 char (*f) () = $ac_func;
85899 #endif
85900 #ifdef __cplusplus
85902 #endif
85905 main ()
85907 return f != $ac_func;
85909 return 0;
85911 _ACEOF
85912 rm -f conftest.$ac_objext conftest$ac_exeext
85913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85914 (eval $ac_link) 2>conftest.er1
85915 ac_status=$?
85916 grep -v '^ *+' conftest.er1 >conftest.err
85917 rm -f conftest.er1
85918 cat conftest.err >&5
85919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85920 (exit $ac_status); } &&
85921 { ac_try='test -z "$ac_c_werror_flag"
85922 || test ! -s conftest.err'
85923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85924 (eval $ac_try) 2>&5
85925 ac_status=$?
85926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85927 (exit $ac_status); }; } &&
85928 { ac_try='test -s conftest$ac_exeext'
85929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85930 (eval $ac_try) 2>&5
85931 ac_status=$?
85932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85933 (exit $ac_status); }; }; then
85934 eval "$as_ac_var=yes"
85935 else
85936 echo "$as_me: failed program was:" >&5
85937 sed 's/^/| /' conftest.$ac_ext >&5
85939 eval "$as_ac_var=no"
85941 rm -f conftest.err conftest.$ac_objext \
85942 conftest$ac_exeext conftest.$ac_ext
85944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85946 if test `eval echo '${'$as_ac_var'}'` = yes; then
85947 cat >>confdefs.h <<_ACEOF
85948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85949 _ACEOF
85951 else
85952 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85954 done
85958 for ac_func in __signbitf
85960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85961 echo "$as_me:$LINENO: checking for $ac_func" >&5
85962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85963 if eval "test \"\${$as_ac_var+set}\" = set"; then
85964 echo $ECHO_N "(cached) $ECHO_C" >&6
85965 else
85966 if test x$gcc_no_link = xyes; then
85967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85969 { (exit 1); exit 1; }; }
85971 cat >conftest.$ac_ext <<_ACEOF
85972 /* confdefs.h. */
85973 _ACEOF
85974 cat confdefs.h >>conftest.$ac_ext
85975 cat >>conftest.$ac_ext <<_ACEOF
85976 /* end confdefs.h. */
85977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85979 #define $ac_func innocuous_$ac_func
85981 /* System header to define __stub macros and hopefully few prototypes,
85982 which can conflict with char $ac_func (); below.
85983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85984 <limits.h> exists even on freestanding compilers. */
85986 #ifdef __STDC__
85987 # include <limits.h>
85988 #else
85989 # include <assert.h>
85990 #endif
85992 #undef $ac_func
85994 /* Override any gcc2 internal prototype to avoid an error. */
85995 #ifdef __cplusplus
85996 extern "C"
85998 #endif
85999 /* We use char because int might match the return type of a gcc2
86000 builtin and then its argument prototype would still apply. */
86001 char $ac_func ();
86002 /* The GNU C library defines this for functions which it implements
86003 to always fail with ENOSYS. Some functions are actually named
86004 something starting with __ and the normal name is an alias. */
86005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86006 choke me
86007 #else
86008 char (*f) () = $ac_func;
86009 #endif
86010 #ifdef __cplusplus
86012 #endif
86015 main ()
86017 return f != $ac_func;
86019 return 0;
86021 _ACEOF
86022 rm -f conftest.$ac_objext conftest$ac_exeext
86023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86024 (eval $ac_link) 2>conftest.er1
86025 ac_status=$?
86026 grep -v '^ *+' conftest.er1 >conftest.err
86027 rm -f conftest.er1
86028 cat conftest.err >&5
86029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86030 (exit $ac_status); } &&
86031 { ac_try='test -z "$ac_c_werror_flag"
86032 || test ! -s conftest.err'
86033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86034 (eval $ac_try) 2>&5
86035 ac_status=$?
86036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86037 (exit $ac_status); }; } &&
86038 { ac_try='test -s conftest$ac_exeext'
86039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86040 (eval $ac_try) 2>&5
86041 ac_status=$?
86042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86043 (exit $ac_status); }; }; then
86044 eval "$as_ac_var=yes"
86045 else
86046 echo "$as_me: failed program was:" >&5
86047 sed 's/^/| /' conftest.$ac_ext >&5
86049 eval "$as_ac_var=no"
86051 rm -f conftest.err conftest.$ac_objext \
86052 conftest$ac_exeext conftest.$ac_ext
86054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86056 if test `eval echo '${'$as_ac_var'}'` = yes; then
86057 cat >>confdefs.h <<_ACEOF
86058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86059 _ACEOF
86061 else
86062 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86064 done
86067 if test x$ac_cv_func_copysignl = x"yes"; then
86069 for ac_func in __signbitl
86071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86072 echo "$as_me:$LINENO: checking for $ac_func" >&5
86073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86074 if eval "test \"\${$as_ac_var+set}\" = set"; then
86075 echo $ECHO_N "(cached) $ECHO_C" >&6
86076 else
86077 if test x$gcc_no_link = xyes; then
86078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86080 { (exit 1); exit 1; }; }
86082 cat >conftest.$ac_ext <<_ACEOF
86083 /* confdefs.h. */
86084 _ACEOF
86085 cat confdefs.h >>conftest.$ac_ext
86086 cat >>conftest.$ac_ext <<_ACEOF
86087 /* end confdefs.h. */
86088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86090 #define $ac_func innocuous_$ac_func
86092 /* System header to define __stub macros and hopefully few prototypes,
86093 which can conflict with char $ac_func (); below.
86094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86095 <limits.h> exists even on freestanding compilers. */
86097 #ifdef __STDC__
86098 # include <limits.h>
86099 #else
86100 # include <assert.h>
86101 #endif
86103 #undef $ac_func
86105 /* Override any gcc2 internal prototype to avoid an error. */
86106 #ifdef __cplusplus
86107 extern "C"
86109 #endif
86110 /* We use char because int might match the return type of a gcc2
86111 builtin and then its argument prototype would still apply. */
86112 char $ac_func ();
86113 /* The GNU C library defines this for functions which it implements
86114 to always fail with ENOSYS. Some functions are actually named
86115 something starting with __ and the normal name is an alias. */
86116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86117 choke me
86118 #else
86119 char (*f) () = $ac_func;
86120 #endif
86121 #ifdef __cplusplus
86123 #endif
86126 main ()
86128 return f != $ac_func;
86130 return 0;
86132 _ACEOF
86133 rm -f conftest.$ac_objext conftest$ac_exeext
86134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86135 (eval $ac_link) 2>conftest.er1
86136 ac_status=$?
86137 grep -v '^ *+' conftest.er1 >conftest.err
86138 rm -f conftest.er1
86139 cat conftest.err >&5
86140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86141 (exit $ac_status); } &&
86142 { ac_try='test -z "$ac_c_werror_flag"
86143 || test ! -s conftest.err'
86144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86145 (eval $ac_try) 2>&5
86146 ac_status=$?
86147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86148 (exit $ac_status); }; } &&
86149 { ac_try='test -s conftest$ac_exeext'
86150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86151 (eval $ac_try) 2>&5
86152 ac_status=$?
86153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86154 (exit $ac_status); }; }; then
86155 eval "$as_ac_var=yes"
86156 else
86157 echo "$as_me: failed program was:" >&5
86158 sed 's/^/| /' conftest.$ac_ext >&5
86160 eval "$as_ac_var=no"
86162 rm -f conftest.err conftest.$ac_objext \
86163 conftest$ac_exeext conftest.$ac_ext
86165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86167 if test `eval echo '${'$as_ac_var'}'` = yes; then
86168 cat >>confdefs.h <<_ACEOF
86169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86170 _ACEOF
86172 else
86173 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86175 done
86179 # Used in libmath/Makefile.am.
86180 if test -n "$LIBMATHOBJS"; then
86181 need_libmath=yes
86187 enable_iconv=no
86188 # Only continue checking if the ISO C99 headers exist and support is on.
86189 if test x"$enable_wchar_t" = xyes; then
86191 # Use iconv for wchar_t to char conversions. As such, check for
86192 # X/Open Portability Guide, version 2 features (XPG2).
86193 if test "${ac_cv_header_iconv_h+set}" = set; then
86194 echo "$as_me:$LINENO: checking for iconv.h" >&5
86195 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86196 if test "${ac_cv_header_iconv_h+set}" = set; then
86197 echo $ECHO_N "(cached) $ECHO_C" >&6
86199 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86200 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86201 else
86202 # Is the header compilable?
86203 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86204 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86205 cat >conftest.$ac_ext <<_ACEOF
86206 /* confdefs.h. */
86207 _ACEOF
86208 cat confdefs.h >>conftest.$ac_ext
86209 cat >>conftest.$ac_ext <<_ACEOF
86210 /* end confdefs.h. */
86211 $ac_includes_default
86212 #include <iconv.h>
86213 _ACEOF
86214 rm -f conftest.$ac_objext
86215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86216 (eval $ac_compile) 2>conftest.er1
86217 ac_status=$?
86218 grep -v '^ *+' conftest.er1 >conftest.err
86219 rm -f conftest.er1
86220 cat conftest.err >&5
86221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86222 (exit $ac_status); } &&
86223 { ac_try='test -z "$ac_c_werror_flag"
86224 || test ! -s conftest.err'
86225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86226 (eval $ac_try) 2>&5
86227 ac_status=$?
86228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86229 (exit $ac_status); }; } &&
86230 { ac_try='test -s conftest.$ac_objext'
86231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86232 (eval $ac_try) 2>&5
86233 ac_status=$?
86234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86235 (exit $ac_status); }; }; then
86236 ac_header_compiler=yes
86237 else
86238 echo "$as_me: failed program was:" >&5
86239 sed 's/^/| /' conftest.$ac_ext >&5
86241 ac_header_compiler=no
86243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86245 echo "${ECHO_T}$ac_header_compiler" >&6
86247 # Is the header present?
86248 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86249 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86250 cat >conftest.$ac_ext <<_ACEOF
86251 /* confdefs.h. */
86252 _ACEOF
86253 cat confdefs.h >>conftest.$ac_ext
86254 cat >>conftest.$ac_ext <<_ACEOF
86255 /* end confdefs.h. */
86256 #include <iconv.h>
86257 _ACEOF
86258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86260 ac_status=$?
86261 grep -v '^ *+' conftest.er1 >conftest.err
86262 rm -f conftest.er1
86263 cat conftest.err >&5
86264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86265 (exit $ac_status); } >/dev/null; then
86266 if test -s conftest.err; then
86267 ac_cpp_err=$ac_c_preproc_warn_flag
86268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86269 else
86270 ac_cpp_err=
86272 else
86273 ac_cpp_err=yes
86275 if test -z "$ac_cpp_err"; then
86276 ac_header_preproc=yes
86277 else
86278 echo "$as_me: failed program was:" >&5
86279 sed 's/^/| /' conftest.$ac_ext >&5
86281 ac_header_preproc=no
86283 rm -f conftest.err conftest.$ac_ext
86284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86285 echo "${ECHO_T}$ac_header_preproc" >&6
86287 # So? What about this header?
86288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86289 yes:no: )
86290 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86291 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86292 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86293 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86294 ac_header_preproc=yes
86296 no:yes:* )
86297 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86298 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86299 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86300 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86301 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86302 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86303 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86304 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86305 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86306 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86307 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86308 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86310 cat <<\_ASBOX
86311 ## ----------------------------------------- ##
86312 ## Report this to the package-unused lists. ##
86313 ## ----------------------------------------- ##
86314 _ASBOX
86316 sed "s/^/$as_me: WARNING: /" >&2
86318 esac
86319 echo "$as_me:$LINENO: checking for iconv.h" >&5
86320 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86321 if test "${ac_cv_header_iconv_h+set}" = set; then
86322 echo $ECHO_N "(cached) $ECHO_C" >&6
86323 else
86324 ac_cv_header_iconv_h=$ac_header_preproc
86326 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86327 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86330 if test $ac_cv_header_iconv_h = yes; then
86331 ac_has_iconv_h=yes
86332 else
86333 ac_has_iconv_h=no
86337 if test "${ac_cv_header_langinfo_h+set}" = set; then
86338 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86339 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86340 if test "${ac_cv_header_langinfo_h+set}" = set; then
86341 echo $ECHO_N "(cached) $ECHO_C" >&6
86343 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86344 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86345 else
86346 # Is the header compilable?
86347 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86348 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86349 cat >conftest.$ac_ext <<_ACEOF
86350 /* confdefs.h. */
86351 _ACEOF
86352 cat confdefs.h >>conftest.$ac_ext
86353 cat >>conftest.$ac_ext <<_ACEOF
86354 /* end confdefs.h. */
86355 $ac_includes_default
86356 #include <langinfo.h>
86357 _ACEOF
86358 rm -f conftest.$ac_objext
86359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86360 (eval $ac_compile) 2>conftest.er1
86361 ac_status=$?
86362 grep -v '^ *+' conftest.er1 >conftest.err
86363 rm -f conftest.er1
86364 cat conftest.err >&5
86365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86366 (exit $ac_status); } &&
86367 { ac_try='test -z "$ac_c_werror_flag"
86368 || test ! -s conftest.err'
86369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86370 (eval $ac_try) 2>&5
86371 ac_status=$?
86372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86373 (exit $ac_status); }; } &&
86374 { ac_try='test -s conftest.$ac_objext'
86375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86376 (eval $ac_try) 2>&5
86377 ac_status=$?
86378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86379 (exit $ac_status); }; }; then
86380 ac_header_compiler=yes
86381 else
86382 echo "$as_me: failed program was:" >&5
86383 sed 's/^/| /' conftest.$ac_ext >&5
86385 ac_header_compiler=no
86387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86389 echo "${ECHO_T}$ac_header_compiler" >&6
86391 # Is the header present?
86392 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86393 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86394 cat >conftest.$ac_ext <<_ACEOF
86395 /* confdefs.h. */
86396 _ACEOF
86397 cat confdefs.h >>conftest.$ac_ext
86398 cat >>conftest.$ac_ext <<_ACEOF
86399 /* end confdefs.h. */
86400 #include <langinfo.h>
86401 _ACEOF
86402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86404 ac_status=$?
86405 grep -v '^ *+' conftest.er1 >conftest.err
86406 rm -f conftest.er1
86407 cat conftest.err >&5
86408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86409 (exit $ac_status); } >/dev/null; then
86410 if test -s conftest.err; then
86411 ac_cpp_err=$ac_c_preproc_warn_flag
86412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86413 else
86414 ac_cpp_err=
86416 else
86417 ac_cpp_err=yes
86419 if test -z "$ac_cpp_err"; then
86420 ac_header_preproc=yes
86421 else
86422 echo "$as_me: failed program was:" >&5
86423 sed 's/^/| /' conftest.$ac_ext >&5
86425 ac_header_preproc=no
86427 rm -f conftest.err conftest.$ac_ext
86428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86429 echo "${ECHO_T}$ac_header_preproc" >&6
86431 # So? What about this header?
86432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86433 yes:no: )
86434 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86435 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86436 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86437 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86438 ac_header_preproc=yes
86440 no:yes:* )
86441 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86442 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86443 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86444 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86445 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86446 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86447 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86448 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86449 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86450 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86451 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86452 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86454 cat <<\_ASBOX
86455 ## ----------------------------------------- ##
86456 ## Report this to the package-unused lists. ##
86457 ## ----------------------------------------- ##
86458 _ASBOX
86460 sed "s/^/$as_me: WARNING: /" >&2
86462 esac
86463 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86464 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86465 if test "${ac_cv_header_langinfo_h+set}" = set; then
86466 echo $ECHO_N "(cached) $ECHO_C" >&6
86467 else
86468 ac_cv_header_langinfo_h=$ac_header_preproc
86470 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86471 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86474 if test $ac_cv_header_langinfo_h = yes; then
86475 ac_has_langinfo_h=yes
86476 else
86477 ac_has_langinfo_h=no
86482 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86483 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86484 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86485 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86486 echo $ECHO_N "(cached) $ECHO_C" >&6
86487 else
86488 ac_check_lib_save_LIBS=$LIBS
86489 LIBS="-liconv $LIBS"
86490 if test x$gcc_no_link = xyes; then
86491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86493 { (exit 1); exit 1; }; }
86495 cat >conftest.$ac_ext <<_ACEOF
86496 /* confdefs.h. */
86497 _ACEOF
86498 cat confdefs.h >>conftest.$ac_ext
86499 cat >>conftest.$ac_ext <<_ACEOF
86500 /* end confdefs.h. */
86502 /* Override any gcc2 internal prototype to avoid an error. */
86503 #ifdef __cplusplus
86504 extern "C"
86505 #endif
86506 /* We use char because int might match the return type of a gcc2
86507 builtin and then its argument prototype would still apply. */
86508 char iconv ();
86510 main ()
86512 iconv ();
86514 return 0;
86516 _ACEOF
86517 rm -f conftest.$ac_objext conftest$ac_exeext
86518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86519 (eval $ac_link) 2>conftest.er1
86520 ac_status=$?
86521 grep -v '^ *+' conftest.er1 >conftest.err
86522 rm -f conftest.er1
86523 cat conftest.err >&5
86524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86525 (exit $ac_status); } &&
86526 { ac_try='test -z "$ac_c_werror_flag"
86527 || test ! -s conftest.err'
86528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86529 (eval $ac_try) 2>&5
86530 ac_status=$?
86531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86532 (exit $ac_status); }; } &&
86533 { ac_try='test -s conftest$ac_exeext'
86534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86535 (eval $ac_try) 2>&5
86536 ac_status=$?
86537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86538 (exit $ac_status); }; }; then
86539 ac_cv_lib_iconv_iconv=yes
86540 else
86541 echo "$as_me: failed program was:" >&5
86542 sed 's/^/| /' conftest.$ac_ext >&5
86544 ac_cv_lib_iconv_iconv=no
86546 rm -f conftest.err conftest.$ac_objext \
86547 conftest$ac_exeext conftest.$ac_ext
86548 LIBS=$ac_check_lib_save_LIBS
86550 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86551 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86552 if test $ac_cv_lib_iconv_iconv = yes; then
86553 LIBICONV="-liconv"
86556 ac_save_LIBS="$LIBS"
86557 LIBS="$LIBS $LIBICONV"
86564 for ac_func in iconv_open iconv_close iconv nl_langinfo
86566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86567 echo "$as_me:$LINENO: checking for $ac_func" >&5
86568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86569 if eval "test \"\${$as_ac_var+set}\" = set"; then
86570 echo $ECHO_N "(cached) $ECHO_C" >&6
86571 else
86572 if test x$gcc_no_link = xyes; then
86573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86575 { (exit 1); exit 1; }; }
86577 cat >conftest.$ac_ext <<_ACEOF
86578 /* confdefs.h. */
86579 _ACEOF
86580 cat confdefs.h >>conftest.$ac_ext
86581 cat >>conftest.$ac_ext <<_ACEOF
86582 /* end confdefs.h. */
86583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86585 #define $ac_func innocuous_$ac_func
86587 /* System header to define __stub macros and hopefully few prototypes,
86588 which can conflict with char $ac_func (); below.
86589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86590 <limits.h> exists even on freestanding compilers. */
86592 #ifdef __STDC__
86593 # include <limits.h>
86594 #else
86595 # include <assert.h>
86596 #endif
86598 #undef $ac_func
86600 /* Override any gcc2 internal prototype to avoid an error. */
86601 #ifdef __cplusplus
86602 extern "C"
86604 #endif
86605 /* We use char because int might match the return type of a gcc2
86606 builtin and then its argument prototype would still apply. */
86607 char $ac_func ();
86608 /* The GNU C library defines this for functions which it implements
86609 to always fail with ENOSYS. Some functions are actually named
86610 something starting with __ and the normal name is an alias. */
86611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86612 choke me
86613 #else
86614 char (*f) () = $ac_func;
86615 #endif
86616 #ifdef __cplusplus
86618 #endif
86621 main ()
86623 return f != $ac_func;
86625 return 0;
86627 _ACEOF
86628 rm -f conftest.$ac_objext conftest$ac_exeext
86629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86630 (eval $ac_link) 2>conftest.er1
86631 ac_status=$?
86632 grep -v '^ *+' conftest.er1 >conftest.err
86633 rm -f conftest.er1
86634 cat conftest.err >&5
86635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86636 (exit $ac_status); } &&
86637 { ac_try='test -z "$ac_c_werror_flag"
86638 || test ! -s conftest.err'
86639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86640 (eval $ac_try) 2>&5
86641 ac_status=$?
86642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86643 (exit $ac_status); }; } &&
86644 { ac_try='test -s conftest$ac_exeext'
86645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86646 (eval $ac_try) 2>&5
86647 ac_status=$?
86648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86649 (exit $ac_status); }; }; then
86650 eval "$as_ac_var=yes"
86651 else
86652 echo "$as_me: failed program was:" >&5
86653 sed 's/^/| /' conftest.$ac_ext >&5
86655 eval "$as_ac_var=no"
86657 rm -f conftest.err conftest.$ac_objext \
86658 conftest$ac_exeext conftest.$ac_ext
86660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86662 if test `eval echo '${'$as_ac_var'}'` = yes; then
86663 cat >>confdefs.h <<_ACEOF
86664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86665 _ACEOF
86666 ac_XPG2funcs=yes
86667 else
86668 ac_XPG2funcs=no
86670 done
86673 LIBS="$ac_save_LIBS"
86675 if test x"$ac_has_iconv_h" = xyes &&
86676 test x"$ac_has_langinfo_h" = xyes &&
86677 test x"$ac_XPG2funcs" = xyes;
86678 then
86680 cat >>confdefs.h <<\_ACEOF
86681 #define _GLIBCXX_USE_ICONV 1
86682 _ACEOF
86684 enable_iconv=yes
86687 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86688 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86689 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86690 echo "${ECHO_T}$enable_iconv" >&6
86692 cat >>confdefs.h <<\_ACEOF
86693 #define HAVE_COPYSIGN 1
86694 _ACEOF
86696 cat >>confdefs.h <<\_ACEOF
86697 #define HAVE_COPYSIGNF 1
86698 _ACEOF
86700 cat >>confdefs.h <<\_ACEOF
86701 #define HAVE_FINITE 1
86702 _ACEOF
86704 cat >>confdefs.h <<\_ACEOF
86705 #define HAVE_FINITEF 1
86706 _ACEOF
86708 cat >>confdefs.h <<\_ACEOF
86709 #define HAVE_FREXPF 1
86710 _ACEOF
86712 cat >>confdefs.h <<\_ACEOF
86713 #define HAVE_HYPOTF 1
86714 _ACEOF
86716 cat >>confdefs.h <<\_ACEOF
86717 #define HAVE_ISINF 1
86718 _ACEOF
86720 cat >>confdefs.h <<\_ACEOF
86721 #define HAVE_ISINFF 1
86722 _ACEOF
86724 cat >>confdefs.h <<\_ACEOF
86725 #define HAVE_ISNAN 1
86726 _ACEOF
86728 cat >>confdefs.h <<\_ACEOF
86729 #define HAVE_ISNANF 1
86730 _ACEOF
86732 cat >>confdefs.h <<\_ACEOF
86733 #define HAVE_SINCOS 1
86734 _ACEOF
86736 cat >>confdefs.h <<\_ACEOF
86737 #define HAVE_SINCOSF 1
86738 _ACEOF
86740 if test x"long_double_math_on_this_cpu" = x"yes"; then
86741 cat >>confdefs.h <<\_ACEOF
86742 #define HAVE_FINITEL 1
86743 _ACEOF
86745 cat >>confdefs.h <<\_ACEOF
86746 #define HAVE_HYPOTL 1
86747 _ACEOF
86749 cat >>confdefs.h <<\_ACEOF
86750 #define HAVE_ISINFL 1
86751 _ACEOF
86753 cat >>confdefs.h <<\_ACEOF
86754 #define HAVE_ISNANL 1
86755 _ACEOF
86759 *-vxworks)
86760 cat >>confdefs.h <<\_ACEOF
86761 #define HAVE_MMAP 1
86762 _ACEOF
86764 cat >>confdefs.h <<\_ACEOF
86765 #define HAVE_ACOSF 1
86766 _ACEOF
86768 cat >>confdefs.h <<\_ACEOF
86769 #define HAVE_ASINF 1
86770 _ACEOF
86772 cat >>confdefs.h <<\_ACEOF
86773 #define HAVE_ATAN2F 1
86774 _ACEOF
86776 cat >>confdefs.h <<\_ACEOF
86777 #define HAVE_ATANF 1
86778 _ACEOF
86780 cat >>confdefs.h <<\_ACEOF
86781 #define HAVE_CEILF 1
86782 _ACEOF
86784 cat >>confdefs.h <<\_ACEOF
86785 #define HAVE_COSF 1
86786 _ACEOF
86788 cat >>confdefs.h <<\_ACEOF
86789 #define HAVE_COSHF 1
86790 _ACEOF
86792 cat >>confdefs.h <<\_ACEOF
86793 #define HAVE_EXPF 1
86794 _ACEOF
86796 cat >>confdefs.h <<\_ACEOF
86797 #define HAVE_FABSF 1
86798 _ACEOF
86800 cat >>confdefs.h <<\_ACEOF
86801 #define HAVE_FLOORF 1
86802 _ACEOF
86804 cat >>confdefs.h <<\_ACEOF
86805 #define HAVE_FMODF 1
86806 _ACEOF
86808 cat >>confdefs.h <<\_ACEOF
86809 #define HAVE_HYPOT 1
86810 _ACEOF
86812 cat >>confdefs.h <<\_ACEOF
86813 #define HAVE_LOG10F 1
86814 _ACEOF
86816 cat >>confdefs.h <<\_ACEOF
86817 #define HAVE_LOGF 1
86818 _ACEOF
86820 cat >>confdefs.h <<\_ACEOF
86821 #define HAVE_POWF 1
86822 _ACEOF
86824 cat >>confdefs.h <<\_ACEOF
86825 #define HAVE_SINF 1
86826 _ACEOF
86828 cat >>confdefs.h <<\_ACEOF
86829 #define HAVE_SINHF 1
86830 _ACEOF
86832 cat >>confdefs.h <<\_ACEOF
86833 #define HAVE_SQRTF 1
86834 _ACEOF
86836 cat >>confdefs.h <<\_ACEOF
86837 #define HAVE_TANF 1
86838 _ACEOF
86840 cat >>confdefs.h <<\_ACEOF
86841 #define HAVE_TANHF 1
86842 _ACEOF
86845 *-windiss*)
86846 cat >>confdefs.h <<\_ACEOF
86847 #define HAVE_ACOSF 1
86848 _ACEOF
86850 cat >>confdefs.h <<\_ACEOF
86851 #define HAVE_ACOSL 1
86852 _ACEOF
86854 cat >>confdefs.h <<\_ACEOF
86855 #define HAVE_ASINF 1
86856 _ACEOF
86858 cat >>confdefs.h <<\_ACEOF
86859 #define HAVE_ASINL 1
86860 _ACEOF
86862 cat >>confdefs.h <<\_ACEOF
86863 #define HAVE_ATAN2F 1
86864 _ACEOF
86866 cat >>confdefs.h <<\_ACEOF
86867 #define HAVE_ATAN2L 1
86868 _ACEOF
86870 cat >>confdefs.h <<\_ACEOF
86871 #define HAVE_ATANF 1
86872 _ACEOF
86874 cat >>confdefs.h <<\_ACEOF
86875 #define HAVE_ATANL 1
86876 _ACEOF
86878 cat >>confdefs.h <<\_ACEOF
86879 #define HAVE_CEILF 1
86880 _ACEOF
86882 cat >>confdefs.h <<\_ACEOF
86883 #define HAVE_CEILL 1
86884 _ACEOF
86886 cat >>confdefs.h <<\_ACEOF
86887 #define HAVE_COPYSIGN 1
86888 _ACEOF
86890 cat >>confdefs.h <<\_ACEOF
86891 #define HAVE_COPYSIGNF 1
86892 _ACEOF
86894 cat >>confdefs.h <<\_ACEOF
86895 #define HAVE_COSF 1
86896 _ACEOF
86898 cat >>confdefs.h <<\_ACEOF
86899 #define HAVE_COSL 1
86900 _ACEOF
86902 cat >>confdefs.h <<\_ACEOF
86903 #define HAVE_COSHF 1
86904 _ACEOF
86906 cat >>confdefs.h <<\_ACEOF
86907 #define HAVE_COSHL 1
86908 _ACEOF
86910 cat >>confdefs.h <<\_ACEOF
86911 #define HAVE_EXPF 1
86912 _ACEOF
86914 cat >>confdefs.h <<\_ACEOF
86915 #define HAVE_EXPL 1
86916 _ACEOF
86918 cat >>confdefs.h <<\_ACEOF
86919 #define HAVE_FABSF 1
86920 _ACEOF
86922 cat >>confdefs.h <<\_ACEOF
86923 #define HAVE_FABSL 1
86924 _ACEOF
86926 cat >>confdefs.h <<\_ACEOF
86927 #define HAVE_FLOORF 1
86928 _ACEOF
86930 cat >>confdefs.h <<\_ACEOF
86931 #define HAVE_FLOORL 1
86932 _ACEOF
86934 cat >>confdefs.h <<\_ACEOF
86935 #define HAVE_FMODF 1
86936 _ACEOF
86938 cat >>confdefs.h <<\_ACEOF
86939 #define HAVE_FMODL 1
86940 _ACEOF
86942 cat >>confdefs.h <<\_ACEOF
86943 #define HAVE_FREXPF 1
86944 _ACEOF
86946 cat >>confdefs.h <<\_ACEOF
86947 #define HAVE_FREXPL 1
86948 _ACEOF
86950 cat >>confdefs.h <<\_ACEOF
86951 #define HAVE_LDEXPF 1
86952 _ACEOF
86954 cat >>confdefs.h <<\_ACEOF
86955 #define HAVE_LDEXPL 1
86956 _ACEOF
86958 cat >>confdefs.h <<\_ACEOF
86959 #define HAVE_LOG10F 1
86960 _ACEOF
86962 cat >>confdefs.h <<\_ACEOF
86963 #define HAVE_LOG10L 1
86964 _ACEOF
86966 cat >>confdefs.h <<\_ACEOF
86967 #define HAVE_LOGF 1
86968 _ACEOF
86970 cat >>confdefs.h <<\_ACEOF
86971 #define HAVE_MODFF 1
86972 _ACEOF
86974 cat >>confdefs.h <<\_ACEOF
86975 #define HAVE_MODFL 1
86976 _ACEOF
86978 cat >>confdefs.h <<\_ACEOF
86979 #define HAVE_POWF 1
86980 _ACEOF
86982 cat >>confdefs.h <<\_ACEOF
86983 #define HAVE_POWL 1
86984 _ACEOF
86986 cat >>confdefs.h <<\_ACEOF
86987 #define HAVE_SINF 1
86988 _ACEOF
86990 cat >>confdefs.h <<\_ACEOF
86991 #define HAVE_SINL 1
86992 _ACEOF
86994 cat >>confdefs.h <<\_ACEOF
86995 #define HAVE_SINHF 1
86996 _ACEOF
86998 cat >>confdefs.h <<\_ACEOF
86999 #define HAVE_SINHL 1
87000 _ACEOF
87002 cat >>confdefs.h <<\_ACEOF
87003 #define HAVE_SQRTF 1
87004 _ACEOF
87006 cat >>confdefs.h <<\_ACEOF
87007 #define HAVE_SQRTL 1
87008 _ACEOF
87010 cat >>confdefs.h <<\_ACEOF
87011 #define HAVE_TANF 1
87012 _ACEOF
87014 cat >>confdefs.h <<\_ACEOF
87015 #define HAVE_TANL 1
87016 _ACEOF
87018 cat >>confdefs.h <<\_ACEOF
87019 #define HAVE_TANHF 1
87020 _ACEOF
87022 cat >>confdefs.h <<\_ACEOF
87023 #define HAVE_TANHL 1
87024 _ACEOF
87028 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87029 echo "$as_me: error: No support for this host/target combination." >&2;}
87030 { (exit 1); exit 1; }; }
87032 esac
87036 # At some point, we should differentiate between architectures
87037 # like x86, which have long double versions, and alpha/powerpc/etc.,
87038 # which don't. For the time being, punt.
87039 if test x"long_double_math_on_this_cpu" = x"yes"; then
87040 cat >>confdefs.h <<\_ACEOF
87041 #define HAVE_ACOSL 1
87042 _ACEOF
87044 cat >>confdefs.h <<\_ACEOF
87045 #define HAVE_ASINL 1
87046 _ACEOF
87048 cat >>confdefs.h <<\_ACEOF
87049 #define HAVE_ATAN2L 1
87050 _ACEOF
87052 cat >>confdefs.h <<\_ACEOF
87053 #define HAVE_ATANL 1
87054 _ACEOF
87056 cat >>confdefs.h <<\_ACEOF
87057 #define HAVE_CEILL 1
87058 _ACEOF
87060 cat >>confdefs.h <<\_ACEOF
87061 #define HAVE_COPYSIGNL 1
87062 _ACEOF
87064 cat >>confdefs.h <<\_ACEOF
87065 #define HAVE_COSL 1
87066 _ACEOF
87068 cat >>confdefs.h <<\_ACEOF
87069 #define HAVE_COSHL 1
87070 _ACEOF
87072 cat >>confdefs.h <<\_ACEOF
87073 #define HAVE_EXPL 1
87074 _ACEOF
87076 cat >>confdefs.h <<\_ACEOF
87077 #define HAVE_FABSL 1
87078 _ACEOF
87080 cat >>confdefs.h <<\_ACEOF
87081 #define HAVE_FLOORL 1
87082 _ACEOF
87084 cat >>confdefs.h <<\_ACEOF
87085 #define HAVE_FMODL 1
87086 _ACEOF
87088 cat >>confdefs.h <<\_ACEOF
87089 #define HAVE_FREXPL 1
87090 _ACEOF
87092 cat >>confdefs.h <<\_ACEOF
87093 #define HAVE_LDEXPL 1
87094 _ACEOF
87096 cat >>confdefs.h <<\_ACEOF
87097 #define HAVE_LOG10L 1
87098 _ACEOF
87100 cat >>confdefs.h <<\_ACEOF
87101 #define HAVE_LOGL 1
87102 _ACEOF
87104 cat >>confdefs.h <<\_ACEOF
87105 #define HAVE_MODFL 1
87106 _ACEOF
87108 cat >>confdefs.h <<\_ACEOF
87109 #define HAVE_POWL 1
87110 _ACEOF
87112 cat >>confdefs.h <<\_ACEOF
87113 #define HAVE_SINCOSL 1
87114 _ACEOF
87116 cat >>confdefs.h <<\_ACEOF
87117 #define HAVE_SINL 1
87118 _ACEOF
87120 cat >>confdefs.h <<\_ACEOF
87121 #define HAVE_SINHL 1
87122 _ACEOF
87124 cat >>confdefs.h <<\_ACEOF
87125 #define HAVE_SQRTL 1
87126 _ACEOF
87128 cat >>confdefs.h <<\_ACEOF
87129 #define HAVE_TANL 1
87130 _ACEOF
87132 cat >>confdefs.h <<\_ACEOF
87133 #define HAVE_TANHL 1
87134 _ACEOF
87140 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87143 # Check whether --enable-symvers or --disable-symvers was given.
87144 if test "${enable_symvers+set}" = set; then
87145 enableval="$enable_symvers"
87147 case "$enableval" in
87148 yes|no|gnu) ;;
87149 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87150 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87151 { (exit 1); exit 1; }; } ;;
87152 esac
87154 else
87155 enable_symvers=yes
87159 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87160 # don't know enough about $LD to do tricks...
87162 # FIXME The following test is too strict, in theory.
87163 if test $enable_shared = no ||
87164 test "x$LD" = x ||
87165 test x$glibcxx_gnu_ld_version = x; then
87166 enable_symvers=no
87169 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87170 if test $enable_symvers != no; then
87171 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87172 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87173 ac_save_CFLAGS="$CFLAGS"
87174 CFLAGS=' -lgcc_s'
87175 if test x$gcc_no_link = xyes; then
87176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87178 { (exit 1); exit 1; }; }
87180 cat >conftest.$ac_ext <<_ACEOF
87181 /* confdefs.h. */
87182 _ACEOF
87183 cat confdefs.h >>conftest.$ac_ext
87184 cat >>conftest.$ac_ext <<_ACEOF
87185 /* end confdefs.h. */
87188 main ()
87190 return 0;
87192 return 0;
87194 _ACEOF
87195 rm -f conftest.$ac_objext conftest$ac_exeext
87196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87197 (eval $ac_link) 2>conftest.er1
87198 ac_status=$?
87199 grep -v '^ *+' conftest.er1 >conftest.err
87200 rm -f conftest.er1
87201 cat conftest.err >&5
87202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87203 (exit $ac_status); } &&
87204 { ac_try='test -z "$ac_c_werror_flag"
87205 || test ! -s conftest.err'
87206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87207 (eval $ac_try) 2>&5
87208 ac_status=$?
87209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87210 (exit $ac_status); }; } &&
87211 { ac_try='test -s conftest$ac_exeext'
87212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87213 (eval $ac_try) 2>&5
87214 ac_status=$?
87215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87216 (exit $ac_status); }; }; then
87217 glibcxx_shared_libgcc=yes
87218 else
87219 echo "$as_me: failed program was:" >&5
87220 sed 's/^/| /' conftest.$ac_ext >&5
87222 glibcxx_shared_libgcc=no
87224 rm -f conftest.err conftest.$ac_objext \
87225 conftest$ac_exeext conftest.$ac_ext
87226 CFLAGS="$ac_save_CFLAGS"
87227 if test $glibcxx_shared_libgcc = no; then
87228 cat > conftest.c <<EOF
87229 int main (void) { return 0; }
87231 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87232 -shared -shared-libgcc -o conftest.so \
87233 conftest.c -v 2>&1 >/dev/null \
87234 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87235 rm -f conftest.c conftest.so
87236 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87237 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87238 if test x$gcc_no_link = xyes; then
87239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87241 { (exit 1); exit 1; }; }
87243 cat >conftest.$ac_ext <<_ACEOF
87244 /* confdefs.h. */
87245 _ACEOF
87246 cat confdefs.h >>conftest.$ac_ext
87247 cat >>conftest.$ac_ext <<_ACEOF
87248 /* end confdefs.h. */
87251 main ()
87253 return 0;
87255 return 0;
87257 _ACEOF
87258 rm -f conftest.$ac_objext conftest$ac_exeext
87259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87260 (eval $ac_link) 2>conftest.er1
87261 ac_status=$?
87262 grep -v '^ *+' conftest.er1 >conftest.err
87263 rm -f conftest.er1
87264 cat conftest.err >&5
87265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87266 (exit $ac_status); } &&
87267 { ac_try='test -z "$ac_c_werror_flag"
87268 || test ! -s conftest.err'
87269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87270 (eval $ac_try) 2>&5
87271 ac_status=$?
87272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87273 (exit $ac_status); }; } &&
87274 { ac_try='test -s conftest$ac_exeext'
87275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87276 (eval $ac_try) 2>&5
87277 ac_status=$?
87278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87279 (exit $ac_status); }; }; then
87280 glibcxx_shared_libgcc=yes
87281 else
87282 echo "$as_me: failed program was:" >&5
87283 sed 's/^/| /' conftest.$ac_ext >&5
87286 rm -f conftest.err conftest.$ac_objext \
87287 conftest$ac_exeext conftest.$ac_ext
87288 CFLAGS="$ac_save_CFLAGS"
87291 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87292 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87295 # For GNU ld, we need at least this version. The format is described in
87296 # GLIBCXX_CHECK_LINKER_FEATURES above.
87297 glibcxx_min_gnu_ld_version=21400
87299 # Check to see if unspecified "yes" value can win, given results above.
87300 # Change "yes" into either "no" or a style name.
87301 if test $enable_symvers = yes; then
87302 if test $with_gnu_ld = yes &&
87303 test $glibcxx_shared_libgcc = yes;
87304 then
87305 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
87306 enable_symvers=gnu
87307 else
87308 # The right tools, the right setup, but too old. Fallbacks?
87309 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87310 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87311 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87312 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87313 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87314 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87315 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87316 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87317 if test $glibcxx_gnu_ld_version -ge 21200 ; then
87318 # Globbing fix is present, proper block support is not.
87319 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87320 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87321 enable_symvers=no
87322 else
87323 # 2.11 or older.
87324 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87325 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87326 enable_symvers=no
87329 else
87330 # just fail for now
87331 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87332 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87333 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
87334 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
87335 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
87336 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
87337 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87338 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87339 enable_symvers=no
87343 # Everything parsed; figure out what file to use.
87344 case $enable_symvers in
87346 SYMVER_MAP=config/linker-map.dummy
87348 gnu)
87349 SYMVER_MAP=config/linker-map.gnu
87351 cat >>confdefs.h <<\_ACEOF
87352 #define _GLIBCXX_SYMVER 1
87353 _ACEOF
87356 esac
87358 # In addition, need this to deal with std::size_t mangling in
87359 # src/compatibility.cc. In a perfect world, could use
87360 # typeid(std::size_t).name()[0] to do direct substitution.
87361 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87362 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87363 ac_save_CFLAGS="$CFLAGS"
87364 CFLAGS="-Werror"
87365 cat >conftest.$ac_ext <<_ACEOF
87366 /* confdefs.h. */
87367 _ACEOF
87368 cat confdefs.h >>conftest.$ac_ext
87369 cat >>conftest.$ac_ext <<_ACEOF
87370 /* end confdefs.h. */
87373 main ()
87375 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87377 return 0;
87379 _ACEOF
87380 rm -f conftest.$ac_objext
87381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87382 (eval $ac_compile) 2>conftest.er1
87383 ac_status=$?
87384 grep -v '^ *+' conftest.er1 >conftest.err
87385 rm -f conftest.er1
87386 cat conftest.err >&5
87387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87388 (exit $ac_status); } &&
87389 { ac_try='test -z "$ac_c_werror_flag"
87390 || test ! -s conftest.err'
87391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87392 (eval $ac_try) 2>&5
87393 ac_status=$?
87394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87395 (exit $ac_status); }; } &&
87396 { ac_try='test -s conftest.$ac_objext'
87397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87398 (eval $ac_try) 2>&5
87399 ac_status=$?
87400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87401 (exit $ac_status); }; }; then
87402 glibcxx_size_t_is_i=yes
87403 else
87404 echo "$as_me: failed program was:" >&5
87405 sed 's/^/| /' conftest.$ac_ext >&5
87407 glibcxx_size_t_is_i=no
87409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87410 CFLAGS=$ac_save_CFLAGS
87411 if test "$glibcxx_size_t_is_i" = yes; then
87413 cat >>confdefs.h <<\_ACEOF
87414 #define _GLIBCXX_SIZE_T_IS_UINT 1
87415 _ACEOF
87418 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87419 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87421 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87422 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87423 ac_save_CFLAGS="$CFLAGS"
87424 CFLAGS="-Werror"
87425 cat >conftest.$ac_ext <<_ACEOF
87426 /* confdefs.h. */
87427 _ACEOF
87428 cat confdefs.h >>conftest.$ac_ext
87429 cat >>conftest.$ac_ext <<_ACEOF
87430 /* end confdefs.h. */
87433 main ()
87435 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87437 return 0;
87439 _ACEOF
87440 rm -f conftest.$ac_objext
87441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87442 (eval $ac_compile) 2>conftest.er1
87443 ac_status=$?
87444 grep -v '^ *+' conftest.er1 >conftest.err
87445 rm -f conftest.er1
87446 cat conftest.err >&5
87447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87448 (exit $ac_status); } &&
87449 { ac_try='test -z "$ac_c_werror_flag"
87450 || test ! -s conftest.err'
87451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87452 (eval $ac_try) 2>&5
87453 ac_status=$?
87454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87455 (exit $ac_status); }; } &&
87456 { ac_try='test -s conftest.$ac_objext'
87457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87458 (eval $ac_try) 2>&5
87459 ac_status=$?
87460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87461 (exit $ac_status); }; }; then
87462 glibcxx_ptrdiff_t_is_i=yes
87463 else
87464 echo "$as_me: failed program was:" >&5
87465 sed 's/^/| /' conftest.$ac_ext >&5
87467 glibcxx_ptrdiff_t_is_i=no
87469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87470 CFLAGS=$ac_save_CFLAGS
87471 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87473 cat >>confdefs.h <<\_ACEOF
87474 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87475 _ACEOF
87478 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87479 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87484 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87485 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87488 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87490 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
87491 test $enable_symvers != no; then
87492 # Do checks for resource limit functions.
87494 setrlimit_have_headers=yes
87498 for ac_header in unistd.h sys/time.h sys/resource.h
87500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87502 echo "$as_me:$LINENO: checking for $ac_header" >&5
87503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87505 echo $ECHO_N "(cached) $ECHO_C" >&6
87507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87509 else
87510 # Is the header compilable?
87511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87513 cat >conftest.$ac_ext <<_ACEOF
87514 /* confdefs.h. */
87515 _ACEOF
87516 cat confdefs.h >>conftest.$ac_ext
87517 cat >>conftest.$ac_ext <<_ACEOF
87518 /* end confdefs.h. */
87519 $ac_includes_default
87520 #include <$ac_header>
87521 _ACEOF
87522 rm -f conftest.$ac_objext
87523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87524 (eval $ac_compile) 2>conftest.er1
87525 ac_status=$?
87526 grep -v '^ *+' conftest.er1 >conftest.err
87527 rm -f conftest.er1
87528 cat conftest.err >&5
87529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87530 (exit $ac_status); } &&
87531 { ac_try='test -z "$ac_c_werror_flag"
87532 || test ! -s conftest.err'
87533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87534 (eval $ac_try) 2>&5
87535 ac_status=$?
87536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87537 (exit $ac_status); }; } &&
87538 { ac_try='test -s conftest.$ac_objext'
87539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87540 (eval $ac_try) 2>&5
87541 ac_status=$?
87542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87543 (exit $ac_status); }; }; then
87544 ac_header_compiler=yes
87545 else
87546 echo "$as_me: failed program was:" >&5
87547 sed 's/^/| /' conftest.$ac_ext >&5
87549 ac_header_compiler=no
87551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87553 echo "${ECHO_T}$ac_header_compiler" >&6
87555 # Is the header present?
87556 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87558 cat >conftest.$ac_ext <<_ACEOF
87559 /* confdefs.h. */
87560 _ACEOF
87561 cat confdefs.h >>conftest.$ac_ext
87562 cat >>conftest.$ac_ext <<_ACEOF
87563 /* end confdefs.h. */
87564 #include <$ac_header>
87565 _ACEOF
87566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87568 ac_status=$?
87569 grep -v '^ *+' conftest.er1 >conftest.err
87570 rm -f conftest.er1
87571 cat conftest.err >&5
87572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87573 (exit $ac_status); } >/dev/null; then
87574 if test -s conftest.err; then
87575 ac_cpp_err=$ac_c_preproc_warn_flag
87576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87577 else
87578 ac_cpp_err=
87580 else
87581 ac_cpp_err=yes
87583 if test -z "$ac_cpp_err"; then
87584 ac_header_preproc=yes
87585 else
87586 echo "$as_me: failed program was:" >&5
87587 sed 's/^/| /' conftest.$ac_ext >&5
87589 ac_header_preproc=no
87591 rm -f conftest.err conftest.$ac_ext
87592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87593 echo "${ECHO_T}$ac_header_preproc" >&6
87595 # So? What about this header?
87596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87597 yes:no: )
87598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87601 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87602 ac_header_preproc=yes
87604 no:yes:* )
87605 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87607 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87609 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87610 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87611 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87618 cat <<\_ASBOX
87619 ## ----------------------------------------- ##
87620 ## Report this to the package-unused lists. ##
87621 ## ----------------------------------------- ##
87622 _ASBOX
87624 sed "s/^/$as_me: WARNING: /" >&2
87626 esac
87627 echo "$as_me:$LINENO: checking for $ac_header" >&5
87628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87630 echo $ECHO_N "(cached) $ECHO_C" >&6
87631 else
87632 eval "$as_ac_Header=\$ac_header_preproc"
87634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87639 cat >>confdefs.h <<_ACEOF
87640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87641 _ACEOF
87643 else
87644 setrlimit_have_headers=no
87647 done
87649 # If don't have the headers, then we can't run the tests now, and we
87650 # won't be seeing any of these during testsuite compilation.
87651 if test $setrlimit_have_headers = yes; then
87652 # Can't do these in a loop, else the resulting syntax is wrong.
87654 cat >conftest.$ac_ext <<_ACEOF
87655 /* confdefs.h. */
87656 _ACEOF
87657 cat confdefs.h >>conftest.$ac_ext
87658 cat >>conftest.$ac_ext <<_ACEOF
87659 /* end confdefs.h. */
87660 #include <unistd.h>
87661 #include <sys/time.h>
87662 #include <sys/resource.h>
87665 main ()
87667 int f = RLIMIT_DATA ;
87669 return 0;
87671 _ACEOF
87672 rm -f conftest.$ac_objext
87673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87674 (eval $ac_compile) 2>conftest.er1
87675 ac_status=$?
87676 grep -v '^ *+' conftest.er1 >conftest.err
87677 rm -f conftest.er1
87678 cat conftest.err >&5
87679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87680 (exit $ac_status); } &&
87681 { ac_try='test -z "$ac_c_werror_flag"
87682 || test ! -s conftest.err'
87683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87684 (eval $ac_try) 2>&5
87685 ac_status=$?
87686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87687 (exit $ac_status); }; } &&
87688 { ac_try='test -s conftest.$ac_objext'
87689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87690 (eval $ac_try) 2>&5
87691 ac_status=$?
87692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87693 (exit $ac_status); }; }; then
87694 glibcxx_mresult=1
87695 else
87696 echo "$as_me: failed program was:" >&5
87697 sed 's/^/| /' conftest.$ac_ext >&5
87699 glibcxx_mresult=0
87701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87703 cat >>confdefs.h <<_ACEOF
87704 #define HAVE_LIMIT_DATA $glibcxx_mresult
87705 _ACEOF
87709 cat >conftest.$ac_ext <<_ACEOF
87710 /* confdefs.h. */
87711 _ACEOF
87712 cat confdefs.h >>conftest.$ac_ext
87713 cat >>conftest.$ac_ext <<_ACEOF
87714 /* end confdefs.h. */
87715 #include <unistd.h>
87716 #include <sys/time.h>
87717 #include <sys/resource.h>
87720 main ()
87722 int f = RLIMIT_RSS ;
87724 return 0;
87726 _ACEOF
87727 rm -f conftest.$ac_objext
87728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87729 (eval $ac_compile) 2>conftest.er1
87730 ac_status=$?
87731 grep -v '^ *+' conftest.er1 >conftest.err
87732 rm -f conftest.er1
87733 cat conftest.err >&5
87734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87735 (exit $ac_status); } &&
87736 { ac_try='test -z "$ac_c_werror_flag"
87737 || test ! -s conftest.err'
87738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87739 (eval $ac_try) 2>&5
87740 ac_status=$?
87741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87742 (exit $ac_status); }; } &&
87743 { ac_try='test -s conftest.$ac_objext'
87744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87745 (eval $ac_try) 2>&5
87746 ac_status=$?
87747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87748 (exit $ac_status); }; }; then
87749 glibcxx_mresult=1
87750 else
87751 echo "$as_me: failed program was:" >&5
87752 sed 's/^/| /' conftest.$ac_ext >&5
87754 glibcxx_mresult=0
87756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87758 cat >>confdefs.h <<_ACEOF
87759 #define HAVE_LIMIT_RSS $glibcxx_mresult
87760 _ACEOF
87764 cat >conftest.$ac_ext <<_ACEOF
87765 /* confdefs.h. */
87766 _ACEOF
87767 cat confdefs.h >>conftest.$ac_ext
87768 cat >>conftest.$ac_ext <<_ACEOF
87769 /* end confdefs.h. */
87770 #include <unistd.h>
87771 #include <sys/time.h>
87772 #include <sys/resource.h>
87775 main ()
87777 int f = RLIMIT_VMEM ;
87779 return 0;
87781 _ACEOF
87782 rm -f conftest.$ac_objext
87783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87784 (eval $ac_compile) 2>conftest.er1
87785 ac_status=$?
87786 grep -v '^ *+' conftest.er1 >conftest.err
87787 rm -f conftest.er1
87788 cat conftest.err >&5
87789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87790 (exit $ac_status); } &&
87791 { ac_try='test -z "$ac_c_werror_flag"
87792 || test ! -s conftest.err'
87793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87794 (eval $ac_try) 2>&5
87795 ac_status=$?
87796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87797 (exit $ac_status); }; } &&
87798 { ac_try='test -s conftest.$ac_objext'
87799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87800 (eval $ac_try) 2>&5
87801 ac_status=$?
87802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87803 (exit $ac_status); }; }; then
87804 glibcxx_mresult=1
87805 else
87806 echo "$as_me: failed program was:" >&5
87807 sed 's/^/| /' conftest.$ac_ext >&5
87809 glibcxx_mresult=0
87811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87813 cat >>confdefs.h <<_ACEOF
87814 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87815 _ACEOF
87819 cat >conftest.$ac_ext <<_ACEOF
87820 /* confdefs.h. */
87821 _ACEOF
87822 cat confdefs.h >>conftest.$ac_ext
87823 cat >>conftest.$ac_ext <<_ACEOF
87824 /* end confdefs.h. */
87825 #include <unistd.h>
87826 #include <sys/time.h>
87827 #include <sys/resource.h>
87830 main ()
87832 int f = RLIMIT_AS ;
87834 return 0;
87836 _ACEOF
87837 rm -f conftest.$ac_objext
87838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87839 (eval $ac_compile) 2>conftest.er1
87840 ac_status=$?
87841 grep -v '^ *+' conftest.er1 >conftest.err
87842 rm -f conftest.er1
87843 cat conftest.err >&5
87844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87845 (exit $ac_status); } &&
87846 { ac_try='test -z "$ac_c_werror_flag"
87847 || test ! -s conftest.err'
87848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87849 (eval $ac_try) 2>&5
87850 ac_status=$?
87851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87852 (exit $ac_status); }; } &&
87853 { ac_try='test -s conftest.$ac_objext'
87854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87855 (eval $ac_try) 2>&5
87856 ac_status=$?
87857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87858 (exit $ac_status); }; }; then
87859 glibcxx_mresult=1
87860 else
87861 echo "$as_me: failed program was:" >&5
87862 sed 's/^/| /' conftest.$ac_ext >&5
87864 glibcxx_mresult=0
87866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87868 cat >>confdefs.h <<_ACEOF
87869 #define HAVE_LIMIT_AS $glibcxx_mresult
87870 _ACEOF
87874 cat >conftest.$ac_ext <<_ACEOF
87875 /* confdefs.h. */
87876 _ACEOF
87877 cat confdefs.h >>conftest.$ac_ext
87878 cat >>conftest.$ac_ext <<_ACEOF
87879 /* end confdefs.h. */
87880 #include <unistd.h>
87881 #include <sys/time.h>
87882 #include <sys/resource.h>
87885 main ()
87887 int f = RLIMIT_FSIZE ;
87889 return 0;
87891 _ACEOF
87892 rm -f conftest.$ac_objext
87893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87894 (eval $ac_compile) 2>conftest.er1
87895 ac_status=$?
87896 grep -v '^ *+' conftest.er1 >conftest.err
87897 rm -f conftest.er1
87898 cat conftest.err >&5
87899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87900 (exit $ac_status); } &&
87901 { ac_try='test -z "$ac_c_werror_flag"
87902 || test ! -s conftest.err'
87903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87904 (eval $ac_try) 2>&5
87905 ac_status=$?
87906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87907 (exit $ac_status); }; } &&
87908 { ac_try='test -s conftest.$ac_objext'
87909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87910 (eval $ac_try) 2>&5
87911 ac_status=$?
87912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87913 (exit $ac_status); }; }; then
87914 glibcxx_mresult=1
87915 else
87916 echo "$as_me: failed program was:" >&5
87917 sed 's/^/| /' conftest.$ac_ext >&5
87919 glibcxx_mresult=0
87921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87923 cat >>confdefs.h <<_ACEOF
87924 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
87925 _ACEOF
87929 # Check for rlimit, setrlimit.
87930 if test "${ac_setrlimit+set}" = set; then
87931 echo $ECHO_N "(cached) $ECHO_C" >&6
87932 else
87934 cat >conftest.$ac_ext <<_ACEOF
87935 /* confdefs.h. */
87936 _ACEOF
87937 cat confdefs.h >>conftest.$ac_ext
87938 cat >>conftest.$ac_ext <<_ACEOF
87939 /* end confdefs.h. */
87940 #include <unistd.h>
87941 #include <sys/time.h>
87942 #include <sys/resource.h>
87945 main ()
87947 struct rlimit r;
87948 setrlimit(0, &r);
87950 return 0;
87952 _ACEOF
87953 rm -f conftest.$ac_objext
87954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87955 (eval $ac_compile) 2>conftest.er1
87956 ac_status=$?
87957 grep -v '^ *+' conftest.er1 >conftest.err
87958 rm -f conftest.er1
87959 cat conftest.err >&5
87960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87961 (exit $ac_status); } &&
87962 { ac_try='test -z "$ac_c_werror_flag"
87963 || test ! -s conftest.err'
87964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87965 (eval $ac_try) 2>&5
87966 ac_status=$?
87967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87968 (exit $ac_status); }; } &&
87969 { ac_try='test -s conftest.$ac_objext'
87970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87971 (eval $ac_try) 2>&5
87972 ac_status=$?
87973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87974 (exit $ac_status); }; }; then
87975 ac_setrlimit=yes
87976 else
87977 echo "$as_me: failed program was:" >&5
87978 sed 's/^/| /' conftest.$ac_ext >&5
87980 ac_setrlimit=no
87982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87988 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
87989 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
87990 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
87991 ac_res_limits=yes
87993 cat >>confdefs.h <<\_ACEOF
87994 #define _GLIBCXX_RES_LIMITS 1
87995 _ACEOF
87997 else
87998 ac_res_limits=no
88000 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88001 echo "${ECHO_T}$ac_res_limits" >&6
88004 # Look for setenv, so that extended locale tests can be performed.
88006 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88007 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88008 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88009 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88010 echo $ECHO_N "(cached) $ECHO_C" >&6
88011 else
88015 ac_ext=cc
88016 ac_cpp='$CXXCPP $CPPFLAGS'
88017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88021 cat >conftest.$ac_ext <<_ACEOF
88022 /* confdefs.h. */
88023 _ACEOF
88024 cat confdefs.h >>conftest.$ac_ext
88025 cat >>conftest.$ac_ext <<_ACEOF
88026 /* end confdefs.h. */
88027 #include <stdlib.h>
88029 main ()
88031 setenv(0, 0, 0);
88033 return 0;
88035 _ACEOF
88036 rm -f conftest.$ac_objext
88037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88038 (eval $ac_compile) 2>conftest.er1
88039 ac_status=$?
88040 grep -v '^ *+' conftest.er1 >conftest.err
88041 rm -f conftest.er1
88042 cat conftest.err >&5
88043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88044 (exit $ac_status); } &&
88045 { ac_try='test -z "$ac_cxx_werror_flag"
88046 || test ! -s conftest.err'
88047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88048 (eval $ac_try) 2>&5
88049 ac_status=$?
88050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88051 (exit $ac_status); }; } &&
88052 { ac_try='test -s conftest.$ac_objext'
88053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88054 (eval $ac_try) 2>&5
88055 ac_status=$?
88056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88057 (exit $ac_status); }; }; then
88058 glibcxx_cv_func_setenv_use=yes
88059 else
88060 echo "$as_me: failed program was:" >&5
88061 sed 's/^/| /' conftest.$ac_ext >&5
88063 glibcxx_cv_func_setenv_use=no
88065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88066 ac_ext=c
88067 ac_cpp='$CPP $CPPFLAGS'
88068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88076 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88077 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88078 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88080 for ac_func in setenv
88082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88083 echo "$as_me:$LINENO: checking for $ac_func" >&5
88084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88085 if eval "test \"\${$as_ac_var+set}\" = set"; then
88086 echo $ECHO_N "(cached) $ECHO_C" >&6
88087 else
88088 if test x$gcc_no_link = xyes; then
88089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88091 { (exit 1); exit 1; }; }
88093 cat >conftest.$ac_ext <<_ACEOF
88094 /* confdefs.h. */
88095 _ACEOF
88096 cat confdefs.h >>conftest.$ac_ext
88097 cat >>conftest.$ac_ext <<_ACEOF
88098 /* end confdefs.h. */
88099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88101 #define $ac_func innocuous_$ac_func
88103 /* System header to define __stub macros and hopefully few prototypes,
88104 which can conflict with char $ac_func (); below.
88105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88106 <limits.h> exists even on freestanding compilers. */
88108 #ifdef __STDC__
88109 # include <limits.h>
88110 #else
88111 # include <assert.h>
88112 #endif
88114 #undef $ac_func
88116 /* Override any gcc2 internal prototype to avoid an error. */
88117 #ifdef __cplusplus
88118 extern "C"
88120 #endif
88121 /* We use char because int might match the return type of a gcc2
88122 builtin and then its argument prototype would still apply. */
88123 char $ac_func ();
88124 /* The GNU C library defines this for functions which it implements
88125 to always fail with ENOSYS. Some functions are actually named
88126 something starting with __ and the normal name is an alias. */
88127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88128 choke me
88129 #else
88130 char (*f) () = $ac_func;
88131 #endif
88132 #ifdef __cplusplus
88134 #endif
88137 main ()
88139 return f != $ac_func;
88141 return 0;
88143 _ACEOF
88144 rm -f conftest.$ac_objext conftest$ac_exeext
88145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88146 (eval $ac_link) 2>conftest.er1
88147 ac_status=$?
88148 grep -v '^ *+' conftest.er1 >conftest.err
88149 rm -f conftest.er1
88150 cat conftest.err >&5
88151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88152 (exit $ac_status); } &&
88153 { ac_try='test -z "$ac_c_werror_flag"
88154 || test ! -s conftest.err'
88155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88156 (eval $ac_try) 2>&5
88157 ac_status=$?
88158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88159 (exit $ac_status); }; } &&
88160 { ac_try='test -s conftest$ac_exeext'
88161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88162 (eval $ac_try) 2>&5
88163 ac_status=$?
88164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88165 (exit $ac_status); }; }; then
88166 eval "$as_ac_var=yes"
88167 else
88168 echo "$as_me: failed program was:" >&5
88169 sed 's/^/| /' conftest.$ac_ext >&5
88171 eval "$as_ac_var=no"
88173 rm -f conftest.err conftest.$ac_objext \
88174 conftest$ac_exeext conftest.$ac_ext
88176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88178 if test `eval echo '${'$as_ac_var'}'` = yes; then
88179 cat >>confdefs.h <<_ACEOF
88180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88181 _ACEOF
88184 done
88189 if test $enable_symvers = no; then
88190 enable_abi_check=no
88191 else
88192 case "$host" in
88193 *-*-cygwin*)
88194 enable_abi_check=no ;;
88196 enable_abi_check=yes ;;
88197 esac
88199 else
88200 # Only build this as native, since automake does not understand
88201 # CXX_FOR_BUILD.
88202 enable_abi_check=no
88205 # Export file names for ABI checking.
88206 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88210 # Propagate the target-specific source directories through the build chain.
88211 ATOMICITY_SRCDIR=config/${atomicity_dir}
88212 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88213 OS_INC_SRCDIR=config/${os_include_dir}
88214 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88220 # Determine cross-compile flags and AM_CONDITIONALs.
88221 #AC_SUBST(GLIBCXX_IS_NATIVE)
88222 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88223 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88224 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88227 if test $is_hosted = yes; then
88228 GLIBCXX_HOSTED_TRUE=
88229 GLIBCXX_HOSTED_FALSE='#'
88230 else
88231 GLIBCXX_HOSTED_TRUE='#'
88232 GLIBCXX_HOSTED_FALSE=
88238 if test $enable_libstdcxx_pch = yes; then
88239 GLIBCXX_BUILD_PCH_TRUE=
88240 GLIBCXX_BUILD_PCH_FALSE='#'
88241 else
88242 GLIBCXX_BUILD_PCH_TRUE='#'
88243 GLIBCXX_BUILD_PCH_FALSE=
88249 if test $enable_cheaders = c; then
88250 GLIBCXX_C_HEADERS_C_TRUE=
88251 GLIBCXX_C_HEADERS_C_FALSE='#'
88252 else
88253 GLIBCXX_C_HEADERS_C_TRUE='#'
88254 GLIBCXX_C_HEADERS_C_FALSE=
88260 if test $enable_cheaders = c_std; then
88261 GLIBCXX_C_HEADERS_C_STD_TRUE=
88262 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88263 else
88264 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88265 GLIBCXX_C_HEADERS_C_STD_FALSE=
88271 if test $c_compatibility = yes; then
88272 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88273 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88274 else
88275 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88276 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88282 if test $enable_libstdcxx_debug = yes; then
88283 GLIBCXX_BUILD_DEBUG_TRUE=
88284 GLIBCXX_BUILD_DEBUG_FALSE='#'
88285 else
88286 GLIBCXX_BUILD_DEBUG_TRUE='#'
88287 GLIBCXX_BUILD_DEBUG_FALSE=
88293 if test $enable_symvers != no; then
88294 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
88295 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
88296 else
88297 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
88298 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
88304 cat >confcache <<\_ACEOF
88305 # This file is a shell script that caches the results of configure
88306 # tests run on this system so they can be shared between configure
88307 # scripts and configure runs, see configure's option --config-cache.
88308 # It is not useful on other systems. If it contains results you don't
88309 # want to keep, you may remove or edit it.
88311 # config.status only pays attention to the cache file if you give it
88312 # the --recheck option to rerun configure.
88314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88316 # following values.
88318 _ACEOF
88320 # The following way of writing the cache mishandles newlines in values,
88321 # but we know of no workaround that is simple, portable, and efficient.
88322 # So, don't put newlines in cache variables' values.
88323 # Ultrix sh set writes to stderr and can't be redirected directly,
88324 # and sets the high bit in the cache file unless we assign to the vars.
88326 (set) 2>&1 |
88327 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88328 *ac_space=\ *)
88329 # `set' does not quote correctly, so add quotes (double-quote
88330 # substitution turns \\\\ into \\, and sed turns \\ into \).
88331 sed -n \
88332 "s/'/'\\\\''/g;
88333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88336 # `set' quotes correctly as required by POSIX, so do not add quotes.
88337 sed -n \
88338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88340 esac;
88342 sed '
88343 t clear
88344 : clear
88345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88346 t end
88347 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88348 : end' >>confcache
88349 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88350 if test -w $cache_file; then
88351 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88352 cat confcache >$cache_file
88353 else
88354 echo "not updating unwritable cache $cache_file"
88357 rm -f confcache
88359 if test ${multilib} = yes; then
88360 multilib_arg="--enable-multilib"
88361 else
88362 multilib_arg=
88365 # Export all the install information.
88367 glibcxx_toolexecdir=no
88368 glibcxx_toolexeclibdir=no
88369 glibcxx_prefixdir=$prefix
88371 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88372 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88374 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88375 if test "${with_gxx_include_dir+set}" = set; then
88376 withval="$with_gxx_include_dir"
88377 case "$withval" in
88378 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88379 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88380 { (exit 1); exit 1; }; } ;;
88381 no) gxx_include_dir=no ;;
88382 *) gxx_include_dir=$withval ;;
88383 esac
88384 else
88385 gxx_include_dir=no
88387 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88388 echo "${ECHO_T}$gxx_include_dir" >&6
88390 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88391 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88392 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88393 if test "${enable_version_specific_runtime_libs+set}" = set; then
88394 enableval="$enable_version_specific_runtime_libs"
88395 case "$enableval" in
88396 yes) version_specific_libs=yes ;;
88397 no) version_specific_libs=no ;;
88398 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88399 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88400 { (exit 1); exit 1; }; };;
88401 esac
88402 else
88403 version_specific_libs=no
88405 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88406 echo "${ECHO_T}$version_specific_libs" >&6
88408 # Default case for install directory for include files.
88409 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88410 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88413 # Version-specific runtime libs processing.
88414 if test $version_specific_libs = yes; then
88415 # Need the gcc compiler version to know where to install libraries
88416 # and header files if --enable-version-specific-runtime-libs option
88417 # is selected. FIXME: these variables are misnamed, there are
88418 # no executables installed in _toolexecdir or _toolexeclibdir.
88419 if test x"$gxx_include_dir" = x"no"; then
88420 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88422 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88423 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88426 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88427 # Install a library built with a cross compiler in tooldir, not libdir.
88428 if test x"$glibcxx_toolexecdir" = x"no"; then
88429 if test -n "$with_cross_host" &&
88430 test x"$with_cross_host" != x"no"; then
88431 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88432 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88433 else
88434 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88435 glibcxx_toolexeclibdir='${libdir}'
88437 multi_os_directory=`$CXX -print-multi-os-directory`
88438 case $multi_os_directory in
88439 .) ;; # Avoid trailing /.
88440 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88441 esac
88444 echo "$as_me:$LINENO: checking for install location" >&5
88445 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88446 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88447 echo "${ECHO_T}$gxx_include_dir" >&6
88455 # Export all the include and flag information to Makefiles.
88457 # Used for every C++ compile we perform.
88458 GLIBCXX_INCLUDES="\
88459 -I$glibcxx_builddir/include/$host_alias \
88460 -I$glibcxx_builddir/include \
88461 -I$glibcxx_srcdir/libsupc++"
88463 # For Canadian crosses, pick this up too.
88464 if test $CANADIAN = yes; then
88465 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88468 # Stuff in the actual top level. Currently only used by libsupc++ to
88469 # get unwind* headers from the gcc dir.
88470 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88471 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88473 # Now, export this to all the little Makefiles....
88478 # Optimization flags that are probably a good idea for thrill-seekers. Just
88479 # uncomment the lines below and make, everything else is ready to go...
88480 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88481 OPTIMIZE_CXXFLAGS=
88484 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88488 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88489 grep "enable shared" > /dev/null;
88490 then
88491 LIBSUPCXX_PICFLAGS=-prefer-pic
88492 else
88493 LIBSUPCXX_PICFLAGS=
88497 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88499 ac_config_files="$ac_config_files scripts/testsuite_flags"
88502 ac_config_commands="$ac_config_commands default"
88505 cat >confcache <<\_ACEOF
88506 # This file is a shell script that caches the results of configure
88507 # tests run on this system so they can be shared between configure
88508 # scripts and configure runs, see configure's option --config-cache.
88509 # It is not useful on other systems. If it contains results you don't
88510 # want to keep, you may remove or edit it.
88512 # config.status only pays attention to the cache file if you give it
88513 # the --recheck option to rerun configure.
88515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88517 # following values.
88519 _ACEOF
88521 # The following way of writing the cache mishandles newlines in values,
88522 # but we know of no workaround that is simple, portable, and efficient.
88523 # So, don't put newlines in cache variables' values.
88524 # Ultrix sh set writes to stderr and can't be redirected directly,
88525 # and sets the high bit in the cache file unless we assign to the vars.
88527 (set) 2>&1 |
88528 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88529 *ac_space=\ *)
88530 # `set' does not quote correctly, so add quotes (double-quote
88531 # substitution turns \\\\ into \\, and sed turns \\ into \).
88532 sed -n \
88533 "s/'/'\\\\''/g;
88534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88537 # `set' quotes correctly as required by POSIX, so do not add quotes.
88538 sed -n \
88539 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88541 esac;
88543 sed '
88544 t clear
88545 : clear
88546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88547 t end
88548 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88549 : end' >>confcache
88550 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88551 if test -w $cache_file; then
88552 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88553 cat confcache >$cache_file
88554 else
88555 echo "not updating unwritable cache $cache_file"
88558 rm -f confcache
88560 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88561 # Let make expand exec_prefix.
88562 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88564 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88565 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88566 # trailing colons and then remove the whole line if VPATH becomes empty
88567 # (actually we leave an empty line to preserve line numbers).
88568 if test "x$srcdir" = x.; then
88569 ac_vpsub='/^[ ]*VPATH[ ]*=/{
88570 s/:*\$(srcdir):*/:/;
88571 s/:*\${srcdir}:*/:/;
88572 s/:*@srcdir@:*/:/;
88573 s/^\([^=]*=[ ]*\):*/\1/;
88574 s/:*$//;
88575 s/^[^=]*=[ ]*$//;
88579 DEFS=-DHAVE_CONFIG_H
88581 ac_libobjs=
88582 ac_ltlibobjs=
88583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88584 # 1. Remove the extension, and $U if already installed.
88585 ac_i=`echo "$ac_i" |
88586 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88587 # 2. Add them.
88588 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88589 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88590 done
88591 LIBOBJS=$ac_libobjs
88593 LTLIBOBJS=$ac_ltlibobjs
88596 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88597 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88598 Usually this means the macro was only invoked conditionally." >&5
88599 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88600 Usually this means the macro was only invoked conditionally." >&2;}
88601 { (exit 1); exit 1; }; }
88603 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88604 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88605 Usually this means the macro was only invoked conditionally." >&5
88606 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88607 Usually this means the macro was only invoked conditionally." >&2;}
88608 { (exit 1); exit 1; }; }
88610 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88611 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88612 Usually this means the macro was only invoked conditionally." >&5
88613 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88614 Usually this means the macro was only invoked conditionally." >&2;}
88615 { (exit 1); exit 1; }; }
88617 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88618 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88619 Usually this means the macro was only invoked conditionally." >&5
88620 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88621 Usually this means the macro was only invoked conditionally." >&2;}
88622 { (exit 1); exit 1; }; }
88624 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88625 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88626 Usually this means the macro was only invoked conditionally." >&5
88627 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88628 Usually this means the macro was only invoked conditionally." >&2;}
88629 { (exit 1); exit 1; }; }
88631 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88632 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88633 Usually this means the macro was only invoked conditionally." >&5
88634 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88635 Usually this means the macro was only invoked conditionally." >&2;}
88636 { (exit 1); exit 1; }; }
88638 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88639 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88640 Usually this means the macro was only invoked conditionally." >&5
88641 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88642 Usually this means the macro was only invoked conditionally." >&2;}
88643 { (exit 1); exit 1; }; }
88645 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
88646 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88647 Usually this means the macro was only invoked conditionally." >&5
88648 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88649 Usually this means the macro was only invoked conditionally." >&2;}
88650 { (exit 1); exit 1; }; }
88653 : ${CONFIG_STATUS=./config.status}
88654 ac_clean_files_save=$ac_clean_files
88655 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88656 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88657 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88658 cat >$CONFIG_STATUS <<_ACEOF
88659 #! $SHELL
88660 # Generated by $as_me.
88661 # Run this file to recreate the current configuration.
88662 # Compiler output produced by configure, useful for debugging
88663 # configure, is in config.log if it exists.
88665 debug=false
88666 ac_cs_recheck=false
88667 ac_cs_silent=false
88668 SHELL=\${CONFIG_SHELL-$SHELL}
88669 _ACEOF
88671 cat >>$CONFIG_STATUS <<\_ACEOF
88672 ## --------------------- ##
88673 ## M4sh Initialization. ##
88674 ## --------------------- ##
88676 # Be Bourne compatible
88677 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88678 emulate sh
88679 NULLCMD=:
88680 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88681 # is contrary to our usage. Disable this feature.
88682 alias -g '${1+"$@"}'='"$@"'
88683 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88684 set -o posix
88686 DUALCASE=1; export DUALCASE # for MKS sh
88688 # Support unset when possible.
88689 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88690 as_unset=unset
88691 else
88692 as_unset=false
88696 # Work around bugs in pre-3.0 UWIN ksh.
88697 $as_unset ENV MAIL MAILPATH
88698 PS1='$ '
88699 PS2='> '
88700 PS4='+ '
88702 # NLS nuisances.
88703 for as_var in \
88704 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88705 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88706 LC_TELEPHONE LC_TIME
88708 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88709 eval $as_var=C; export $as_var
88710 else
88711 $as_unset $as_var
88713 done
88715 # Required to use basename.
88716 if expr a : '\(a\)' >/dev/null 2>&1; then
88717 as_expr=expr
88718 else
88719 as_expr=false
88722 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88723 as_basename=basename
88724 else
88725 as_basename=false
88729 # Name of the executable.
88730 as_me=`$as_basename "$0" ||
88731 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88732 X"$0" : 'X\(//\)$' \| \
88733 X"$0" : 'X\(/\)$' \| \
88734 . : '\(.\)' 2>/dev/null ||
88735 echo X/"$0" |
88736 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88737 /^X\/\(\/\/\)$/{ s//\1/; q; }
88738 /^X\/\(\/\).*/{ s//\1/; q; }
88739 s/.*/./; q'`
88742 # PATH needs CR, and LINENO needs CR and PATH.
88743 # Avoid depending upon Character Ranges.
88744 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88745 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88746 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88747 as_cr_digits='0123456789'
88748 as_cr_alnum=$as_cr_Letters$as_cr_digits
88750 # The user is always right.
88751 if test "${PATH_SEPARATOR+set}" != set; then
88752 echo "#! /bin/sh" >conf$$.sh
88753 echo "exit 0" >>conf$$.sh
88754 chmod +x conf$$.sh
88755 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88756 PATH_SEPARATOR=';'
88757 else
88758 PATH_SEPARATOR=:
88760 rm -f conf$$.sh
88764 as_lineno_1=$LINENO
88765 as_lineno_2=$LINENO
88766 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88767 test "x$as_lineno_1" != "x$as_lineno_2" &&
88768 test "x$as_lineno_3" = "x$as_lineno_2" || {
88769 # Find who we are. Look in the path if we contain no path at all
88770 # relative or not.
88771 case $0 in
88772 *[\\/]* ) as_myself=$0 ;;
88773 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88774 for as_dir in $PATH
88776 IFS=$as_save_IFS
88777 test -z "$as_dir" && as_dir=.
88778 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88779 done
88782 esac
88783 # We did not find ourselves, most probably we were run as `sh COMMAND'
88784 # in which case we are not to be found in the path.
88785 if test "x$as_myself" = x; then
88786 as_myself=$0
88788 if test ! -f "$as_myself"; then
88789 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88790 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88791 { (exit 1); exit 1; }; }
88793 case $CONFIG_SHELL in
88795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88796 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88798 IFS=$as_save_IFS
88799 test -z "$as_dir" && as_dir=.
88800 for as_base in sh bash ksh sh5; do
88801 case $as_dir in
88803 if ("$as_dir/$as_base" -c '
88804 as_lineno_1=$LINENO
88805 as_lineno_2=$LINENO
88806 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88807 test "x$as_lineno_1" != "x$as_lineno_2" &&
88808 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
88809 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88810 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88811 CONFIG_SHELL=$as_dir/$as_base
88812 export CONFIG_SHELL
88813 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88814 fi;;
88815 esac
88816 done
88817 done
88819 esac
88821 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88822 # uniformly replaced by the line number. The first 'sed' inserts a
88823 # line-number line before each line; the second 'sed' does the real
88824 # work. The second script uses 'N' to pair each line-number line
88825 # with the numbered line, and appends trailing '-' during
88826 # substitution so that $LINENO is not a special case at line end.
88827 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88828 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
88829 sed '=' <$as_myself |
88830 sed '
88832 s,$,-,
88833 : loop
88834 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88835 t loop
88836 s,-$,,
88837 s,^['$as_cr_digits']*\n,,
88838 ' >$as_me.lineno &&
88839 chmod +x $as_me.lineno ||
88840 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88841 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88842 { (exit 1); exit 1; }; }
88844 # Don't try to exec as it changes $[0], causing all sort of problems
88845 # (the dirname of $[0] is not the place where we might find the
88846 # original and so on. Autoconf is especially sensible to this).
88847 . ./$as_me.lineno
88848 # Exit status is that of the last command.
88849 exit
88853 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
88854 *c*,-n*) ECHO_N= ECHO_C='
88855 ' ECHO_T=' ' ;;
88856 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
88857 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
88858 esac
88860 if expr a : '\(a\)' >/dev/null 2>&1; then
88861 as_expr=expr
88862 else
88863 as_expr=false
88866 rm -f conf$$ conf$$.exe conf$$.file
88867 echo >conf$$.file
88868 if ln -s conf$$.file conf$$ 2>/dev/null; then
88869 # We could just check for DJGPP; but this test a) works b) is more generic
88870 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
88871 if test -f conf$$.exe; then
88872 # Don't use ln at all; we don't have any links
88873 as_ln_s='cp -p'
88874 else
88875 as_ln_s='ln -s'
88877 elif ln conf$$.file conf$$ 2>/dev/null; then
88878 as_ln_s=ln
88879 else
88880 as_ln_s='cp -p'
88882 rm -f conf$$ conf$$.exe conf$$.file
88884 if mkdir -p . 2>/dev/null; then
88885 as_mkdir_p=:
88886 else
88887 test -d ./-p && rmdir ./-p
88888 as_mkdir_p=false
88891 as_executable_p="test -f"
88893 # Sed expression to map a string onto a valid CPP name.
88894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
88896 # Sed expression to map a string onto a valid variable name.
88897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
88900 # IFS
88901 # We need space, tab and new line, in precisely that order.
88902 as_nl='
88904 IFS=" $as_nl"
88906 # CDPATH.
88907 $as_unset CDPATH
88909 exec 6>&1
88911 # Open the log real soon, to keep \$[0] and so on meaningful, and to
88912 # report actual input values of CONFIG_FILES etc. instead of their
88913 # values after options handling. Logging --version etc. is OK.
88914 exec 5>>config.log
88916 echo
88917 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
88918 ## Running $as_me. ##
88919 _ASBOX
88920 } >&5
88921 cat >&5 <<_CSEOF
88923 This file was extended by package-unused $as_me version-unused, which was
88924 generated by GNU Autoconf 2.59. Invocation command line was
88926 CONFIG_FILES = $CONFIG_FILES
88927 CONFIG_HEADERS = $CONFIG_HEADERS
88928 CONFIG_LINKS = $CONFIG_LINKS
88929 CONFIG_COMMANDS = $CONFIG_COMMANDS
88930 $ $0 $@
88932 _CSEOF
88933 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
88934 echo >&5
88935 _ACEOF
88937 # Files that config.status was made for.
88938 if test -n "$ac_config_files"; then
88939 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
88942 if test -n "$ac_config_headers"; then
88943 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
88946 if test -n "$ac_config_links"; then
88947 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
88950 if test -n "$ac_config_commands"; then
88951 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
88954 cat >>$CONFIG_STATUS <<\_ACEOF
88956 ac_cs_usage="\
88957 \`$as_me' instantiates files from templates according to the
88958 current configuration.
88960 Usage: $0 [OPTIONS] [FILE]...
88962 -h, --help print this help, then exit
88963 -V, --version print version number, then exit
88964 -q, --quiet do not print progress messages
88965 -d, --debug don't remove temporary files
88966 --recheck update $as_me by reconfiguring in the same conditions
88967 --file=FILE[:TEMPLATE]
88968 instantiate the configuration file FILE
88969 --header=FILE[:TEMPLATE]
88970 instantiate the configuration header FILE
88972 Configuration files:
88973 $config_files
88975 Configuration headers:
88976 $config_headers
88978 Configuration commands:
88979 $config_commands
88981 Report bugs to <bug-autoconf@gnu.org>."
88982 _ACEOF
88984 cat >>$CONFIG_STATUS <<_ACEOF
88985 ac_cs_version="\\
88986 package-unused config.status version-unused
88987 configured by $0, generated by GNU Autoconf 2.59,
88988 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
88990 Copyright (C) 2003 Free Software Foundation, Inc.
88991 This config.status script is free software; the Free Software Foundation
88992 gives unlimited permission to copy, distribute and modify it."
88993 srcdir=$srcdir
88994 INSTALL="$INSTALL"
88995 _ACEOF
88997 cat >>$CONFIG_STATUS <<\_ACEOF
88998 # If no file are specified by the user, then we need to provide default
88999 # value. By we need to know if files were specified by the user.
89000 ac_need_defaults=:
89001 while test $# != 0
89003 case $1 in
89004 --*=*)
89005 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89006 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89007 ac_shift=:
89010 ac_option=$1
89011 ac_optarg=$2
89012 ac_shift=shift
89014 *) # This is not an option, so the user has probably given explicit
89015 # arguments.
89016 ac_option=$1
89017 ac_need_defaults=false;;
89018 esac
89020 case $ac_option in
89021 # Handling of the options.
89022 _ACEOF
89023 cat >>$CONFIG_STATUS <<\_ACEOF
89024 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89025 ac_cs_recheck=: ;;
89026 --version | --vers* | -V )
89027 echo "$ac_cs_version"; exit 0 ;;
89028 --he | --h)
89029 # Conflict between --help and --header
89030 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89031 Try \`$0 --help' for more information." >&5
89032 echo "$as_me: error: ambiguous option: $1
89033 Try \`$0 --help' for more information." >&2;}
89034 { (exit 1); exit 1; }; };;
89035 --help | --hel | -h )
89036 echo "$ac_cs_usage"; exit 0 ;;
89037 --debug | --d* | -d )
89038 debug=: ;;
89039 --file | --fil | --fi | --f )
89040 $ac_shift
89041 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89042 ac_need_defaults=false;;
89043 --header | --heade | --head | --hea )
89044 $ac_shift
89045 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89046 ac_need_defaults=false;;
89047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89048 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89049 ac_cs_silent=: ;;
89051 # This is an error.
89052 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89053 Try \`$0 --help' for more information." >&5
89054 echo "$as_me: error: unrecognized option: $1
89055 Try \`$0 --help' for more information." >&2;}
89056 { (exit 1); exit 1; }; } ;;
89058 *) ac_config_targets="$ac_config_targets $1" ;;
89060 esac
89061 shift
89062 done
89064 ac_configure_extra_args=
89066 if $ac_cs_silent; then
89067 exec 6>/dev/null
89068 ac_configure_extra_args="$ac_configure_extra_args --silent"
89071 _ACEOF
89072 cat >>$CONFIG_STATUS <<_ACEOF
89073 if \$ac_cs_recheck; then
89074 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89075 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89078 _ACEOF
89080 cat >>$CONFIG_STATUS <<_ACEOF
89082 # INIT-COMMANDS section.
89086 srcdir="$srcdir"
89087 host="$host"
89088 target="$target"
89089 with_multisubdir="$with_multisubdir"
89090 with_multisrctop="$with_multisrctop"
89091 with_target_subdir="$with_target_subdir"
89092 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89093 multi_basedir="$multi_basedir"
89094 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89095 CC="$CC"
89097 # Variables needed in config.status (file generation) which aren't already
89098 # passed by autoconf.
89099 SUBDIRS="$SUBDIRS"
89102 _ACEOF
89106 cat >>$CONFIG_STATUS <<\_ACEOF
89107 for ac_config_target in $ac_config_targets
89109 case "$ac_config_target" in
89110 # Handling of arguments.
89111 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89112 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89113 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89114 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89115 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89116 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89117 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89118 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89119 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89120 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89121 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89122 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89123 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89124 { (exit 1); exit 1; }; };;
89125 esac
89126 done
89128 # If the user did not use the arguments to specify the items to instantiate,
89129 # then the envvar interface is used. Set only those that are not.
89130 # We use the long form for the default assignment because of an extremely
89131 # bizarre bug on SunOS 4.1.3.
89132 if $ac_need_defaults; then
89133 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89134 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89135 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89138 # Have a temporary directory for convenience. Make it in the build tree
89139 # simply because there is no reason to put it here, and in addition,
89140 # creating and moving files from /tmp can sometimes cause problems.
89141 # Create a temporary directory, and hook for its removal unless debugging.
89142 $debug ||
89144 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89145 trap '{ (exit 1); exit 1; }' 1 2 13 15
89148 # Create a (secure) tmp directory for tmp files.
89151 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89152 test -n "$tmp" && test -d "$tmp"
89153 } ||
89155 tmp=./confstat$$-$RANDOM
89156 (umask 077 && mkdir $tmp)
89157 } ||
89159 echo "$me: cannot create a temporary directory in ." >&2
89160 { (exit 1); exit 1; }
89163 _ACEOF
89165 cat >>$CONFIG_STATUS <<_ACEOF
89168 # CONFIG_FILES section.
89171 # No need to generate the scripts if there are no CONFIG_FILES.
89172 # This happens for instance when ./config.status config.h
89173 if test -n "\$CONFIG_FILES"; then
89174 # Protect against being on the right side of a sed subst in config.status.
89175 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89176 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89177 s,@SHELL@,$SHELL,;t t
89178 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89179 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89180 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89181 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89182 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89183 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89184 s,@exec_prefix@,$exec_prefix,;t t
89185 s,@prefix@,$prefix,;t t
89186 s,@program_transform_name@,$program_transform_name,;t t
89187 s,@bindir@,$bindir,;t t
89188 s,@sbindir@,$sbindir,;t t
89189 s,@libexecdir@,$libexecdir,;t t
89190 s,@datadir@,$datadir,;t t
89191 s,@sysconfdir@,$sysconfdir,;t t
89192 s,@sharedstatedir@,$sharedstatedir,;t t
89193 s,@localstatedir@,$localstatedir,;t t
89194 s,@libdir@,$libdir,;t t
89195 s,@includedir@,$includedir,;t t
89196 s,@oldincludedir@,$oldincludedir,;t t
89197 s,@infodir@,$infodir,;t t
89198 s,@mandir@,$mandir,;t t
89199 s,@build_alias@,$build_alias,;t t
89200 s,@host_alias@,$host_alias,;t t
89201 s,@target_alias@,$target_alias,;t t
89202 s,@DEFS@,$DEFS,;t t
89203 s,@ECHO_C@,$ECHO_C,;t t
89204 s,@ECHO_N@,$ECHO_N,;t t
89205 s,@ECHO_T@,$ECHO_T,;t t
89206 s,@LIBS@,$LIBS,;t t
89207 s,@libtool_VERSION@,$libtool_VERSION,;t t
89208 s,@multi_basedir@,$multi_basedir,;t t
89209 s,@build@,$build,;t t
89210 s,@build_cpu@,$build_cpu,;t t
89211 s,@build_vendor@,$build_vendor,;t t
89212 s,@build_os@,$build_os,;t t
89213 s,@host@,$host,;t t
89214 s,@host_cpu@,$host_cpu,;t t
89215 s,@host_vendor@,$host_vendor,;t t
89216 s,@host_os@,$host_os,;t t
89217 s,@target@,$target,;t t
89218 s,@target_cpu@,$target_cpu,;t t
89219 s,@target_vendor@,$target_vendor,;t t
89220 s,@target_os@,$target_os,;t t
89221 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89222 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89223 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89224 s,@CYGPATH_W@,$CYGPATH_W,;t t
89225 s,@PACKAGE@,$PACKAGE,;t t
89226 s,@VERSION@,$VERSION,;t t
89227 s,@ACLOCAL@,$ACLOCAL,;t t
89228 s,@AUTOCONF@,$AUTOCONF,;t t
89229 s,@AUTOMAKE@,$AUTOMAKE,;t t
89230 s,@AUTOHEADER@,$AUTOHEADER,;t t
89231 s,@MAKEINFO@,$MAKEINFO,;t t
89232 s,@install_sh@,$install_sh,;t t
89233 s,@STRIP@,$STRIP,;t t
89234 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89235 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89236 s,@mkdir_p@,$mkdir_p,;t t
89237 s,@AWK@,$AWK,;t t
89238 s,@SET_MAKE@,$SET_MAKE,;t t
89239 s,@am__leading_dot@,$am__leading_dot,;t t
89240 s,@AMTAR@,$AMTAR,;t t
89241 s,@am__tar@,$am__tar,;t t
89242 s,@am__untar@,$am__untar,;t t
89243 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89244 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89245 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89246 s,@CC@,$CC,;t t
89247 s,@ac_ct_CC@,$ac_ct_CC,;t t
89248 s,@EXEEXT@,$EXEEXT,;t t
89249 s,@OBJEXT@,$OBJEXT,;t t
89250 s,@CXX@,$CXX,;t t
89251 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89252 s,@CFLAGS@,$CFLAGS,;t t
89253 s,@CXXFLAGS@,$CXXFLAGS,;t t
89254 s,@LN_S@,$LN_S,;t t
89255 s,@AS@,$AS,;t t
89256 s,@ac_ct_AS@,$ac_ct_AS,;t t
89257 s,@AR@,$AR,;t t
89258 s,@ac_ct_AR@,$ac_ct_AR,;t t
89259 s,@RANLIB@,$RANLIB,;t t
89260 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89261 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89262 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89263 s,@MAINT@,$MAINT,;t t
89264 s,@LIBTOOL@,$LIBTOOL,;t t
89265 s,@CXXCPP@,$CXXCPP,;t t
89266 s,@CPPFLAGS@,$CPPFLAGS,;t t
89267 s,@enable_shared@,$enable_shared,;t t
89268 s,@enable_static@,$enable_static,;t t
89269 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89270 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89271 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89272 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89273 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89274 s,@CSTDIO_H@,$CSTDIO_H,;t t
89275 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89276 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89277 s,@CPP@,$CPP,;t t
89278 s,@EGREP@,$EGREP,;t t
89279 s,@check_msgfmt@,$check_msgfmt,;t t
89280 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89281 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89282 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89283 s,@USE_NLS@,$USE_NLS,;t t
89284 s,@CLOCALE_H@,$CLOCALE_H,;t t
89285 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89286 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89287 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89288 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89289 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89290 s,@CMONEY_CC@,$CMONEY_CC,;t t
89291 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89292 s,@CTIME_H@,$CTIME_H,;t t
89293 s,@CTIME_CC@,$CTIME_CC,;t t
89294 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89295 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89296 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89297 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89298 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89299 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89300 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89301 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89302 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89303 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89304 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89305 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89306 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89307 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89308 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89309 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89310 s,@WERROR@,$WERROR,;t t
89311 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89312 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89313 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89314 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89315 s,@LIBICONV@,$LIBICONV,;t t
89316 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89317 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89318 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
89319 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
89320 s,@baseline_dir@,$baseline_dir,;t t
89321 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89322 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89323 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89324 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89325 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89326 s,@gxx_include_dir@,$gxx_include_dir,;t t
89327 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89328 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89329 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89330 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89331 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89332 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89333 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89334 s,@LIBOBJS@,$LIBOBJS,;t t
89335 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89336 CEOF
89338 _ACEOF
89340 cat >>$CONFIG_STATUS <<\_ACEOF
89341 # Split the substitutions into bite-sized pieces for seds with
89342 # small command number limits, like on Digital OSF/1 and HP-UX.
89343 ac_max_sed_lines=48
89344 ac_sed_frag=1 # Number of current file.
89345 ac_beg=1 # First line for current file.
89346 ac_end=$ac_max_sed_lines # Line after last line for current file.
89347 ac_more_lines=:
89348 ac_sed_cmds=
89349 while $ac_more_lines; do
89350 if test $ac_beg -gt 1; then
89351 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89352 else
89353 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89355 if test ! -s $tmp/subs.frag; then
89356 ac_more_lines=false
89357 else
89358 # The purpose of the label and of the branching condition is to
89359 # speed up the sed processing (if there are no `@' at all, there
89360 # is no need to browse any of the substitutions).
89361 # These are the two extra sed commands mentioned above.
89362 (echo ':t
89363 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89364 if test -z "$ac_sed_cmds"; then
89365 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89366 else
89367 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89369 ac_sed_frag=`expr $ac_sed_frag + 1`
89370 ac_beg=$ac_end
89371 ac_end=`expr $ac_end + $ac_max_sed_lines`
89373 done
89374 if test -z "$ac_sed_cmds"; then
89375 ac_sed_cmds=cat
89377 fi # test -n "$CONFIG_FILES"
89379 _ACEOF
89380 cat >>$CONFIG_STATUS <<\_ACEOF
89381 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89382 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89383 case $ac_file in
89384 - | *:- | *:-:* ) # input from stdin
89385 cat >$tmp/stdin
89386 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89387 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89388 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89389 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89390 * ) ac_file_in=$ac_file.in ;;
89391 esac
89393 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89394 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89395 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89396 X"$ac_file" : 'X\(//\)[^/]' \| \
89397 X"$ac_file" : 'X\(//\)$' \| \
89398 X"$ac_file" : 'X\(/\)' \| \
89399 . : '\(.\)' 2>/dev/null ||
89400 echo X"$ac_file" |
89401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89403 /^X\(\/\/\)$/{ s//\1/; q; }
89404 /^X\(\/\).*/{ s//\1/; q; }
89405 s/.*/./; q'`
89406 { if $as_mkdir_p; then
89407 mkdir -p "$ac_dir"
89408 else
89409 as_dir="$ac_dir"
89410 as_dirs=
89411 while test ! -d "$as_dir"; do
89412 as_dirs="$as_dir $as_dirs"
89413 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89415 X"$as_dir" : 'X\(//\)[^/]' \| \
89416 X"$as_dir" : 'X\(//\)$' \| \
89417 X"$as_dir" : 'X\(/\)' \| \
89418 . : '\(.\)' 2>/dev/null ||
89419 echo X"$as_dir" |
89420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89422 /^X\(\/\/\)$/{ s//\1/; q; }
89423 /^X\(\/\).*/{ s//\1/; q; }
89424 s/.*/./; q'`
89425 done
89426 test ! -n "$as_dirs" || mkdir $as_dirs
89427 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89428 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89429 { (exit 1); exit 1; }; }; }
89431 ac_builddir=.
89433 if test "$ac_dir" != .; then
89434 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89435 # A "../" for each directory in $ac_dir_suffix.
89436 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89437 else
89438 ac_dir_suffix= ac_top_builddir=
89441 case $srcdir in
89442 .) # No --srcdir option. We are building in place.
89443 ac_srcdir=.
89444 if test -z "$ac_top_builddir"; then
89445 ac_top_srcdir=.
89446 else
89447 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89448 fi ;;
89449 [\\/]* | ?:[\\/]* ) # Absolute path.
89450 ac_srcdir=$srcdir$ac_dir_suffix;
89451 ac_top_srcdir=$srcdir ;;
89452 *) # Relative path.
89453 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89454 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89455 esac
89457 # Do not use `cd foo && pwd` to compute absolute paths, because
89458 # the directories may not exist.
89459 case `pwd` in
89460 .) ac_abs_builddir="$ac_dir";;
89462 case "$ac_dir" in
89463 .) ac_abs_builddir=`pwd`;;
89464 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89465 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89466 esac;;
89467 esac
89468 case $ac_abs_builddir in
89469 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89471 case ${ac_top_builddir}. in
89472 .) ac_abs_top_builddir=$ac_abs_builddir;;
89473 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89474 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89475 esac;;
89476 esac
89477 case $ac_abs_builddir in
89478 .) ac_abs_srcdir=$ac_srcdir;;
89480 case $ac_srcdir in
89481 .) ac_abs_srcdir=$ac_abs_builddir;;
89482 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89483 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89484 esac;;
89485 esac
89486 case $ac_abs_builddir in
89487 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89489 case $ac_top_srcdir in
89490 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89491 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89492 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89493 esac;;
89494 esac
89497 case $INSTALL in
89498 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89499 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89500 esac
89502 if test x"$ac_file" != x-; then
89503 { echo "$as_me:$LINENO: creating $ac_file" >&5
89504 echo "$as_me: creating $ac_file" >&6;}
89505 rm -f "$ac_file"
89507 # Let's still pretend it is `configure' which instantiates (i.e., don't
89508 # use $as_me), people would be surprised to read:
89509 # /* config.h. Generated by config.status. */
89510 if test x"$ac_file" = x-; then
89511 configure_input=
89512 else
89513 configure_input="$ac_file. "
89515 configure_input=$configure_input"Generated from `echo $ac_file_in |
89516 sed 's,.*/,,'` by configure."
89518 # First look for the input files in the build tree, otherwise in the
89519 # src tree.
89520 ac_file_inputs=`IFS=:
89521 for f in $ac_file_in; do
89522 case $f in
89523 -) echo $tmp/stdin ;;
89524 [\\/$]*)
89525 # Absolute (can't be DOS-style, as IFS=:)
89526 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89527 echo "$as_me: error: cannot find input file: $f" >&2;}
89528 { (exit 1); exit 1; }; }
89529 echo "$f";;
89530 *) # Relative
89531 if test -f "$f"; then
89532 # Build tree
89533 echo "$f"
89534 elif test -f "$srcdir/$f"; then
89535 # Source tree
89536 echo "$srcdir/$f"
89537 else
89538 # /dev/null tree
89539 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89540 echo "$as_me: error: cannot find input file: $f" >&2;}
89541 { (exit 1); exit 1; }; }
89542 fi;;
89543 esac
89544 done` || { (exit 1); exit 1; }
89545 _ACEOF
89546 cat >>$CONFIG_STATUS <<_ACEOF
89547 sed "$ac_vpsub
89548 $extrasub
89549 _ACEOF
89550 cat >>$CONFIG_STATUS <<\_ACEOF
89552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89553 s,@configure_input@,$configure_input,;t t
89554 s,@srcdir@,$ac_srcdir,;t t
89555 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89556 s,@top_srcdir@,$ac_top_srcdir,;t t
89557 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89558 s,@builddir@,$ac_builddir,;t t
89559 s,@abs_builddir@,$ac_abs_builddir,;t t
89560 s,@top_builddir@,$ac_top_builddir,;t t
89561 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89562 s,@INSTALL@,$ac_INSTALL,;t t
89563 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89564 rm -f $tmp/stdin
89565 if test x"$ac_file" != x-; then
89566 mv $tmp/out $ac_file
89567 else
89568 cat $tmp/out
89569 rm -f $tmp/out
89572 # Run the commands associated with the file.
89573 case $ac_file in
89574 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89575 esac
89576 done
89577 _ACEOF
89578 cat >>$CONFIG_STATUS <<\_ACEOF
89581 # CONFIG_HEADER section.
89584 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89585 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89587 # ac_d sets the value in "#define NAME VALUE" lines.
89588 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89589 ac_dB='[ ].*$,\1#\2'
89590 ac_dC=' '
89591 ac_dD=',;t'
89592 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89593 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89594 ac_uB='$,\1#\2define\3'
89595 ac_uC=' '
89596 ac_uD=',;t'
89598 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89599 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89600 case $ac_file in
89601 - | *:- | *:-:* ) # input from stdin
89602 cat >$tmp/stdin
89603 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89604 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89605 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89606 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89607 * ) ac_file_in=$ac_file.in ;;
89608 esac
89610 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89611 echo "$as_me: creating $ac_file" >&6;}
89613 # First look for the input files in the build tree, otherwise in the
89614 # src tree.
89615 ac_file_inputs=`IFS=:
89616 for f in $ac_file_in; do
89617 case $f in
89618 -) echo $tmp/stdin ;;
89619 [\\/$]*)
89620 # Absolute (can't be DOS-style, as IFS=:)
89621 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89622 echo "$as_me: error: cannot find input file: $f" >&2;}
89623 { (exit 1); exit 1; }; }
89624 # Do quote $f, to prevent DOS paths from being IFS'd.
89625 echo "$f";;
89626 *) # Relative
89627 if test -f "$f"; then
89628 # Build tree
89629 echo "$f"
89630 elif test -f "$srcdir/$f"; then
89631 # Source tree
89632 echo "$srcdir/$f"
89633 else
89634 # /dev/null tree
89635 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89636 echo "$as_me: error: cannot find input file: $f" >&2;}
89637 { (exit 1); exit 1; }; }
89638 fi;;
89639 esac
89640 done` || { (exit 1); exit 1; }
89641 # Remove the trailing spaces.
89642 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89644 _ACEOF
89646 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89647 # `conftest.undefs', that substitutes the proper values into
89648 # config.h.in to produce config.h. The first handles `#define'
89649 # templates, and the second `#undef' templates.
89650 # And first: Protect against being on the right side of a sed subst in
89651 # config.status. Protect against being in an unquoted here document
89652 # in config.status.
89653 rm -f conftest.defines conftest.undefs
89654 # Using a here document instead of a string reduces the quoting nightmare.
89655 # Putting comments in sed scripts is not portable.
89657 # `end' is used to avoid that the second main sed command (meant for
89658 # 0-ary CPP macros) applies to n-ary macro definitions.
89659 # See the Autoconf documentation for `clear'.
89660 cat >confdef2sed.sed <<\_ACEOF
89661 s/[\\&,]/\\&/g
89662 s,[\\$`],\\&,g
89663 t clear
89664 : clear
89665 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89666 t end
89667 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89668 : end
89669 _ACEOF
89670 # If some macros were called several times there might be several times
89671 # the same #defines, which is useless. Nevertheless, we may not want to
89672 # sort them, since we want the *last* AC-DEFINE to be honored.
89673 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89674 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89675 rm -f confdef2sed.sed
89677 # This sed command replaces #undef with comments. This is necessary, for
89678 # example, in the case of _POSIX_SOURCE, which is predefined and required
89679 # on some systems where configure will not decide to define it.
89680 cat >>conftest.undefs <<\_ACEOF
89681 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89682 _ACEOF
89684 # Break up conftest.defines because some shells have a limit on the size
89685 # of here documents, and old seds have small limits too (100 cmds).
89686 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89687 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89688 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89689 echo ' :' >>$CONFIG_STATUS
89690 rm -f conftest.tail
89691 while grep . conftest.defines >/dev/null
89693 # Write a limited-size here document to $tmp/defines.sed.
89694 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89695 # Speed up: don't consider the non `#define' lines.
89696 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
89697 # Work around the forget-to-reset-the-flag bug.
89698 echo 't clr' >>$CONFIG_STATUS
89699 echo ': clr' >>$CONFIG_STATUS
89700 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89701 echo 'CEOF
89702 sed -f $tmp/defines.sed $tmp/in >$tmp/out
89703 rm -f $tmp/in
89704 mv $tmp/out $tmp/in
89705 ' >>$CONFIG_STATUS
89706 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89707 rm -f conftest.defines
89708 mv conftest.tail conftest.defines
89709 done
89710 rm -f conftest.defines
89711 echo ' fi # grep' >>$CONFIG_STATUS
89712 echo >>$CONFIG_STATUS
89714 # Break up conftest.undefs because some shells have a limit on the size
89715 # of here documents, and old seds have small limits too (100 cmds).
89716 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
89717 rm -f conftest.tail
89718 while grep . conftest.undefs >/dev/null
89720 # Write a limited-size here document to $tmp/undefs.sed.
89721 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89722 # Speed up: don't consider the non `#undef'
89723 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
89724 # Work around the forget-to-reset-the-flag bug.
89725 echo 't clr' >>$CONFIG_STATUS
89726 echo ': clr' >>$CONFIG_STATUS
89727 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89728 echo 'CEOF
89729 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89730 rm -f $tmp/in
89731 mv $tmp/out $tmp/in
89732 ' >>$CONFIG_STATUS
89733 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89734 rm -f conftest.undefs
89735 mv conftest.tail conftest.undefs
89736 done
89737 rm -f conftest.undefs
89739 cat >>$CONFIG_STATUS <<\_ACEOF
89740 # Let's still pretend it is `configure' which instantiates (i.e., don't
89741 # use $as_me), people would be surprised to read:
89742 # /* config.h. Generated by config.status. */
89743 if test x"$ac_file" = x-; then
89744 echo "/* Generated by configure. */" >$tmp/config.h
89745 else
89746 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
89748 cat $tmp/in >>$tmp/config.h
89749 rm -f $tmp/in
89750 if test x"$ac_file" != x-; then
89751 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89752 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89753 echo "$as_me: $ac_file is unchanged" >&6;}
89754 else
89755 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89757 X"$ac_file" : 'X\(//\)[^/]' \| \
89758 X"$ac_file" : 'X\(//\)$' \| \
89759 X"$ac_file" : 'X\(/\)' \| \
89760 . : '\(.\)' 2>/dev/null ||
89761 echo X"$ac_file" |
89762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89764 /^X\(\/\/\)$/{ s//\1/; q; }
89765 /^X\(\/\).*/{ s//\1/; q; }
89766 s/.*/./; q'`
89767 { if $as_mkdir_p; then
89768 mkdir -p "$ac_dir"
89769 else
89770 as_dir="$ac_dir"
89771 as_dirs=
89772 while test ! -d "$as_dir"; do
89773 as_dirs="$as_dir $as_dirs"
89774 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89776 X"$as_dir" : 'X\(//\)[^/]' \| \
89777 X"$as_dir" : 'X\(//\)$' \| \
89778 X"$as_dir" : 'X\(/\)' \| \
89779 . : '\(.\)' 2>/dev/null ||
89780 echo X"$as_dir" |
89781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89783 /^X\(\/\/\)$/{ s//\1/; q; }
89784 /^X\(\/\).*/{ s//\1/; q; }
89785 s/.*/./; q'`
89786 done
89787 test ! -n "$as_dirs" || mkdir $as_dirs
89788 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89790 { (exit 1); exit 1; }; }; }
89792 rm -f $ac_file
89793 mv $tmp/config.h $ac_file
89795 else
89796 cat $tmp/config.h
89797 rm -f $tmp/config.h
89799 # Compute $ac_file's index in $config_headers.
89800 _am_stamp_count=1
89801 for _am_header in $config_headers :; do
89802 case $_am_header in
89803 $ac_file | $ac_file:* )
89804 break ;;
89806 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89807 esac
89808 done
89809 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89810 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89811 X$ac_file : 'X\(//\)[^/]' \| \
89812 X$ac_file : 'X\(//\)$' \| \
89813 X$ac_file : 'X\(/\)' \| \
89814 . : '\(.\)' 2>/dev/null ||
89815 echo X$ac_file |
89816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89818 /^X\(\/\/\)$/{ s//\1/; q; }
89819 /^X\(\/\).*/{ s//\1/; q; }
89820 s/.*/./; q'`/stamp-h$_am_stamp_count
89821 done
89822 _ACEOF
89823 cat >>$CONFIG_STATUS <<\_ACEOF
89826 # CONFIG_COMMANDS section.
89828 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89829 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89830 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89831 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89832 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89833 X"$ac_dest" : 'X\(//\)[^/]' \| \
89834 X"$ac_dest" : 'X\(//\)$' \| \
89835 X"$ac_dest" : 'X\(/\)' \| \
89836 . : '\(.\)' 2>/dev/null ||
89837 echo X"$ac_dest" |
89838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89840 /^X\(\/\/\)$/{ s//\1/; q; }
89841 /^X\(\/\).*/{ s//\1/; q; }
89842 s/.*/./; q'`
89843 { if $as_mkdir_p; then
89844 mkdir -p "$ac_dir"
89845 else
89846 as_dir="$ac_dir"
89847 as_dirs=
89848 while test ! -d "$as_dir"; do
89849 as_dirs="$as_dir $as_dirs"
89850 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89852 X"$as_dir" : 'X\(//\)[^/]' \| \
89853 X"$as_dir" : 'X\(//\)$' \| \
89854 X"$as_dir" : 'X\(/\)' \| \
89855 . : '\(.\)' 2>/dev/null ||
89856 echo X"$as_dir" |
89857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89859 /^X\(\/\/\)$/{ s//\1/; q; }
89860 /^X\(\/\).*/{ s//\1/; q; }
89861 s/.*/./; q'`
89862 done
89863 test ! -n "$as_dirs" || mkdir $as_dirs
89864 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89865 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89866 { (exit 1); exit 1; }; }; }
89868 ac_builddir=.
89870 if test "$ac_dir" != .; then
89871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89872 # A "../" for each directory in $ac_dir_suffix.
89873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89874 else
89875 ac_dir_suffix= ac_top_builddir=
89878 case $srcdir in
89879 .) # No --srcdir option. We are building in place.
89880 ac_srcdir=.
89881 if test -z "$ac_top_builddir"; then
89882 ac_top_srcdir=.
89883 else
89884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89885 fi ;;
89886 [\\/]* | ?:[\\/]* ) # Absolute path.
89887 ac_srcdir=$srcdir$ac_dir_suffix;
89888 ac_top_srcdir=$srcdir ;;
89889 *) # Relative path.
89890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89892 esac
89894 # Do not use `cd foo && pwd` to compute absolute paths, because
89895 # the directories may not exist.
89896 case `pwd` in
89897 .) ac_abs_builddir="$ac_dir";;
89899 case "$ac_dir" in
89900 .) ac_abs_builddir=`pwd`;;
89901 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89902 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89903 esac;;
89904 esac
89905 case $ac_abs_builddir in
89906 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89908 case ${ac_top_builddir}. in
89909 .) ac_abs_top_builddir=$ac_abs_builddir;;
89910 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89911 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89912 esac;;
89913 esac
89914 case $ac_abs_builddir in
89915 .) ac_abs_srcdir=$ac_srcdir;;
89917 case $ac_srcdir in
89918 .) ac_abs_srcdir=$ac_abs_builddir;;
89919 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89920 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89921 esac;;
89922 esac
89923 case $ac_abs_builddir in
89924 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89926 case $ac_top_srcdir in
89927 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89928 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89929 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89930 esac;;
89931 esac
89934 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
89935 echo "$as_me: executing $ac_dest commands" >&6;}
89936 case $ac_dest in
89937 default-1 )
89938 # Only add multilib support code if we just rebuilt the top-level
89939 # Makefile.
89940 case " $CONFIG_FILES " in
89941 *" Makefile "*)
89942 ac_file=Makefile . ${multi_basedir}/config-ml.in
89944 esac ;;
89945 default ) if test -n "$CONFIG_FILES"; then
89946 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
89947 # that multilib installs will end up installed in the correct place.
89948 # The testsuite needs it for multilib-aware ABI baseline files.
89949 # To work around this not being passed down from config-ml.in ->
89950 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
89951 # append it here. Only modify Makefiles that have just been created.
89953 # Also, get rid of this simulated-VPATH thing that automake does.
89954 cat > vpsed << \_EOF
89955 s!`test -f '$<' || echo '$(srcdir)/'`!!
89956 _EOF
89957 for i in $SUBDIRS; do
89958 case $CONFIG_FILES in
89959 *${i}/Makefile*)
89960 #echo "Adding MULTISUBDIR to $i/Makefile"
89961 sed -f vpsed $i/Makefile > tmp
89962 grep '^MULTISUBDIR =' Makefile >> tmp
89963 mv tmp $i/Makefile
89965 esac
89966 done
89967 rm vpsed
89969 (cd include && ${MAKE-make})
89971 esac
89972 done
89973 _ACEOF
89975 cat >>$CONFIG_STATUS <<\_ACEOF
89977 { (exit 0); exit 0; }
89978 _ACEOF
89979 chmod +x $CONFIG_STATUS
89980 ac_clean_files=$ac_clean_files_save
89983 # configure is writing to config.log, and then calls config.status.
89984 # config.status does its own redirection, appending to config.log.
89985 # Unfortunately, on DOS this fails, as config.log is still kept open
89986 # by configure, so config.status won't be able to write to it; its
89987 # output is simply discarded. So we exec the FD to /dev/null,
89988 # effectively closing config.log, so it can be properly (re)opened and
89989 # appended to by config.status. When coming back to configure, we
89990 # need to make the FD available again.
89991 if test "$no_create" != yes; then
89992 ac_cs_success=:
89993 ac_config_status_args=
89994 test "$silent" = yes &&
89995 ac_config_status_args="$ac_config_status_args --quiet"
89996 exec 5>/dev/null
89997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
89998 exec 5>>config.log
89999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90000 # would make configure fail if this is the last instruction.
90001 $ac_cs_success || { (exit 1); exit 1; }